Closed jhamfler closed 8 years ago
A small note: you should only use hyperty-runtime
scheme to address components in the Hyperty Runtime.
Thank you for the hint.
You mean hyperty-runtime-esn://
and hyperty-runtime-ime://
should really be hyperty-runtime://
, right? I just copied this from the test specs as it doesn't make a difference for that particular test.
Message class object has been updated. Please test and let me know if you still encounter the problem
I downloaded the repo via npm again and the src/
directory seems good except the dist/
directory wasn't built. After I built it locally and replaced the old serviceframework.js it seemed to work fine.
I think the next step would be to make a dist, push it and close the issue. It would be great if you could do that as I don't want to tamper with this repo. Thank you for your help.
Done
Used branch: develop with npm install github:reTHINK-project/dev-service-framework#develop --save
I tried to use the message factory to send a message from a client to a messaging node. The response message had
undefined
forid
,to
andfrom
while doing it the same way like you in your test cases. I think the error lies in the Message.js'sconstructor
where the parameters are used differently than in MessageFactory.js'screateMessageResponse
.The following test illustrates this. Simply save it as
test.js
and run it withnode test.js
while having the required packages available.I suggest we should use the same parameters in all cases like here, so without the underscores "
_
".