diff --git a/src/main/java/fr/insee/rmes/webservice/PublicResources.java b/src/main/java/fr/insee/rmes/webservice/PublicResources.java index e44cd223e..8d20fd0cf 100644 --- a/src/main/java/fr/insee/rmes/webservice/PublicResources.java +++ b/src/main/java/fr/insee/rmes/webservice/PublicResources.java @@ -53,7 +53,6 @@ public class PublicResources extends GenericResources { private final String maxLengthScopeNote; private final String defaultMailSender; private final String defaultContributor; - private final String sugoiUi; private final String appHost; private final List activeModules; private final List modules; @@ -67,7 +66,6 @@ public PublicResources(@Autowired StampsService stampsService, @Value("${fr.insee.rmes.bauhaus.concepts.maxLengthScopeNote}") String maxLengthScopeNote, @Value("${fr.insee.rmes.bauhaus.concepts.defaultMailSender}") String defaultMailSender, @Value("${fr.insee.rmes.bauhaus.concepts.defaultContributor}") String defaultContributor, - @Value("${fr.insee.rmes.bauhaus.sugoi.ui}") String sugoiUi, @Value("${fr.insee.rmes.bauhaus.appHost}") String appHost, @Value("${fr.insee.rmes.bauhaus.activeModules}") List activeModules, @Value("${fr.insee.rmes.bauhaus.modules}") List modules, @@ -79,7 +77,6 @@ public PublicResources(@Autowired StampsService stampsService, this.maxLengthScopeNote = maxLengthScopeNote; this.defaultMailSender = defaultMailSender; this.defaultContributor = defaultContributor; - this.sugoiUi = sugoiUi; this.appHost = appHost; this.activeModules=activeModules; this.modules = modules; @@ -92,7 +89,6 @@ public ResponseEntity getProperties() throws RmesException { JSONObject props = new JSONObject(); try { props.put("appHost", this.appHost); - props.put("authorizationHost", this.sugoiUi); props.put("defaultContributor", this.defaultContributor); props.put("defaultMailSender", this.defaultMailSender); props.put("maxLengthScopeNote", this.maxLengthScopeNote); diff --git a/src/main/resources/bauhaus-local-dev.properties b/src/main/resources/bauhaus-local-dev.properties index edb1fe779..c7211026d 100644 --- a/src/main/resources/bauhaus-local-dev.properties +++ b/src/main/resources/bauhaus-local-dev.properties @@ -30,8 +30,6 @@ fr.insee.rmes.bauhaus.sesame.publication.baseURI = http://id.insee.fr/ fr.insee.rmes.bauhaus.sesame.publication.interne.sesameServer = http://localhost:7200 fr.insee.rmes.bauhaus.sesame.publication.interne.repository = publicationinterne -fr.insee.rmes.bauhaus.sugoi.ui = XXX - # Keycloak token jwt.id-claim = preferred_username jwt.role-claim = realm_access diff --git a/src/test/java/fr/insee/rmes/webservice/PublicResourcesTest.java b/src/test/java/fr/insee/rmes/webservice/PublicResourcesTest.java index 3868053e5..4dce69db6 100644 --- a/src/test/java/fr/insee/rmes/webservice/PublicResourcesTest.java +++ b/src/test/java/fr/insee/rmes/webservice/PublicResourcesTest.java @@ -30,7 +30,6 @@ "fr.insee.rmes.bauhaus.concepts.maxLengthScopeNote=35", "fr.insee.rmes.bauhaus.concepts.defaultMailSender=email", "fr.insee.rmes.bauhaus.concepts.defaultContributor=stamp", - "fr.insee.rmes.bauhaus.sugoi.ui=sugoUi", "fr.insee.rmes.bauhaus.appHost=http://localhost", "fr.insee.rmes.bauhaus.activeModules=operations,concepts", "fr.insee.rmes.bauhaus.modules=operations,concepts" @@ -60,7 +59,6 @@ void shouldReturnTheInitPayload() throws Exception { .andExpect(status().isOk()) .andExpect(content().json(""" { - "authorizationHost":"sugoUi", "defaultMailSender":"email", "lg2":"en", "lg1":"fr",