Keti - Access Control Service
Note: Keti was earlier called ACS. This repository still has references to artifacts with that name and can be treated as synonymous to Keti.
This project is licensed under Apache v2.
How to build and run unit tests
To build Keti without support for hierarchical attributes and run unit tests:
$ mvn clean install [-P public-graph] [-s <maven_settings_file>]
public-graph profile to build Keti with support for hierarchical attributes.
Start Keti locally
To run the service locally without support for hierarchical attributes:
To run the service locally with support for hierarchical attributes:
The Keti service requires a UAA (User Account and Authentication: https://github.com/cloudfoundry/uaa) service to manage OAuth clients and users that are authorized to access it. When running Keti locally, by default the service is configured to trust the local UAA. You can modify the environment variable
UAA_CHECK_HEALTH_URL to correspond to your existing UAA.
Running UAA locally
Clone the UAA repository from the following url:
$ git clone https://github.com/cloudfoundry/uaa.git $ cd uaa $ ./gradlew assemble -x javadoc $ ./gradlew run -x javadoc --info
How to run integration tests
The script below starts UAA and Keti, runs the tests, then stops the Keti and UAA services:
$ ./run-integration-tests.sh [-g] [-s <maven_settings_file>]
-g option to run integration tests against Keti that supports hierarchical attributes.