No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.settings
scripts
src
target
.classpath
.gitignore
.project
Contribution.txt
License.txt
README.md
ReleaseNotes.md
pom.xml

README.md

AAF Edge

Authentication and authorization for kubernetes webhooks

Build

Normal Build

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

Testing

mvn verify will run both unit and integration tests on a local instance of aaf-edge.

Running Remotely

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 "/"

Example

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

Note

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.