Authentication and authorization for kubernetes webhooks
mvn clean package
Build Docker Image
mvn clean package docker:build
Run Docker Image
docker run -p 8080:8080 simpledemo/aaf-edge
Upload Docker Image
docker push simpledemo/aaf-edge
mvn verify will run both unit and integration tests on a local instance of aaf-edge.
You can run the integration tests on an external instance of aaf-edge by passing in the following arguments:
testing_https- Set to "true" to use https to connect the aaf-edge. Default is "false"
testing_host- The hostname to that aaf-edge is running on. Defaults to "localhost"
testing_port- The port that aaf-edge is running on. Defaults to the random port with a locally running aaf-edge server.
testing_path- The aditional path to aaf-edge, used for kubernetes service proxy. Defaults to "/"
To test the aaf-edge service on
mvn -Dtesting_https="true" -Dtesting_host="<YOUR URL>" -Dtesting_port=443 -Dtesting_path="api/v1/proxy/namespaces/default/services/aaf-edge" verify
You will need to generate your own public/private keyfile and keystore.jks files as well as set up cadi properties correctly in order for the application to function correctly.