config.conquest.yml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of conquest-token Show documentation
Show all versions of conquest-token Show documentation
A yaml rule action implementation to get the conquest authorization token and inject into the Authorization header for any external conquest API request.
# Configuration for ConquestHandler
# Indicate if the handler is enabled or not
enabled: ${conquest.enabled:false}
# Proxy Host if calling within the corp network with a gateway like Mcafee gateway.
proxyHost: ${conquest.proxyHost:}
# Proxy Port if proxy host is used. default value will be 443 which means HTTPS.
proxyPort: ${conquest.proxyPort:}
# If HTTP2 is used to connect to the conquest site.
enableHttp2: ${conquest.enableHttp2:false}
# A list of applied request path prefixes and authentication mappings, other requests will skip this handler.
# Each item will have properties to help get the token from the conquest access token service. For each API
# or request path prefix, you need to define an item in the list for authentication.
pathPrefixAuths: ${conquest.pathPrefixAuths:}
# format with JSON for config server
# [{"pathPrefix":"/conquest","authIssuer":"Networknt","authSubject":"conquest-public-uat-networknt-jwt-integration","authAudience":"app://d5b1cb55-3835-52fc-9ef3-e38d58856396","tokenTtl":180,"tokenUrl":"https://networknt-auth.uat.conquest-public.conquestplanning.com/login/oauth2/realms/root/realms/con/realms/uat/access_token","certFilename":"conquest.jks","certPassword":"password"}]
# format with YAML for readability
# - pathPrefix: /conquest
# authIssuer: Networknt
# authSubject: conquest-public-uat-networknt-jwt-integration
# authAudience: app://d5b1cb55-3835-52fc-9ef3-e38d58856396
# tokenTtl: 180
# tokenUrl: https://networknt-auth.uat.conquest-public.conquestplanning.com/login/oauth2/realms/root/realms/con/realms/uat/access_token
# certFilename: conquest.jks
# certPassword: password