e0fcc917552ba3da9eee6e85a8805ca94c01b0ca
[ccsdk/features.git] /
1 /*\r
2  * Copyright © 2017-2018 AT&T Intellectual Property.\r
3  * \r
4  * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except\r
5  * in compliance with the License. You may obtain a copy of the License at\r
6  * \r
7  * http://www.apache.org/licenses/LICENSE-2.0\r
8  * \r
9  * Unless required by applicable law or agreed to in writing, software distributed under the License\r
10  * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\r
11  * or implied. See the License for the specific language governing permissions and limitations under\r
12  * the License.\r
13  */\r
14 \r
15 package org.onap.ccsdk.config.assignment.service;\r
16 \r
17 import java.util.List;\r
18 import org.onap.ccsdk.config.assignment.data.ResourceAssignmentData;\r
19 import org.onap.ccsdk.config.model.data.ResourceAssignment;\r
20 import org.onap.ccsdk.sli.core.sli.SvcLogicException;\r
21 \r
22 public interface ConfigAssignmentService {\r
23     \r
24     public void resolveResources(ResourceAssignmentData resourceAssignmentData) throws SvcLogicException;\r
25     \r
26     public void saveResourceMapping(ResourceAssignmentData resourceAssignmentData, String templateName,\r
27             List<ResourceAssignment> resourceAssignments) throws SvcLogicException;\r
28     \r
29     public ResourceAssignmentData generateTemplateResourceMash(ResourceAssignmentData resourceAssignmentData)\r
30             throws SvcLogicException;\r
31     \r
32 }\r