Cccccrystall opened a new pull request, #1933: URL: https://github.com/apache/streampipes/pull/1933
**The current implementation of uploading default assets**: What I've done so far is put the two requests to upload the assets into a bash file so that the assets in the zip package can be uploaded to the website by executing the init.sh file. However when sending a request, we need to obtain the jwt token, which make it difficult to realize it in the docker. During my test, I got this token from the web page after logging in. **A potential solution**: When I do log in action, I notice that the front end sends a lot of requests with jwt tokens. Can we implement the request to upload assets through Angular? Just like the getAllResources defined in base-asset-links.direction.ts, maybe we could get the zip list of default assets to upload with getAllDefaultAssets. Then loop through the actions of the two buttons, performPreview and performImport(). I wonder if this is possible? Or is there a way to securely acquire jwt tokens during the deployment phase of docker? PR introduces (a) breaking change(s): no PR introduces (a) deprecation(s): no -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
