Change resmanagement the vfc tag 37/10737/2
authorluxin <luxin7@huawei.com>
Thu, 7 Sep 2017 06:49:14 +0000 (14:49 +0800)
committerluxin <luxin7@huawei.com>
Thu, 7 Sep 2017 07:29:53 +0000 (15:29 +0800)
Change NFVO 0.5 to VFC 1.0

Change-Id: Iff5502d77e887403fe0adeff6a542d4c01a43e0d
Issue-Id:VFC-273
Signed-off-by: luxin <luxin7@huawei.com>
159 files changed:
ResmanagementService/service/pom.xml
ResmanagementService/service/src/integration-test/java/org/openo/nfvo/resmanagement/mocoserver/VimDriverSuccessServer.java
ResmanagementService/service/src/integration-test/java/org/openo/nfvo/resmanagement/test/ITHostRoaFail.java
ResmanagementService/service/src/integration-test/java/org/openo/nfvo/resmanagement/test/ITHostRoaSuccess.java
ResmanagementService/service/src/integration-test/java/org/openo/nfvo/resmanagement/test/ITLimitsRoa.java
ResmanagementService/service/src/integration-test/java/org/openo/nfvo/resmanagement/test/ITLocationRoaFail.java
ResmanagementService/service/src/integration-test/java/org/openo/nfvo/resmanagement/test/ITLocationRoaSuccess.java
ResmanagementService/service/src/integration-test/java/org/openo/nfvo/resmanagement/test/ITNetworkRoaFail.java
ResmanagementService/service/src/integration-test/java/org/openo/nfvo/resmanagement/test/ITNetworkRoaSuccess.java
ResmanagementService/service/src/integration-test/java/org/openo/nfvo/resmanagement/test/ITPortRoaFail.java
ResmanagementService/service/src/integration-test/java/org/openo/nfvo/resmanagement/test/ITPortRoaSuccess.java
ResmanagementService/service/src/integration-test/java/org/openo/nfvo/resmanagement/test/ITResOperateRoaFail.java
ResmanagementService/service/src/integration-test/java/org/openo/nfvo/resmanagement/test/ITResOperateRoaSuccess.java
ResmanagementService/service/src/integration-test/java/org/openo/nfvo/resmanagement/test/ITSitesRoaFail.java
ResmanagementService/service/src/integration-test/java/org/openo/nfvo/resmanagement/test/ITSitesRoaSuccess.java
ResmanagementService/service/src/integration-test/java/org/openo/nfvo/resmanagement/util/AddSuccessChecker.java
ResmanagementService/service/src/integration-test/java/org/openo/nfvo/resmanagement/util/FailureChecker.java
ResmanagementService/service/src/integration-test/java/org/openo/nfvo/resmanagement/util/GetSuccessChecker.java
ResmanagementService/service/src/integration-test/java/org/openo/nfvo/resmanagement/util/MyChecker.java
ResmanagementService/service/src/integration-test/java/org/openo/nfvo/resmanagement/util/MyTestManager.java
ResmanagementService/service/src/integration-test/java/org/openo/nfvo/resmanagement/util/SuccessChecker.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/common/ResourceUtil.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/common/VimUtil.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/common/constant/Constant.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/common/constant/HttpConstant.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/common/constant/ParamConstant.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/common/constant/ResponseConstant.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/common/constant/UrlConstant.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/common/util/JsonUtil.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/common/util/RestfulUtil.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/common/util/StringUtil.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/common/util/request/RequestUtil.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/common/util/response/ResponseUtil.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/common/util/response/RoaResponseUtil.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/activator/ROAResmgrServicePostProcessor.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/adapter/impl/ResmgrAdapter2MSBManager.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/adapter/impl/ResmgrAdapterMgrService.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/adapter/inf/IResmgrAdapter2MSBManager.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/adapter/inf/IResmgrAdapterMgrService.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/base/openstack/impl/HostImpl.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/base/openstack/impl/LocationImpl.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/base/openstack/impl/NetworkImpl.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/base/openstack/impl/PortImpl.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/base/openstack/impl/SitesImpl.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/base/openstack/impl/VimImpl.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/base/openstack/inf/Host.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/base/openstack/inf/InterfaceResManagement.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/base/openstack/inf/Location.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/base/openstack/inf/Network.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/base/openstack/inf/Port.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/base/openstack/inf/ResManagement.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/base/openstack/inf/Sites.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/base/openstack/inf/Vim.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/business/impl/HostBusinessImpl.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/business/impl/LimitsBusinessImpl.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/business/impl/LocationBusinessImpl.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/business/impl/NetworkBusinessImpl.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/business/impl/PortBusinessImpl.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/business/impl/SitesBusinessImpl.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/business/impl/VimBusinessImpl.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/business/inf/HostBusiness.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/business/inf/LimitsBusiness.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/business/inf/LocationBusiness.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/business/inf/NetworkBusiness.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/business/inf/PortBusiness.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/business/inf/SitesBusiness.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/business/inf/VimBusiness.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/dao/impl/AbstractDao.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/dao/impl/HostDaoImpl.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/dao/impl/LocationDaoImpl.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/dao/impl/NetworkDaoImpl.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/dao/impl/PortDaoImpl.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/dao/impl/SitesDaoImpl.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/dao/impl/VimDaoImpl.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/dao/impl/VirtualLinkDaoImpl.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/dao/impl/VmDaoImpl.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/dao/impl/VnfDaoImpl.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/dao/impl/VnfInfoDaoImpl.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/dao/impl/VnfStatusDaoImpl.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/dao/inf/HostDao.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/dao/inf/LocationDao.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/dao/inf/NetworkDao.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/dao/inf/PortDao.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/dao/inf/SitesDao.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/dao/inf/VimDao.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/dao/inf/VirtualLinkDao.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/dao/inf/VmDao.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/dao/inf/VnfDao.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/dao/inf/VnfInfoDao.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/dao/inf/VnfStatusDao.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/entity/HostEntity.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/entity/LocationEntity.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/entity/NetworkEntity.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/entity/PortEntity.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/entity/SitesEntity.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/entity/VimEntity.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/entity/VirtualLinkEntity.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/entity/VnfEntity.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/group/impl/GrantResServiceImpl.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/group/impl/IResourceAddServiceImpl.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/group/impl/IResourceDelServiceImpl.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/group/impl/IResourceUpdateServiceImpl.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/group/impl/ResOperateServiceImpl.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/group/impl/VirtualLinkServiceImpl.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/group/impl/VmServiceImpl.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/group/impl/VnfInfoServiceImpl.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/group/impl/VnfServiceImpl.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/group/impl/VnfStatusServiceImpl.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/group/inf/GrantResService.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/group/inf/ResOperateService.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/group/inf/VirtualLinkService.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/group/inf/VmService.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/group/inf/VnfInfoService.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/group/inf/VnfService.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/group/inf/VnfStatusService.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/mapper/HostMapper.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/mapper/LocationMapper.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/mapper/NetworkMapper.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/mapper/PortMapper.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/mapper/SitesMapper.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/mapper/VimMapper.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/rest/GrantResourseRoa.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/rest/HostRoa.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/rest/LimitsRoa.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/rest/LocationRoa.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/rest/NetworkRoa.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/rest/PortRoa.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/rest/ResOperateRoa.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/rest/SitesRoa.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/rest/SwaggerRoa.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/rest/VirtualLinkRoa.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/rest/VmRoa.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/rest/VnfInfoRoa.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/rest/VnfRoa.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/rest/VnfStatusRoa.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/rest/exceptionmapper/ExceptionMessage.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/rest/exceptionmapper/GenericExceptionMapper.java
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/rest/exceptionmapper/ServiceExceptionMapper.java
ResmanagementService/service/src/test/java/org/onap/vfc/nfvo/resmanagement/service/adapter/impl/ResmgrAdapter2MSBManagerTest.java
ResmanagementService/service/src/test/java/org/onap/vfc/nfvo/resmanagement/service/adapter/impl/ResmgrAdapterMgrServiceTest.java
ResmanagementService/service/src/test/java/org/onap/vfc/nfvo/resmanagement/service/business/impl/SitesBusinessImplTest.java
ResmanagementService/service/src/test/java/org/onap/vfc/nfvo/resmanagement/service/business/impl/VimBusinessImplTest.java
ResmanagementService/service/src/test/java/org/onap/vfc/nfvo/resmanagement/service/rest/GrantResourseRoaTest.java
ResmanagementService/service/src/test/java/org/onap/vfc/nfvo/resmanagement/service/rest/HostRoaTest.java
ResmanagementService/service/src/test/java/org/onap/vfc/nfvo/resmanagement/service/rest/LimitsRoaTest.java
ResmanagementService/service/src/test/java/org/onap/vfc/nfvo/resmanagement/service/rest/LocationRoaTest.java
ResmanagementService/service/src/test/java/org/onap/vfc/nfvo/resmanagement/service/rest/NetworkRoaTest.java
ResmanagementService/service/src/test/java/org/onap/vfc/nfvo/resmanagement/service/rest/PortRoaTest.java
ResmanagementService/service/src/test/java/org/onap/vfc/nfvo/resmanagement/service/rest/ResOperateRoaTest.java
ResmanagementService/service/src/test/java/org/onap/vfc/nfvo/resmanagement/service/rest/SitesRoaTest.java
ResmanagementService/service/src/test/java/org/onap/vfc/nfvo/resmanagement/service/rest/SwaggerRoaTest.java
ResmanagementService/service/src/test/java/org/onap/vfc/nfvo/resmanagement/service/rest/VirtualLinkRoaTest.java
ResmanagementService/service/src/test/java/org/onap/vfc/nfvo/resmanagement/service/rest/VmRoaTest.java
ResmanagementService/service/src/test/java/org/onap/vfc/nfvo/resmanagement/service/rest/VnfInfoRoaTest.java
ResmanagementService/service/src/test/java/org/onap/vfc/nfvo/resmanagement/service/rest/VnfRoaTest.java
ResmanagementService/service/src/test/java/org/onap/vfc/nfvo/resmanagement/service/rest/VnfStatusRoaTest.java
ResmanagementService/service/src/test/java/org/onap/vfc/nfvo/resmanagement/service/rest/exceptionmapper/ExceptionMessageTest.java
ResmanagementService/service/src/test/java/org/onap/vfc/nfvo/resmanagement/service/rest/exceptionmapper/GenericExceptionMapperTest.java
ResmanagementService/service/src/test/java/org/onap/vfc/nfvo/resmanagement/service/rest/exceptionmapper/ServiceExceptionMapperTest.java

index e4eec82..215bb96 100644 (file)
   <artifactId>httpcore</artifactId>
   <version>4.3</version>
 </dependency>
+        <dependency>
+            <groupId>org.codehaus.jackson</groupId>
+            <artifactId>jackson-jaxrs</artifactId>
+            <version>1.9.12</version>
+        </dependency>
         <dependency>
             <groupId>commons-io</groupId>
             <artifactId>commons-io</artifactId>
index d2387db..bb4e081 100644 (file)
@@ -31,7 +31,7 @@ import org.openo.nfvo.resmanagement.util.MyTestManager;
  * </p>
  * 
  * @author
