From 12d0516104bae658d9a83e4eff767ac57d575556 Mon Sep 17 00:00:00 2001
From: Piotr Borelowski
Date: Fri, 13 Sep 2019 17:32:14 +0200
Subject: 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
Change-Id: I0474ca3ddcf9ae3c781d1e5ebd49183b1d8e7b9f
---
.../main/java/org/onap/sdc/workflow/api/DisableSwaggerController.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 44aa8bb7..12d4b06c 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.http.HttpStatus;
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")
--
cgit 1.2.3-korg