summaryrefslogtreecommitdiffstats
path: root/ms/blueprintsprocessor/application
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2019-06-18 15:16:39 +0000
committerGerrit Code Review <gerrit@onap.org>2019-06-18 15:16:39 +0000
commitda79303b367ed5d4f12a279a401dee379f38147e (patch)
treeae1b052132c498f14c1f668ebcc83fa2d7dc7cf3 /ms/blueprintsprocessor/application
parent013df49f02fc67ed196072881d703ff8013c3903 (diff)
parentd1e26003105404f974f9fa45d542f658706ad3cb (diff)
Merge "Create REST API layer for resource resolution stored configlet"
Diffstat (limited to 'ms/blueprintsprocessor/application')
-rw-r--r--ms/blueprintsprocessor/application/src/main/java/org/onap/ccsdk/cds/blueprintsprocessor/BlueprintProcessorApplication.java5
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);
}
}