Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes #118 update server-proxy-petstore config to add oauth #119

Merged
merged 1 commit into from
Feb 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 2 additions & 22 deletions config/server-proxy-petstore/values.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,28 +63,7 @@ openapi-security.bootstrapFromKeyService: false
# okta security end

# service.yml
service.singletons:
- com.networknt.registry.URL:
- com.networknt.registry.URLImpl:
protocol: https
host: localhost
port: 7080
path: direct
parameters:
com.networknt.petstore-1.0.0: https://localhost:9443
Migration: https://lightgateway-dev.networknt.com:8443
- com.networknt.registry.Registry:
- com.networknt.registry.support.DirectRegistry
- com.networknt.balance.LoadBalance:
- com.networknt.balance.RoundRobinLoadBalance
- com.networknt.cluster.Cluster:
- com.networknt.cluster.LightCluster
- com.networknt.utility.Decryptor:
- com.networknt.decrypt.AESDecryptor
- com.networknt.handler.ResponseInterceptor:
- com.networknt.body.ResponseBodyInterceptor
- com.networknt.handler.RequestInterceptor:
- com.networknt.body.RequestBodyInterceptor
service.singletons: [{"com.networknt.registry.URL":["com.networknt.registry.URLImpl"]},{"com.networknt.registry.Registry":["com.networknt.registry.support.DirectRegistry"]},{"com.networknt.balance.LoadBalance":["com.networknt.balance.RoundRobinLoadBalance"]},{"com.networknt.cluster.Cluster":["com.networknt.cluster.LightCluster"]},{"com.networknt.utility.Decryptor":["com.networknt.decrypt.AESDecryptor"]},{"com.networknt.handler.ResponseInterceptor":["com.networknt.body.ResponseBodyInterceptor"]},{"com.networknt.handler.RequestInterceptor":["com.networknt.body.RequestBodyInterceptor"]}]

# pathPrefixService.yml
# pathPrefixService.enabled: true
Expand Down Expand Up @@ -172,6 +151,7 @@ handler.handlers:
- com.networknt.specification.FaviconHandler@favicon
- com.networknt.handler.ResponseInterceptorInjectionHandler@responseInterceptor
- com.networknt.handler.RequestInterceptorInjectionHandler@requestInterceptor
- com.networknt.router.OAuthServerHandler@oauth
- com.networknt.server.handler.ServerShutdownHandler@shutdown

handler.chains.default:
Expand Down