-
Bug
-
Resolution: Done
-
Medium
-
None
-
None
The incorporation of swagger into source code base for the "/test" interface is faulty:
1. eclipse shows project errors associated with plugin usage.
2. the actual documentation for the "/test" server within policy-persistence does not produce API documentation.
3. only covers swagger spec for "/test".
4. it generates a swagger spec under drools-pdp/target and not packaged in any way.
The changes here correct the previous defects, and makes the solution generic for any API supporting in the PDP-D.
–
Issues:
Plugin execution not covered by lifecycle configuration: com.github.kongchen:swagger-maven-plugin:3.1.4:generate (execution: default, phase: compile) pom.xml /org.openecomp.policy.drools-pdp.policy-core line 27 Maven Project Build Lifecycle Mapping Problem
Plugin execution not covered by lifecycle configuration: com.github.kongchen:swagger-maven-plugin:3.1.4:generate (execution: default, phase: compile) pom.xml /org.openecomp.policy.drools-pdp.policy-endpoints line 26 Maven Project Build Lifecycle Mapping Problem
Plugin execution not covered by lifecycle configuration: com.github.kongchen:swagger-maven-plugin:3.1.4:generate (execution: default, phase: compile) pom.xml /org.openecomp.policy.drools-pdp.policy-healthcheck line 26 Maven Project Build Lifecycle Mapping Problem
Plugin execution not covered by lifecycle configuration: com.github.kongchen:swagger-maven-plugin:3.1.4:generate (execution: default, phase: compile) pom.xml /org.openecomp.policy.drools-pdp.policy-management line 26 Maven Project Build Lifecycle Mapping Problem
Plugin execution not covered by lifecycle configuration: com.github.kongchen:swagger-maven-plugin:3.1.4:generate (execution: default, phase: compile) pom.xml /org.openecomp.policy.drools-pdp.policy-persistence line 26 Maven Project Build Lifecycle Mapping Problem
Plugin execution not covered by lifecycle configuration: com.github.kongchen:swagger-maven-plugin:3.1.4:generate (execution: default, phase: compile) pom.xml /org.openecomp.policy.drools-pdp.policy-utils line 28 Maven Project Build Lifecycle Mapping Problem
cat cat droosl-pdp/target/swagger/integrityMonitor/swagger.json
{
"swagger" : "2.0",
"info" : {
"version" : "1.0.0",
"title" : "Drools PDP"
}
}