The CreatorCon Call for Content is officially open! Get started here.

Node.js as script include ? OR best AWSSDK as scrip include

JK1
Giga Expert

Hey experts,

I am struggling with how to add node.js (Already added require.js and seems working) as script include. In general i need aws-sdk.js to be added as script include so i can use it to do http calls to AWS EC2 (var x = new AWS().EC2(); ........ )

Anyone achieved this? And no, I dont want to pay for Cloud Orchestration

Cheers,

Joro

1 ACCEPTED SOLUTION

Community Alums
Not applicable

You can use bower and then use the built as script include. You cant run node.js in your Rhino envionment / JVM (if you dont have access to the source code of course). As an alternative - you can use MID server for that, but I dont see much benefit of that apart from few use cases.

View solution in original post

11 REPLIES 11

Community Alums
Not applicable

You can use bower and then use the built as script include. You cant run node.js in your Rhino envionment / JVM (if you dont have access to the source code of course). As an alternative - you can use MID server for that, but I dont see much benefit of that apart from few use cases.

Joel L
ServiceNow Employee
ServiceNow Employee

Unfortunately AWS SDK v3 was released which does not have a complete script library and more dependency amongst the modules and node.js. ... and v2 is soon to be deprecated to my knowledge ... 
Anyone similar experiences about this and ideas for solutions?
For the functions needed we discussed to extract them and build an own script include ... specifically in the case for S3 usage ... 

Kind regards ... 

Kind regards
Joel L.