config.values.yml Maven / Gradle / Ivy
# service.yml
service.singletons:
- com.networknt.balance.LoadBalance:
- com.networknt.balance.RoundRobinLoadBalance
- com.networknt.cluster.Cluster:
- com.networknt.cluster.LightCluster
serviceDict.mapping:
/v1/pets@get: com.networknt.petstore-1.0.0
/v2/address@get: party.address-2.0.0
/v1/contact@post: party.contact-1.0.0
# server.yml
server.serviceId: com.networknt.router-1.0.0
# router.yml
router.hostWhitelist:
- 192.168.0.*
- localhost