277803cc3e68e6591fbb905e1e0cc0d207c42774
[appc.git] / appc-directed-graph / appc-dgraph / provider / src / test / java / org / openecomp / appc / dg / TestConfigurationDocumentRequest.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP : APP-C
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property.  All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 package org.openecomp.appc.dg;
22
23 import java.util.HashMap;
24 import java.util.Map;
25
26 import org.junit.Test;
27
28 /* move to opensource
29 import com.att.sdnctl.dgtestlibrary.AbstractDGTestCase;
30 import com.att.sdnctl.dgtestlibrary.DGTestCase;
31 import com.att.sdnctl.dgtestlibrary.GraphKey;
32 */
33 import org.onap.ccsdk.sli.core.sli.SvcLogicContext;
34
35 public class TestConfigurationDocumentRequest /* extends AbstractDGTestCase */ {
36
37 /*
38         @Test
39         public void testSDCMessage() {
40                 try {
41                         String propertyfileName = "SDC-MESSAGE_method_configuration-document-request_TC1.properties";
42
43                         String configurationDocumentRequestXML = "src/main/resources/xml/SDC-MESSAGE_method_configuration-document-request_3.0.0.xml";
44
45
46                         // Register Call graphs
47                         String injectGraphXmls[] = new String[] { configurationDocumentRequestXML};
48
49                         Map<String, Object> serviceReferences = new HashMap<String, Object>();
50                         serviceReferences.put("org.openecomp.sdnc.config.generator.convert.ConvertNode",new org.openecomp.sdnc.config.generator.convert.ConvertNode());
51                         serviceReferences.put("org.openecomp.sdnc.config.generator.merge.MergeNode", new org.openecomp.sdnc.config.generator.merge.MergeNode());
52
53                         GraphKey  graphKey = new GraphKey("SDC-MESSAGE", null, "configuration-document-request", null);
54                         DGTestCase tc = new DGTestCase(graphKey);
55                         tc.setInjectGraphXmls(injectGraphXmls);
56                         tc.setServiceReferences(serviceReferences);
57                         tc.setPropertyfileName(propertyfileName);
58
59                         SvcLogicContext ctx = new SvcLogicContext();
60                         processTestCase(tc, ctx);
61
62                 } catch (Exception e) {
63                         e.printStackTrace();
64                 }
65
66         }
67 */
68
69 }