diff options
author | Piotr Borelowski <p.borelowski@partner.samsung.com> | 2019-09-13 17:32:14 +0200 |
---|---|---|
committer | Piotr Borelowski <p.borelowski@partner.samsung.com> | 2019-09-13 17:33:11 +0200 |
commit | 12d0516104bae658d9a83e4eff767ac57d575556 (patch) | |
tree | f07e783638221c649e4ca9c7c4eaad62ab192be8 /workflow-designer-be/src/main | |
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
Diffstat (limited to 'workflow-designer-be/src/main')
-rw-r--r-- | workflow-designer-be/src/main/java/org/onap/sdc/workflow/api/DisableSwaggerController.java | 2 |
1 files changed, 1 insertions, 1 deletions
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") |