From 3504bad8d098ce09340a93e7916b20ae422d4497 Mon Sep 17 00:00:00 2001 From: Dan Timoney Date: Tue, 10 Nov 2020 16:49:04 -0500 Subject: 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 --- .../onap/ccsdk/apps/ms/sliboot/controllers/RestconfApiController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ms/sliboot') 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 { -- cgit 1.2.3-korg