diff options
author | Paira, Saurav (sp694w) <sp694w@att.com> | 2020-07-09 12:27:36 -0400 |
---|---|---|
committer | Paira, Saurav (sp694w) <sp694w@att.com> | 2020-07-09 12:52:13 -0400 |
commit | f0318b256f3c94b98765569fa618878692a9949b (patch) | |
tree | ec5af24436c4122bed891fecb924a8b54daf7212 /appc-client | |
parent | 56c57f2e215787fd1189e077e4dd91da9db099ca (diff) |
Added x-onap-requestorid to common-header for LCM commands
Issue-ID: APPC-1899
Signed-off-by: Paira, Saurav (sp694w) <sp694w@att.com>
Change-Id: I320196f0357a929c8e88645c4a3ab6dec3052587
Diffstat (limited to 'appc-client')
-rw-r--r-- | appc-client/code-generator/src/main/resources/templates/client-kit/pojo.ftl | 3 | ||||
-rw-r--r-- | appc-client/pom.xml | 2 |
2 files changed, 4 insertions, 1 deletions
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; */ </#if> <@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 @@ <cambria.client.version>0.0.1</cambria.client.version> <eelf.core.version>1.0.0</eelf.core.version> <eelf.version>1.0.0</eelf.version> - <freemarker.version>2.3.23</freemarker.version> + <freemarker.version>2.3.30</freemarker.version> <java.version>1.8</java.version> <junit.version>4.12</junit.version> <maven.compiler.plugin.version>3.6.0</maven.compiler.plugin.version> |