how to call the function written in other file (I want to execute axios.js file from enrichedEvents.js) ?
Right now i have given path of axios.js in enrichedEvents.js file, its executing, but whenever i restart the server axios.js file is executing without calling it.
THe flow goes like this:
- signup a user
- login a user to get jwt token
- Once you get jwt token, you can access all the apis.
- create a Project, by using Post method on /projects/v1.
- create raw events, /project/v1//events/raw
- create enriched events, /project/v1//events/enriched 6.1. creating enrichedEvents should also Post data to livy calls,to execute spark jobs. In my code its axios.js file consists of function to Post the rest call for livy.
Hi VAL,
If you dont understand Anything or anywhere in my code, please notice me.
Thank you so much, Darshan