All Downloads are FREE. Search and download functionalities are using the official Maven repository.

config.values.yml Maven / Gradle / Ivy

The newest version!

#--------------------------------------------------------------------------------
# values.yml : Set of values commonly overridden in microservices
# 			   The file can be extended with other elements, as necessary
#--------------------------------------------------------------------------------

# client.yml
client.timeout: 3000
client.verifyHostname: false

# server.yml
server.serviceId: com.networknt.market-1.0.0
server.httpsPort: 6443

# service.yml
service.singletons:
- com.networknt.registry.URL:
  - com.networknt.registry.URLImpl
- com.networknt.portal.registry.client.PortalRegistryClient:
  - com.networknt.portal.registry.client.PortalRegistryClientImpl
- com.networknt.registry.Registry:
  - com.networknt.portal.registry.PortalRegistry
- com.networknt.balance.LoadBalance:
  - com.networknt.balance.RoundRobinLoadBalance
- com.networknt.cluster.Cluster:
  - com.networknt.cluster.LightCluster
- com.networknt.cache.CacheManager:
  - com.networknt.cache.CaffeineCacheManager
# StartupHookProvider implementations, there are one to many and they are called in the same sequence defined.
- com.networknt.server.StartupHookProvider:
  
  
# ShutdownHookProvider implementations, there are one to many and they are called in the same sequence defined.
- com.networknt.server.ShutdownHookProvider:
  
  

# market.yml
market.apiServiceRef:
  referenceAPI:
    serviceUrl: https://localhost:9443
    protocol: https
    path: /v1/pets
    method: GET

# security.yml
security.enableVerifyJwt: false

# cache.yml
cache.caches:
  - cacheName: jwt
    expiryInMinutes: 15
    maxSize: 100
  - cacheName: jwk
    expiryInMinutes: 129600
    maxSize: 100




© 2015 - 2025 Weber Informatics LLC | Privacy Policy