From 881c32ec109f0fff6f5661940ad035c3dfc0c7d9 Mon Sep 17 00:00:00 2001 From: Jorge Hernandez Date: Thu, 25 May 2017 16:44:15 -0500 Subject: [POLICY-16] generic introduction of swagger On a per-server basis append /swagger.json or /swagger.yaml ie: HTTP GET :6969/swagger.json HTTP GET :9696/swagger.json Resulting specification can be used by swagger clients. Change-Id: I4b1a8b53d50b1528664150934b04e92447e4d4d7 Signed-off-by: Jorge Hernandez --- policy-management/config/policy-engine.properties | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'policy-management/config') diff --git a/policy-management/config/policy-engine.properties b/policy-management/config/policy-engine.properties index 41456c27..27bd7651 100644 --- a/policy-management/config/policy-engine.properties +++ b/policy-management/config/policy-engine.properties @@ -18,9 +18,13 @@ ueb.sink.topics.PDPD_CONFIGURATION.partitionKey= ueb.sink.topics.PDPD_CONFIGURATION.managed=false http.server.services=CONFIG -http.server.services.CONFIG.host=localhost +http.server.services.CONFIG.host=0.0.0.0 http.server.services.CONFIG.port=9696 http.server.services.CONFIG.userName=x http.server.services.CONFIG.password=y http.server.services.CONFIG.restPackages=org.openecomp.policy.drools.server.restful +#http.server.services.CONFIG.restPackages=org.openecomp.policy.drools.server.restful,org.openecomp.policy.drools.healthcheck +#http.server.services.CONFIG.restClasses=org.openecomp.policy.drools.server.restful.RestManager,org.openecomp.policy.drools.healthcheck.RestHealthCheck +#http.server.services.CONFIG.restClasses=org.openecomp.policy.drools.server.restful.RestManager http.server.services.CONFIG.managed=false +http.server.services.CONFIG.swagger=true -- cgit 1.2.3-korg