ESSENTIALS

November 27, 2016 ยท View on GitHub

Build Status

ESSENTIALS is the repository for resource types and OAuth 2.0 scopes in the STUPS ecosystem.

Configuration

ESSENTIALS is based on friboo-ext-zalando and accepts all of its configuration options. Additionally the following table lists all important config options for this application:

VariableMandatory?DefaultDescription
DB_SUBNAMEyes//localhost:5432/essentialsJDBC connection information of your database.
DB_USERyespostgresDatabase user.
DB_PASSWORDyespostgresDatabase password.
API_ALLOWED_UIDSyesmjackson,dbowiecomma-separated list of user ids that have write access to this API
API_ALLOWED_REALMSyesusers,robotscomma-separated list of realms that have read access to this API
API_VALID_RESOURCE_OWNERSyesusers,robotscomma-separated list of resource owners, used for input validation

Example:

$ docker run -it \
    -e DB_USER=essentials \
    -e DB_PASSWORD=essentials123 \
    stups/essentials