From f0318b256f3c94b98765569fa618878692a9949b Mon Sep 17 00:00:00 2001 From: "Paira, Saurav (sp694w)" Date: Thu, 9 Jul 2020 12:27:36 -0400 Subject: Added x-onap-requestorid to common-header for LCM commands Issue-ID: APPC-1899 Signed-off-by: Paira, Saurav (sp694w) Change-Id: I320196f0357a929c8e88645c4a3ab6dec3052587 --- .../code-generator/src/main/resources/templates/client-kit/pojo.ftl | 3 +++ appc-client/pom.xml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'appc-client') diff --git a/appc-client/code-generator/src/main/resources/templates/client-kit/pojo.ftl b/appc-client/code-generator/src/main/resources/templates/client-kit/pojo.ftl index 1be2d1173..c5854ef25 100644 --- a/appc-client/code-generator/src/main/resources/templates/client-kit/pojo.ftl +++ b/appc-client/code-generator/src/main/resources/templates/client-kit/pojo.ftl @@ -27,6 +27,8 @@ */ package ${meta.model\.package}; +import com.fasterxml.jackson.annotation.JsonAutoDetect; +import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility; import com.fasterxml.jackson.annotation.JsonProperty; <#if pojo.description??> @@ -35,6 +37,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; */ <@generated/> +@JsonAutoDetect(fieldVisibility = Visibility.ANY, getterVisibility = Visibility.NONE, setterVisibility = Visibility.NONE) public class ${objectName} { <#assign properties = pojo.properties> diff --git a/appc-client/pom.xml b/appc-client/pom.xml index 08d421ed1..5db3365a3 100644 --- a/appc-client/pom.xml +++ b/appc-client/pom.xml @@ -54,7 +54,7 @@ 0.0.1 1.0.0 1.0.0 - 2.3.23 + 2.3.30 1.8 4.12 3.6.0 -- cgit 1.2.3-korg