- * @version NFVO 0.5 Sep 28, 2016
+ * @version VFC 1.0 Sep 28, 2016
  */
 public class ITLimitsRoa extends MyTestManager {
 
index 00fd5b6..14fe81a 100644 (file)
@@ -25,7 +25,7 @@ import org.openo.sdno.testframework.http.model.HttpResponse;
  * </p>
  * 
  * @author
- * @version NFVO 0.5 Sep 21, 2016
+ * @version VFC 1.0 Sep 21, 2016
  */
 public class MyChecker extends DefaultChecker {
 
@@ -37,7 +37,7 @@ public class MyChecker extends DefaultChecker {
      * </p>
      * 
      * @param expectedResponse
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     public MyChecker(HttpResponse expectedResponse) {
         super(expectedResponse);
@@ -49,7 +49,7 @@ public class MyChecker extends DefaultChecker {
      * 
      * @param response
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @Override
     public boolean check(HttpResponse response) {
index 2e6f0b5..95824e1 100644 (file)
@@ -41,7 +41,7 @@ import org.slf4j.LoggerFactory;
  * </p>
  * 
  * @author
- * @version NFVO 0.5 Sep 21, 2016
+ * @version VFC 1.0 Sep 21, 2016
  */
 public class MyTestManager extends TestManager {
 
@@ -59,7 +59,7 @@ public class MyTestManager extends TestManager {
      * @param file
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @Override
     public HttpResponse execTestCase(File file) throws ServiceException {
index 4259574..db94a17 100644 (file)
@@ -22,7 +22,7 @@ package org.onap.vfc.nfvo.resmanagement.common;
  * </p>
  *
  * @author
- * @version NFVO 0.5 Aug 25, 2016
+ * @version VFC 1.0 Aug 25, 2016
  */
 public class ResourceUtil {
 
@@ -35,7 +35,7 @@ public class ResourceUtil {
      *
      * @param key
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     public static String getMessage(String key) {
         return key;
index e623d75..92ab459 100644 (file)
@@ -32,7 +32,7 @@ import net.sf.json.JSONObject;
  * </p>
  * 
  * @author
- * @version NFVO 0.5 Oct 30, 2016
+ * @version VFC 1.0 Oct 30, 2016
  */
 public class VimUtil {
 
@@ -123,7 +123,7 @@ public class VimUtil {
      * @param tenant
      * @param vimId
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     public static String getTenantIdByName(String tenant, String vimId) {
         JSONArray tenants = VimUtil.getTenants(vimId);
index faf63f7..f6bf1ac 100644 (file)
@@ -31,7 +31,7 @@ import net.sf.json.JSONObject;
  * </p>
  *
  * @author
- * @version     NFVO 0.5  Sep 10, 2016
+ * @version     VFC 1.0  Sep 10, 2016
  */
 public final class JsonUtil {
 
@@ -57,7 +57,7 @@ public final class JsonUtil {
      * @param jsonObj
      * @param fieldName
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     public static String getJsonFieldStr(JSONObject jsonObj, String fieldName) {
         return (String)getJsonFieldObject(jsonObj, fieldName, TYPE_STRING);
@@ -70,7 +70,7 @@ public final class JsonUtil {
      * @param jsonObj
      * @param fieldName
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     public static Integer getJsonFieldInt(JSONObject jsonObj, String fieldName) {
         return (Integer)getJsonFieldObject(jsonObj, fieldName, TYPE_INT);
@@ -83,7 +83,7 @@ public final class JsonUtil {
      * @param jsonObj
      * @param fieldName
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     public static JSONArray getJsonFieldArr(JSONObject jsonObj, String fieldName) {
         return (JSONArray)getJsonFieldObject(jsonObj, fieldName, TYPE_JSONA);
@@ -96,7 +96,7 @@ public final class JsonUtil {
      * @param jsonObj
      * @param fieldName
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     public static JSONObject getJsonFieldJson(JSONObject jsonObj, String fieldName) {
         return (JSONObject)getJsonFieldObject(jsonObj, fieldName, TYPE_JSONO);
@@ -109,7 +109,7 @@ public final class JsonUtil {
      * @param jsonObj
      * @param fieldName
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     public static Long getJsonFieldLong(JSONObject jsonObj, String fieldName) {
         return (Long)getJsonFieldObject(jsonObj, fieldName, TYPE_LONG);
@@ -123,7 +123,7 @@ public final class JsonUtil {
      * @param fieldName
      * @param classType
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     private static Object getJsonFieldObject(JSONObject jsonObj, String fieldName, int classType) {
         try {
@@ -164,7 +164,7 @@ public final class JsonUtil {
      *
      * @param jsonObject
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     public static boolean isNullJson(JSONObject jsonObject) {
         if(null == jsonObject || jsonObject.isEmpty()) {
@@ -180,7 +180,7 @@ public final class JsonUtil {
      * @param json
      * @param key
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     public static String getStrValueByjson(JSONObject json, String key) {
         JSONArray names = json.names();
@@ -221,7 +221,7 @@ public final class JsonUtil {
      * @param json
      * @param key
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     public static JSONObject getJsonValueByjson(JSONObject json, String key) {
         JSONObject resultJson = new JSONObject();
@@ -242,7 +242,7 @@ public final class JsonUtil {
      * @param parentKey
      * @param key
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     public static String getStrValueByJson(JSONObject json, String parentKey, String key) {
         if(parentKey.isEmpty()) {
@@ -262,7 +262,7 @@ public final class JsonUtil {
      *
      * @param obj
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     public static JSONObject getResponseData(JSONObject obj) {
         JSONObject result = new JSONObject();
index 8607111..aa7c948 100644 (file)
@@ -47,7 +47,7 @@ import net.sf.json.JSONObject;
  * </p>
  *
  * @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
  */
 public class RestfulUtil {
 
@@ -76,7 +76,7 @@ public class RestfulUtil {
      * @param url
      * @param type
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     public static JSONObject getResponseObj(String url, String type) {
         return getResponseObj(url, new RestfulParametes(), type);
@@ -89,7 +89,7 @@ public class RestfulUtil {
      * @param parametes
      * @param type
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     public static JSONObject getResponseObj(String url, RestfulParametes parametes, String type) {
         try {
@@ -112,7 +112,7 @@ public class RestfulUtil {
      * @param restParametes
      * @param type
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     public static String getResponseContent(String url, RestfulParametes restParametes, String type) {
         return getResponseContent(url, restParametes, null, type);
@@ -126,7 +126,7 @@ public class RestfulUtil {
      * @param opt
      * @param type
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     public static Map<String, Object> getResponseMap(String url, RestfulParametes restParametes, RestfulOptions opt,
             String type) {
@@ -140,7 +140,7 @@ public class RestfulUtil {
      * @param url
      * @param type
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     public static Map<String, Object> getResponseContentMap(String url, String type) {
         RestfulResponse response = restfulResponse(url, new RestfulParametes(), null, type);
@@ -164,7 +164,7 @@ public class RestfulUtil {
      * @param opt
      * @param type
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     public static String getResponseContent(String url, RestfulParametes restParametes, RestfulOptions opt,
             String type) {
@@ -189,7 +189,7 @@ public class RestfulUtil {
      * @param restParametes
      * @param type
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     public static RestfulResponse getRestfulResponse(String url, RestfulParametes restParametes, String type) {
         return restfulResponse(url, restParametes, null, type);
@@ -224,7 +224,7 @@ public class RestfulUtil {
      * @param methodName, Restful's method.
      * @param objects, method param array.
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     public static RestfulResponse getRestRes(String methodName, Object... objects) {
         try {
@@ -270,7 +270,7 @@ public class RestfulUtil {
      * @param url
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     public static JSONArray getResponseRes(RestfulParametes restParametes, String url) throws ServiceException {
         String result = getResponseContent(url, restParametes, RestfulUtil.TYPE_GET);
@@ -300,7 +300,7 @@ public class RestfulUtil {
      * @param iResName
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     public static JSONArray getResponseRes(RestfulParametes restParametes, String url, String iResName)
             throws ServiceException {
@@ -336,7 +336,7 @@ public class RestfulUtil {
      * @param paramsMap
      * @param params
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     public static RestfulResponse getRemoteResponse(Map<String, String> paramsMap, String params) {
         String url = paramsMap.get("url");
index e7f4943..c932669 100644 (file)
@@ -30,7 +30,7 @@ import org.slf4j.LoggerFactory;
  * </p>
  *
  * @author
- * @version     NFVO 0.5  Sep 10, 2016
+ * @version     VFC 1.0  Sep 10, 2016
  */
 public final class StringUtil {
 
@@ -45,7 +45,7 @@ public final class StringUtil {
      *
      * @param str
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     public static boolean isValidString(String str) {
         if(null == str || str.isEmpty()) {
@@ -60,7 +60,7 @@ public final class StringUtil {
      *
      * @param strs
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     public static boolean isAnyLargeThanZero(String... strs) {
         for(String str : strs) {
@@ -78,7 +78,7 @@ public final class StringUtil {
      *
      * @param strs
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     public static boolean isInteger(String... strs) {
         try {
@@ -102,7 +102,7 @@ public final class StringUtil {
      *
      * @param strs
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     public static boolean isNumeric(String... strs) {
         try {
@@ -128,7 +128,7 @@ public final class StringUtil {
      * @param used
      * @param drTotal
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     public static boolean compareZeroByFloat(String tatol, String used, String drTotal) {
         Float ftotal = (float)0;
@@ -158,7 +158,7 @@ public final class StringUtil {
      * @param used
      * @param drTotal
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     public static boolean compareZeroByInteger(String tatol, String used, String drTotal) {
         Integer ftotal = (int)0;
@@ -185,7 +185,7 @@ public final class StringUtil {
      *
      * @param data
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     public static String numFormat(String data) {
         if(null != data && !("".equals(data))) {
@@ -206,7 +206,7 @@ public final class StringUtil {
      *
      * @param inputStr
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     public static boolean checkXss(String inputStr) {
         return inputStr.matches("[A-Za-z0-9_.']+");
index 8ae59b1..e7f194d 100644 (file)
@@ -38,7 +38,7 @@ import net.sf.json.JSONObject;
  * </p>
  *
  * @author
- * @version NFVO 0.5 2016-3-17
+ * @version VFC 1.0 2016-3-17
  */
 public final class RequestUtil {
 
@@ -49,7 +49,7 @@ public final class RequestUtil {
      * <p>
      * </p>
      *
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     private RequestUtil() {
     }
@@ -94,7 +94,7 @@ public final class RequestUtil {
      * @param context
      *         The http context
      * @return JSONObject The body of all request in json format
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     public static JSONObject getAllJsonRequestBody(HttpServletRequest context) {
         JSONObject requestBody = getJsonRequestBody(context);
@@ -113,7 +113,7 @@ public final class RequestUtil {
      * @param context
      *         The http context
      * @return Map context header
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @SuppressWarnings("unchecked")
     private static Map<String, String> getContextHeader(HttpServletRequest context) {
index 6658b29..33f5325 100644 (file)
@@ -32,7 +32,7 @@ import net.sf.json.JSONObject;
  * </p>
  *
  * @author
- * @version     NFVO 0.5  Sep 10, 2016
+ * @version     VFC 1.0  Sep 10, 2016
  */
 public final class ResponseUtil {
 
@@ -47,7 +47,7 @@ public final class ResponseUtil {
      * @param msg
      *         The request message
      * @return JSONObject The response for http request
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     public static JSONObject genHttpResponse(int retCode, String msg) {
         return genHttpResponse(null, createCodeMap(-1, retCode), msg, null);
@@ -63,7 +63,7 @@ public final class ResponseUtil {
      * @param map
      *         Other request info of this request
      * @return JSONObject The response for http request
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     public static JSONObject genHttpResponse(int retCode, String msg, Map<String, Object> map) {
         return genHttpResponse(null, createCodeMap(-1, retCode), msg, map);
@@ -81,7 +81,7 @@ public final class ResponseUtil {
      * @param msg
      *         The message of request
      * @return JSONObject The response for http request
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     public static JSONObject genHttpResponse(HttpServletRequest context, int httpStatusCode, int retCode, String msg) {
         return genHttpResponse(context, createCodeMap(httpStatusCode, retCode), msg, null);
@@ -96,7 +96,7 @@ public final class ResponseUtil {
      * @param msg, The message of request
      * @param map, Other message of request
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     public static JSONObject genHttpResponse(HttpServletRequest context, Map<String, Integer> codeMap, String msg,
             Map<String, Object> map) {
@@ -122,7 +122,7 @@ public final class ResponseUtil {
      * @param retCode
      *         The http request return code
      * @return Map
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     private static Map<String, Integer> createCodeMap(int httpStatusCode, int retCode) {
         Map<String, Integer> codeMap = new HashMap<>(5);
index a54891b..fcb94a6 100644 (file)
@@ -35,7 +35,7 @@ import net.sf.json.JSONObject;
  * </p>
  *
  * @author
- * @version NFVO 0.5 2016-3-17
+ * @version VFC 1.0 2016-3-17
  */
 public final class RoaResponseUtil {
 
@@ -51,7 +51,7 @@ public final class RoaResponseUtil {
      * @param list
      *            The basic response for get method
      * @return JSONObject The response for http request
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     public static <T> JSONObject get(List<T> list) {
         Map<String, Object> map = new HashMap<String, Object>(10);
@@ -66,7 +66,7 @@ public final class RoaResponseUtil {
      * @param result
      *            The result
      * @return JSONObject
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     public static JSONObject add(int result) {
         LOGGER.info("function=add; msg=add result{}", result);
@@ -83,7 +83,7 @@ public final class RoaResponseUtil {
      * @param result
      *            The result
      * @return JSONObject The response for http request
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     public static JSONObject update(int result) {
         LOGGER.info("function=update; msg=update result{}", result);
@@ -100,7 +100,7 @@ public final class RoaResponseUtil {
      * @param result
      *            The result
      * @return delete JSONObject of the response for http request
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     public static JSONObject delete(int result) {
         LOGGER.info("function=delete; msg=delete result{}", result);
index 2525064..f554116 100644 (file)
@@ -28,7 +28,7 @@ import org.springframework.beans.factory.config.DestructionAwareBeanPostProcesso
  * </p>
  * 
  * @author
- * @version NFVO 0.5 Sep 22, 2016
+ * @version VFC 1.0 Sep 22, 2016
  */
 public class ROAResmgrServicePostProcessor implements DestructionAwareBeanPostProcessor {
 
index 509c9af..cf860e4 100644 (file)
@@ -26,7 +26,7 @@ import net.sf.json.JSONObject;
  * </p>
  * 
  * @author
- * @version NFVO 0.5 Sep 22, 2016
+ * @version VFC 1.0 Sep 22, 2016
  */
 public interface IResmgrAdapter2MSBManager {
 
@@ -36,7 +36,7 @@ public interface IResmgrAdapter2MSBManager {
      * @param paramsMap
      * @param driverInfo
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     JSONObject registerResmgr(Map<String, String> paramsMap, JSONObject driverInfo);
 
@@ -45,7 +45,7 @@ public interface IResmgrAdapter2MSBManager {
      * 
      * @param paramsMap
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     JSONObject unregisterResmgr(Map<String, String> paramsMap);
 
index d083f33..3b349cf 100644 (file)
@@ -42,7 +42,7 @@ import net.sf.json.JSONObject;
  * </p>
  *
  * @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
  */
 public class LocationImpl implements Location {
 
@@ -151,7 +151,7 @@ public class LocationImpl implements Location {
      * @param total
      * @param used
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     public JSONObject computingSite(JSONObject total, JSONObject used) {
         String vcpus = JsonUtil.getJsonFieldStr(total, ParamConstant.PARAM_VCPUS);
index b7d55c9..2f85b2c 100644 (file)
@@ -43,7 +43,7 @@ import net.sf.json.JSONObject;
  * </p>
  *
  * @author
- * @version NFVO 0.5 Aug 24, 2016
+ * @version VFC 1.0 Aug 24, 2016
  */
 public class SitesImpl implements Sites {
 
@@ -84,7 +84,7 @@ public class SitesImpl implements Sites {
      * 
      * @param json
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @Override
     public void sendToMonitor(JSONObject jsonObject) throws ServiceException {
index 0c07119..d0be162 100644 (file)
@@ -30,7 +30,7 @@ import net.sf.json.JSONObject;
  * </p>
  *
  * @author
- * @version NFVO 0.5 Aug 25, 2016
+ * @version VFC 1.0 Aug 25, 2016
  */
 public interface Host extends InterfaceResManagement {
 
@@ -40,7 +40,7 @@ public interface Host extends InterfaceResManagement {
      * @param jsonObject
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int updateStatusByVimId(JSONObject jsonObject) throws ServiceException;
 
@@ -50,7 +50,7 @@ public interface Host extends InterfaceResManagement {
      * @param condition
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     List<HostEntity> getList(Map<String, Object> condition) throws ServiceException;
 
@@ -60,7 +60,7 @@ public interface Host extends InterfaceResManagement {
      * @param resPoolEntity
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int update(HostEntity resPoolEntity) throws ServiceException;
 }
index 2540a78..9f38737 100644 (file)
@@ -24,7 +24,7 @@ import org.onap.vfc.nfvo.resmanagement.common.util.restclient.ServiceException;
  * </p>
  *
  * @author
- * @version NFVO 0.5 Aug 25, 2016
+ * @version VFC 1.0 Aug 25, 2016
  */
 public interface InterfaceResManagement extends ResManagement {
 
@@ -34,7 +34,7 @@ public interface InterfaceResManagement extends ResManagement {
      * @param vimId
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int deleteResByVimId(String vimId) throws ServiceException;
 }
index 9f5ba16..7cc1828 100644 (file)
@@ -30,7 +30,7 @@ import net.sf.json.JSONObject;
  * </p>
  *
  * @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
  */
 public interface Location extends ResManagement {
 
@@ -40,7 +40,7 @@ public interface Location extends ResManagement {
      * @param id
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     Map<String, Object> get(String id) throws ServiceException;
 
@@ -50,7 +50,7 @@ public interface Location extends ResManagement {
      * @param condition
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     List<LocationEntity> get(Map<String, Object> condition) throws ServiceException;
 
@@ -60,7 +60,7 @@ public interface Location extends ResManagement {
      * @param condition
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     LocationEntity getLocation(Map<String, Object> condition) throws ServiceException;
 
@@ -70,7 +70,7 @@ public interface Location extends ResManagement {
      * @param locationInfo
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     List<JSONObject> getLocationInfo(List<LocationEntity> locationInfo) throws ServiceException;
 
@@ -79,7 +79,7 @@ public interface Location extends ResManagement {
      *
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     List<String> getCountry() throws ServiceException;
 
@@ -89,7 +89,7 @@ public interface Location extends ResManagement {
      * @param condition
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     List<String> getLocationByCountry(Map<String, Object> condition) throws ServiceException;
 
@@ -98,7 +98,7 @@ public interface Location extends ResManagement {
      *
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     List<String> getCloudservice() throws ServiceException;
 }
index ce089b6..59577f9 100644 (file)
@@ -31,7 +31,7 @@ import net.sf.json.JSONObject;
  * </p>
  *
  * @author
- * @version     NFVO 0.5  Sep 10, 2016
+ * @version     VFC 1.0  Sep 10, 2016
  */
 public interface Network extends InterfaceResManagement {
 
@@ -42,7 +42,7 @@ public interface Network extends InterfaceResManagement {
      * @param jsonObject
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int updateStatusByVimId(JSONObject jsonObject) throws ServiceException;
 
@@ -53,7 +53,7 @@ public interface Network extends InterfaceResManagement {
      * @param condition
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     List<NetworkEntity> getList(Map<String, Object> condition) throws ServiceException;
 
@@ -62,7 +62,7 @@ public interface Network extends InterfaceResManagement {
      *
      * @param entity
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int add(NetworkEntity entity) throws ServiceException;
 
index 3a5bf90..272017f 100644 (file)
@@ -30,7 +30,7 @@ import net.sf.json.JSONObject;
  * </p>
  *
  * @author
- * @version NFVO 0.5 Aug 25, 2016
+ * @version VFC 1.0 Aug 25, 2016
  */
 public interface Port extends InterfaceResManagement {
 
@@ -40,7 +40,7 @@ public interface Port extends InterfaceResManagement {
      * @param jsonObject
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int updateStatusByVimId(JSONObject jsonObject) throws ServiceException;
 
@@ -50,7 +50,7 @@ public interface Port extends InterfaceResManagement {
      * @param condition
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     List<PortEntity> getList(Map<String, Object> condition) throws ServiceException;
 
@@ -60,7 +60,7 @@ public interface Port extends InterfaceResManagement {
      * @param resPoolEntity
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int update(PortEntity resPoolEntity) throws ServiceException;
 
@@ -70,7 +70,7 @@ public interface Port extends InterfaceResManagement {
      * @param portEntity
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int add(PortEntity portEntity) throws ServiceException;
 }
index ff19217..81fba4e 100644 (file)
@@ -26,7 +26,7 @@ import net.sf.json.JSONObject;
  * </p>
  *
  * @author
- * @version NFVO 0.5 Aug 25, 2016
+ * @version VFC 1.0 Aug 25, 2016
  */
 public interface ResManagement {
 
@@ -36,7 +36,7 @@ public interface ResManagement {
      * @param jsonObject
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int add(JSONObject jsonObject) throws ServiceException;
 
@@ -46,7 +46,7 @@ public interface ResManagement {
      * @param jsonObject
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int update(JSONObject jsonObject) throws ServiceException;
 
@@ -59,7 +59,7 @@ public interface ResManagement {
      * @param id
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int delete(String id) throws ServiceException;
 
index 04a4af4..6bc2172 100644 (file)
@@ -30,7 +30,7 @@ import net.sf.json.JSONObject;
  * </p>
  *
  * @author
- * @version NFVO 0.5 Aug 25, 2016
+ * @version VFC 1.0 Aug 25, 2016
  */
 public interface Sites extends InterfaceResManagement {
 
@@ -40,7 +40,7 @@ public interface Sites extends InterfaceResManagement {
      * @param jsonObject
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int updateStatusByVimId(JSONObject jsonObject) throws ServiceException;
 
@@ -50,7 +50,7 @@ public interface Sites extends InterfaceResManagement {
      * @param condition
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     List<SitesEntity> getList(Map<String, Object> condition) throws ServiceException;
 
@@ -60,7 +60,7 @@ public interface Sites extends InterfaceResManagement {
      * @param condition
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     SitesEntity get(Map<String, Object> condition) throws ServiceException;
 
@@ -70,7 +70,7 @@ public interface Sites extends InterfaceResManagement {
      * @param jsonObject
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int updateResource(JSONObject jsonObject) throws ServiceException;
 
@@ -80,7 +80,7 @@ public interface Sites extends InterfaceResManagement {
      * @param sitesEntity
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int update(SitesEntity sitesEntity) throws ServiceException;
 
@@ -89,7 +89,7 @@ public interface Sites extends InterfaceResManagement {
      * 
      * @param json
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     void sendToMonitor(JSONObject json) throws ServiceException;
 }
index 7dfb79b..20f5cca 100644 (file)
@@ -30,7 +30,7 @@ import net.sf.json.JSONObject;
  * </p>
  *
  * @author
- * @version NFVO 0.5 Aug 25, 2016
+ * @version VFC 1.0 Aug 25, 2016
  */
 public interface Vim extends ResManagement {
 
@@ -40,7 +40,7 @@ public interface Vim extends ResManagement {
      * @param id
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     VimEntity getVim(String id) throws ServiceException;
 
@@ -49,7 +49,7 @@ public interface Vim extends ResManagement {
      *
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     List<VimEntity> getList() throws ServiceException;
 
@@ -60,7 +60,7 @@ public interface Vim extends ResManagement {
      * @param condition
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     List<JSONObject> getVimInfo(Map<String, Object> condition) throws ServiceException;
 
@@ -70,7 +70,7 @@ public interface Vim extends ResManagement {
      * @param vimId
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int add(String vimId) throws ServiceException;
 }
index 1fd6d09..08b7af1 100644 (file)
@@ -33,7 +33,7 @@ import net.sf.json.JSONObject;
  * </p>
  *
  * @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
  */
 public class LimitsBusinessImpl implements LimitsBusiness {
 
@@ -45,7 +45,7 @@ public class LimitsBusinessImpl implements LimitsBusiness {
      * @param vimId
      * @param tenantId
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     private JSONObject getResponse(String vimId, String tenantId) {
         LOGGER.info("function=getResponse; vimId={}, tenantId={}", vimId, tenantId);
index e068056..3e2f047 100644 (file)
@@ -39,7 +39,7 @@ import org.slf4j.LoggerFactory;
  * </p>
  *
  * @author
- * @version     NFVO 0.5  Sep 10, 2016
+ * @version     VFC 1.0  Sep 10, 2016
  */
 public class LocationBusinessImpl implements LocationBusiness {
 
@@ -54,7 +54,7 @@ public class LocationBusinessImpl implements LocationBusiness {
      * @param locationEntity
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     public boolean checkLocation(LocationEntity locationEntity) throws ServiceException {
         String location = locationEntity.getLocation();
@@ -74,7 +74,7 @@ public class LocationBusinessImpl implements LocationBusiness {
      * @param locationEntity
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     public boolean checkLatitude(LocationEntity locationEntity) throws ServiceException {
         String latitu = locationEntity.getLatitude();
index db2f01e..a10aee6 100644 (file)
@@ -28,7 +28,7 @@ import org.onap.vfc.nfvo.resmanagement.common.util.restclient.ServiceException;
  * </p>
  *
  * @author
- * @version NFVO 0.5 Aug 31, 2016
+ * @version VFC 1.0 Aug 31, 2016
  */
 public interface HostBusiness {
 
@@ -38,7 +38,7 @@ public interface HostBusiness {
      *
      * @param id
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     HostEntity getHost(String id);
 
@@ -48,7 +48,7 @@ public interface HostBusiness {
      *
      * @param condition
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     List<HostEntity> getHosts(Map<String, Object> condition);
 
@@ -59,7 +59,7 @@ public interface HostBusiness {
      * @param id
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int deleteHost(String id) throws ServiceException;
 
@@ -70,7 +70,7 @@ public interface HostBusiness {
      * @param vimId
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int deleteHostByVimId(String vimId) throws ServiceException;
 
@@ -81,7 +81,7 @@ public interface HostBusiness {
      * @param hostEntity
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int addHost(HostEntity hostEntity) throws ServiceException;
 
@@ -92,7 +92,7 @@ public interface HostBusiness {
      * @param hostEntity
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int addHostSelective(HostEntity hostEntity) throws ServiceException;
 
@@ -103,7 +103,7 @@ public interface HostBusiness {
      * @param hostEntity
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int updateHostSelective(HostEntity hostEntity) throws ServiceException;
 
@@ -114,7 +114,7 @@ public interface HostBusiness {
      * @param hostEntity
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int updateHost(HostEntity hostEntity) throws ServiceException;
 
@@ -125,7 +125,7 @@ public interface HostBusiness {
      * @param hostEntity
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int updateHostByVimId(HostEntity hostEntity) throws ServiceException;
 }
index 42408df..09c4398 100644 (file)
@@ -26,7 +26,7 @@ import net.sf.json.JSONObject;
  * </p>
  *
  * @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
  */
 public interface LimitsBusiness {
 
@@ -35,7 +35,7 @@ public interface LimitsBusiness {
      * 
      * @param paramJson
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     JSONObject getLimits(String vimId) throws ServiceException;
 
index d75d0aa..716f4ae 100644 (file)
@@ -29,7 +29,7 @@ import org.onap.vfc.nfvo.resmanagement.common.util.restclient.ServiceException;
  * </p>
  *
  * @author
- * @version     NFVO 0.5  Sep 10, 2016
+ * @version     VFC 1.0  Sep 10, 2016
  */
 public interface LocationBusiness {
 
@@ -40,7 +40,7 @@ public interface LocationBusiness {
      * @param location
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     LocationEntity getLocation(String location) throws ServiceException;
 
@@ -51,7 +51,7 @@ public interface LocationBusiness {
      * @param condition
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     List<LocationEntity> getLocations(Map<String, Object> condition) throws ServiceException;
 
@@ -62,7 +62,7 @@ public interface LocationBusiness {
      * @param location
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int deleteLocation(String location) throws ServiceException;
 
@@ -73,7 +73,7 @@ public interface LocationBusiness {
      * @param locationEntity
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int addLocation(LocationEntity locationEntity) throws ServiceException;
 
@@ -84,7 +84,7 @@ public interface LocationBusiness {
      * @param locationEntity
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int addLocationSelective(LocationEntity locationEntity) throws ServiceException;
 
@@ -95,7 +95,7 @@ public interface LocationBusiness {
      * @param locationEntity
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int updateLocationSelective(LocationEntity locationEntity) throws ServiceException;
 
@@ -106,7 +106,7 @@ public interface LocationBusiness {
      * @param locationEntity
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int updateLocation(LocationEntity locationEntity) throws ServiceException;
 
@@ -116,7 +116,7 @@ public interface LocationBusiness {
      *
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     List<String> getCountry() throws ServiceException;
 
@@ -127,7 +127,7 @@ public interface LocationBusiness {
      * @param condition
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     List<String> getLocationByCountry(Map<String, Object> condition) throws ServiceException;
 
index be4bf29..1d2dcde 100644 (file)
@@ -29,7 +29,7 @@ import org.onap.vfc.nfvo.resmanagement.common.util.restclient.ServiceException;
  * </p>
  *
  * @author
- * @version     NFVO 0.5  Sep 10, 2016
+ * @version     VFC 1.0  Sep 10, 2016
  */
 public interface NetworkBusiness {
 
@@ -39,7 +39,7 @@ public interface NetworkBusiness {
      *
      * @param id
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     NetworkEntity getNetwork(String id);
 
@@ -49,7 +49,7 @@ public interface NetworkBusiness {
      *
      * @param condition
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     List<NetworkEntity> getNetworks(Map<String, Object> condition);
 
@@ -60,7 +60,7 @@ public interface NetworkBusiness {
      * @param id
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int deleteNetwork(String id) throws ServiceException;
 
@@ -71,7 +71,7 @@ public interface NetworkBusiness {
      * @param vimId
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int deleteNetworkByVimId(String vimId) throws ServiceException;
 
@@ -82,7 +82,7 @@ public interface NetworkBusiness {
      * @param networkEntity
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int addNetwork(NetworkEntity networkEntity) throws ServiceException;
 
@@ -93,7 +93,7 @@ public interface NetworkBusiness {
      * @param networkEntity
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int addNetworkSelective(NetworkEntity networkEntity) throws ServiceException;
 
@@ -104,7 +104,7 @@ public interface NetworkBusiness {
      * @param networkEntity
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int updateNetworkSelective(NetworkEntity networkEntity) throws ServiceException;
 
@@ -115,7 +115,7 @@ public interface NetworkBusiness {
      * @param networkEntity
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int updateNetwork(NetworkEntity networkEntity) throws ServiceException;
 
@@ -126,7 +126,7 @@ public interface NetworkBusiness {
      * @param networkEntity
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int updateNetworkByVimId(NetworkEntity networkEntity) throws ServiceException;
 
index 92c8dae..80e413f 100644 (file)
@@ -28,7 +28,7 @@ import org.onap.vfc.nfvo.resmanagement.common.util.restclient.ServiceException;
  * </p>
  *
  * @author
- * @version NFVO 0.5 Aug 31, 2016
+ * @version VFC 1.0 Aug 31, 2016
  */
 public interface PortBusiness {
 
@@ -38,7 +38,7 @@ public interface PortBusiness {
      *
      * @param id
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     PortEntity getPort(String id);
 
@@ -48,7 +48,7 @@ public interface PortBusiness {
      *
      * @param condition
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     List<PortEntity> getPorts(Map<String, Object> condition);
 
@@ -59,7 +59,7 @@ public interface PortBusiness {
      * @param id
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int deletePort(String id) throws ServiceException;
 
@@ -70,7 +70,7 @@ public interface PortBusiness {
      * @param vimId
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int deletePortByVimId(String vimId) throws ServiceException;
 
@@ -81,7 +81,7 @@ public interface PortBusiness {
      * @param portEntity
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int addPort(PortEntity portEntity) throws ServiceException;
 
@@ -92,7 +92,7 @@ public interface PortBusiness {
      * @param portEntity
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int addPortSelective(PortEntity portEntity) throws ServiceException;
 
@@ -103,7 +103,7 @@ public interface PortBusiness {
      * @param portEntity
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int updatePortSelective(PortEntity portEntity) throws ServiceException;
 
@@ -114,7 +114,7 @@ public interface PortBusiness {
      * @param portEntity
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int updatePort(PortEntity portEntity) throws ServiceException;
 
@@ -125,7 +125,7 @@ public interface PortBusiness {
      * @param portEntity
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int updatePortByVimId(PortEntity portEntity) throws ServiceException;
 }
index bfa95f0..5acabba 100644 (file)
@@ -28,7 +28,7 @@ import org.onap.vfc.nfvo.resmanagement.common.util.restclient.ServiceException;
  * </p>
  *
  * @author
- * @version NFVO 0.5 Aug 24, 2016
+ * @version VFC 1.0 Aug 24, 2016
  */
 public interface SitesBusiness {
 
@@ -38,7 +38,7 @@ public interface SitesBusiness {
      * @param id
      * @return The get result
      * @throws ServiceException When get failed.
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     SitesEntity getSite(String id) throws ServiceException;
 
@@ -47,7 +47,7 @@ public interface SitesBusiness {
      *
      * @param condition
      * @return The get result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     List<SitesEntity> getSites(Map<String, Object> condition);
 
@@ -57,7 +57,7 @@ public interface SitesBusiness {
      * @param id
      * @return The delete result
      * @throws ServiceException When delete failed.
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int deleteSite(String id) throws ServiceException;
 
@@ -67,7 +67,7 @@ public interface SitesBusiness {
      * @param sitesEntity
      * @return The add result
      * @throws ServiceException When add failed.
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int addSite(SitesEntity sitesEntity) throws ServiceException;
 
@@ -77,7 +77,7 @@ public interface SitesBusiness {
      * @param sitesEntity
      * @return The add result
      * @throws ServiceException When add failed.
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int addSiteSelective(SitesEntity sitesEntity) throws ServiceException;
 
@@ -87,7 +87,7 @@ public interface SitesBusiness {
      * @param sitesEntity
      * @return The update result
      * @throws ServiceException When update failed.
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int updateSiteSelective(SitesEntity sitesEntity) throws ServiceException;
 
@@ -97,7 +97,7 @@ public interface SitesBusiness {
      * @param sitesEntity
      * @return The update result
      * @throws ServiceException When update failed.
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int updateSite(SitesEntity sitesEntity) throws ServiceException;
 
@@ -107,7 +107,7 @@ public interface SitesBusiness {
      * @param sitesEntity
      * @return The update result
      * @throws ServiceException When update failed.
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int updateSiteByVimId(SitesEntity sitesEntity) throws ServiceException;
 
@@ -117,7 +117,7 @@ public interface SitesBusiness {
      * @param sitesEntity
      * @return The update result
      * @throws ServiceException When update failed.
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int updateSiteResource(SitesEntity sitesEntity) throws ServiceException;
 
index 9fb267d..041da80 100644 (file)
@@ -27,7 +27,7 @@ import org.onap.vfc.nfvo.resmanagement.common.util.restclient.ServiceException;
  * </p>
  *
  * @author
- * @version NFVO 0.5 Aug 24, 2016
+ * @version VFC 1.0 Aug 24, 2016
  */
 public interface VimBusiness {
 
@@ -36,7 +36,7 @@ public interface VimBusiness {
      *
      * @param id
      * @return The get result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     VimEntity getVim(String id);
 
@@ -45,7 +45,7 @@ public interface VimBusiness {
      *
      * @param id
      * @return The get result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     List<VimEntity> getVims();
 
@@ -55,7 +55,7 @@ public interface VimBusiness {
      * @param id
      * @return the delete result
      * @throws ServiceException When delete failed.
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int deleteVim(String id) throws ServiceException;
 
@@ -65,7 +65,7 @@ public interface VimBusiness {
      * @param id
      * @return the add result
      * @throws ServiceException When add failed.
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int addVim(String id) throws ServiceException;
 
index 84171d3..00a52bf 100644 (file)
@@ -25,7 +25,7 @@ import org.apache.ibatis.session.SqlSession;
  * </p>
  *
  * @author
- * @version NFVO 0.5 2016-3-17
+ * @version VFC 1.0 2016-3-17
  */
 public class AbstractDao {
 
@@ -49,7 +49,7 @@ public class AbstractDao {
      * @param type
      * The type of Class
      * @return Mapper
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     public <T> T getMapperManager(Class<T> type) {
         return (T)getSession().getMapper(type);
index e72f426..babe64d 100644 (file)
@@ -31,7 +31,7 @@ import org.onap.vfc.nfvo.resmanagement.service.mapper.HostMapper;
  * </p>
  *
  * @author
- * @version     NFVO 0.5  Sep 10, 2016
+ * @version     VFC 1.0  Sep 10, 2016
  */
 public class HostDaoImpl extends AbstractDao implements HostDao {
 
index 7901331..aefeabf 100644 (file)
@@ -31,7 +31,7 @@ import org.onap.vfc.nfvo.resmanagement.service.mapper.LocationMapper;
  * </p>
  *
  * @author
- * @version     NFVO 0.5  Sep 10, 2016
+ * @version     VFC 1.0  Sep 10, 2016
  */
 public class LocationDaoImpl extends AbstractDao implements LocationDao {
 
index 612aba6..7ae961d 100644 (file)
@@ -31,7 +31,7 @@ import org.onap.vfc.nfvo.resmanagement.service.mapper.NetworkMapper;
  * </p>
  *
  * @author
- * @version     NFVO 0.5  Sep 10, 2016
+ * @version     VFC 1.0  Sep 10, 2016
  */
 public class NetworkDaoImpl extends AbstractDao implements NetworkDao {
 
index 3854152..70e9ee4 100644 (file)
@@ -31,7 +31,7 @@ import org.onap.vfc.nfvo.resmanagement.service.mapper.PortMapper;
  * </p>
  *
  * @author
- * @version     NFVO 0.5  Sep 10, 2016
+ * @version     VFC 1.0  Sep 10, 2016
  */
 public class PortDaoImpl extends AbstractDao implements PortDao {
 
index 0aec201..7f96af7 100644 (file)
@@ -30,7 +30,7 @@ import org.onap.vfc.nfvo.resmanagement.service.mapper.SitesMapper;
  * </p>
  *
  * @author
- * @version NFVO 0.5 Aug 25, 2016
+ * @version VFC 1.0 Aug 25, 2016
  */
 public class SitesDaoImpl extends AbstractDao implements SitesDao {
 
index e450300..8f2e128 100644 (file)
@@ -29,7 +29,7 @@ import org.onap.vfc.nfvo.resmanagement.service.mapper.VimMapper;
  * </p>
  *
  * @author
- * @version NFVO 0.5 Aug 25, 2016
+ * @version VFC 1.0 Aug 25, 2016
  */
 public class VimDaoImpl extends AbstractDao implements VimDao {
 
index e93b9ad..db64539 100644 (file)
@@ -29,7 +29,7 @@ import org.onap.vfc.nfvo.resmanagement.service.mapper.VirtualLinkMapper;
  * </p>
  * 
  * @author
- * @version NFVO 0.5 Oct 28, 2016
+ * @version VFC 1.0 Oct 28, 2016
  */
 public class VirtualLinkDaoImpl extends AbstractDao implements VirtualLinkDao {
 
@@ -38,7 +38,7 @@ public class VirtualLinkDaoImpl extends AbstractDao implements VirtualLinkDao {
      * 
      * @param id
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @Override
     public VirtualLinkEntity getVl(String id) {
@@ -50,7 +50,7 @@ public class VirtualLinkDaoImpl extends AbstractDao implements VirtualLinkDao {
      * 
      * @param condition
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @Override
     public List<VirtualLinkEntity> getVls(Map<String, Object> condition) {
@@ -62,7 +62,7 @@ public class VirtualLinkDaoImpl extends AbstractDao implements VirtualLinkDao {
      * 
      * @param virtualLinkEntity
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @Override
     public int addVl(VirtualLinkEntity virtualLinkEntity) {
@@ -74,7 +74,7 @@ public class VirtualLinkDaoImpl extends AbstractDao implements VirtualLinkDao {
      * 
      * @param id
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @Override
     public int deleteVlById(String id) {
index 5e7d34a..0729d45 100644 (file)
@@ -29,7 +29,7 @@ import org.onap.vfc.nfvo.resmanagement.service.mapper.VmMapper;
  * </p>
  * 
  * @author
- * @version NFVO 0.5 Oct 28, 2016
+ * @version VFC 1.0 Oct 28, 2016
  */
 public class VmDaoImpl extends AbstractDao implements VmDao {
 
@@ -38,7 +38,7 @@ public class VmDaoImpl extends AbstractDao implements VmDao {
      * 
      * @param id
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @Override
     public VmEntity getVm(String id) {
@@ -50,7 +50,7 @@ public class VmDaoImpl extends AbstractDao implements VmDao {
      * 
      * @param condition
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @Override
     public List<VmEntity> getVms(Map<String, Object> condition) {
@@ -62,7 +62,7 @@ public class VmDaoImpl extends AbstractDao implements VmDao {
      * 
      * @param vmEntity
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @Override
     public int addVm(VmEntity vmEntity) {
@@ -74,7 +74,7 @@ public class VmDaoImpl extends AbstractDao implements VmDao {
      * 
      * @param id
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @Override
     public int deleteVmById(String id) {
@@ -86,7 +86,7 @@ public class VmDaoImpl extends AbstractDao implements VmDao {
      * 
      * @param vmEntity
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @Override
     public int updateVm(VmEntity vmEntity) {
@@ -98,7 +98,7 @@ public class VmDaoImpl extends AbstractDao implements VmDao {
      * 
      * @param vnfInstanceId
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @Override
     public int deleteVmByVnfId(String vnfInstanceId) {
index 565089a..fbae480 100644 (file)
@@ -29,7 +29,7 @@ import org.onap.vfc.nfvo.resmanagement.service.mapper.VnfMapper;
  * </p>
  * 
  * @author
- * @version NFVO 0.5 Oct 28, 2016
+ * @version VFC 1.0 Oct 28, 2016
  */
 public class VnfDaoImpl extends AbstractDao implements VnfDao {
 
@@ -38,7 +38,7 @@ public class VnfDaoImpl extends AbstractDao implements VnfDao {
      * 
      * @param id
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @Override
     public VnfEntity getVnf(String id) {
@@ -50,7 +50,7 @@ public class VnfDaoImpl extends AbstractDao implements VnfDao {
      * 
      * @param condition
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @Override
     public List<VnfEntity> getVnfs(Map<String, Object> condition) {
@@ -62,7 +62,7 @@ public class VnfDaoImpl extends AbstractDao implements VnfDao {
      * 
      * @param vnfEntity
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @Override
     public int addVnf(VnfEntity vnfEntity) {
@@ -74,7 +74,7 @@ public class VnfDaoImpl extends AbstractDao implements VnfDao {
      * 
      * @param id
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @Override
     public int deleteVnfById(String id) {
index f2369c3..29b87a9 100644 (file)
@@ -29,7 +29,7 @@ import org.onap.vfc.nfvo.resmanagement.service.mapper.VnfInfoMapper;
  * </p>
  * 
  * @author
- * @version NFVO 0.5 Oct 28, 2016
+ * @version VFC 1.0 Oct 28, 2016
  */
 public class VnfInfoDaoImpl extends AbstractDao implements VnfInfoDao {
 
@@ -38,7 +38,7 @@ public class VnfInfoDaoImpl extends AbstractDao implements VnfInfoDao {
      * 
      * @param id
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @Override
     public VnfInfoEntity getVnfInfo(String id) {
@@ -50,7 +50,7 @@ public class VnfInfoDaoImpl extends AbstractDao implements VnfInfoDao {
      * 
      * @param condition
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @Override
     public List<VnfInfoEntity> getVnfInfos(Map<String, Object> condition) {
@@ -62,7 +62,7 @@ public class VnfInfoDaoImpl extends AbstractDao implements VnfInfoDao {
      * 
      * @param vmEntity
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @Override
     public int addVnfInfo(VnfInfoEntity vnfInfoEntity) {
@@ -74,7 +74,7 @@ public class VnfInfoDaoImpl extends AbstractDao implements VnfInfoDao {
      * 
      * @param id
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @Override
     public int deleteVnfInfoById(String id) {
@@ -86,7 +86,7 @@ public class VnfInfoDaoImpl extends AbstractDao implements VnfInfoDao {
      * 
      * @param vnfInfoEntity
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @Override
     public int updateVnfInfo(VnfInfoEntity vnfInfoEntity) {
index 4026e9e..d916727 100644 (file)
@@ -29,7 +29,7 @@ import org.onap.vfc.nfvo.resmanagement.service.mapper.VnfStatusMapper;
  * </p>
  * 
  * @author
- * @version NFVO 0.5 Oct 29, 2016
+ * @version VFC 1.0 Oct 29, 2016
  */
 public class VnfStatusDaoImpl extends AbstractDao implements VnfStatusDao {
 
@@ -38,7 +38,7 @@ public class VnfStatusDaoImpl extends AbstractDao implements VnfStatusDao {
      * 
      * @param id
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @Override
     public VnfStatusEntity getVnfStatus(String id) {
@@ -50,7 +50,7 @@ public class VnfStatusDaoImpl extends AbstractDao implements VnfStatusDao {
      * 
      * @param condition
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @Override
     public List<VnfStatusEntity> getVnfStatuss(Map<String, Object> condition) {
@@ -62,7 +62,7 @@ public class VnfStatusDaoImpl extends AbstractDao implements VnfStatusDao {
      * 
      * @param vnfStatusEntity
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @Override
     public int addVnfStatus(VnfStatusEntity vnfStatusEntity) {
@@ -74,7 +74,7 @@ public class VnfStatusDaoImpl extends AbstractDao implements VnfStatusDao {
      * 
      * @param id
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @Override
     public int deleteVnfStatusById(String id) {
@@ -86,7 +86,7 @@ public class VnfStatusDaoImpl extends AbstractDao implements VnfStatusDao {
      * 
      * @param vnfStatusEntity
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @Override
     public int updateVnfStatus(VnfStatusEntity vnfStatusEntity) {
index 79e32a1..c67fa3d 100644 (file)
@@ -27,7 +27,7 @@ import org.onap.vfc.nfvo.resmanagement.service.entity.HostEntity;
  * </p>
  *
  * @author
- * @version NFVO 0.5 Aug 24, 2016
+ * @version VFC 1.0 Aug 24, 2016
  */
 public interface HostDao {
 
@@ -36,7 +36,7 @@ public interface HostDao {
      *
      * @param id
      * @return The get result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     HostEntity getHost(String id);
 
@@ -45,7 +45,7 @@ public interface HostDao {
      *
      * @param condition
      * @return The get result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     List<HostEntity> getHosts(Map<String, Object> condition);
 
@@ -54,7 +54,7 @@ public interface HostDao {
      *
      * @param id
      * @return The delete result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int deleteHost(String id);
 
@@ -63,7 +63,7 @@ public interface HostDao {
      *
      * @param vimId
      * @return The delete result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int deleteHostByVimId(String vimId);
 
@@ -72,7 +72,7 @@ public interface HostDao {
      *
      * @param hostEntity
      * @return The add result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int addHost(HostEntity hostEntity);
 
@@ -81,7 +81,7 @@ public interface HostDao {
      *
      * @param hostEntity
      * @return The add result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int addHostSelective(HostEntity hostEntity);
 
@@ -90,7 +90,7 @@ public interface HostDao {
      *
      * @param hostEntity
      * @return The update result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int updateHostSelective(HostEntity hostEntity);
 
@@ -99,7 +99,7 @@ public interface HostDao {
      *
      * @param hostEntity
      * @return The update result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int updateHost(HostEntity hostEntity);
 
@@ -108,7 +108,7 @@ public interface HostDao {
      *
      * @param hostEntity
      * @return The update result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int updateHostByVimId(HostEntity hostEntity);
 }
index e40cb13..e36bcf2 100644 (file)
@@ -28,7 +28,7 @@ import org.onap.vfc.nfvo.resmanagement.service.entity.LocationEntity;
  * </p>
  *
  * @author
- * @version     NFVO 0.5  Sep 10, 2016
+ * @version     VFC 1.0  Sep 10, 2016
  */
 public interface LocationDao {
 
@@ -38,7 +38,7 @@ public interface LocationDao {
      *
      * @param id
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     LocationEntity getLocation(String id);
 
@@ -48,7 +48,7 @@ public interface LocationDao {
      *
      * @param condition
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     List<LocationEntity> getLocations(Map<String, Object> condition);
 
@@ -58,7 +58,7 @@ public interface LocationDao {
      *
      * @param location
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int deleteLocation(String location);
 
@@ -68,7 +68,7 @@ public interface LocationDao {
      *
      * @param sodoResEntity
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int addLocation(LocationEntity sodoResEntity);
 
@@ -78,7 +78,7 @@ public interface LocationDao {
      *
      * @param sodoResEntity
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int addLocationSelective(LocationEntity sodoResEntity);
 
@@ -88,7 +88,7 @@ public interface LocationDao {
      *
      * @param sodoResEntity
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int updateLocationSelective(LocationEntity sodoResEntity);
 
@@ -98,7 +98,7 @@ public interface LocationDao {
      *
      * @param sodoResEntity
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int updateLocation(LocationEntity sodoResEntity);
 
@@ -107,7 +107,7 @@ public interface LocationDao {
      * Get Country.<br>
      *
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     List<String> getCountry();
 
@@ -117,7 +117,7 @@ public interface LocationDao {
      *
      * @param condition
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     List<String> getLocationByCountry(Map<String, Object> condition);
 }
index ed6ce69..d84462c 100644 (file)
@@ -28,7 +28,7 @@ import org.onap.vfc.nfvo.resmanagement.service.entity.NetworkEntity;
  * </p>
  *
  * @author
- * @version     NFVO 0.5  Sep 10, 2016
+ * @version     VFC 1.0  Sep 10, 2016
  */
 public interface NetworkDao {
 
@@ -38,7 +38,7 @@ public interface NetworkDao {
      *
      * @param id
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     NetworkEntity getNetwork(String id);
 
@@ -48,7 +48,7 @@ public interface NetworkDao {
      *
      * @param condition
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     List<NetworkEntity> getNetworks(Map<String, Object> condition);
 
@@ -58,7 +58,7 @@ public interface NetworkDao {
      *
      * @param id
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int deleteNetwork(String id);
 
@@ -68,7 +68,7 @@ public interface NetworkDao {
      *
      * @param vimId
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int deleteNetworkByVimId(String vimId);
 
@@ -78,7 +78,7 @@ public interface NetworkDao {
      *
      * @param networkEntity
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int addNetwork(NetworkEntity networkEntity);
 
@@ -88,7 +88,7 @@ public interface NetworkDao {
      *
      * @param networkEntity
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int addNetworkSelective(NetworkEntity networkEntity);
 
@@ -98,7 +98,7 @@ public interface NetworkDao {
      *
      * @param networkEntity
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int updateNetworkSelective(NetworkEntity networkEntity);
 
@@ -108,7 +108,7 @@ public interface NetworkDao {
      *
      * @param networkEntity
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int updateNetwork(NetworkEntity networkEntity);
 
@@ -118,7 +118,7 @@ public interface NetworkDao {
      *
      * @param networkEntity
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int updateNetworkByVimId(NetworkEntity networkEntity);
 
index 3514194..fffdba9 100644 (file)
@@ -27,7 +27,7 @@ import org.onap.vfc.nfvo.resmanagement.service.entity.PortEntity;
  * </p>
  *
  * @author
- * @version NFVO 0.5 Aug 24, 2016
+ * @version VFC 1.0 Aug 24, 2016
  */
 public interface PortDao {
 
@@ -36,7 +36,7 @@ public interface PortDao {
      *
      * @param id
      * @return The get result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     PortEntity getPort(String id);
 
@@ -45,7 +45,7 @@ public interface PortDao {
      *
      * @param condition
      * @return The get result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     List<PortEntity> getPorts(Map<String, Object> condition);
 
@@ -54,7 +54,7 @@ public interface PortDao {
      *
      * @param id
      * @return The delete result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int deletePort(String id);
 
@@ -63,7 +63,7 @@ public interface PortDao {
      *
      * @param vimId
      * @return The delete result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int deletePortByVimId(String vimId);
 
@@ -72,7 +72,7 @@ public interface PortDao {
      *
      * @param portEntity
      * @return The add result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int addPort(PortEntity portEntity);
 
@@ -81,7 +81,7 @@ public interface PortDao {
      *
      * @param portEntity
      * @return The add result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int addPortSelective(PortEntity portEntity);
 
@@ -90,7 +90,7 @@ public interface PortDao {
      *
      * @param portEntity
      * @return The update result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int updatePortSelective(PortEntity portEntity);
 
@@ -99,7 +99,7 @@ public interface PortDao {
      *
      * @param portEntity
      * @return The update result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int updatePort(PortEntity portEntity);
 
@@ -108,7 +108,7 @@ public interface PortDao {
      *
      * @param portEntity
      * @return The update result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int updatePortByVimId(PortEntity portEntity);
 }
index b085c8d..d6a4d85 100644 (file)
@@ -27,7 +27,7 @@ import org.onap.vfc.nfvo.resmanagement.service.entity.SitesEntity;
  * </p>
  *
  * @author
- * @version NFVO 0.5 Aug 24, 2016
+ * @version VFC 1.0 Aug 24, 2016
  */
 public interface SitesDao {
 
@@ -36,7 +36,7 @@ public interface SitesDao {
      *
      * @param id
      * @return The get result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     SitesEntity getSite(String id);
 
@@ -45,7 +45,7 @@ public interface SitesDao {
      *
      * @param condition
      * @return The get result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     List<SitesEntity> getSites(Map<String, Object> condition);
 
@@ -54,7 +54,7 @@ public interface SitesDao {
      *
      * @param id
      * @return The get result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int deleteSite(String id);
 
@@ -63,7 +63,7 @@ public interface SitesDao {
      *
      * @param sitesEntity
      * @return The delete result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int addSite(SitesEntity sitesEntity);
 
@@ -72,7 +72,7 @@ public interface SitesDao {
      *
      * @param sitesEntity
      * @return The add result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int addSiteSelective(SitesEntity sitesEntity);
 
@@ -81,7 +81,7 @@ public interface SitesDao {
      *
      * @param sitesEntity
      * @return The add result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int updateSiteSelective(SitesEntity sitesEntity);
 
@@ -90,7 +90,7 @@ public interface SitesDao {
      *
      * @param sitesEntity
      * @return The update result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int updateSite(SitesEntity sitesEntity);
 
@@ -99,7 +99,7 @@ public interface SitesDao {
      *
      * @param sitesEntity
      * @return The update result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int updateSiteByVimId(SitesEntity sitesEntity);
 }
index fd4cd80..a94d1a8 100644 (file)
@@ -26,7 +26,7 @@ import org.onap.vfc.nfvo.resmanagement.service.entity.VimEntity;
  * </p>
  *
  * @author
- * @version NFVO 0.5 Aug 24, 2016
+ * @version VFC 1.0 Aug 24, 2016
  */
 public interface VimDao {
 
@@ -35,7 +35,7 @@ public interface VimDao {
      *
      * @param id
      * @return The get result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     VimEntity getVim(String id);
 
@@ -43,7 +43,7 @@ public interface VimDao {
      * It is used to get Vims info.<br/>
      *
      * @return The get result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     List<VimEntity> getVims();
 
@@ -52,7 +52,7 @@ public interface VimDao {
      *
      * @param id
      * @return The delete result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int deleteVim(String id);
 
@@ -61,7 +61,7 @@ public interface VimDao {
      *
      * @param vimEntity
      * @return The add result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int addVim(VimEntity vimEntity);
 
index 04c0bc1..1953739 100644 (file)
@@ -27,7 +27,7 @@ import org.onap.vfc.nfvo.resmanagement.service.entity.VirtualLinkEntity;
  * </p>
  * 
  * @author
- * @version NFVO 0.5 Oct 28, 2016
+ * @version VFC 1.0 Oct 28, 2016
  */
 public interface VirtualLinkDao {
 
@@ -36,7 +36,7 @@ public interface VirtualLinkDao {
      * 
      * @param id
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     VirtualLinkEntity getVl(String id);
 
@@ -45,7 +45,7 @@ public interface VirtualLinkDao {
      * 
      * @param condition
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     List<VirtualLinkEntity> getVls(Map<String, Object> condition);
 
@@ -54,7 +54,7 @@ public interface VirtualLinkDao {
      * 
      * @param virtualLinkEntity
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int addVl(VirtualLinkEntity virtualLinkEntity);
 
@@ -63,7 +63,7 @@ public interface VirtualLinkDao {
      * 
      * @param id
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int deleteVlById(String id);
 }
index 4a34f22..b0de5cf 100644 (file)
@@ -27,7 +27,7 @@ import org.onap.vfc.nfvo.resmanagement.service.entity.VnfEntity;
  * </p>
  * 
  * @author
- * @version NFVO 0.5 Oct 28, 2016
+ * @version VFC 1.0 Oct 28, 2016
  */
 public interface VnfDao {
 
@@ -36,7 +36,7 @@ public interface VnfDao {
      * 
      * @param id
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     VnfEntity getVnf(String id);
 
@@ -45,7 +45,7 @@ public interface VnfDao {
      * 
      * @param condition
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     List<VnfEntity> getVnfs(Map<String, Object> condition);
 
@@ -54,7 +54,7 @@ public interface VnfDao {
      * 
      * @param vnfEntity
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int addVnf(VnfEntity vnfEntity);
 
@@ -63,7 +63,7 @@ public interface VnfDao {
      * 
      * @param id
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int deleteVnfById(String id);
 }
index ce3dfd3..65514b7 100644 (file)
@@ -27,7 +27,7 @@ import net.sf.json.JSONObject;
  * </p>
  *
  * @author
- * @version NFVO 0.5 Aug 31, 2016
+ * @version VFC 1.0 Aug 31, 2016
  */
 public class HostEntity {
 
@@ -149,7 +149,7 @@ public class HostEntity {
      *
      * @param jsonObject
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     public static HostEntity toEntity(JSONObject jsonObject) {
         HostEntity hostEntity = new HostEntity();
index c84574f..0cda9d7 100644 (file)
@@ -28,7 +28,7 @@ import net.sf.json.JSONObject;
  * </p>
  *
  * @author
- * @version     NFVO 0.5  Sep 10, 2016
+ * @version     VFC 1.0  Sep 10, 2016
  */
 public class LocationEntity {
 
@@ -209,7 +209,7 @@ public class LocationEntity {
      *
      * @param jsonObject
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     public static LocationEntity toEntity(JSONObject jsonObject) {
         LocationEntity sodoresesEntity = new LocationEntity();
index 47625b5..1bef6dd 100644 (file)
@@ -28,7 +28,7 @@ import net.sf.json.JSONObject;
  * </p>
  *
  * @author
- * @version     NFVO 0.5  Sep 10, 2016
+ * @version     VFC 1.0  Sep 10, 2016
  */
 public class NetworkEntity {
 
@@ -238,7 +238,7 @@ public class NetworkEntity {
      *
      * @param jsonObject
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     public static NetworkEntity toEntity(JSONObject jsonObject) {
         NetworkEntity sitesEntity = new NetworkEntity();
index 08c16a7..5431c0b 100644 (file)
@@ -27,7 +27,7 @@ import net.sf.json.JSONObject;
  * </p>
  *
  * @author
- * @version NFVO 0.5 Aug 31, 2016
+ * @version VFC 1.0 Aug 31, 2016
  */
 public class PortEntity {
 
@@ -149,7 +149,7 @@ public class PortEntity {
      *
      * @param jsonObject
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     public static PortEntity toEntity(JSONObject jsonObject) {
         PortEntity portEntity = new PortEntity();
index c294338..e0dd307 100644 (file)
@@ -29,7 +29,7 @@ import net.sf.json.JSONObject;
  * </p>
  *
  * @author
- * @version     NFVO 0.5  Sep 10, 2016
+ * @version     VFC 1.0  Sep 10, 2016
  */
 public class SitesEntity {
 
@@ -205,7 +205,7 @@ public class SitesEntity {
      *
      * @param jsonObject
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     public static SitesEntity toEntity(JSONObject jsonObject) {
         SitesEntity sitesEntity = new SitesEntity();
@@ -251,7 +251,7 @@ public class SitesEntity {
      *
      * @param siteEntity
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     public static boolean checkResourceIsZero(SitesEntity siteEntity) {
 
@@ -269,7 +269,7 @@ public class SitesEntity {
      *
      * @param siteEntity
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     public static boolean checkResource(SitesEntity siteEntity) {
         String cpu = siteEntity.getTotalCPU();
@@ -294,7 +294,7 @@ public class SitesEntity {
      * Format data.<br>
      *
      * @param siteEntity
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     public static void dataFramat(SitesEntity siteEntity) {
         siteEntity.setTotalCPU(StringUtil.numFormat(siteEntity.getTotalCPU()));
index 85bccc2..13be332 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2016 Huawei Technologies Co., Ltd.
+ * Copyright 2016-2017 Huawei Technologies Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -22,13 +22,12 @@ import org.onap.vfc.nfvo.resmanagement.common.util.JsonUtil;
 import net.sf.json.JSONObject;
 
 /**
- *
  * Virtualised infrastructure manager entity class.<br>
  * <p>
  * </p>
  *
  * @author
- * @version     NFVO 0.5  Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
  */
 public class VimEntity {
 
@@ -61,7 +60,7 @@ public class VimEntity {
      * value of the database column vim.ID
      *
      * @param id
-     * the value for vim.ID
+     *            the value for vim.ID
      */
     public void setId(String id) {
         this.id = id == null ? null : id.trim();
@@ -76,12 +75,11 @@ public class VimEntity {
     }
 
     /**
-     *
      * To Entity.<br>
      *
      * @param jsonObject
      * @return
-     * @since  NFVO 0.5
+     * @since VFC 1.0
      */
     public static VimEntity toEntity(JSONObject jsonObject) {
         VimEntity vimEntity = new VimEntity();
@@ -91,12 +89,12 @@ public class VimEntity {
     }
 
     /**
-     *
      * To String.<br>
      *
      * @return
-     * @since   NFVO 0.5
+     * @since VFC 1.0
      */
+    @Override
     public String toString() {
         JSONObject resJson = new JSONObject();
         resJson.put("id", StringUtils.trimToEmpty(this.getId()));
index 5c7c137..340a9be 100644 (file)
@@ -234,7 +234,7 @@ public class VirtualLinkEntity implements Serializable {
      * 
      * @param jsonObject
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     public static VirtualLinkEntity toEntity(JSONObject jsonObject) {
         VirtualLinkEntity virtualLinkEntity = new VirtualLinkEntity();
index f22db1f..88497fc 100644 (file)
@@ -278,7 +278,7 @@ public class VnfEntity implements Serializable {
      * 
      * @param jsonObject
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     public static VnfEntity toEntity(JSONObject jsonObject) {
         VnfEntity vnfEntity = new VnfEntity();
index 136b542..99ffe1a 100644 (file)
@@ -32,7 +32,7 @@ import net.sf.json.JSONObject;
  * </p>
  * 
  * @author
- * @version NFVO 0.5 Oct 29, 2016
+ * @version VFC 1.0 Oct 29, 2016
  */
 public class GrantResServiceImpl implements GrantResService {
 
@@ -46,7 +46,7 @@ public class GrantResServiceImpl implements GrantResService {
      * @param object
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @Override
     public JSONObject grantResource(JSONObject object) throws ServiceException {
@@ -118,7 +118,7 @@ public class GrantResServiceImpl implements GrantResService {
      * 
      * @param addResource
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     private JSONObject getGrantResource(JSONArray resource) {
         int cpuNum = 0;
@@ -150,7 +150,7 @@ public class GrantResServiceImpl implements GrantResService {
      * 
      * @param object
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     private JSONArray parseResource(JSONObject object, String key) {
         JSONArray newResources = new JSONArray();
@@ -175,7 +175,7 @@ public class GrantResServiceImpl implements GrantResService {
      * 
      * @param vimJson
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     private JSONObject parseVim(JSONObject vimJson) {
         LOGGER.info("function=grantResource; vimJson: {}", vimJson.toString());
index 989f5e4..66d87d9 100644 (file)
@@ -39,7 +39,7 @@ import net.sf.json.JSONObject;
  * </p>
  *
  * @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
  */
 public class IResourceAddServiceImpl {
 
@@ -51,7 +51,7 @@ public class IResourceAddServiceImpl {
      * @param restParametes
      * @param iResMap
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @Transactional(rollbackFor = ServiceException.class)
     public void addIRes(RestfulParametes restParametes, Map<String, InterfaceResManagement> iResMap)
@@ -88,7 +88,7 @@ public class IResourceAddServiceImpl {
      * @param url
      * @param iResName
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     public static void addHostResource(Map<String, InterfaceResManagement> iResMap, RestfulParametes restParametes,
             String url, String iResName) throws ServiceException {
@@ -125,7 +125,7 @@ public class IResourceAddServiceImpl {
      * @param hostObj
      * @param hostName
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     public static JSONObject hostDataParse(JSONObject hostObj, String hostName) {
         LOGGER.warn("function=hostDataParse; hostObj={}, hostName={}", hostObj, hostName);
index ce16169..a0217ad 100644 (file)
@@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory;
  * </p>
  *
  * @author
- * @version     NFVO 0.5  Sep 10, 2016
+ * @version     VFC 1.0  Sep 10, 2016
  */
 public class IResourceDelServiceImpl {
 
@@ -49,7 +49,7 @@ public class IResourceDelServiceImpl {
      * @param vim
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     public int deleteIRes(String vimId, Map<String, InterfaceResManagement> iResMap, Vim vim) throws ServiceException {
         Map<String, Object> map = new HashMap<>(10);
index 02d0558..f8006c3 100644 (file)
@@ -38,7 +38,7 @@ import net.sf.json.JSONObject;
  * </p>
  *
  * @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
  */
 public class IResourceUpdateServiceImpl {
 
@@ -52,7 +52,7 @@ public class IResourceUpdateServiceImpl {
      * @param iResMap
      * @param sites
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @Transactional(rollbackFor = ServiceException.class)
     public void updateIRes(String vimId, RestfulParametes restParametes, Map<String, InterfaceResManagement> iResMap)
index 56b3c2c..453c5cd 100644 (file)
@@ -52,7 +52,7 @@ import net.sf.json.JSONObject;
  * </p>
  *
  * @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
  */
 public class ResOperateServiceImpl implements ResOperateService {
 
@@ -187,7 +187,7 @@ public class ResOperateServiceImpl implements ResOperateService {
      * Set iResource Add service implemtation.<br>
      *
      * @param iResourceAddServiceImpl
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     public void setiResourceAddServiceImpl(IResourceAddServiceImpl iResourceAddServiceImpl) {
         this.iResourceAddServiceImpl = iResourceAddServiceImpl;
@@ -197,7 +197,7 @@ public class ResOperateServiceImpl implements ResOperateService {
      * Set iResource update service implementation.<br>
      *
      * @param iResourceUpdateServiceImpl
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     public void setiResourceUpdateServiceImpl(IResourceUpdateServiceImpl iResourceUpdateServiceImpl) {
         this.iResourceUpdateServiceImpl = iResourceUpdateServiceImpl;
@@ -207,7 +207,7 @@ public class ResOperateServiceImpl implements ResOperateService {
      * Set iresource delete service implementation.<br>
      *
      * @param iResourceDelServiceImpl
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     public void setiResourceDelServiceImpl(IResourceDelServiceImpl iResourceDelServiceImpl) {
         this.iResourceDelServiceImpl = iResourceDelServiceImpl;
@@ -218,7 +218,7 @@ public class ResOperateServiceImpl implements ResOperateService {
      * 
      * @param string
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @Override
     public void sendMsgMonitor(String operateType, String vimId) throws ServiceException {
index 9efb312..838a45c 100644 (file)
@@ -37,7 +37,7 @@ import net.sf.json.JSONObject;
  * </p>
  * 
  * @author
- * @version NFVO 0.5 Oct 27, 2016
+ * @version VFC 1.0 Oct 27, 2016
  */
 public class VirtualLinkServiceImpl implements VirtualLinkService {
 
@@ -51,7 +51,7 @@ public class VirtualLinkServiceImpl implements VirtualLinkService {
      * @param virtualLinkEntity
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @Override
     public JSONObject addVl(VirtualLinkEntity virtualLinkEntity) throws ServiceException {
@@ -81,7 +81,7 @@ public class VirtualLinkServiceImpl implements VirtualLinkService {
      * 
      * @param id
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     private boolean checkId(String id) {
         VirtualLinkEntity vl = virtualLinkDao.getVl(id);
@@ -97,7 +97,7 @@ public class VirtualLinkServiceImpl implements VirtualLinkService {
      * @param map
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @Override
     public List<VirtualLinkEntity> getList(Map<String, Object> map) throws ServiceException {
@@ -110,7 +110,7 @@ public class VirtualLinkServiceImpl implements VirtualLinkService {
      * @param id
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @Override
     public int delete(String id) throws ServiceException {
index a078369..5931ea6 100644 (file)
@@ -42,7 +42,7 @@ import net.sf.json.JSONObject;
  * </p>
  * 
  * @author
- * @version NFVO 0.5 Oct 29, 2016
+ * @version VFC 1.0 Oct 29, 2016
  */
 public class VmServiceImpl implements VmService {
 
@@ -56,7 +56,7 @@ public class VmServiceImpl implements VmService {
      * @param vmEntity
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @Override
     public JSONObject addVm(VmEntity vmEntity) throws ServiceException {
@@ -87,7 +87,7 @@ public class VmServiceImpl implements VmService {
      * 
      * @param vmId
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     private boolean checkId(String vmId) {
         VmEntity vm = vmDao.getVm(vmId);
@@ -132,7 +132,7 @@ public class VmServiceImpl implements VmService {
      * @param map
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @Override
     public List<VmEntity> getList(Map<String, Object> map) throws ServiceException {
@@ -145,7 +145,7 @@ public class VmServiceImpl implements VmService {
      * @param id
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @Override
     public int delete(String id) throws ServiceException {
@@ -161,7 +161,7 @@ public class VmServiceImpl implements VmService {
      * 
      * @param vnfInstanceId
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @Override
     public int deleteByVnfId(String vnfInstanceId) throws ServiceException {
index f87862b..dce3c25 100644 (file)
@@ -37,7 +37,7 @@ import net.sf.json.JSONObject;
  * </p>
  * 
  * @author
- * @version NFVO 0.5 Oct 28, 2016
+ * @version VFC 1.0 Oct 28, 2016
  */
 public class VnfInfoServiceImpl implements VnfInfoService {
 
@@ -53,7 +53,7 @@ public class VnfInfoServiceImpl implements VnfInfoService {
      * @param object
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @Override
     public JSONObject addVnfInfo(JSONObject object) throws ServiceException {
@@ -85,7 +85,7 @@ public class VnfInfoServiceImpl implements VnfInfoService {
      * 
      * @param vnfInstanceId
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     private boolean checkId(String vnfInstanceId) {
         VnfInfoEntity vnf = vnfInfoDao.getVnfInfo(vnfInstanceId);
@@ -100,7 +100,7 @@ public class VnfInfoServiceImpl implements VnfInfoService {
      * 
      * @param object
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     private void saveVm(JSONObject object) throws ServiceException {
         String vnfInstanceId = object.getString("vnfInstanceId");
@@ -119,7 +119,7 @@ public class VnfInfoServiceImpl implements VnfInfoService {
      * @param map
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @Override
     public List<VnfInfoEntity> getList(Map<String, Object> map) throws ServiceException {
@@ -132,7 +132,7 @@ public class VnfInfoServiceImpl implements VnfInfoService {
      * @param id
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @Override
     public int delete(String id) throws ServiceException {
index 6f7c889..4bcdf04 100644 (file)
@@ -38,7 +38,7 @@ import net.sf.json.JSONObject;
  * </p>
  * 
  * @author
- * @version NFVO 0.5 Oct 28, 2016
+ * @version VFC 1.0 Oct 28, 2016
  */
 public class VnfServiceImpl implements VnfService {
 
@@ -54,7 +54,7 @@ public class VnfServiceImpl implements VnfService {
      * @param vnfEntity
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @Override
     public JSONObject addVnf(VnfEntity vnfEntity) throws ServiceException {
@@ -83,7 +83,7 @@ public class VnfServiceImpl implements VnfService {
      * 
      * @param id
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     private boolean checkId(String id) {
         VnfEntity vnf = vnfDao.getVnf(id);
@@ -99,7 +99,7 @@ public class VnfServiceImpl implements VnfService {
      * @param map
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @Override
     public List<VnfEntity> getList(Map<String, Object> map) throws ServiceException {
@@ -112,7 +112,7 @@ public class VnfServiceImpl implements VnfService {
      * @param id
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @Override
     public int delete(String id) throws ServiceException {
@@ -125,7 +125,7 @@ public class VnfServiceImpl implements VnfService {
      * 
      * @param id
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     private void deleteVnfInfo(String vnfInstanceId) throws ServiceException {
         vnfInfoService.delete(vnfInstanceId);
index 30d82fc..b445913 100644 (file)
@@ -34,7 +34,7 @@ import net.sf.json.JSONObject;
  * </p>
  * 
  * @author
- * @version NFVO 0.5 Oct 29, 2016
+ * @version VFC 1.0 Oct 29, 2016
  */
 public class VnfStatusServiceImpl implements VnfStatusService {
 
@@ -48,7 +48,7 @@ public class VnfStatusServiceImpl implements VnfStatusService {
      * @param object
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @Override
     public JSONObject addVnfStatus(JSONObject object) throws ServiceException {
@@ -75,7 +75,7 @@ public class VnfStatusServiceImpl implements VnfStatusService {
      * 
      * @param vnfInstanceId
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     private boolean checkId(String vnfInstanceId) {
         VnfStatusEntity vnfStatus = vnfStatusDao.getVnfStatus(vnfInstanceId);
@@ -91,7 +91,7 @@ public class VnfStatusServiceImpl implements VnfStatusService {
      * @param map
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @Override
     public List<VnfStatusEntity> getList(Map<String, Object> map) throws ServiceException {
@@ -104,7 +104,7 @@ public class VnfStatusServiceImpl implements VnfStatusService {
      * @param id
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @Override
     public int delete(String id) throws ServiceException {
index 92941a6..c48256e 100644 (file)
@@ -26,7 +26,7 @@ import net.sf.json.JSONObject;
  * </p>
  * 
  * @author
- * @version NFVO 0.5 Oct 29, 2016
+ * @version VFC 1.0 Oct 29, 2016
  */
 public interface GrantResService {
 
@@ -35,7 +35,7 @@ public interface GrantResService {
      * 
      * @param object
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     JSONObject grantResource(JSONObject object) throws ServiceException;
 
index b4f9c06..007b6d1 100644 (file)
@@ -26,7 +26,7 @@ import net.sf.json.JSONObject;
  * </p>
  *
  * @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
  */
 public interface ResOperateService {
 
@@ -37,7 +37,7 @@ public interface ResOperateService {
      * @param vimId
      * @param header
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     void updateIRes(String tenantId, String vimId, JSONObject header) throws ServiceException;
 
@@ -45,7 +45,7 @@ public interface ResOperateService {
      * Update all iResource.<br>
      *
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     void updateAllIRes() throws ServiceException;
 
@@ -56,7 +56,7 @@ public interface ResOperateService {
      * @param vimId
      * @param header
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     void addIRes(String tenantId, String vimId, JSONObject header) throws ServiceException;
 
@@ -66,7 +66,7 @@ public interface ResOperateService {
      * @param vimId
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int deleteIRes(String vimId) throws ServiceException;
 
@@ -76,7 +76,7 @@ public interface ResOperateService {
      * @param operateType
      * @param vimId
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     void sendMsgMonitor(String operateType, String vimId) throws ServiceException;
 }
index 2bec012..6b48090 100644 (file)
@@ -30,7 +30,7 @@ import net.sf.json.JSONObject;
  * </p>
  * 
  * @author
- * @version NFVO 0.5 Oct 27, 2016
+ * @version VFC 1.0 Oct 27, 2016
  */
 public interface VirtualLinkService {
 
@@ -40,7 +40,7 @@ public interface VirtualLinkService {
      * @param virtualLinkEntity
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     JSONObject addVl(VirtualLinkEntity virtualLinkEntity) throws ServiceException;
 
@@ -49,7 +49,7 @@ public interface VirtualLinkService {
      * 
      * @param map
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     List<VirtualLinkEntity> getList(Map<String, Object> map) throws ServiceException;
 
@@ -58,7 +58,7 @@ public interface VirtualLinkService {
      * 
      * @param id
      * @return
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int delete(String id) throws ServiceException;
 }
index c81d4e8..b72c98f 100644 (file)
@@ -30,7 +30,7 @@ import net.sf.json.JSONObject;
  * </p>
  * 
  * @author
- * @version NFVO 0.5 Oct 28, 2016
+ * @version VFC 1.0 Oct 28, 2016
  */
 public interface VnfService {
 
@@ -40,7 +40,7 @@ public interface VnfService {
      * @param vnfEntity
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     JSONObject addVnf(VnfEntity vnfEntity) throws ServiceException;
 
@@ -50,7 +50,7 @@ public interface VnfService {
      * @param map
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     List<VnfEntity> getList(Map<String, Object> map) throws ServiceException;
 
@@ -60,7 +60,7 @@ public interface VnfService {
      * @param id
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int delete(String id) throws ServiceException;
 }
index 6372c33..3785dfe 100644 (file)
@@ -27,7 +27,7 @@ import org.onap.vfc.nfvo.resmanagement.service.entity.HostEntity;
  * </p>
  *
  * @author
- * @version NFVO 0.5 Aug 24, 2016
+ * @version VFC 1.0 Aug 24, 2016
  */
 public interface HostMapper {
 
@@ -36,7 +36,7 @@ public interface HostMapper {
      *
      * @param id
      * @return The get result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     HostEntity getHost(String id);
 
@@ -45,7 +45,7 @@ public interface HostMapper {
      *
      * @param condition
      * @return The get result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     List<HostEntity> getHosts(Map<String, Object> condition);
 
@@ -54,7 +54,7 @@ public interface HostMapper {
      *
      * @param id
      * @return The delete result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int deleteHost(String id);
 
@@ -63,7 +63,7 @@ public interface HostMapper {
      *
      * @param vimId
      * @return The delete result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int deleteHostByVimId(String vimId);
 
@@ -72,7 +72,7 @@ public interface HostMapper {
      *
      * @param hostEntity
      * @return The add result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int addHost(HostEntity hostEntity);
 
@@ -81,7 +81,7 @@ public interface HostMapper {
      *
      * @param hostEntity
      * @return The add result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int addHostSelective(HostEntity hostEntity);
 
@@ -90,7 +90,7 @@ public interface HostMapper {
      *
      * @param hostEntity
      * @return The update result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int updateHostSelective(HostEntity hostEntity);
 
@@ -99,7 +99,7 @@ public interface HostMapper {
      *
      * @param hostEntity
      * @return The update result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int updateHost(HostEntity hostEntity);
 
@@ -108,7 +108,7 @@ public interface HostMapper {
      *
      * @param hostEntity
      * @return The update result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int updateHostByVimId(HostEntity hostEntity);
 }
index 4af0e3d..67abc34 100644 (file)
@@ -28,7 +28,7 @@ import org.onap.vfc.nfvo.resmanagement.service.entity.LocationEntity;
  * </p>
  *
  * @author
- * @version     NFVO 0.5  Sep 10, 2016
+ * @version     VFC 1.0  Sep 10, 2016
  */
 public interface LocationMapper {
 
@@ -38,7 +38,7 @@ public interface LocationMapper {
      *
      * @param id
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     LocationEntity getLocation(String id);
 
@@ -47,7 +47,7 @@ public interface LocationMapper {
      * Get Country.<br>
      *
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     List<String> getCountry();
 
@@ -57,7 +57,7 @@ public interface LocationMapper {
      *
      * @param condition
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     List<String> getLocationByCountry(Map<String, Object> condition);
 
@@ -67,7 +67,7 @@ public interface LocationMapper {
      *
      * @param condition
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     List<LocationEntity> getLocations(Map<String, Object> condition);
 
@@ -77,7 +77,7 @@ public interface LocationMapper {
      *
      * @param location
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int deleteLocation(String location);
 
@@ -87,7 +87,7 @@ public interface LocationMapper {
      *
      * @param locationEntity
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int addLocation(LocationEntity locationEntity);
 
@@ -97,7 +97,7 @@ public interface LocationMapper {
      *
      * @param locationEntity
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int addLocationSelective(LocationEntity locationEntity);
 
@@ -107,7 +107,7 @@ public interface LocationMapper {
      *
      * @param locationEntity
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int updateLocationSelective(LocationEntity locationEntity);
 
@@ -117,7 +117,7 @@ public interface LocationMapper {
      *
      * @param locationEntity
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int updateLocation(LocationEntity locationEntity);
 }
index c18233d..4a3409e 100644 (file)
@@ -28,7 +28,7 @@ import org.onap.vfc.nfvo.resmanagement.service.entity.NetworkEntity;
  * </p>
  *
  * @author
- * @version     NFVO 0.5  Sep 10, 2016
+ * @version     VFC 1.0  Sep 10, 2016
  */
 public interface NetworkMapper {
 
@@ -38,7 +38,7 @@ public interface NetworkMapper {
      *
      * @param id
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     NetworkEntity getNetwork(String id);
 
@@ -48,7 +48,7 @@ public interface NetworkMapper {
      *
      * @param condition
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     List<NetworkEntity> getNetworks(Map<String, Object> condition);
 
@@ -58,7 +58,7 @@ public interface NetworkMapper {
      *
      * @param id
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int deleteNetwork(String id);
 
@@ -68,7 +68,7 @@ public interface NetworkMapper {
      *
      * @param vimId
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int deleteNetworkByVimId(String vimId);
 
@@ -78,7 +78,7 @@ public interface NetworkMapper {
      *
      * @param networkEntity
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int addNetwork(NetworkEntity networkEntity);
 
@@ -88,7 +88,7 @@ public interface NetworkMapper {
      *
      * @param networkEntity
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int addNetworkSelective(NetworkEntity networkEntity);
 
@@ -98,7 +98,7 @@ public interface NetworkMapper {
      *
      * @param networkEntity
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int updateNetworkSelective(NetworkEntity networkEntity);
 
@@ -108,7 +108,7 @@ public interface NetworkMapper {
      *
      * @param networkEntity
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int updateNetwork(NetworkEntity networkEntity);
 
@@ -118,7 +118,7 @@ public interface NetworkMapper {
      *
      * @param networkEntity
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int updateNetworkByVimId(NetworkEntity networkEntity);
 
index cff6e7f..3602e63 100644 (file)
@@ -27,7 +27,7 @@ import org.onap.vfc.nfvo.resmanagement.service.entity.PortEntity;
  * </p>
  *
  * @author
- * @version NFVO 0.5 Aug 24, 2016
+ * @version VFC 1.0 Aug 24, 2016
  */
 public interface PortMapper {
 
@@ -36,7 +36,7 @@ public interface PortMapper {
      *
      * @param id
      * @return The get result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     PortEntity getPort(String id);
 
@@ -45,7 +45,7 @@ public interface PortMapper {
      *
      * @param condition
      * @return The get result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     List<PortEntity> getPorts(Map<String, Object> condition);
 
@@ -54,7 +54,7 @@ public interface PortMapper {
      *
      * @param id
      * @return The delete result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int deletePort(String id);
 
@@ -63,7 +63,7 @@ public interface PortMapper {
      *
      * @param vimId
      * @return The delete result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int deletePortByVimId(String vimId);
 
@@ -72,7 +72,7 @@ public interface PortMapper {
      *
      * @param portEntity
      * @return The add result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int addPort(PortEntity portEntity);
 
@@ -81,7 +81,7 @@ public interface PortMapper {
      *
      * @param portEntity
      * @return The add result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int addPortSelective(PortEntity portEntity);
 
@@ -90,7 +90,7 @@ public interface PortMapper {
      *
      * @param portEntity
      * @return The update result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int updatePortSelective(PortEntity portEntity);
 
@@ -99,7 +99,7 @@ public interface PortMapper {
      *
      * @param portEntity
      * @return The update result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int updatePort(PortEntity portEntity);
 
@@ -108,7 +108,7 @@ public interface PortMapper {
      *
      * @param portEntity
      * @return The update result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int updatePortByVimId(PortEntity portEntity);
 }
index e92f753..768f412 100644 (file)
@@ -27,7 +27,7 @@ import org.onap.vfc.nfvo.resmanagement.service.entity.SitesEntity;
  * </p>
  *
  * @author
- * @version NFVO 0.5 Aug 24, 2016
+ * @version VFC 1.0 Aug 24, 2016
  */
 public interface SitesMapper {
 
@@ -36,7 +36,7 @@ public interface SitesMapper {
      *
      * @param id
      * @return The get result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     SitesEntity getSite(String id);
 
@@ -46,7 +46,7 @@ public interface SitesMapper {
      *
      * @param map
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     List<SitesEntity> getSites(Map<String, Object> map);
 
@@ -55,7 +55,7 @@ public interface SitesMapper {
      *
      * @param id
      * @return The get result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int deleteSite(String id);
 
@@ -65,7 +65,7 @@ public interface SitesMapper {
      *
      * @param entity
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int addSite(SitesEntity entity);
 
@@ -75,7 +75,7 @@ public interface SitesMapper {
      *
      * @param entity
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int addSiteSelective(SitesEntity entity);
 
@@ -85,7 +85,7 @@ public interface SitesMapper {
      *
      * @param entity
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int updateSiteSelective(SitesEntity entity);
 
@@ -95,7 +95,7 @@ public interface SitesMapper {
      *
      * @param entity
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int updateSite(SitesEntity entity);
 
@@ -105,7 +105,7 @@ public interface SitesMapper {
      *
      * @param entity
      * @return
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     int updateSiteByVimId(SitesEntity entity);
 }
index 05fdfc2..bfb0640 100644 (file)
@@ -26,7 +26,7 @@ import org.onap.vfc.nfvo.resmanagement.service.entity.VimEntity;
  * </p>
  *
  * @author
- * @version NFVO 0.5 Aug 24, 2016
+ * @version VFC 1.0 Aug 24, 2016
  */
 public interface VimMapper {
 
@@ -35,7 +35,7 @@ public interface VimMapper {
      *
      * @param id
      * @return The get result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     VimEntity getVim(String id);
 
@@ -43,7 +43,7 @@ public interface VimMapper {
      * It is used to get Vims info.<br/>
      *
      * @return The get result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     List<VimEntity> getVims();
 
@@ -52,7 +52,7 @@ public interface VimMapper {
      *
      * @param id
      * @return The delete result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int deleteVim(String id);
 
@@ -61,7 +61,7 @@ public interface VimMapper {
      *
      * @param vimEntity
      * @return The add result
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     int addVim(VimEntity vimEntity);
 
index a00d25b..64a8113 100644 (file)
@@ -54,7 +54,7 @@ import net.sf.json.JSONObject;
  * </p>
  *
  * @author
- * @version     NFVO 0.5  Sep 10, 2016
+ * @version     VFC 1.0  Sep 10, 2016
  */
 @Path(UrlConstant.HOST_URL)
 @Produces(MediaType.APPLICATION_JSON)
@@ -72,7 +72,7 @@ public class HostRoa {
      * @param context
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     @GET
     public JSONObject getHosts(@Context HttpServletRequest context) throws ServiceException {
@@ -92,7 +92,7 @@ public class HostRoa {
      * @param id
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     @GET
     @Path("/{hostId}")
@@ -115,7 +115,7 @@ public class HostRoa {
      * @param context
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     @POST
     public JSONObject addHost(@Context HttpServletRequest context) throws ServiceException {
@@ -139,7 +139,7 @@ public class HostRoa {
      * @param id
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     @DELETE
     public JSONObject deleteHost(@Context HttpServletRequest context, @QueryParam(ParamConstant.PARAM_ID) String id)
@@ -161,7 +161,7 @@ public class HostRoa {
      * @param context
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     @PUT
     public JSONObject updateHost(@Context HttpServletRequest context) throws ServiceException {
index 6f6d97f..91d3dce 100644 (file)
@@ -40,7 +40,7 @@ import net.sf.json.JSONObject;
  * </p>
  *
  * @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
  */
 @Path(UrlConstant.LIMITS_URL)
 @Consumes(MediaType.APPLICATION_JSON)
@@ -58,7 +58,7 @@ public class LimitsRoa {
      * @param vimId
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @GET
     public JSONObject getLimits(@Context HttpServletRequest context,
index 745b487..f73726f 100644 (file)
@@ -58,7 +58,7 @@ import net.sf.json.JSONObject;
  * </p>
  *
  * @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
  */
 @Path(UrlConstant.LOCATION_URL)
 @Produces(MediaType.APPLICATION_JSON)
@@ -77,7 +77,7 @@ public class LocationRoa {
      * @param context
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @GET
     public JSONObject getLocationsbase(@Context HttpServletRequest context) throws ServiceException {
@@ -96,7 +96,7 @@ public class LocationRoa {
      * @param id
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @GET
     @Path("/{locationId}")
@@ -118,7 +118,7 @@ public class LocationRoa {
      * @param context
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @GET
     @Path("/country")
@@ -135,7 +135,7 @@ public class LocationRoa {
      * @param country
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @GET
     @Path("/locationbycountry")
@@ -155,7 +155,7 @@ public class LocationRoa {
      * @param context
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @GET
     @Path("/cloudservice")
@@ -172,7 +172,7 @@ public class LocationRoa {
      * @param locations
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @GET
     @Path("/site")
@@ -195,7 +195,7 @@ public class LocationRoa {
      * @param context
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @POST
     @Consumes(MediaType.APPLICATION_JSON)
@@ -220,7 +220,7 @@ public class LocationRoa {
      * @param locations
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @DELETE
     @Path("/{location}")
@@ -244,7 +244,7 @@ public class LocationRoa {
      * @param context
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @DELETE
     @Consumes(MediaType.APPLICATION_JSON)
@@ -278,7 +278,7 @@ public class LocationRoa {
      * @param context
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @PUT
     @Consumes(MediaType.APPLICATION_JSON)
index 1995c66..07834b5 100644 (file)
@@ -54,7 +54,7 @@ import net.sf.json.JSONObject;
  * </p>
  *
  * @author
- * @version     NFVO 0.5  Sep 10, 2016
+ * @version     VFC 1.0  Sep 10, 2016
  */
 @Path(UrlConstant.NETWORKS_URL)
 @Consumes({MediaType.APPLICATION_JSON})
@@ -72,7 +72,7 @@ public class NetworkRoa {
      * @param context
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     @GET
     public JSONObject getNetworks(@Context HttpServletRequest context) throws ServiceException {
@@ -92,7 +92,7 @@ public class NetworkRoa {
      * @param id
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     @GET
     @Path("/{networkId}")
@@ -115,7 +115,7 @@ public class NetworkRoa {
      * @param context
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     @POST
     @Consumes({MediaType.APPLICATION_JSON})
@@ -141,7 +141,7 @@ public class NetworkRoa {
      * @param id
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     @DELETE
     @Consumes({MediaType.APPLICATION_JSON})
@@ -165,7 +165,7 @@ public class NetworkRoa {
      * @param context
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     @PUT
     @Consumes({MediaType.APPLICATION_JSON})
index 0f8f7b7..06d972d 100644 (file)
@@ -54,7 +54,7 @@ import net.sf.json.JSONObject;
  * </p>
  *
  * @author
- * @version     NFVO 0.5  Sep 10, 2016
+ * @version     VFC 1.0  Sep 10, 2016
  */
 @Path(UrlConstant.PORT_URL)
 @Produces(MediaType.APPLICATION_JSON)
@@ -72,7 +72,7 @@ public class PortRoa {
      * @param context
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     @GET
     public JSONObject getPorts(@Context HttpServletRequest context) throws ServiceException {
@@ -92,7 +92,7 @@ public class PortRoa {
      * @param id
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     @GET
     @Path("/{portId}")
@@ -115,7 +115,7 @@ public class PortRoa {
      * @param context
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     @POST
     public JSONObject addPort(@Context HttpServletRequest context) throws ServiceException {
@@ -139,7 +139,7 @@ public class PortRoa {
      * @param id
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     @DELETE
     public JSONObject deletePort(@Context HttpServletRequest context, @QueryParam(ParamConstant.PARAM_ID) String id)
@@ -161,7 +161,7 @@ public class PortRoa {
      * @param context
      * @return
      * @throws ServiceException
-     * @since  NFVO 0.5
+     * @since  VFC 1.0
      */
     @PUT
     public JSONObject updatePort(@Context HttpServletRequest context) throws ServiceException {
index e1c2fa4..0c838d9 100644 (file)
@@ -47,7 +47,7 @@ import net.sf.json.JSONObject;
  * </p>
  *
  * @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
  */
 @Path(UrlConstant.RESOPERATE_URL)
 @Consumes(MediaType.APPLICATION_JSON)
@@ -66,7 +66,7 @@ public class ResOperateRoa {
      * @param vimId
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @PUT
     @Path(UrlConstant.MODRES_URL)
@@ -97,7 +97,7 @@ public class ResOperateRoa {
      * @param vimId
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @POST
     @Path(UrlConstant.ADDRES_URL)
@@ -126,7 +126,7 @@ public class ResOperateRoa {
      * @param vimId
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @DELETE
     @Consumes(MediaType.APPLICATION_JSON)
index 4892d8e..6613ac4 100644 (file)
@@ -54,7 +54,7 @@ import net.sf.json.JSONObject;
  * </p>
  *
  * @author
- * @version NFVO 0.5 Aug 24, 2016
+ * @version VFC 1.0 Aug 24, 2016
  */
 @Path(UrlConstant.SITES_URL)
 @Consumes(MediaType.APPLICATION_JSON)
@@ -71,7 +71,7 @@ public class SitesRoa {
      * @param context
      * @return the get result
      * @throws ServiceException When get failed.
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @GET
     public JSONObject getSites(@Context HttpServletRequest context) throws ServiceException {
@@ -90,7 +90,7 @@ public class SitesRoa {
      * @param id
      * @return the get result
      * @throws ServiceException When get failed.
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @GET
     @Path("/{datacenterId}")
@@ -113,7 +113,7 @@ public class SitesRoa {
      * @param id
      * @return the add result
      * @throws ServiceException When add failed.
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @POST
     public JSONObject addSites(@Context HttpServletRequest context) throws ServiceException {
@@ -137,7 +137,7 @@ public class SitesRoa {
      * @param id
      * @return the delete result
      * @throws ServiceException When delete failed.
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @DELETE
     @Path("/{datacenterId}")
@@ -160,7 +160,7 @@ public class SitesRoa {
      * @param id
      * @return the update result
      * @throws ServiceException When update failed.
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @PUT
     public JSONObject updateSites(@Context HttpServletRequest context) throws ServiceException {
@@ -183,7 +183,7 @@ public class SitesRoa {
      * @param context
      * @return
      * @throws ServiceException
-     * @since NFVO 0.5
+     * @since VFC 1.0
      */
     @PUT
     @Path("/grant")
index 3651102..ac3fa4f 100644 (file)
@@ -29,7 +29,7 @@ import org.apache.commons.io.IOUtils;
  * Swagger API Doc.<br/>
  *
  * @author
- * @version NFVO 0.5 Oct 24, 2016
+ * @version VFC 1.0 Oct 24, 2016
  */
 @Path("/v1")
 @Produces({MediaType.APPLICATION_JSON})
index 732c818..8de8fb7 100644 (file)
@@ -52,7 +52,7 @@ import net.sf.json.JSONObject;
  * </p>
  * 
  * @author
- * @version NFVO 0.5 Oct 29, 2016
+ * @version VFC 1.0 Oct 29, 2016
  */
 @Path(UrlConstant.VM_URL)
 @Produces(MediaType.APPLICATION_JSON)
index e972992..ec9b3c6 100644 (file)
@@ -52,7 +52,7 @@ import net.sf.json.JSONObject;
  * </p>
  * 
  * @author
- * @version NFVO 0.5 Oct 28, 2016
+ * @version VFC 1.0 Oct 28, 2016
  */
 @Path(UrlConstant.VNF_URL)
 @Produces(MediaType.APPLICATION_JSON)
index c726255..6da40c6 100644 (file)
@@ -27,7 +27,7 @@ import org.onap.vfc.nfvo.resmanagement.common.util.restclient.ServiceException;
  * ServiceException response provider.<br>
  *
  * @author
- * @version     NFVO 0.5 Sep 27, 2016
+ * @version     VFC 1.0 Sep 27, 2016
  */
 @Provider
 public class ServiceExceptionMapper implements ExceptionMapper<ServiceException>{
index 42e5592..f6b7850 100644 (file)
@@ -29,10 +29,9 @@ import org.junit.Before;
 import org.junit.Test;
 import org.onap.vfc.nfvo.resmanagement.common.VimUtil;
 import org.onap.vfc.nfvo.resmanagement.common.util.request.RequestUtil;
+import org.onap.vfc.nfvo.resmanagement.common.util.restclient.ServiceException;
 import org.onap.vfc.nfvo.resmanagement.service.base.openstack.impl.SitesImpl;
 import org.onap.vfc.nfvo.resmanagement.service.entity.SitesEntity;
-import org.onap.vfc.nfvo.resmanagement.service.rest.SitesRoa;
-import org.onap.vfc.nfvo.resmanagement.common.util.restclient.ServiceException;
 import org.springframework.mock.web.MockHttpServletRequest;
 
 import mockit.Mock;
@@ -46,7 +45,7 @@ import net.sf.json.JSONObject;
  * </p>
  *
  * @author
- * @version NFVO 0.5 2016年8月16日
+ * @version VFC 1.0 2016年8月16日
  */
 public class SitesRoaTest {
 
@@ -145,7 +144,7 @@ public class SitesRoaTest {
         };
         JSONObject result = sitesRoa.deleteSites(null, "123");
         JSONObject expectedResult = new JSONObject();
-        expectedResult.put("msg", "org.openo.nfvo.resmanage.common.del.success");
+        expectedResult.put("msg", "delete success");
         assertEquals(expectedResult.toString(), result.toString());
     }
 
@@ -182,7 +181,7 @@ public class SitesRoaTest {
         };
         JSONObject result = sitesRoa.updateSites(null);
         JSONObject expectedResult = new JSONObject();
-        expectedResult.put("msg", "org.openo.nfvo.resmanage.common.update.success");
+        expectedResult.put("msg", "update success");
         assertEquals(expectedResult.toString(), result.toString());
     }