diff options
author | Serge Simard <serge@agilitae.com> | 2019-06-18 10:36:57 -0400 |
---|---|---|
committer | Serge Simard <serge@agilitae.com> | 2019-06-18 10:36:57 -0400 |
commit | d1e26003105404f974f9fa45d542f658706ad3cb (patch) | |
tree | 154fbabc9232146e518a25dee845ee16ec4f2405 /ms/blueprintsprocessor/application | |
parent | 39167cccae3271603819aa39c6476e434c759533 (diff) |
Create REST API layer for resource resolution stored configlet
Issue-ID: CCSDK-1407
Signed-off-by: Serge Simard <serge@agilitae.com>
Change-Id: I18db6b654cbf4f416af54596ee71f56eaa860d32
Diffstat (limited to 'ms/blueprintsprocessor/application')
-rw-r--r-- | ms/blueprintsprocessor/application/src/main/java/org/onap/ccsdk/cds/blueprintsprocessor/BlueprintProcessorApplication.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ms/blueprintsprocessor/application/src/main/java/org/onap/ccsdk/cds/blueprintsprocessor/BlueprintProcessorApplication.java b/ms/blueprintsprocessor/application/src/main/java/org/onap/ccsdk/cds/blueprintsprocessor/BlueprintProcessorApplication.java index 85268c7fa..2b6f8bcf1 100644 --- a/ms/blueprintsprocessor/application/src/main/java/org/onap/ccsdk/cds/blueprintsprocessor/BlueprintProcessorApplication.java +++ b/ms/blueprintsprocessor/application/src/main/java/org/onap/ccsdk/cds/blueprintsprocessor/BlueprintProcessorApplication.java @@ -34,6 +34,11 @@ import org.springframework.context.annotation.ComponentScan; public class BlueprintProcessorApplication { public static void main(String[] args) { + + // This is required for ResolutionResultsServiceController.getStoredResult to accept a content-type value + // as a request parameter, e.g. &format=application%2Fxml is accepted + System.setProperty("org.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH", "true"); + SpringApplication.run(BlueprintProcessorApplication.class, args); } } |