Automate the hell out of SAP CCv2 in your terminal or maybe in your browser.
Automata uses SAP Cloud Portal APIs so that it helps you make builds and deployments without having to be
Automata can operate in three modes:
1- Monitor mode: Automata will monitor current deployment and builds and notify you about their progress
2- Command line mode, where you just specific a branch to build and an environment to deploy to, kick back and relax
mvn spring-boot:run -Dspring-boot.run.arguments="globale_experiment d1" 3- Web mode, where its potential is fully unleashed and you have all kinds of dashboards about your environment
Make sure you have GraalVM installed, if you have SDKMAN installed you can run a command like this
sdk use java 22.3.r19-grl
Compile app normally using maven, a jar will be generated in target directory/
mvn clean package
Run the jar with GraalVM agent to capture runtime information on classes that are instanciated using Reflection
java -agentlib:native-image-agent=config-output-dir=/home/paulograbin/Desktop/automata/reflect -jar target/automata-0.0.1-SNAPSHOT.jar
Copy the files generated under /reflect to /src/resources/META-INF so they will be picked up by GraalVM during native compilation
Finally compile app to native with the following command
mvn -Pnative native:compile
To run app cd into target directory and run the binary as any other
./automata