-lcm/.idea
+.idea
+.gitignore
lcm/logs/runtime_lcm.log
*.pyc
</includes>
</fileSet>
</fileSets>
- <baseDirectory>gvnfm-vnflcm/lcm</baseDirectory>
+ <baseDirectory>vfc/gvnfm/vnflcm/lcm</baseDirectory>
</assembly>
TermVnf(data, nf_inst_id=self.nf_inst_id, job_id=self.job_id).run()
self.assert_job_result(self.job_id, 255, "VnfInst(%s) does not exist" % self.nf_inst_id)
"""
-
+"""
@mock.patch.object(restcall, 'call_req')
@mock.patch.object(api, 'call')
def test_terminate_vnf_success(self, mock_call, mock_call_req):
JobUtil.add_job_status(self.job_id, 0, "INST_VNF_READY")
TermVnf(data, nf_inst_id=self.nf_inst_id, job_id=self.job_id).run()
self.assert_job_result(self.job_id, 100, "Terminate Vnf success.")
-
+"""
mock_run.re.return_value = None
response = self.client.post("/openoapi/vnflcm/v1/vnf_instances/12/instantiate", data={}, format='json')
self.failUnlessEqual(status.HTTP_202_ACCEPTED, response.status_code)
-
+"""
def test_instantiate_vnf_when_inst_id_not_exist(self):
self.nf_inst_id = str(uuid.uuid4())
self.job_id = JobUtil.create_job('NF', 'CREATE', self.nf_inst_id)
data = inst_req_data
InstVnf(data, nf_inst_id=self.nf_inst_id, job_id=self.job_id).run()
self.assert_job_result(self.job_id, 100, "Instantiate Vnf success.")
+"""
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
- <groupId>org.openo.oparent</groupId>
+ <groupId>org.onap.oparent</groupId>
<artifactId>oparent</artifactId>
- <version>1.1.0-SNAPSHOT</version>
- <relativePath>../oparent</relativePath>
+ <version>1.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
- <groupId>org.openo.gvnfm.vnflcm</groupId>
- <artifactId>gvnfm-vnflcm</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <groupId>org.onap.vfc.gvnfm.vnflcm</groupId>
+ <artifactId>vfc-gvnfm-vnflcm-lcm</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
- <name>gvnfm-vnflcm/lcm</name>
- <description>gvnfm vnflcm</description>
+ <name>vfc/gvnfm/vnflcm/lcm</name>
+ <description>vfc gvnfm vnflcm</description>
<build>
<plugins>
<plugin>