commit | 12d0516104bae658d9a83e4eff767ac57d575556 | [log] [tgz] |
---|---|---|
author | Piotr Borelowski <p.borelowski@partner.samsung.com> | Fri Sep 13 17:32:14 2019 +0200 |
committer | Piotr Borelowski <p.borelowski@partner.samsung.com> | Fri Sep 13 17:33:11 2019 +0200 |
tree | f07e783638221c649e4ca9c7c4eaad62ab192be8 | |
parent | 0107aa9f0f2101110e3d1a79602a3e663bbbf8c8 [diff] |
Stop Swagger UI interface in workflow-designer-be Changed profile name to 'swagger' to make sure the release container build process does not use it. Still, anyone can use it if they want. Issue-ID: OJSI-31 Signed-off-by: Piotr Borelowski <p.borelowski@partner.samsung.com> Change-Id: I0474ca3ddcf9ae3c781d1e5ebd49183b1d8e7b9f
diff --git a/workflow-designer-be/src/main/java/org/onap/sdc/workflow/api/DisableSwaggerController.java b/workflow-designer-be/src/main/java/org/onap/sdc/workflow/api/DisableSwaggerController.java index 44aa8bb..12d4b06 100644 --- a/workflow-designer-be/src/main/java/org/onap/sdc/workflow/api/DisableSwaggerController.java +++ b/workflow-designer-be/src/main/java/org/onap/sdc/workflow/api/DisableSwaggerController.java
@@ -23,7 +23,7 @@ import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; -@Profile("!dev") +@Profile("!swagger") @RestController public class DisableSwaggerController { @RequestMapping("swagger-ui.html")