3 * * ============LICENSE_START=======================================================
5 * * ================================================================================
6 * * Copyright (c) 2020 AT&T Intellectual Property. All rights reserved.
7 * * ================================================================================
8 * * Modifications Copyright (c) 2021 Nokia
9 * * ================================================================================
10 * * Licensed under the Apache License, Version 2.0 (the "License");
11 * * you may not use this file except in compliance with the License.
12 * * You may obtain a copy of the License at
14 * * http://www.apache.org/licenses/LICENSE-2.0
16 * * Unless required by applicable law or agreed to in writing, software
17 * * distributed under the License is distributed on an "AS IS" BASIS,
18 * * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 * * See the License for the specific language governing permissions and
20 * * limitations under the License.
21 * * ============LICENSE_END=========================================================
26 package org.onap.blueprintgenerator.model.common;
28 import org.onap.blueprintgenerator.model.componentspec.common.Calls;
29 import com.fasterxml.jackson.annotation.JsonAnyGetter;
30 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
31 import com.fasterxml.jackson.annotation.JsonInclude;
37 * @author : Ravi Mantena
38 * @date 10/16/2020 Application: DCAE/ONAP - Blueprint Generator Common Module: Used by both ONAP
39 * and DCAE Blueprint Applications Common Model: A model class which represents App Config
42 @JsonInclude(value = JsonInclude.Include.NON_NULL)
43 @JsonIgnoreProperties(ignoreUnknown = true)
44 public class Appconfig {
46 private Calls[] services_calls;
48 private Map<String, BaseStream> streams_publishes;
50 private Map<String, BaseStream> streams_subscribes;
52 private Map<String, Object> params;
54 @JsonAnyGetter // The Map is persisted as flattened properties of the target POJO.
55 public Map<String, Object> getParams() {
60 private Calls[] service_calls;