# Remote maven repositories to use when looking for plugins. Comma separated # list of URLs. apiman.plugins.repositories=https://repo1.maven.org/maven2/,http://repository.jboss.org/nexus/content/groups/public/ apiman-manager.plugins.registries=http://cdn.rawgit.com/apiman/apiman-plugin-registry/1.3.0.Final/registry.json # Apiman Manager logging. standard, json or a FQDN implementing IApimanLogger apiman-manager.config.logger=standard # Apiman Manager secret key for data encryption #apiman.encrypter.type=io.apiman.common.util.crypt.AesDataEncrypter #apiman.encrypter.secretKey= # --------------------------------------------------------------------- # The following are settings for using elasticsearch for various # apiman components. # --------------------------------------------------------------------- apiman.es.protocol=http apiman.es.host=localhost apiman.es.port=19200 apiman.es.username= apiman.es.password= apiman.es.timeout=10000 # --------------------------------------------------------------------- # Some hibernate settings only useful when JPA is the storage.type. # --------------------------------------------------------------------- apiman.hibernate.connection.datasource=java:jboss/datasources/apiman-manager apiman.hibernate.dialect=io.apiman.manager.api.jpa.ApimanPostgreSQLDialect apiman.hibernate.hbm2ddl.auto=validate # How the API Manager UI authenticates to the API Manager REST services apiman-manager-ui.api.authentication.type=bearerToken apiman-manager-ui.api.authentication.token.generator=io.apiman.manager.ui.server.kc.KeyCloakBearerTokenGenerator # Security context settings. apiman-manager.security-context.type=keycloak # API Manager storage settings. apiman-manager.storage.type=jpa apiman-manager.storage.jpa.initialize=true #apiman-manager.storage.es.client-factory= #apiman-manager.storage.es.protocol=${apiman.es.protocol} #apiman-manager.storage.es.host=${apiman.es.host} #apiman-manager.storage.es.port=${apiman.es.port} #apiman-manager.storage.es.username=${apiman.es.username} #apiman-manager.storage.es.password=${apiman.es.password} #apiman-manager.storage.es.timeout=${apiman.es.timeout} #apiman-manager.storage.es.initialize=true # API Manager metrics settings. apiman-manager.metrics.type=es #apiman-manager.metrics.es.client-factory= apiman-manager.metrics.es.protocol=${apiman.es.protocol} apiman-manager.metrics.es.host=${apiman.es.host} apiman-manager.metrics.es.port=${apiman.es.port} apiman-manager.metrics.es.username=${apiman.es.username} apiman-manager.metrics.es.password=${apiman.es.password} apiman-manager.metrics.es.timeout=${apiman.es.timeout} # API Manager API Catalog apiman-manager.api-catalog.type=io.apiman.manager.api.core.catalog.JsonApiCatalog apiman-manager.api-catalog.catalog-url=http://cdn.rawgit.com/apiman/apiman-api-catalog/1.3.0.Final/catalog.json # API Gateway components apiman-gateway.plugin-registry=io.apiman.gateway.engine.impl.DefaultPluginRegistry apiman-gateway.plugin-registry.pluginsDir=${jboss.server.data.dir}/apiman/plugins apiman-gateway.plugin-registry.pluginRepositories=${apiman.plugins.repositories} apiman-gateway.connector-factory=io.apiman.gateway.platforms.servlet.connectors.HttpConnectorFactory apiman-gateway.policy-factory=io.apiman.gateway.engine.policy.PolicyFactoryImpl apiman-gateway.policy-factory.reloadSnapshots=false apiman-gateway.logger-factory=io.apiman.common.logging.impl.NoOpLoggerFactory apiman-gateway.components.IPolicyFailureFactoryComponent=io.apiman.gateway.platforms.servlet.PolicyFailureFactoryComponent apiman-gateway.components.IBufferFactoryComponent=io.apiman.gateway.engine.impl.ByteBufferFactoryComponent # Gateway error writer # A "trace" version of the error writer - comment out/remove this to suppress stack traces # in the JSON/XML payload returned by the gateway when an error occurs. apiman-gateway.writers.error=io.apiman.gateway.engine.impl.TracePolicyErrorWriter # --------------------------------------------------------------------- # Connector factory options # - timeouts are in seconds # --------------------------------------------------------------------- apiman-gateway.connector-factory.http.timeouts.read=30 apiman-gateway.connector-factory.http.timeouts.write=30 apiman-gateway.connector-factory.http.timeouts.connect=10 apiman-gateway.connector-factory.http.followRedirects=true # --------------------------------------------------------------------- # Elasticsearch Metrics Settings # --------------------------------------------------------------------- apiman-gateway.metrics=io.apiman.gateway.engine.es.ESMetrics apiman-gateway.metrics.client.type=jest apiman-gateway.metrics.client.protocol=${apiman.es.protocol} apiman-gateway.metrics.client.host=${apiman.es.host} apiman-gateway.metrics.client.port=${apiman.es.port} apiman-gateway.metrics.client.username=${apiman.es.username} apiman-gateway.metrics.client.password=${apiman.es.password} apiman-gateway.metrics.client.timeout=${apiman.es.timeout} apiman-gateway.metrics.client.initialize=true # --------------------------------------------------------------------- # SSL/TLS settings for the gateway connector(s). # --------------------------------------------------------------------- # Enable devMode for HTTPS connections (gateway trusts any certificate). # This should *NOT* be used in production mode. *Use with great care.* apiman-gateway.connector-factory.tls.devMode=true # Trust store contains certificate(s) trusted by gateway. #apiman-gateway.connector-factory.tls.trustStore= #apiman-gateway.connector-factory.tls.trustStorePassword= # Key store contains gateway's keys (including private components: keep it safe). #apiman-gateway.connector-factory.tls.keyStore= #apiman-gateway.connector-factory.tls.keyStorePassword= # Password on key store as a whole #apiman-gateway.connector-factory.tls.keyPassword= # Password on specific key(s) # By default all keys can be used (will try all). If alias list provided, will only attempt to use listed keys. #apiman-gateway.connector-factory.tls.keyAliases= # Allowed TLS/SSL protocols and ciphers suites as CSV. Availability will vary depending on your JVM impl. # Uses JVM defaults depending if not explicitly provided. # See: https://docs.oracle.com/javase/7/docs/technotes/guides/security/SunProviders.html # You may wish to consider global JVM settings by modifying java.security #apiman-gateway.connector-factory.tls.allowedProtocols=TLSv1.2,TLSv1.1 #apiman-gateway.connector-factory.tls.disallowedProtocols=SSLv1,SSLv2 #apiman-gateway.connector-factory.tls.allowedCiphers=TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA #apiman-gateway.connector-factory.tls.disallowedCiphers=RC4 # Whether certificate host checks should be bypassed. *Use with great care.* #apiman-gateway.connector-factory.tls.allowAnyHost=false # Whether self-signed certificates should be automatically trusted. *Use with great care.* #apiman-gateway.connector-factory.tls.allowSelfSigned=false # --------------------------------------------------------------------- # Registry Settings # --------------------------------------------------------------------- apiman-gateway.registry=io.apiman.gateway.engine.es.PollCachingESRegistry apiman-gateway.registry.client.type=jest apiman-gateway.registry.client.protocol=${apiman.es.protocol} apiman-gateway.registry.client.host=${apiman.es.host} apiman-gateway.registry.client.port=${apiman.es.port} apiman-gateway.registry.client.username=${apiman.es.username} apiman-gateway.registry.client.password=${apiman.es.password} apiman-gateway.registry.client.timeout=${apiman.es.timeout} apiman-gateway.registry.client.initialize=true #apiman-gateway.registry.cache-polling-interval=15 # --------------------------------------------------------------------- # Shared State Component Settings # --------------------------------------------------------------------- apiman-gateway.components.ISharedStateComponent=io.apiman.gateway.engine.es.ESSharedStateComponent apiman-gateway.components.ISharedStateComponent.client.type=jest apiman-gateway.components.ISharedStateComponent.client.protocol=${apiman.es.protocol} apiman-gateway.components.ISharedStateComponent.client.host=${apiman.es.host} apiman-gateway.components.ISharedStateComponent.client.port=${apiman.es.port} apiman-gateway.components.ISharedStateComponent.client.username=${apiman.es.username} apiman-gateway.components.ISharedStateComponent.client.password=${apiman.es.password} apiman-gateway.components.ISharedStateComponent.client.timeout=${apiman.es.timeout} apiman-gateway.components.ISharedStateComponent.client.initialize=true # --------------------------------------------------------------------- # Rate Limiter Component Settings # --------------------------------------------------------------------- apiman-gateway.components.IRateLimiterComponent=io.apiman.gateway.engine.es.ESRateLimiterComponent apiman-gateway.components.IRateLimiterComponent.client.type=jest apiman-gateway.components.IRateLimiterComponent.client.protocol=${apiman.es.protocol} apiman-gateway.components.IRateLimiterComponent.client.host=${apiman.es.host} apiman-gateway.components.IRateLimiterComponent.client.port=${apiman.es.port} apiman-gateway.components.IRateLimiterComponent.client.username=${apiman.es.username} apiman-gateway.components.IRateLimiterComponent.client.password=${apiman.es.password} apiman-gateway.components.IRateLimiterComponent.client.timeout=${apiman.es.timeout} apiman-gateway.components.IRateLimiterComponent.client.initialize=true # --------------------------------------------------------------------- # Cache Store Component Settings # --------------------------------------------------------------------- apiman-gateway.components.ICacheStoreComponent=io.apiman.gateway.engine.es.ESCacheStoreComponent apiman-gateway.components.ICacheStoreComponent.client.type=jest apiman-gateway.components.ICacheStoreComponent.client.protocol=${apiman.es.protocol} apiman-gateway.components.ICacheStoreComponent.client.host=${apiman.es.host} apiman-gateway.components.ICacheStoreComponent.client.port=${apiman.es.port} apiman-gateway.components.ICacheStoreComponent.client.username=${apiman.es.username} apiman-gateway.components.ICacheStoreComponent.client.password=${apiman.es.password} apiman-gateway.components.ICacheStoreComponent.client.timeout=${apiman.es.timeout} apiman-gateway.components.ICacheStoreComponent.client.initialize=true # --------------------------------------------------------------------- # Execute Blocking Component Settings # --------------------------------------------------------------------- io.apiman.gateway.engine.components.IExecuteBlockingComponent=io.apiman.gateway.engine.impl.DefaultExecuteBlockingComponent # --------------------------------------------------------------------- # JDBC Component Settings # --------------------------------------------------------------------- apiman-gateway.components.IJdbcComponent=io.apiman.gateway.engine.impl.DefaultJdbcComponent # --------------------------------------------------------------------- # LDAP Component Settings # --------------------------------------------------------------------- apiman-gateway.components.ILdapComponent=io.apiman.gateway.engine.impl.DefaultLdapComponent # --------------------------------------------------------------------- # HTTP Client Component Settings # --------------------------------------------------------------------- apiman-gateway.components.IHttpClientComponent=io.apiman.gateway.platforms.servlet.components.HttpClientComponentImpl