Coder Social home page Coder Social logo

intersystems-community / irisdemo-demo-appointmentsms Goto Github PK

View Code? Open in Web Editor NEW
4.0 11.0 4.0 1.52 MB

InterSystems IRIS Interoperability HL7/SMS Demo with AWS

Home Page: http://www.intersystems.com

License: MIT License

Dockerfile 6.68% Shell 11.61% JavaScript 8.39% ObjectScript 71.83% Batchfile 1.49%
intersystems iris demo interoperability integration hl7 aws sms analytics

irisdemo-demo-appointmentsms's Issues

Error response from AWS SNS not parsed

Hi,

If I test the demo flow to create an appointment without first configuring my AWS credentials I get an error like this below:

"ERROR ErrGeneral: Retrying Message body [email protected] / 1 because Status 'ERROR #5035: General exception Name 'XPathEvaluatExpressionReturnedNoResultsException'Code ''Data '''matched ReplyCodeAction 1 : 'E=R'resulting in Action code R | ERROR ErrGeneral: Retrying Message body [email protected] / 1 because Status 'ERROR #5035: General exception Name 'XPathEvaluatExpressionReturnedNoResultsException'Code ''Data '''matched ReplyCodeAction 1 : 'E=R'resulting in Action code R"

You also can see the very same error in the screenshot attached.

2019_04_02_11_00_28_Event_Log

For future releases, we might want to parse the error from AWS call to better understand what the problem is.

Incorrect time in Signature

Hi,

Be aware that adjusting the time of the container to whatever timezone you are in, or copying the AWS interface code, and trying to run it locally, in a different time zone fails... Because:

BuildSignature method in AWS.AWS4Auth.SignatureMethods.BaseSignatureMethod uses this line to determine the time.

Set ..SignatureTime = $ZDT($ZTS, 8,7)

$ZTS returns UTC Time. The method requires the current time of the system and as it so happens, the container's system timezone is in fact set to UTC. (so it's ok for this container).

If you adjusted the time in this container, to be your local timezone (say Sydney time) , this interface will fail, as, the request made to AWS will be made at a time that is recorded to be way different from what is in SignatureTime.

Setting the above line to read:

Set ..SignatureTime = $ZDT($HOROLOG 8,7)

fixes this issue. It may be worth adjusting the source code.
Steve.

Protect error starting demo

Error: ERROR #5002: ObjectScript error: STARTUP+26^STU ^SYS("DSONLY","Environment"),/usr/irissys/mgr/ - Shutting down the system : $zu(56,2)=$Id: //iris/2019.1.0/kernel/common/src/gkill.c#1 $ 1549 2Starting IRIS

superuser account is disabled

the documented username to use to login is SuperUser, however, in the image downloaded, that account is disabled (it probably expired).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.