summaryrefslogtreecommitdiffstats
path: root/blueprints-processor/plugin/assignment-provider/src/main/java/org/onap/ccsdk/config/assignment/data/ResourceAssignmentData.java
blob: 816c943f3cc11c820311d0ba06daf7e5fda88e53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
/*
 * Copyright © 2017-2018 AT&T Intellectual Property.
 * Modifications Copyright © 2018 IBM.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 * http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.onap.ccsdk.config.assignment.data;

import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.onap.ccsdk.config.model.data.ResourceAssignment;
import org.onap.ccsdk.sli.core.sli.SvcLogicContext;

public class ResourceAssignmentData {

    private String requestId;
    private boolean reloadModel;
    private String resourceType;
    private String resourceId;
    private String serviceTemplateName;
    private String serviceTemplateVersion;
    private String actionName;
    private String inputData;
    private SvcLogicContext svcLogicContext;
    private List<String> templateNames;
    private Map<String, List<ResourceAssignment>> templatesResourceAssignments = new HashMap<>();
    private Map<String, String> templatesContents = new HashMap<>();
    private Map<String, String> templatesMashedContents = new HashMap<>();
    private Map<String, String> templatesData = new HashMap<>();
    private Map<String, Object> context = new HashMap<>();

    public String getRequestId() {
        return requestId;
    }

    public void setRequestId(String requestId) {
        this.requestId = requestId;
    }

    public String getResourceType() {
        return resourceType;
    }

    public void setResourceType(String resourceType) {
        this.resourceType = resourceType;
    }

    public String getResourceId() {
        return resourceId;
    }

    public void setResourceId(String resourceId) {
        this.resourceId = resourceId;
    }

    public String getServiceTemplateName() {
        return serviceTemplateName;
    }

    public void setServiceTemplateName(String serviceTemplateName) {
        this.serviceTemplateName = serviceTemplateName;
    }

    public String getServiceTemplateVersion() {
        return serviceTemplateVersion;
    }

    public void setServiceTemplateVersion(String serviceTemplateVersion) {
        this.serviceTemplateVersion = serviceTemplateVersion;
    }

    public String getActionName() {
        return actionName;
    }

    public void setActionName(String actionName) {
        this.actionName = actionName;
    }

    public String getInputData() {
        return inputData;
    }

    public void setInputData(String inputData) {
        this.inputData = inputData;
    }

    public List<String> getTemplateNames() {
        return templateNames;
    }

    public void setTemplateNames(List<String> templateNames) {
        this.templateNames = templateNames;
    }

    public Map<String, List<ResourceAssignment>> getTemplatesResourceAssignments() {
        return templatesResourceAssignments;
    }

    public void setTemplatesResourceAssignments(Map<String, List<ResourceAssignment>> templatesResourceAssignments) {
        this.templatesResourceAssignments = templatesResourceAssignments;
    }

    public Map<String, String> getTemplatesContents() {
        return templatesContents;
    }

    public void setTemplatesContents(Map<String, String> templatesContents) {
        this.templatesContents = templatesContents;
    }

    public Map<String, String> getTemplatesMashedContents() {
        return templatesMashedContents;
    }

    public void setTemplatesMashedContents(Map<String, String> templatesMashedContents) {
        this.templatesMashedContents = templatesMashedContents;
    }

    public Map<String, String> getTemplatesData() {
        return templatesData;
    }

    public void setTemplatesData(Map<String, String> templatesData) {
        this.templatesData = templatesData;
    }

    public Map<String, Object> getContext() {
        return context;
    }

    public void setContext(Map<String, Object> context) {
        this.context = context;
    }

    public SvcLogicContext getSvcLogicContext() {
        return svcLogicContext;
    }

    public void setSvcLogicContext(SvcLogicContext svcLogicContext) {
        this.svcLogicContext = svcLogicContext;
    }

    public boolean isReloadModel() {
        return reloadModel;
    }

    public void setReloadModel(boolean reloadModel) {
        this.reloadModel = reloadModel;
    }
}