veracitylab / provenance-injector

inject provenance into JEE applications
Apache License 2.0
0 stars 0 forks source link

Add script to enable provenance collection for Spring Boot apps #23

Closed wtwhite closed 6 months ago

wtwhite commented 6 months ago

Modifies a Spring Boot web app in a .war or .jar file to enable the provenance injector to run automatically, without the need to specify -javaagent:... on the java command line.

Tested on the movie demo app.

For now, the Spring Boot app needs to contain its own mechanisms for turning on provenance collection for each request (probably using an Interceptor), and picking up provenance records (probably using a @Controller component). In light of this, this logic will eventually be moved inside this repo.