From d00c52ba3eecfb2763f5a3871f7348688f07a01c Mon Sep 17 00:00:00 2001 From: "k.triantafyllou" Date: Thu, 7 Oct 2021 18:32:38 +0300 Subject: [PATCH] Add swagger profile to enable swagger --- .../dnetrolemanagement/config/security/SwaggerConfig.java | 1 + src/main/resources/registry.properties | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/dnetlib/dnetrolemanagement/config/security/SwaggerConfig.java b/src/main/java/eu/dnetlib/dnetrolemanagement/config/security/SwaggerConfig.java index 7e3e2b9..6861b92 100644 --- a/src/main/java/eu/dnetlib/dnetrolemanagement/config/security/SwaggerConfig.java +++ b/src/main/java/eu/dnetlib/dnetrolemanagement/config/security/SwaggerConfig.java @@ -27,6 +27,7 @@ import java.util.List; * Swagger configuration class */ @Configuration +@Profile({"swagger"}) @EnableSwagger2 public class SwaggerConfig { diff --git a/src/main/resources/registry.properties b/src/main/resources/registry.properties index cd62565..47ccb34 100644 --- a/src/main/resources/registry.properties +++ b/src/main/resources/registry.properties @@ -4,7 +4,6 @@ registry.issuer=https://openaire-dev.aai-dev.grnet.gr/registry/ registry.user=user registry.password=pass registry.version=1.0 -server.port=8090 ## Redis Properties redis.host = localhost redis.port = 6379