Skip to content

Instantly share code, notes, and snippets.

@EricWittmann
Created September 1, 2016 00:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EricWittmann/822911517aa357b8c8c94c3ec79a32f3 to your computer and use it in GitHub Desktop.
Save EricWittmann/822911517aa357b8c8c94c3ec79a32f3 to your computer and use it in GitHub Desktop.
apiman.jdbc.datasource.jndi-location=java:jboss/datasources/apiman-gateway
# Initializer for the Gateway JDBC
# ################################
apiman-gateway.initializers=jdbc
apiman-gateway.initializers.jdbc=io.apiman.gateway.engine.jdbc.JdbcInitializer
apiman-gateway.initializers.jdbc.datasource.jndi-location=${apiman.jdbc.datasource.jndi-location}
apiman-gateway.initializers.jdbc.datasource.type=h2
# 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.components.IPolicyFailureFactoryComponent=io.apiman.gateway.platforms.servlet.PolicyFailureFactoryComponent
apiman-gateway.components.IBufferFactoryComponent=io.apiman.gateway.engine.impl.ByteBufferFactoryComponent
# ---------------------------------------------------------------------
# Connector factory options
# ---------------------------------------------------------------------
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
# ---------------------------------------------------------------------
# Metrics Settings
# ---------------------------------------------------------------------
apiman-gateway.metrics=io.apiman.gateway.engine.jdbc.JdbcMetrics
apiman-gateway.metrics.datasource.jndi-location=${apiman.jdbc.datasource.jndi-location}
# ---------------------------------------------------------------------
# Registry Settings
# ---------------------------------------------------------------------
apiman-gateway.registry=io.apiman.gateway.engine.jdbc.PollCachingJdbcRegistry
apiman-gateway.registry.datasource.jndi-location=${apiman.jdbc.datasource.jndi-location}
# ---------------------------------------------------------------------
# Shared State Component Settings
# ---------------------------------------------------------------------
apiman-gateway.components.ISharedStateComponent=io.apiman.gateway.engine.ispn.InfinispanSharedStateComponent
# ---------------------------------------------------------------------
# Rate Limiter Component Settings
# ---------------------------------------------------------------------
apiman-gateway.components.IRateLimiterComponent=io.apiman.gateway.engine.ispn.InfinispanRateLimiterComponent
# ---------------------------------------------------------------------
# Cache Store Component Settings
# ---------------------------------------------------------------------
apiman-gateway.components.ICacheStoreComponent=io.apiman.gateway.engine.ispn.InfinispanCacheStoreComponent
# ---------------------------------------------------------------------
# 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment