Created
October 25, 2018 11:59
-
-
Save NicolasGeraud/384a74e390af9619937730da658c7272 to your computer and use it in GitHub Desktop.
gateway hybrid client
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Gateway HTTP server | |
http: | |
port: 38082 | |
management: | |
type: http | |
http: | |
url: http://localhost:28292/ | |
keepAlive: true | |
idleTimeout: 30000 | |
connectTimeout: 10000 | |
authentication: | |
basic: | |
username: admin | |
password: adminadmin | |
ratelimit: | |
type: mongodb | |
mongodb: | |
uri: mongodb://${ds.mongodb.host}/${ds.mongodb.dbname} | |
cache: | |
type: ehcache | |
reporters: | |
# Elasticsearch reporter | |
elasticsearch: | |
enabled: true # Is the reporter enabled or not (default to true) | |
endpoints: | |
- http://${ds.elastic.host}:${ds.elastic.port} | |
services: | |
core: | |
http: | |
enabled: true | |
port: 18082 | |
host: localhost | |
authentication: | |
type: basic | |
users: | |
admin: adminadmin | |
sync: | |
cron: '*/5 * * * * *' | |
apikeyscache: | |
delay: 10000 | |
unit: MILLISECONDS | |
threads: 3 # Threads core size used to retrieve api-keys from repository. | |
local: | |
enabled: false | |
path: ${gravitee.home}/apis # The path to API descriptors | |
monitoring: | |
delay: 5000 | |
unit: MILLISECONDS | |
healthcheck: | |
threads: 3 # Threads core size used to check endpoint availability | |
metrics: | |
enabled: false | |
prometheus: | |
enabled: true | |
handlers: | |
request: | |
transaction: | |
header: X-Gravitee-Transaction-Id | |
ds: | |
mongodb: | |
dbname: gravitee | |
host: localhost | |
port: 27017 | |
elastic: | |
host: localhost | |
port: 9200 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment