aboutsummaryrefslogtreecommitdiffstats
path: root/ms/sliboot/src/main
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2020-11-10 16:49:04 -0500
committerDan Timoney <dtimoney@att.com>2020-11-10 16:49:04 -0500
commit3504bad8d098ce09340a93e7916b20ae422d4497 (patch)
tree85d7e4df2f39bb82a6773b6fa028ee809af58c74 /ms/sliboot/src/main
parent50d4d559247852ebb52aee1dc9f65a7bcf752ad4 (diff)
Add content-type header if missing
Added new filter that inserts a Content-Type header (default value application/json) if none is provided. Change-Id: I4e06913851816448576aad35deb9a809a0dbcda7 Issue-ID: CCSDK-2977 Signed-off-by: Dan Timoney <dtimoney@att.com>
Diffstat (limited to 'ms/sliboot/src/main')
-rw-r--r--ms/sliboot/src/main/java/org/onap/ccsdk/apps/ms/sliboot/controllers/RestconfApiController.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/ms/sliboot/src/main/java/org/onap/ccsdk/apps/ms/sliboot/controllers/RestconfApiController.java b/ms/sliboot/src/main/java/org/onap/ccsdk/apps/ms/sliboot/controllers/RestconfApiController.java
index f37fe137..44981845 100644
--- a/ms/sliboot/src/main/java/org/onap/ccsdk/apps/ms/sliboot/controllers/RestconfApiController.java
+++ b/ms/sliboot/src/main/java/org/onap/ccsdk/apps/ms/sliboot/controllers/RestconfApiController.java
@@ -54,7 +54,7 @@ import java.util.*;
@javax.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2020-02-20T12:50:11.207-05:00")
@RestController
-@ComponentScan(basePackages = {"org.onap.ccsdk.apps.ms.sliboot.*", "org.onap.ccsdk.apps.services"})
+@ComponentScan(basePackages = {"org.onap.ccsdk.apps.ms.sliboot.*", "org.onap.ccsdk.apps.services", "org.onap.ccsdk.apps.filters"})
@EntityScan("org.onap.ccsdk.apps.ms.sliboot.*")
public class RestconfApiController implements ConfigApi, OperationalApi, OperationsApi {