Update openo to onap according groupid org.onap.vfc.nfvo.res.
Change-Id: I3e32d445b8e5f2bfe8caa813052a8a7ae7e128a8
Issue-Id:VFC-86
Signed-off-by: victor.gao <victor.gao@huawei.com>
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.common;
+package org.onap.vfc.nfvo.res.common;
/**
* <br/>
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.common;
+package org.onap.vfc.nfvo.res.common;
+import org.onap.vfc.nfvo.res.common.constant.ParamConstant;
+import org.onap.vfc.nfvo.res.common.constant.UrlConstant;
+import org.onap.vfc.nfvo.res.common.util.RestfulUtil;
import org.openo.baseservice.roa.util.restclient.RestfulParametes;
-import org.openo.nfvo.resmanagement.common.constant.ParamConstant;
-import org.openo.nfvo.resmanagement.common.constant.UrlConstant;
-import org.openo.nfvo.resmanagement.common.util.RestfulUtil;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.common.constant;
+package org.onap.vfc.nfvo.res.common.constant;
/**
* HTTP constants<br/>
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.common.constant;
+package org.onap.vfc.nfvo.res.common.constant;
/**
*
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.common.constant;
+package org.onap.vfc.nfvo.res.common.constant;
/**
* <br/>
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.common.constant;
+package org.onap.vfc.nfvo.res.common.constant;
-import org.openo.nfvo.resmanagement.common.ResourceUtil;
+import org.onap.vfc.nfvo.res.common.ResourceUtil;
/**
* Response constants.<br/>
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.common.constant;
+package org.onap.vfc.nfvo.res.common.constant;
/**
* <br/>
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.common.util;
+package org.onap.vfc.nfvo.res.common.util;
-import org.openo.nfvo.resmanagement.common.constant.ParamConstant;
+import org.onap.vfc.nfvo.res.common.constant.ParamConstant;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.common.util;
+package org.onap.vfc.nfvo.res.common.util;
import java.lang.invoke.MethodHandles;
import java.lang.invoke.MethodType;
import javax.servlet.http.HttpServletResponse;
import org.apache.commons.lang3.StringUtils;
+import org.onap.vfc.nfvo.res.common.ResourceUtil;
+import org.onap.vfc.nfvo.res.common.constant.Constant;
+import org.onap.vfc.nfvo.res.common.constant.ParamConstant;
import org.openo.baseservice.remoteservice.exception.ServiceException;
import org.openo.baseservice.roa.util.restclient.Restful;
import org.openo.baseservice.roa.util.restclient.RestfulAsyncCallback;
import org.openo.baseservice.roa.util.restclient.RestfulOptions;
import org.openo.baseservice.roa.util.restclient.RestfulParametes;
import org.openo.baseservice.roa.util.restclient.RestfulResponse;
-import org.openo.nfvo.resmanagement.common.ResourceUtil;
-import org.openo.nfvo.resmanagement.common.constant.Constant;
-import org.openo.nfvo.resmanagement.common.constant.ParamConstant;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.common.util;
+package org.onap.vfc.nfvo.res.common.util;
import java.math.BigDecimal;
import java.text.DecimalFormat;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.common.util.request;
+package org.onap.vfc.nfvo.res.common.util.request;
import java.io.IOException;
import java.io.InputStream;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.common.util.response;
+package org.onap.vfc.nfvo.res.common.util.response;
import java.util.HashMap;
import java.util.Iterator;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.common.util.response;
+package org.onap.vfc.nfvo.res.common.util.response;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import org.openo.nfvo.resmanagement.common.constant.HttpConstant;
-import org.openo.nfvo.resmanagement.common.constant.ParamConstant;
-import org.openo.nfvo.resmanagement.common.constant.ResponseConstant;
+import org.onap.vfc.nfvo.res.common.constant.HttpConstant;
+import org.onap.vfc.nfvo.res.common.constant.ParamConstant;
+import org.onap.vfc.nfvo.res.common.constant.ResponseConstant;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.activator;
+package org.onap.vfc.nfvo.res.service.activator;
-import org.openo.nfvo.resmanagement.service.adapter.inf.IResmgrAdapterMgrService;
+import org.onap.vfc.nfvo.res.service.adapter.inf.IResmgrAdapterMgrService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.BeansException;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.adapter.impl;
+package org.onap.vfc.nfvo.res.service.adapter.impl;
import java.util.Map;
+import org.onap.vfc.nfvo.res.common.constant.Constant;
+import org.onap.vfc.nfvo.res.common.constant.HttpConstant;
+import org.onap.vfc.nfvo.res.common.util.RestfulUtil;
+import org.onap.vfc.nfvo.res.service.adapter.inf.IResmgrAdapter2MSBManager;
import org.openo.baseservice.roa.util.restclient.RestfulResponse;
-import org.openo.nfvo.resmanagement.common.constant.Constant;
-import org.openo.nfvo.resmanagement.common.constant.HttpConstant;
-import org.openo.nfvo.resmanagement.common.util.RestfulUtil;
-import org.openo.nfvo.resmanagement.service.adapter.inf.IResmgrAdapter2MSBManager;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.adapter.impl;
+package org.onap.vfc.nfvo.res.service.adapter.impl;
import java.io.BufferedInputStream;
import java.io.FileInputStream;
import java.util.Map;
import java.util.concurrent.Executors;
+import org.onap.vfc.nfvo.res.common.constant.Constant;
+import org.onap.vfc.nfvo.res.common.constant.HttpConstant;
+import org.onap.vfc.nfvo.res.common.constant.ParamConstant;
+import org.onap.vfc.nfvo.res.common.constant.UrlConstant;
+import org.onap.vfc.nfvo.res.service.adapter.inf.IResmgrAdapter2MSBManager;
+import org.onap.vfc.nfvo.res.service.adapter.inf.IResmgrAdapterMgrService;
import org.openo.baseservice.util.impl.SystemEnvVariablesFactory;
-import org.openo.nfvo.resmanagement.common.constant.Constant;
-import org.openo.nfvo.resmanagement.common.constant.HttpConstant;
-import org.openo.nfvo.resmanagement.common.constant.ParamConstant;
-import org.openo.nfvo.resmanagement.common.constant.UrlConstant;
-import org.openo.nfvo.resmanagement.service.adapter.inf.IResmgrAdapter2MSBManager;
-import org.openo.nfvo.resmanagement.service.adapter.inf.IResmgrAdapterMgrService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.adapter.inf;
+package org.onap.vfc.nfvo.res.service.adapter.inf;
import java.util.Map;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.adapter.inf;
+package org.onap.vfc.nfvo.res.service.adapter.inf;
/**
* <br>
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.base.openstack.impl;
+package org.onap.vfc.nfvo.res.service.base.openstack.impl;
import java.util.List;
import java.util.Map;
+import org.onap.vfc.nfvo.res.service.base.openstack.inf.Host;
+import org.onap.vfc.nfvo.res.service.business.inf.HostBusiness;
+import org.onap.vfc.nfvo.res.service.entity.HostEntity;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.service.base.openstack.inf.Host;
-import org.openo.nfvo.resmanagement.service.business.inf.HostBusiness;
-import org.openo.nfvo.resmanagement.service.entity.HostEntity;
import net.sf.json.JSONObject;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.base.openstack.impl;
+package org.onap.vfc.nfvo.res.service.base.openstack.impl;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
+import org.onap.vfc.nfvo.res.common.VimUtil;
+import org.onap.vfc.nfvo.res.common.constant.ParamConstant;
+import org.onap.vfc.nfvo.res.common.util.JsonUtil;
+import org.onap.vfc.nfvo.res.service.base.openstack.inf.Location;
+import org.onap.vfc.nfvo.res.service.base.openstack.inf.Sites;
+import org.onap.vfc.nfvo.res.service.business.inf.LocationBusiness;
+import org.onap.vfc.nfvo.res.service.entity.LocationEntity;
+import org.onap.vfc.nfvo.res.service.entity.SitesEntity;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.common.VimUtil;
-import org.openo.nfvo.resmanagement.common.constant.ParamConstant;
-import org.openo.nfvo.resmanagement.common.util.JsonUtil;
-import org.openo.nfvo.resmanagement.service.base.openstack.inf.Location;
-import org.openo.nfvo.resmanagement.service.base.openstack.inf.Sites;
-import org.openo.nfvo.resmanagement.service.business.inf.LocationBusiness;
-import org.openo.nfvo.resmanagement.service.entity.LocationEntity;
-import org.openo.nfvo.resmanagement.service.entity.SitesEntity;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.base.openstack.impl;
+package org.onap.vfc.nfvo.res.service.base.openstack.impl;
import java.util.List;
import java.util.Map;
+import org.onap.vfc.nfvo.res.common.util.JsonUtil;
+import org.onap.vfc.nfvo.res.service.base.openstack.inf.Network;
+import org.onap.vfc.nfvo.res.service.business.inf.NetworkBusiness;
+import org.onap.vfc.nfvo.res.service.entity.NetworkEntity;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.common.util.JsonUtil;
-import org.openo.nfvo.resmanagement.service.base.openstack.inf.Network;
-import org.openo.nfvo.resmanagement.service.business.inf.NetworkBusiness;
-import org.openo.nfvo.resmanagement.service.entity.NetworkEntity;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.base.openstack.impl;
+package org.onap.vfc.nfvo.res.service.base.openstack.impl;
import java.util.List;
import java.util.Map;
+import org.onap.vfc.nfvo.res.common.util.JsonUtil;
+import org.onap.vfc.nfvo.res.service.base.openstack.inf.Port;
+import org.onap.vfc.nfvo.res.service.business.inf.PortBusiness;
+import org.onap.vfc.nfvo.res.service.entity.PortEntity;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.common.util.JsonUtil;
-import org.openo.nfvo.resmanagement.service.base.openstack.inf.Port;
-import org.openo.nfvo.resmanagement.service.business.inf.PortBusiness;
-import org.openo.nfvo.resmanagement.service.entity.PortEntity;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.base.openstack.impl;
+package org.onap.vfc.nfvo.res.service.base.openstack.impl;
import java.math.BigDecimal;
import java.util.HashMap;
import java.util.UUID;
import org.apache.commons.lang3.StringUtils;
+import org.onap.vfc.nfvo.res.common.VimUtil;
+import org.onap.vfc.nfvo.res.common.constant.ParamConstant;
+import org.onap.vfc.nfvo.res.common.util.JsonUtil;
+import org.onap.vfc.nfvo.res.service.base.openstack.inf.Sites;
+import org.onap.vfc.nfvo.res.service.business.inf.LimitsBusiness;
+import org.onap.vfc.nfvo.res.service.business.inf.SitesBusiness;
+import org.onap.vfc.nfvo.res.service.entity.SitesEntity;
+import org.onap.vfc.nfvo.res.service.group.inf.ResOperateService;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.common.VimUtil;
-import org.openo.nfvo.resmanagement.common.constant.ParamConstant;
-import org.openo.nfvo.resmanagement.common.util.JsonUtil;
-import org.openo.nfvo.resmanagement.service.base.openstack.inf.Sites;
-import org.openo.nfvo.resmanagement.service.business.inf.LimitsBusiness;
-import org.openo.nfvo.resmanagement.service.business.inf.SitesBusiness;
-import org.openo.nfvo.resmanagement.service.entity.SitesEntity;
-import org.openo.nfvo.resmanagement.service.group.inf.ResOperateService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.base.openstack.impl;
+package org.onap.vfc.nfvo.res.service.base.openstack.impl;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
+import org.onap.vfc.nfvo.res.service.base.openstack.inf.Vim;
+import org.onap.vfc.nfvo.res.service.business.inf.VimBusiness;
+import org.onap.vfc.nfvo.res.service.entity.VimEntity;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.service.base.openstack.inf.Vim;
-import org.openo.nfvo.resmanagement.service.business.inf.VimBusiness;
-import org.openo.nfvo.resmanagement.service.entity.VimEntity;
import net.sf.json.JSONObject;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.base.openstack.inf;
+package org.onap.vfc.nfvo.res.service.base.openstack.inf;
import java.util.List;
import java.util.Map;
+import org.onap.vfc.nfvo.res.service.entity.HostEntity;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.service.entity.HostEntity;
import net.sf.json.JSONObject;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.base.openstack.inf;
+package org.onap.vfc.nfvo.res.service.base.openstack.inf;
import org.openo.baseservice.remoteservice.exception.ServiceException;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.base.openstack.inf;
+package org.onap.vfc.nfvo.res.service.base.openstack.inf;
import java.util.List;
import java.util.Map;
+import org.onap.vfc.nfvo.res.service.entity.LocationEntity;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.service.entity.LocationEntity;
import net.sf.json.JSONObject;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.base.openstack.inf;
+package org.onap.vfc.nfvo.res.service.base.openstack.inf;
import java.util.List;
import java.util.Map;
+import org.onap.vfc.nfvo.res.service.entity.NetworkEntity;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.service.entity.NetworkEntity;
import net.sf.json.JSONObject;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.base.openstack.inf;
+package org.onap.vfc.nfvo.res.service.base.openstack.inf;
import java.util.List;
import java.util.Map;
+import org.onap.vfc.nfvo.res.service.entity.PortEntity;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.service.entity.PortEntity;
import net.sf.json.JSONObject;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.base.openstack.inf;
+package org.onap.vfc.nfvo.res.service.base.openstack.inf;
import org.openo.baseservice.remoteservice.exception.ServiceException;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.base.openstack.inf;
+package org.onap.vfc.nfvo.res.service.base.openstack.inf;
import java.util.List;
import java.util.Map;
+import org.onap.vfc.nfvo.res.service.entity.SitesEntity;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.service.entity.SitesEntity;
import net.sf.json.JSONObject;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.base.openstack.inf;
+package org.onap.vfc.nfvo.res.service.base.openstack.inf;
import java.util.List;
import java.util.Map;
+import org.onap.vfc.nfvo.res.service.entity.VimEntity;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.service.entity.VimEntity;
import net.sf.json.JSONObject;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.business.impl;
+package org.onap.vfc.nfvo.res.service.business.impl;
import java.util.List;
import java.util.Map;
import java.util.UUID;
import org.apache.commons.lang3.StringUtils;
+import org.onap.vfc.nfvo.res.common.ResourceUtil;
+import org.onap.vfc.nfvo.res.service.business.inf.HostBusiness;
+import org.onap.vfc.nfvo.res.service.dao.inf.HostDao;
+import org.onap.vfc.nfvo.res.service.entity.HostEntity;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.common.ResourceUtil;
-import org.openo.nfvo.resmanagement.service.business.inf.HostBusiness;
-import org.openo.nfvo.resmanagement.service.dao.inf.HostDao;
-import org.openo.nfvo.resmanagement.service.entity.HostEntity;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.business.impl;
+package org.onap.vfc.nfvo.res.service.business.impl;
+import org.onap.vfc.nfvo.res.common.VimUtil;
+import org.onap.vfc.nfvo.res.common.constant.ParamConstant;
+import org.onap.vfc.nfvo.res.common.constant.UrlConstant;
+import org.onap.vfc.nfvo.res.common.util.RestfulUtil;
+import org.onap.vfc.nfvo.res.service.business.inf.LimitsBusiness;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.common.VimUtil;
-import org.openo.nfvo.resmanagement.common.constant.ParamConstant;
-import org.openo.nfvo.resmanagement.common.constant.UrlConstant;
-import org.openo.nfvo.resmanagement.common.util.RestfulUtil;
-import org.openo.nfvo.resmanagement.service.business.inf.LimitsBusiness;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.business.impl;
+package org.onap.vfc.nfvo.res.service.business.impl;
import java.util.HashMap;
import java.util.List;
import java.util.UUID;
import org.apache.commons.lang3.StringUtils;
+import org.onap.vfc.nfvo.res.common.ResourceUtil;
+import org.onap.vfc.nfvo.res.common.constant.ParamConstant;
+import org.onap.vfc.nfvo.res.common.util.StringUtil;
+import org.onap.vfc.nfvo.res.service.business.inf.LocationBusiness;
+import org.onap.vfc.nfvo.res.service.dao.inf.LocationDao;
+import org.onap.vfc.nfvo.res.service.entity.LocationEntity;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.common.ResourceUtil;
-import org.openo.nfvo.resmanagement.common.constant.ParamConstant;
-import org.openo.nfvo.resmanagement.common.util.StringUtil;
-import org.openo.nfvo.resmanagement.service.business.inf.LocationBusiness;
-import org.openo.nfvo.resmanagement.service.dao.inf.LocationDao;
-import org.openo.nfvo.resmanagement.service.entity.LocationEntity;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.business.impl;
+package org.onap.vfc.nfvo.res.service.business.impl;
import java.util.List;
import java.util.Map;
import java.util.UUID;
import org.apache.commons.lang3.StringUtils;
+import org.onap.vfc.nfvo.res.common.ResourceUtil;
+import org.onap.vfc.nfvo.res.service.business.inf.NetworkBusiness;
+import org.onap.vfc.nfvo.res.service.dao.inf.NetworkDao;
+import org.onap.vfc.nfvo.res.service.entity.NetworkEntity;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.common.ResourceUtil;
-import org.openo.nfvo.resmanagement.service.business.inf.NetworkBusiness;
-import org.openo.nfvo.resmanagement.service.dao.inf.NetworkDao;
-import org.openo.nfvo.resmanagement.service.entity.NetworkEntity;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.business.impl;
+package org.onap.vfc.nfvo.res.service.business.impl;
import java.util.List;
import java.util.Map;
import java.util.UUID;
import org.apache.commons.lang3.StringUtils;
+import org.onap.vfc.nfvo.res.common.ResourceUtil;
+import org.onap.vfc.nfvo.res.service.business.inf.PortBusiness;
+import org.onap.vfc.nfvo.res.service.dao.inf.PortDao;
+import org.onap.vfc.nfvo.res.service.entity.PortEntity;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.common.ResourceUtil;
-import org.openo.nfvo.resmanagement.service.business.inf.PortBusiness;
-import org.openo.nfvo.resmanagement.service.dao.inf.PortDao;
-import org.openo.nfvo.resmanagement.service.entity.PortEntity;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.business.impl;
+package org.onap.vfc.nfvo.res.service.business.impl;
import java.util.HashMap;
import java.util.List;
import java.util.UUID;
import org.apache.commons.lang3.StringUtils;
+import org.onap.vfc.nfvo.res.common.ResourceUtil;
+import org.onap.vfc.nfvo.res.common.constant.ParamConstant;
+import org.onap.vfc.nfvo.res.service.business.inf.SitesBusiness;
+import org.onap.vfc.nfvo.res.service.dao.inf.SitesDao;
+import org.onap.vfc.nfvo.res.service.entity.SitesEntity;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.common.ResourceUtil;
-import org.openo.nfvo.resmanagement.common.constant.ParamConstant;
-import org.openo.nfvo.resmanagement.service.business.inf.SitesBusiness;
-import org.openo.nfvo.resmanagement.service.dao.inf.SitesDao;
-import org.openo.nfvo.resmanagement.service.entity.SitesEntity;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.business.impl;
+package org.onap.vfc.nfvo.res.service.business.impl;
import java.util.List;
import org.apache.commons.lang3.StringUtils;
+import org.onap.vfc.nfvo.res.common.ResourceUtil;
+import org.onap.vfc.nfvo.res.common.util.StringUtil;
+import org.onap.vfc.nfvo.res.service.business.inf.VimBusiness;
+import org.onap.vfc.nfvo.res.service.dao.inf.VimDao;
+import org.onap.vfc.nfvo.res.service.entity.VimEntity;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.common.ResourceUtil;
-import org.openo.nfvo.resmanagement.common.util.StringUtil;
-import org.openo.nfvo.resmanagement.service.business.inf.VimBusiness;
-import org.openo.nfvo.resmanagement.service.dao.inf.VimDao;
-import org.openo.nfvo.resmanagement.service.entity.VimEntity;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.business.inf;
+package org.onap.vfc.nfvo.res.service.business.inf;
import java.util.List;
import java.util.Map;
+import org.onap.vfc.nfvo.res.service.entity.HostEntity;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.service.entity.HostEntity;
/**
* Host Buisiness Class.<br/>
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.business.inf;
+package org.onap.vfc.nfvo.res.service.business.inf;
import org.openo.baseservice.remoteservice.exception.ServiceException;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.business.inf;
+package org.onap.vfc.nfvo.res.service.business.inf;
import java.util.List;
import java.util.Map;
+import org.onap.vfc.nfvo.res.service.entity.LocationEntity;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.service.entity.LocationEntity;
/**
*
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.business.inf;
+package org.onap.vfc.nfvo.res.service.business.inf;
import java.util.List;
import java.util.Map;
+import org.onap.vfc.nfvo.res.service.entity.NetworkEntity;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.service.entity.NetworkEntity;
/**
*
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.business.inf;
+package org.onap.vfc.nfvo.res.service.business.inf;
import java.util.List;
import java.util.Map;
+import org.onap.vfc.nfvo.res.service.entity.PortEntity;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.service.entity.PortEntity;
/**
* Port Buisiness Class.<br/>
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.business.inf;
+package org.onap.vfc.nfvo.res.service.business.inf;
import java.util.List;
import java.util.Map;
+import org.onap.vfc.nfvo.res.service.entity.SitesEntity;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.service.entity.SitesEntity;
/**
* DC info interface.<br/>
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.business.inf;
+package org.onap.vfc.nfvo.res.service.business.inf;
import java.util.List;
+import org.onap.vfc.nfvo.res.service.entity.VimEntity;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.service.entity.VimEntity;
/**
* Vim info interface.<br/>
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.dao.impl;
+package org.onap.vfc.nfvo.res.service.dao.impl;
import org.apache.ibatis.session.SqlSession;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.dao.impl;
+package org.onap.vfc.nfvo.res.service.dao.impl;
import java.util.List;
import java.util.Map;
-import org.openo.nfvo.resmanagement.service.dao.impl.AbstractDao;
-import org.openo.nfvo.resmanagement.service.dao.inf.HostDao;
-import org.openo.nfvo.resmanagement.service.entity.HostEntity;
-import org.openo.nfvo.resmanagement.service.mapper.HostMapper;
+import org.onap.vfc.nfvo.res.service.dao.impl.AbstractDao;
+import org.onap.vfc.nfvo.res.service.dao.inf.HostDao;
+import org.onap.vfc.nfvo.res.service.entity.HostEntity;
+import org.onap.vfc.nfvo.res.service.mapper.HostMapper;
/**
*
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.dao.impl;
+package org.onap.vfc.nfvo.res.service.dao.impl;
import java.util.List;
import java.util.Map;
-import org.openo.nfvo.resmanagement.service.dao.impl.AbstractDao;
-import org.openo.nfvo.resmanagement.service.dao.inf.LocationDao;
-import org.openo.nfvo.resmanagement.service.entity.LocationEntity;
-import org.openo.nfvo.resmanagement.service.mapper.LocationMapper;
+import org.onap.vfc.nfvo.res.service.dao.impl.AbstractDao;
+import org.onap.vfc.nfvo.res.service.dao.inf.LocationDao;
+import org.onap.vfc.nfvo.res.service.entity.LocationEntity;
+import org.onap.vfc.nfvo.res.service.mapper.LocationMapper;
/**
*
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.dao.impl;
+package org.onap.vfc.nfvo.res.service.dao.impl;
import java.util.List;
import java.util.Map;
-import org.openo.nfvo.resmanagement.service.dao.impl.AbstractDao;
-import org.openo.nfvo.resmanagement.service.dao.inf.NetworkDao;
-import org.openo.nfvo.resmanagement.service.entity.NetworkEntity;
-import org.openo.nfvo.resmanagement.service.mapper.NetworkMapper;
+import org.onap.vfc.nfvo.res.service.dao.impl.AbstractDao;
+import org.onap.vfc.nfvo.res.service.dao.inf.NetworkDao;
+import org.onap.vfc.nfvo.res.service.entity.NetworkEntity;
+import org.onap.vfc.nfvo.res.service.mapper.NetworkMapper;
/**
*
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.dao.impl;
+package org.onap.vfc.nfvo.res.service.dao.impl;
import java.util.List;
import java.util.Map;
-import org.openo.nfvo.resmanagement.service.dao.impl.AbstractDao;
-import org.openo.nfvo.resmanagement.service.dao.inf.PortDao;
-import org.openo.nfvo.resmanagement.service.entity.PortEntity;
-import org.openo.nfvo.resmanagement.service.mapper.PortMapper;
+import org.onap.vfc.nfvo.res.service.dao.impl.AbstractDao;
+import org.onap.vfc.nfvo.res.service.dao.inf.PortDao;
+import org.onap.vfc.nfvo.res.service.entity.PortEntity;
+import org.onap.vfc.nfvo.res.service.mapper.PortMapper;
/**
*
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.dao.impl;
+package org.onap.vfc.nfvo.res.service.dao.impl;
import java.util.List;
import java.util.Map;
-import org.openo.nfvo.resmanagement.service.dao.impl.AbstractDao;
-import org.openo.nfvo.resmanagement.service.dao.inf.SitesDao;
-import org.openo.nfvo.resmanagement.service.entity.SitesEntity;
-import org.openo.nfvo.resmanagement.service.mapper.SitesMapper;
+import org.onap.vfc.nfvo.res.service.dao.impl.AbstractDao;
+import org.onap.vfc.nfvo.res.service.dao.inf.SitesDao;
+import org.onap.vfc.nfvo.res.service.entity.SitesEntity;
+import org.onap.vfc.nfvo.res.service.mapper.SitesMapper;
/**
* DC interface.<br/>
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.dao.impl;
+package org.onap.vfc.nfvo.res.service.dao.impl;
import java.util.List;
-import org.openo.nfvo.resmanagement.service.dao.impl.AbstractDao;
-import org.openo.nfvo.resmanagement.service.dao.inf.VimDao;
-import org.openo.nfvo.resmanagement.service.entity.VimEntity;
-import org.openo.nfvo.resmanagement.service.mapper.VimMapper;
+import org.onap.vfc.nfvo.res.service.dao.impl.AbstractDao;
+import org.onap.vfc.nfvo.res.service.dao.inf.VimDao;
+import org.onap.vfc.nfvo.res.service.entity.VimEntity;
+import org.onap.vfc.nfvo.res.service.mapper.VimMapper;
/**
* Vim interface.<br/>
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.dao.impl;
+package org.onap.vfc.nfvo.res.service.dao.impl;
import java.util.List;
import java.util.Map;
-import org.openo.nfvo.resmanagement.service.dao.inf.VirtualLinkDao;
-import org.openo.nfvo.resmanagement.service.entity.VirtualLinkEntity;
-import org.openo.nfvo.resmanagement.service.mapper.VirtualLinkMapper;
+import org.onap.vfc.nfvo.res.service.dao.inf.VirtualLinkDao;
+import org.onap.vfc.nfvo.res.service.entity.VirtualLinkEntity;
+import org.onap.vfc.nfvo.res.service.mapper.VirtualLinkMapper;
/**
* <br>
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.dao.impl;
+package org.onap.vfc.nfvo.res.service.dao.impl;
import java.util.List;
import java.util.Map;
-import org.openo.nfvo.resmanagement.service.dao.inf.VmDao;
-import org.openo.nfvo.resmanagement.service.entity.VmEntity;
-import org.openo.nfvo.resmanagement.service.mapper.VmMapper;
+import org.onap.vfc.nfvo.res.service.dao.inf.VmDao;
+import org.onap.vfc.nfvo.res.service.entity.VmEntity;
+import org.onap.vfc.nfvo.res.service.mapper.VmMapper;
/**
* <br>
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.dao.impl;
+package org.onap.vfc.nfvo.res.service.dao.impl;
import java.util.List;
import java.util.Map;
-import org.openo.nfvo.resmanagement.service.dao.inf.VnfDao;
-import org.openo.nfvo.resmanagement.service.entity.VnfEntity;
-import org.openo.nfvo.resmanagement.service.mapper.VnfMapper;
+import org.onap.vfc.nfvo.res.service.dao.inf.VnfDao;
+import org.onap.vfc.nfvo.res.service.entity.VnfEntity;
+import org.onap.vfc.nfvo.res.service.mapper.VnfMapper;
/**
* <br>
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.dao.impl;
+package org.onap.vfc.nfvo.res.service.dao.impl;
import java.util.List;
import java.util.Map;
-import org.openo.nfvo.resmanagement.service.dao.inf.VnfInfoDao;
-import org.openo.nfvo.resmanagement.service.entity.VnfInfoEntity;
-import org.openo.nfvo.resmanagement.service.mapper.VnfInfoMapper;
+import org.onap.vfc.nfvo.res.service.dao.inf.VnfInfoDao;
+import org.onap.vfc.nfvo.res.service.entity.VnfInfoEntity;
+import org.onap.vfc.nfvo.res.service.mapper.VnfInfoMapper;
/**
* <br>
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.dao.impl;
+package org.onap.vfc.nfvo.res.service.dao.impl;
import java.util.List;
import java.util.Map;
-import org.openo.nfvo.resmanagement.service.dao.inf.VnfStatusDao;
-import org.openo.nfvo.resmanagement.service.entity.VnfStatusEntity;
-import org.openo.nfvo.resmanagement.service.mapper.VnfStatusMapper;
+import org.onap.vfc.nfvo.res.service.dao.inf.VnfStatusDao;
+import org.onap.vfc.nfvo.res.service.entity.VnfStatusEntity;
+import org.onap.vfc.nfvo.res.service.mapper.VnfStatusMapper;
/**
* <br>
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.dao.inf;
+package org.onap.vfc.nfvo.res.service.dao.inf;
import java.util.List;
import java.util.Map;
-import org.openo.nfvo.resmanagement.service.entity.HostEntity;
+import org.onap.vfc.nfvo.res.service.entity.HostEntity;
/**
* Host info interface.<br/>
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.dao.inf;
+package org.onap.vfc.nfvo.res.service.dao.inf;
import java.util.List;
import java.util.Map;
-import org.openo.nfvo.resmanagement.service.entity.LocationEntity;
+import org.onap.vfc.nfvo.res.service.entity.LocationEntity;
/**
*
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.dao.inf;
+package org.onap.vfc.nfvo.res.service.dao.inf;
import java.util.List;
import java.util.Map;
-import org.openo.nfvo.resmanagement.service.entity.NetworkEntity;
+import org.onap.vfc.nfvo.res.service.entity.NetworkEntity;
/**
*
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.dao.inf;
+package org.onap.vfc.nfvo.res.service.dao.inf;
import java.util.List;
import java.util.Map;
-import org.openo.nfvo.resmanagement.service.entity.PortEntity;
+import org.onap.vfc.nfvo.res.service.entity.PortEntity;
/**
* Port info interface.<br/>
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.dao.inf;
+package org.onap.vfc.nfvo.res.service.dao.inf;
import java.util.List;
import java.util.Map;
-import org.openo.nfvo.resmanagement.service.entity.SitesEntity;
+import org.onap.vfc.nfvo.res.service.entity.SitesEntity;
/**
* Sites info interface. <br/>
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.dao.inf;
+package org.onap.vfc.nfvo.res.service.dao.inf;
import java.util.List;
-import org.openo.nfvo.resmanagement.service.entity.VimEntity;
+import org.onap.vfc.nfvo.res.service.entity.VimEntity;
/**
* Vim info interface.<br/>
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.dao.inf;
+package org.onap.vfc.nfvo.res.service.dao.inf;
import java.util.List;
import java.util.Map;
-import org.openo.nfvo.resmanagement.service.entity.VirtualLinkEntity;
+import org.onap.vfc.nfvo.res.service.entity.VirtualLinkEntity;
/**
* <br>
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.dao.inf;
+package org.onap.vfc.nfvo.res.service.dao.inf;
import java.util.List;
import java.util.Map;
-import org.openo.nfvo.resmanagement.service.entity.VmEntity;
+import org.onap.vfc.nfvo.res.service.entity.VmEntity;
/**
* <br>
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.dao.inf;
+package org.onap.vfc.nfvo.res.service.dao.inf;
import java.util.List;
import java.util.Map;
-import org.openo.nfvo.resmanagement.service.entity.VnfEntity;
+import org.onap.vfc.nfvo.res.service.entity.VnfEntity;
/**
* <br>
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.dao.inf;
+package org.onap.vfc.nfvo.res.service.dao.inf;
import java.util.List;
import java.util.Map;
-import org.openo.nfvo.resmanagement.service.entity.VnfInfoEntity;
+import org.onap.vfc.nfvo.res.service.entity.VnfInfoEntity;
/**
* <br>
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.dao.inf;
+package org.onap.vfc.nfvo.res.service.dao.inf;
import java.util.List;
import java.util.Map;
-import org.openo.nfvo.resmanagement.service.entity.VnfStatusEntity;
+import org.onap.vfc.nfvo.res.service.entity.VnfStatusEntity;
/**
* <br>
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.entity;
+package org.onap.vfc.nfvo.res.service.entity;
import org.apache.commons.lang3.StringUtils;
-import org.openo.nfvo.resmanagement.common.util.JsonUtil;
+import org.onap.vfc.nfvo.res.common.util.JsonUtil;
import net.sf.json.JSONObject;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.entity;
+package org.onap.vfc.nfvo.res.service.entity;
import org.apache.commons.lang3.StringUtils;
-import org.openo.nfvo.resmanagement.common.util.JsonUtil;
+import org.onap.vfc.nfvo.res.common.util.JsonUtil;
import net.sf.json.JSONObject;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.entity;
+package org.onap.vfc.nfvo.res.service.entity;
import org.apache.commons.lang3.StringUtils;
-import org.openo.nfvo.resmanagement.common.util.JsonUtil;
+import org.onap.vfc.nfvo.res.common.util.JsonUtil;
import net.sf.json.JSONObject;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.entity;
+package org.onap.vfc.nfvo.res.service.entity;
import org.apache.commons.lang3.StringUtils;
-import org.openo.nfvo.resmanagement.common.util.JsonUtil;
+import org.onap.vfc.nfvo.res.common.util.JsonUtil;
import net.sf.json.JSONObject;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.entity;
+package org.onap.vfc.nfvo.res.service.entity;
import org.apache.commons.lang3.StringUtils;
-import org.openo.nfvo.resmanagement.common.util.JsonUtil;
-import org.openo.nfvo.resmanagement.common.util.StringUtil;
+import org.onap.vfc.nfvo.res.common.util.JsonUtil;
+import org.onap.vfc.nfvo.res.common.util.StringUtil;
import net.sf.json.JSONObject;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.entity;
+package org.onap.vfc.nfvo.res.service.entity;
import org.apache.commons.lang3.StringUtils;
-import org.openo.nfvo.resmanagement.common.util.JsonUtil;
+import org.onap.vfc.nfvo.res.common.util.JsonUtil;
import net.sf.json.JSONObject;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.entity;
+package org.onap.vfc.nfvo.res.service.entity;
import java.io.Serializable;
import org.apache.commons.lang3.StringUtils;
-import org.openo.nfvo.resmanagement.common.util.JsonUtil;
+import org.onap.vfc.nfvo.res.common.util.JsonUtil;
import net.sf.json.JSONObject;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.entity;
+package org.onap.vfc.nfvo.res.service.entity;
import java.io.Serializable;
import org.apache.commons.lang3.StringUtils;
-import org.openo.nfvo.resmanagement.common.util.JsonUtil;
+import org.onap.vfc.nfvo.res.common.util.JsonUtil;
import net.sf.json.JSONObject;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.entity;
+package org.onap.vfc.nfvo.res.service.entity;
import java.io.Serializable;
import org.apache.commons.lang3.StringUtils;
-import org.openo.nfvo.resmanagement.common.util.JsonUtil;
+import org.onap.vfc.nfvo.res.common.util.JsonUtil;
import net.sf.json.JSONObject;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.entity;
+package org.onap.vfc.nfvo.res.service.entity;
import java.io.Serializable;
import org.apache.commons.lang3.StringUtils;
-import org.openo.nfvo.resmanagement.common.util.JsonUtil;
+import org.onap.vfc.nfvo.res.common.util.JsonUtil;
import net.sf.json.JSONObject;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.entity;
+package org.onap.vfc.nfvo.res.service.entity;
import java.io.Serializable;
import org.apache.commons.lang3.StringUtils;
-import org.openo.nfvo.resmanagement.common.util.JsonUtil;
+import org.onap.vfc.nfvo.res.common.util.JsonUtil;
import net.sf.json.JSONObject;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.group.impl;
+package org.onap.vfc.nfvo.res.service.group.impl;
+import org.onap.vfc.nfvo.res.common.VimUtil;
+import org.onap.vfc.nfvo.res.service.base.openstack.inf.Sites;
+import org.onap.vfc.nfvo.res.service.group.inf.GrantResService;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.common.VimUtil;
-import org.openo.nfvo.resmanagement.service.base.openstack.inf.Sites;
-import org.openo.nfvo.resmanagement.service.group.inf.GrantResService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.group.impl;
+package org.onap.vfc.nfvo.res.service.group.impl;
import java.util.HashMap;
import java.util.Map;
+import org.onap.vfc.nfvo.res.common.constant.ParamConstant;
+import org.onap.vfc.nfvo.res.common.constant.UrlConstant;
+import org.onap.vfc.nfvo.res.common.util.JsonUtil;
+import org.onap.vfc.nfvo.res.common.util.RestfulUtil;
+import org.onap.vfc.nfvo.res.service.base.openstack.inf.InterfaceResManagement;
import org.openo.baseservice.remoteservice.exception.ServiceException;
import org.openo.baseservice.roa.util.restclient.RestfulParametes;
-import org.openo.nfvo.resmanagement.common.constant.ParamConstant;
-import org.openo.nfvo.resmanagement.common.constant.UrlConstant;
-import org.openo.nfvo.resmanagement.common.util.JsonUtil;
-import org.openo.nfvo.resmanagement.common.util.RestfulUtil;
-import org.openo.nfvo.resmanagement.service.base.openstack.inf.InterfaceResManagement;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.transaction.annotation.Transactional;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.group.impl;
+package org.onap.vfc.nfvo.res.service.group.impl;
import java.util.HashMap;
import java.util.Map;
+import org.onap.vfc.nfvo.res.common.ResourceUtil;
+import org.onap.vfc.nfvo.res.common.constant.ParamConstant;
+import org.onap.vfc.nfvo.res.service.base.openstack.inf.InterfaceResManagement;
+import org.onap.vfc.nfvo.res.service.base.openstack.inf.Vim;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.common.ResourceUtil;
-import org.openo.nfvo.resmanagement.common.constant.ParamConstant;
-import org.openo.nfvo.resmanagement.service.base.openstack.inf.InterfaceResManagement;
-import org.openo.nfvo.resmanagement.service.base.openstack.inf.Vim;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.group.impl;
+package org.onap.vfc.nfvo.res.service.group.impl;
import java.util.HashMap;
import java.util.Map;
+import org.onap.vfc.nfvo.res.common.constant.ParamConstant;
+import org.onap.vfc.nfvo.res.common.constant.UrlConstant;
+import org.onap.vfc.nfvo.res.common.util.RestfulUtil;
+import org.onap.vfc.nfvo.res.service.base.openstack.inf.InterfaceResManagement;
import org.openo.baseservice.remoteservice.exception.ServiceException;
import org.openo.baseservice.roa.util.restclient.RestfulParametes;
-import org.openo.nfvo.resmanagement.common.constant.ParamConstant;
-import org.openo.nfvo.resmanagement.common.constant.UrlConstant;
-import org.openo.nfvo.resmanagement.common.util.RestfulUtil;
-import org.openo.nfvo.resmanagement.service.base.openstack.inf.InterfaceResManagement;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.transaction.annotation.Transactional;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.group.impl;
+package org.onap.vfc.nfvo.res.service.group.impl;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.commons.lang3.StringUtils;
+import org.onap.vfc.nfvo.res.common.ResourceUtil;
+import org.onap.vfc.nfvo.res.common.constant.Constant;
+import org.onap.vfc.nfvo.res.common.constant.ParamConstant;
+import org.onap.vfc.nfvo.res.common.constant.UrlConstant;
+import org.onap.vfc.nfvo.res.common.util.JsonUtil;
+import org.onap.vfc.nfvo.res.common.util.RestfulUtil;
+import org.onap.vfc.nfvo.res.common.util.StringUtil;
+import org.onap.vfc.nfvo.res.service.base.openstack.inf.Host;
+import org.onap.vfc.nfvo.res.service.base.openstack.inf.InterfaceResManagement;
+import org.onap.vfc.nfvo.res.service.base.openstack.inf.Network;
+import org.onap.vfc.nfvo.res.service.base.openstack.inf.Port;
+import org.onap.vfc.nfvo.res.service.base.openstack.inf.Sites;
+import org.onap.vfc.nfvo.res.service.base.openstack.inf.Vim;
+import org.onap.vfc.nfvo.res.service.entity.HostEntity;
+import org.onap.vfc.nfvo.res.service.entity.VimEntity;
+import org.onap.vfc.nfvo.res.service.group.inf.ResOperateService;
import org.openo.baseservice.remoteservice.exception.ServiceException;
import org.openo.baseservice.roa.util.restclient.RestfulParametes;
-import org.openo.nfvo.resmanagement.common.ResourceUtil;
-import org.openo.nfvo.resmanagement.common.constant.Constant;
-import org.openo.nfvo.resmanagement.common.constant.ParamConstant;
-import org.openo.nfvo.resmanagement.common.constant.UrlConstant;
-import org.openo.nfvo.resmanagement.common.util.JsonUtil;
-import org.openo.nfvo.resmanagement.common.util.RestfulUtil;
-import org.openo.nfvo.resmanagement.common.util.StringUtil;
-import org.openo.nfvo.resmanagement.service.base.openstack.inf.Host;
-import org.openo.nfvo.resmanagement.service.base.openstack.inf.InterfaceResManagement;
-import org.openo.nfvo.resmanagement.service.base.openstack.inf.Network;
-import org.openo.nfvo.resmanagement.service.base.openstack.inf.Port;
-import org.openo.nfvo.resmanagement.service.base.openstack.inf.Sites;
-import org.openo.nfvo.resmanagement.service.base.openstack.inf.Vim;
-import org.openo.nfvo.resmanagement.service.entity.HostEntity;
-import org.openo.nfvo.resmanagement.service.entity.VimEntity;
-import org.openo.nfvo.resmanagement.service.group.inf.ResOperateService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.transaction.annotation.Transactional;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.group.impl;
+package org.onap.vfc.nfvo.res.service.group.impl;
import java.util.List;
import java.util.Map;
import java.util.UUID;
import org.apache.commons.lang3.StringUtils;
+import org.onap.vfc.nfvo.res.common.ResourceUtil;
+import org.onap.vfc.nfvo.res.service.dao.inf.VirtualLinkDao;
+import org.onap.vfc.nfvo.res.service.entity.VirtualLinkEntity;
+import org.onap.vfc.nfvo.res.service.group.inf.VirtualLinkService;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.common.ResourceUtil;
-import org.openo.nfvo.resmanagement.service.dao.inf.VirtualLinkDao;
-import org.openo.nfvo.resmanagement.service.entity.VirtualLinkEntity;
-import org.openo.nfvo.resmanagement.service.group.inf.VirtualLinkService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
if(!checkId(virtualLinkEntity.getId())) {
LOGGER.error("function=addVl; msg=add error, because id is already exist.");
throw new ServiceException(ResourceUtil
- .getMessage("org.openo.nfvo.resmanagement.service.group.impl.VirtualLinkServiceImpl.add.id.check"));
+ .getMessage("org.onap.vfc.nfvo.res.service.group.impl.VirtualLinkServiceImpl.add.id.check"));
}
if(StringUtils.isEmpty(virtualLinkEntity.getId())) {
virtualLinkEntity.setId(UUID.randomUUID().toString());
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.group.impl;
+package org.onap.vfc.nfvo.res.service.group.impl;
import java.util.HashMap;
import java.util.List;
import java.util.UUID;
import org.apache.commons.lang3.StringUtils;
+import org.onap.vfc.nfvo.res.common.constant.ParamConstant;
+import org.onap.vfc.nfvo.res.common.constant.UrlConstant;
+import org.onap.vfc.nfvo.res.common.util.RestfulUtil;
+import org.onap.vfc.nfvo.res.service.dao.inf.VmDao;
+import org.onap.vfc.nfvo.res.service.entity.VmEntity;
+import org.onap.vfc.nfvo.res.service.group.inf.VmService;
import org.openo.baseservice.remoteservice.exception.ServiceException;
import org.openo.baseservice.roa.util.restclient.RestfulParametes;
-import org.openo.nfvo.resmanagement.common.constant.ParamConstant;
-import org.openo.nfvo.resmanagement.common.constant.UrlConstant;
-import org.openo.nfvo.resmanagement.common.util.RestfulUtil;
-import org.openo.nfvo.resmanagement.service.dao.inf.VmDao;
-import org.openo.nfvo.resmanagement.service.entity.VmEntity;
-import org.openo.nfvo.resmanagement.service.group.inf.VmService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.group.impl;
+package org.onap.vfc.nfvo.res.service.group.impl;
import java.util.List;
import java.util.Map;
+import org.onap.vfc.nfvo.res.service.dao.inf.VnfInfoDao;
+import org.onap.vfc.nfvo.res.service.entity.VmEntity;
+import org.onap.vfc.nfvo.res.service.entity.VnfInfoEntity;
+import org.onap.vfc.nfvo.res.service.group.inf.VmService;
+import org.onap.vfc.nfvo.res.service.group.inf.VnfInfoService;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.service.dao.inf.VnfInfoDao;
-import org.openo.nfvo.resmanagement.service.entity.VmEntity;
-import org.openo.nfvo.resmanagement.service.entity.VnfInfoEntity;
-import org.openo.nfvo.resmanagement.service.group.inf.VmService;
-import org.openo.nfvo.resmanagement.service.group.inf.VnfInfoService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.group.impl;
+package org.onap.vfc.nfvo.res.service.group.impl;
import java.util.List;
import java.util.Map;
import java.util.UUID;
import org.apache.commons.lang3.StringUtils;
+import org.onap.vfc.nfvo.res.common.ResourceUtil;
+import org.onap.vfc.nfvo.res.service.dao.inf.VnfDao;
+import org.onap.vfc.nfvo.res.service.entity.VnfEntity;
+import org.onap.vfc.nfvo.res.service.group.inf.VnfInfoService;
+import org.onap.vfc.nfvo.res.service.group.inf.VnfService;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.common.ResourceUtil;
-import org.openo.nfvo.resmanagement.service.dao.inf.VnfDao;
-import org.openo.nfvo.resmanagement.service.entity.VnfEntity;
-import org.openo.nfvo.resmanagement.service.group.inf.VnfInfoService;
-import org.openo.nfvo.resmanagement.service.group.inf.VnfService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
if(!checkId(vnfEntity.getId())) {
LOGGER.error("function=addVnf; msg=add error, because id is already exist.");
throw new ServiceException(ResourceUtil
- .getMessage("org.openo.nfvo.resmanagement.service.group.impl.VnfServiceImpl.add.id.check"));
+ .getMessage("org.onap.vfc.nfvo.res.service.group.impl.VnfServiceImpl.add.id.check"));
}
if(StringUtils.isEmpty(vnfEntity.getId())) {
vnfEntity.setId(UUID.randomUUID().toString());
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.group.impl;
+package org.onap.vfc.nfvo.res.service.group.impl;
import java.util.List;
import java.util.Map;
+import org.onap.vfc.nfvo.res.service.dao.inf.VnfStatusDao;
+import org.onap.vfc.nfvo.res.service.entity.VnfStatusEntity;
+import org.onap.vfc.nfvo.res.service.group.inf.VnfStatusService;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.service.dao.inf.VnfStatusDao;
-import org.openo.nfvo.resmanagement.service.entity.VnfStatusEntity;
-import org.openo.nfvo.resmanagement.service.group.inf.VnfStatusService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.group.inf;
+package org.onap.vfc.nfvo.res.service.group.inf;
import org.openo.baseservice.remoteservice.exception.ServiceException;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.group.inf;
+package org.onap.vfc.nfvo.res.service.group.inf;
import org.openo.baseservice.remoteservice.exception.ServiceException;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.group.inf;
+package org.onap.vfc.nfvo.res.service.group.inf;
import java.util.List;
import java.util.Map;
+import org.onap.vfc.nfvo.res.service.entity.VirtualLinkEntity;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.service.entity.VirtualLinkEntity;
import net.sf.json.JSONObject;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.group.inf;
+package org.onap.vfc.nfvo.res.service.group.inf;
import java.util.List;
import java.util.Map;
+import org.onap.vfc.nfvo.res.service.entity.VmEntity;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.service.entity.VmEntity;
import net.sf.json.JSONObject;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.group.inf;
+package org.onap.vfc.nfvo.res.service.group.inf;
import java.util.List;
import java.util.Map;
+import org.onap.vfc.nfvo.res.service.entity.VnfInfoEntity;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.service.entity.VnfInfoEntity;
import net.sf.json.JSONObject;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.group.inf;
+package org.onap.vfc.nfvo.res.service.group.inf;
import java.util.List;
import java.util.Map;
+import org.onap.vfc.nfvo.res.service.entity.VnfEntity;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.service.entity.VnfEntity;
import net.sf.json.JSONObject;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.group.inf;
+package org.onap.vfc.nfvo.res.service.group.inf;
import java.util.List;
import java.util.Map;
+import org.onap.vfc.nfvo.res.service.entity.VnfStatusEntity;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.service.entity.VnfStatusEntity;
import net.sf.json.JSONObject;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.mapper;
+package org.onap.vfc.nfvo.res.service.mapper;
import java.util.List;
import java.util.Map;
-import org.openo.nfvo.resmanagement.service.entity.HostEntity;
+import org.onap.vfc.nfvo.res.service.entity.HostEntity;
/**
* Host info interface.<br/>
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.mapper;
+package org.onap.vfc.nfvo.res.service.mapper;
import java.util.List;
import java.util.Map;
-import org.openo.nfvo.resmanagement.service.entity.LocationEntity;
+import org.onap.vfc.nfvo.res.service.entity.LocationEntity;
/**
*
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.mapper;
+package org.onap.vfc.nfvo.res.service.mapper;
import java.util.List;
import java.util.Map;
-import org.openo.nfvo.resmanagement.service.entity.NetworkEntity;
+import org.onap.vfc.nfvo.res.service.entity.NetworkEntity;
/**
*
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.mapper;
+package org.onap.vfc.nfvo.res.service.mapper;
import java.util.List;
import java.util.Map;
-import org.openo.nfvo.resmanagement.service.entity.PortEntity;
+import org.onap.vfc.nfvo.res.service.entity.PortEntity;
/**
* Port info interface.<br/>
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.mapper;
+package org.onap.vfc.nfvo.res.service.mapper;
import java.util.List;
import java.util.Map;
-import org.openo.nfvo.resmanagement.service.entity.SitesEntity;
+import org.onap.vfc.nfvo.res.service.entity.SitesEntity;
/**
* ResPool info interface.<br/>
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.mapper;
+package org.onap.vfc.nfvo.res.service.mapper;
import java.util.List;
-import org.openo.nfvo.resmanagement.service.entity.VimEntity;
+import org.onap.vfc.nfvo.res.service.entity.VimEntity;
/**
* Vim info interface.<br/>
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.mapper;
+package org.onap.vfc.nfvo.res.service.mapper;
import java.util.List;
import java.util.Map;
-import org.openo.nfvo.resmanagement.service.entity.VirtualLinkEntity;
+import org.onap.vfc.nfvo.res.service.entity.VirtualLinkEntity;
public interface VirtualLinkMapper {
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.mapper;
+package org.onap.vfc.nfvo.res.service.mapper;
import java.util.List;
import java.util.Map;
-import org.openo.nfvo.resmanagement.service.entity.VmEntity;
+import org.onap.vfc.nfvo.res.service.entity.VmEntity;
public interface VmMapper {
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.mapper;
+package org.onap.vfc.nfvo.res.service.mapper;
import java.util.List;
import java.util.Map;
-import org.openo.nfvo.resmanagement.service.entity.VnfInfoEntity;
+import org.onap.vfc.nfvo.res.service.entity.VnfInfoEntity;
public interface VnfInfoMapper {
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.mapper;
+package org.onap.vfc.nfvo.res.service.mapper;
import java.util.List;
import java.util.Map;
-import org.openo.nfvo.resmanagement.service.entity.VnfEntity;
+import org.onap.vfc.nfvo.res.service.entity.VnfEntity;
public interface VnfMapper {
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.mapper;
+package org.onap.vfc.nfvo.res.service.mapper;
import java.util.List;
import java.util.Map;
-import org.openo.nfvo.resmanagement.service.entity.VnfStatusEntity;
+import org.onap.vfc.nfvo.res.service.entity.VnfStatusEntity;
public interface VnfStatusMapper {
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.rest;
+package org.onap.vfc.nfvo.res.service.rest;
import javax.servlet.http.HttpServletRequest;
import javax.ws.rs.Consumes;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.MediaType;
+import org.onap.vfc.nfvo.res.common.ResourceUtil;
+import org.onap.vfc.nfvo.res.common.constant.HttpConstant;
+import org.onap.vfc.nfvo.res.common.constant.UrlConstant;
+import org.onap.vfc.nfvo.res.common.util.request.RequestUtil;
+import org.onap.vfc.nfvo.res.common.util.response.ResponseUtil;
+import org.onap.vfc.nfvo.res.service.group.inf.GrantResService;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.common.ResourceUtil;
-import org.openo.nfvo.resmanagement.common.constant.HttpConstant;
-import org.openo.nfvo.resmanagement.common.constant.UrlConstant;
-import org.openo.nfvo.resmanagement.common.util.request.RequestUtil;
-import org.openo.nfvo.resmanagement.common.util.response.ResponseUtil;
-import org.openo.nfvo.resmanagement.service.group.inf.GrantResService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.rest;
+package org.onap.vfc.nfvo.res.service.rest;
import java.util.HashMap;
import java.util.List;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.MediaType;
+import org.onap.vfc.nfvo.res.common.constant.HttpConstant;
+import org.onap.vfc.nfvo.res.common.constant.ParamConstant;
+import org.onap.vfc.nfvo.res.common.constant.UrlConstant;
+import org.onap.vfc.nfvo.res.common.util.request.RequestUtil;
+import org.onap.vfc.nfvo.res.common.util.response.ResponseUtil;
+import org.onap.vfc.nfvo.res.common.util.response.RoaResponseUtil;
+import org.onap.vfc.nfvo.res.service.base.openstack.inf.Host;
+import org.onap.vfc.nfvo.res.service.entity.HostEntity;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.common.constant.HttpConstant;
-import org.openo.nfvo.resmanagement.common.constant.ParamConstant;
-import org.openo.nfvo.resmanagement.common.constant.UrlConstant;
-import org.openo.nfvo.resmanagement.common.util.request.RequestUtil;
-import org.openo.nfvo.resmanagement.common.util.response.ResponseUtil;
-import org.openo.nfvo.resmanagement.common.util.response.RoaResponseUtil;
-import org.openo.nfvo.resmanagement.service.base.openstack.inf.Host;
-import org.openo.nfvo.resmanagement.service.entity.HostEntity;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.rest;
+package org.onap.vfc.nfvo.res.service.rest;
import javax.servlet.http.HttpServletRequest;
import javax.ws.rs.Consumes;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.MediaType;
+import org.onap.vfc.nfvo.res.common.constant.ParamConstant;
+import org.onap.vfc.nfvo.res.common.constant.UrlConstant;
+import org.onap.vfc.nfvo.res.service.business.inf.LimitsBusiness;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.common.constant.ParamConstant;
-import org.openo.nfvo.resmanagement.common.constant.UrlConstant;
-import org.openo.nfvo.resmanagement.service.business.inf.LimitsBusiness;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.rest;
+package org.onap.vfc.nfvo.res.service.rest;
import java.util.ArrayList;
import java.util.HashMap;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.MediaType;
+import org.onap.vfc.nfvo.res.common.ResourceUtil;
+import org.onap.vfc.nfvo.res.common.constant.HttpConstant;
+import org.onap.vfc.nfvo.res.common.constant.ParamConstant;
+import org.onap.vfc.nfvo.res.common.constant.UrlConstant;
+import org.onap.vfc.nfvo.res.common.util.JsonUtil;
+import org.onap.vfc.nfvo.res.common.util.request.RequestUtil;
+import org.onap.vfc.nfvo.res.common.util.response.ResponseUtil;
+import org.onap.vfc.nfvo.res.common.util.response.RoaResponseUtil;
+import org.onap.vfc.nfvo.res.service.base.openstack.inf.Location;
+import org.onap.vfc.nfvo.res.service.base.openstack.inf.Sites;
+import org.onap.vfc.nfvo.res.service.entity.LocationEntity;
+import org.onap.vfc.nfvo.res.service.entity.SitesEntity;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.common.ResourceUtil;
-import org.openo.nfvo.resmanagement.common.constant.HttpConstant;
-import org.openo.nfvo.resmanagement.common.constant.ParamConstant;
-import org.openo.nfvo.resmanagement.common.constant.UrlConstant;
-import org.openo.nfvo.resmanagement.common.util.JsonUtil;
-import org.openo.nfvo.resmanagement.common.util.request.RequestUtil;
-import org.openo.nfvo.resmanagement.common.util.response.ResponseUtil;
-import org.openo.nfvo.resmanagement.common.util.response.RoaResponseUtil;
-import org.openo.nfvo.resmanagement.service.base.openstack.inf.Location;
-import org.openo.nfvo.resmanagement.service.base.openstack.inf.Sites;
-import org.openo.nfvo.resmanagement.service.entity.LocationEntity;
-import org.openo.nfvo.resmanagement.service.entity.SitesEntity;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.rest;
+package org.onap.vfc.nfvo.res.service.rest;
import java.util.HashMap;
import java.util.List;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.MediaType;
+import org.onap.vfc.nfvo.res.common.constant.HttpConstant;
+import org.onap.vfc.nfvo.res.common.constant.ParamConstant;
+import org.onap.vfc.nfvo.res.common.constant.UrlConstant;
+import org.onap.vfc.nfvo.res.common.util.request.RequestUtil;
+import org.onap.vfc.nfvo.res.common.util.response.ResponseUtil;
+import org.onap.vfc.nfvo.res.common.util.response.RoaResponseUtil;
+import org.onap.vfc.nfvo.res.service.base.openstack.inf.Network;
+import org.onap.vfc.nfvo.res.service.entity.NetworkEntity;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.common.constant.HttpConstant;
-import org.openo.nfvo.resmanagement.common.constant.ParamConstant;
-import org.openo.nfvo.resmanagement.common.constant.UrlConstant;
-import org.openo.nfvo.resmanagement.common.util.request.RequestUtil;
-import org.openo.nfvo.resmanagement.common.util.response.ResponseUtil;
-import org.openo.nfvo.resmanagement.common.util.response.RoaResponseUtil;
-import org.openo.nfvo.resmanagement.service.base.openstack.inf.Network;
-import org.openo.nfvo.resmanagement.service.entity.NetworkEntity;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.rest;
+package org.onap.vfc.nfvo.res.service.rest;
import java.util.HashMap;
import java.util.List;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.MediaType;
+import org.onap.vfc.nfvo.res.common.constant.HttpConstant;
+import org.onap.vfc.nfvo.res.common.constant.ParamConstant;
+import org.onap.vfc.nfvo.res.common.constant.UrlConstant;
+import org.onap.vfc.nfvo.res.common.util.request.RequestUtil;
+import org.onap.vfc.nfvo.res.common.util.response.ResponseUtil;
+import org.onap.vfc.nfvo.res.common.util.response.RoaResponseUtil;
+import org.onap.vfc.nfvo.res.service.base.openstack.inf.Port;
+import org.onap.vfc.nfvo.res.service.entity.PortEntity;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.common.constant.HttpConstant;
-import org.openo.nfvo.resmanagement.common.constant.ParamConstant;
-import org.openo.nfvo.resmanagement.common.constant.UrlConstant;
-import org.openo.nfvo.resmanagement.common.util.request.RequestUtil;
-import org.openo.nfvo.resmanagement.common.util.response.ResponseUtil;
-import org.openo.nfvo.resmanagement.common.util.response.RoaResponseUtil;
-import org.openo.nfvo.resmanagement.service.base.openstack.inf.Port;
-import org.openo.nfvo.resmanagement.service.entity.PortEntity;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.rest;
+package org.onap.vfc.nfvo.res.service.rest;
import javax.servlet.http.HttpServletRequest;
import javax.ws.rs.Consumes;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.MediaType;
+import org.onap.vfc.nfvo.res.common.VimUtil;
+import org.onap.vfc.nfvo.res.common.constant.HttpConstant;
+import org.onap.vfc.nfvo.res.common.constant.ParamConstant;
+import org.onap.vfc.nfvo.res.common.constant.UrlConstant;
+import org.onap.vfc.nfvo.res.common.util.request.RequestUtil;
+import org.onap.vfc.nfvo.res.common.util.response.ResponseUtil;
+import org.onap.vfc.nfvo.res.common.util.response.RoaResponseUtil;
+import org.onap.vfc.nfvo.res.service.group.inf.ResOperateService;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.common.VimUtil;
-import org.openo.nfvo.resmanagement.common.constant.HttpConstant;
-import org.openo.nfvo.resmanagement.common.constant.ParamConstant;
-import org.openo.nfvo.resmanagement.common.constant.UrlConstant;
-import org.openo.nfvo.resmanagement.common.util.request.RequestUtil;
-import org.openo.nfvo.resmanagement.common.util.response.ResponseUtil;
-import org.openo.nfvo.resmanagement.common.util.response.RoaResponseUtil;
-import org.openo.nfvo.resmanagement.service.group.inf.ResOperateService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.rest;
+package org.onap.vfc.nfvo.res.service.rest;
import java.util.HashMap;
import java.util.List;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.MediaType;
+import org.onap.vfc.nfvo.res.common.VimUtil;
+import org.onap.vfc.nfvo.res.common.constant.HttpConstant;
+import org.onap.vfc.nfvo.res.common.constant.ParamConstant;
+import org.onap.vfc.nfvo.res.common.constant.UrlConstant;
+import org.onap.vfc.nfvo.res.common.util.request.RequestUtil;
+import org.onap.vfc.nfvo.res.common.util.response.ResponseUtil;
+import org.onap.vfc.nfvo.res.common.util.response.RoaResponseUtil;
+import org.onap.vfc.nfvo.res.service.base.openstack.inf.Sites;
+import org.onap.vfc.nfvo.res.service.entity.SitesEntity;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.common.VimUtil;
-import org.openo.nfvo.resmanagement.common.constant.HttpConstant;
-import org.openo.nfvo.resmanagement.common.constant.ParamConstant;
-import org.openo.nfvo.resmanagement.common.constant.UrlConstant;
-import org.openo.nfvo.resmanagement.common.util.request.RequestUtil;
-import org.openo.nfvo.resmanagement.common.util.response.ResponseUtil;
-import org.openo.nfvo.resmanagement.common.util.response.RoaResponseUtil;
-import org.openo.nfvo.resmanagement.service.base.openstack.inf.Sites;
-import org.openo.nfvo.resmanagement.service.entity.SitesEntity;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.rest;
+package org.onap.vfc.nfvo.res.service.rest;
import java.io.IOException;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.rest;
+package org.onap.vfc.nfvo.res.service.rest;
import java.util.HashMap;
import java.util.List;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.MediaType;
+import org.onap.vfc.nfvo.res.common.ResourceUtil;
+import org.onap.vfc.nfvo.res.common.constant.HttpConstant;
+import org.onap.vfc.nfvo.res.common.constant.ParamConstant;
+import org.onap.vfc.nfvo.res.common.constant.UrlConstant;
+import org.onap.vfc.nfvo.res.common.util.request.RequestUtil;
+import org.onap.vfc.nfvo.res.common.util.response.ResponseUtil;
+import org.onap.vfc.nfvo.res.common.util.response.RoaResponseUtil;
+import org.onap.vfc.nfvo.res.service.entity.VirtualLinkEntity;
+import org.onap.vfc.nfvo.res.service.group.inf.VirtualLinkService;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.common.ResourceUtil;
-import org.openo.nfvo.resmanagement.common.constant.HttpConstant;
-import org.openo.nfvo.resmanagement.common.constant.ParamConstant;
-import org.openo.nfvo.resmanagement.common.constant.UrlConstant;
-import org.openo.nfvo.resmanagement.common.util.request.RequestUtil;
-import org.openo.nfvo.resmanagement.common.util.response.ResponseUtil;
-import org.openo.nfvo.resmanagement.common.util.response.RoaResponseUtil;
-import org.openo.nfvo.resmanagement.service.entity.VirtualLinkEntity;
-import org.openo.nfvo.resmanagement.service.group.inf.VirtualLinkService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.rest;
+package org.onap.vfc.nfvo.res.service.rest;
import java.util.HashMap;
import java.util.List;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.MediaType;
+import org.onap.vfc.nfvo.res.common.ResourceUtil;
+import org.onap.vfc.nfvo.res.common.constant.HttpConstant;
+import org.onap.vfc.nfvo.res.common.constant.ParamConstant;
+import org.onap.vfc.nfvo.res.common.constant.UrlConstant;
+import org.onap.vfc.nfvo.res.common.util.request.RequestUtil;
+import org.onap.vfc.nfvo.res.common.util.response.ResponseUtil;
+import org.onap.vfc.nfvo.res.common.util.response.RoaResponseUtil;
+import org.onap.vfc.nfvo.res.service.entity.VmEntity;
+import org.onap.vfc.nfvo.res.service.group.inf.VmService;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.common.ResourceUtil;
-import org.openo.nfvo.resmanagement.common.constant.HttpConstant;
-import org.openo.nfvo.resmanagement.common.constant.ParamConstant;
-import org.openo.nfvo.resmanagement.common.constant.UrlConstant;
-import org.openo.nfvo.resmanagement.common.util.request.RequestUtil;
-import org.openo.nfvo.resmanagement.common.util.response.ResponseUtil;
-import org.openo.nfvo.resmanagement.common.util.response.RoaResponseUtil;
-import org.openo.nfvo.resmanagement.service.entity.VmEntity;
-import org.openo.nfvo.resmanagement.service.group.inf.VmService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.rest;
+package org.onap.vfc.nfvo.res.service.rest;
import java.util.HashMap;
import java.util.List;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.MediaType;
+import org.onap.vfc.nfvo.res.common.ResourceUtil;
+import org.onap.vfc.nfvo.res.common.constant.HttpConstant;
+import org.onap.vfc.nfvo.res.common.constant.ParamConstant;
+import org.onap.vfc.nfvo.res.common.constant.UrlConstant;
+import org.onap.vfc.nfvo.res.common.util.request.RequestUtil;
+import org.onap.vfc.nfvo.res.common.util.response.ResponseUtil;
+import org.onap.vfc.nfvo.res.common.util.response.RoaResponseUtil;
+import org.onap.vfc.nfvo.res.service.entity.VnfInfoEntity;
+import org.onap.vfc.nfvo.res.service.group.inf.VnfInfoService;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.common.ResourceUtil;
-import org.openo.nfvo.resmanagement.common.constant.HttpConstant;
-import org.openo.nfvo.resmanagement.common.constant.ParamConstant;
-import org.openo.nfvo.resmanagement.common.constant.UrlConstant;
-import org.openo.nfvo.resmanagement.common.util.request.RequestUtil;
-import org.openo.nfvo.resmanagement.common.util.response.ResponseUtil;
-import org.openo.nfvo.resmanagement.common.util.response.RoaResponseUtil;
-import org.openo.nfvo.resmanagement.service.entity.VnfInfoEntity;
-import org.openo.nfvo.resmanagement.service.group.inf.VnfInfoService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.rest;
+package org.onap.vfc.nfvo.res.service.rest;
import java.util.HashMap;
import java.util.List;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.MediaType;
+import org.onap.vfc.nfvo.res.common.ResourceUtil;
+import org.onap.vfc.nfvo.res.common.constant.HttpConstant;
+import org.onap.vfc.nfvo.res.common.constant.ParamConstant;
+import org.onap.vfc.nfvo.res.common.constant.UrlConstant;
+import org.onap.vfc.nfvo.res.common.util.request.RequestUtil;
+import org.onap.vfc.nfvo.res.common.util.response.ResponseUtil;
+import org.onap.vfc.nfvo.res.common.util.response.RoaResponseUtil;
+import org.onap.vfc.nfvo.res.service.entity.VnfEntity;
+import org.onap.vfc.nfvo.res.service.group.inf.VnfService;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.common.ResourceUtil;
-import org.openo.nfvo.resmanagement.common.constant.HttpConstant;
-import org.openo.nfvo.resmanagement.common.constant.ParamConstant;
-import org.openo.nfvo.resmanagement.common.constant.UrlConstant;
-import org.openo.nfvo.resmanagement.common.util.request.RequestUtil;
-import org.openo.nfvo.resmanagement.common.util.response.ResponseUtil;
-import org.openo.nfvo.resmanagement.common.util.response.RoaResponseUtil;
-import org.openo.nfvo.resmanagement.service.entity.VnfEntity;
-import org.openo.nfvo.resmanagement.service.group.inf.VnfService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.rest;
+package org.onap.vfc.nfvo.res.service.rest;
import java.util.HashMap;
import java.util.List;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.MediaType;
+import org.onap.vfc.nfvo.res.common.ResourceUtil;
+import org.onap.vfc.nfvo.res.common.constant.HttpConstant;
+import org.onap.vfc.nfvo.res.common.constant.ParamConstant;
+import org.onap.vfc.nfvo.res.common.constant.UrlConstant;
+import org.onap.vfc.nfvo.res.common.util.request.RequestUtil;
+import org.onap.vfc.nfvo.res.common.util.response.ResponseUtil;
+import org.onap.vfc.nfvo.res.common.util.response.RoaResponseUtil;
+import org.onap.vfc.nfvo.res.service.entity.VnfStatusEntity;
+import org.onap.vfc.nfvo.res.service.group.inf.VnfStatusService;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.common.ResourceUtil;
-import org.openo.nfvo.resmanagement.common.constant.HttpConstant;
-import org.openo.nfvo.resmanagement.common.constant.ParamConstant;
-import org.openo.nfvo.resmanagement.common.constant.UrlConstant;
-import org.openo.nfvo.resmanagement.common.util.request.RequestUtil;
-import org.openo.nfvo.resmanagement.common.util.response.ResponseUtil;
-import org.openo.nfvo.resmanagement.common.util.response.RoaResponseUtil;
-import org.openo.nfvo.resmanagement.service.entity.VnfStatusEntity;
-import org.openo.nfvo.resmanagement.service.group.inf.VnfStatusService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.rest.exceptionmapper;
+package org.onap.vfc.nfvo.res.service.rest.exceptionmapper;
import org.apache.http.HttpStatus;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.rest.exceptionmapper;
+package org.onap.vfc.nfvo.res.service.rest.exceptionmapper;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.rest.exceptionmapper;
+package org.onap.vfc.nfvo.res.service.rest.exceptionmapper;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
-->
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
-<mapper namespace="org.openo.nfvo.resmanagement.service.mapper.HostMapper">
+<mapper namespace="org.onap.vfc.nfvo.res.service.mapper.HostMapper">
<resultMap id="BaseResultMap"
- type="org.openo.nfvo.resmanagement.service.entity.HostEntity">
+ type="org.onap.vfc.nfvo.res.service.entity.HostEntity">
<id column="ID" property="id" jdbcType="VARCHAR" />
<result column="NAME" property="name" jdbcType="VARCHAR" />
<result column="CPU" property="cpu" jdbcType="VARCHAR" />
where VIM_ID = #{vimId,jdbcType=VARCHAR}
</delete>
<insert id="addHost"
- parameterType="org.openo.nfvo.resmanagement.service.entity.HostEntity">
+ parameterType="org.onap.vfc.nfvo.res.service.entity.HostEntity">
insert into host (ID, NAME, CPU, MEMORY, DISK, VIM_ID, VIM_NAME)
values (#{id,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR},
#{cpu,jdbcType=VARCHAR},
, #{vimName,jdbcType=VARCHAR})
</insert>
<insert id="addHostSelective"
- parameterType="org.openo.nfvo.resmanagement.service.entity.HostEntity">
+ parameterType="org.onap.vfc.nfvo.res.service.entity.HostEntity">
insert into host
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null">
</trim>
</insert>
<update id="updateHostSelective"
- parameterType="org.openo.nfvo.resmanagement.service.entity.HostEntity">
+ parameterType="org.onap.vfc.nfvo.res.service.entity.HostEntity">
update host
<set>
<if test="name != null">
</where>
</update>
<update id="updateHost"
- parameterType="org.openo.nfvo.resmanagement.service.entity.HostEntity">
+ parameterType="org.onap.vfc.nfvo.res.service.entity.HostEntity">
update host
set NAME = #{name,jdbcType=VARCHAR},
CPU = #{cpu,jdbcType=VARCHAR},
where ID = #{id,jdbcType=VARCHAR}
</update>
<update id="updateHostByVimId"
- parameterType="org.openo.nfvo.resmanagement.service.entity.HostEntity">
+ parameterType="org.onap.vfc.nfvo.res.service.entity.HostEntity">
update host
<set>
<if test="id != null">
-->
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
-<mapper namespace="org.openo.nfvo.resmanagement.service.mapper.LocationMapper">
+<mapper namespace="org.onap.vfc.nfvo.res.service.mapper.LocationMapper">
<resultMap id="BaseResultMap"
- type="org.openo.nfvo.resmanagement.service.entity.LocationEntity">
+ type="org.onap.vfc.nfvo.res.service.entity.LocationEntity">
<id column="ID" property="id" jdbcType="VARCHAR" />
<result column="COUNTRY" property="country" jdbcType="VARCHAR" />
where ID = #{id,jdbcType=VARCHAR}
</delete>
<insert id="addLocation"
- parameterType="org.openo.nfvo.resmanagement.service.entity.LocationEntity">
+ parameterType="org.onap.vfc.nfvo.res.service.entity.LocationEntity">
insert into location (ID, COUNTRY, LOCATION,
LATITUDE, LONGITUDE, DESCRIPTION)
#{latitude,jdbcType=VARCHAR}, #{longitude,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR})
</insert>
<insert id="addLocationSelective"
- parameterType="org.openo.nfvo.resmanagement.service.entity.LocationEntity">
+ parameterType="org.onap.vfc.nfvo.res.service.entity.LocationEntity">
insert into location
<trim prefix="(" suffix=")" suffixOverrides=",">
</trim>
</insert>
<update id="updateLocationSelective"
- parameterType="org.openo.nfvo.resmanagement.service.entity.LocationEntity">
+ parameterType="org.onap.vfc.nfvo.res.service.entity.LocationEntity">
update location
<set>
where ID = #{id,jdbcType=VARCHAR}
</update>
<update id="updateLocation"
- parameterType="org.openo.nfvo.resmanagement.service.entity.LocationEntity">
+ parameterType="org.onap.vfc.nfvo.res.service.entity.LocationEntity">
update location
set COUNTRY = #{country,jdbcType=VARCHAR},
-->
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
-<mapper namespace="org.openo.nfvo.resmanagement.service.mapper.NetworkMapper">
+<mapper namespace="org.onap.vfc.nfvo.res.service.mapper.NetworkMapper">
<resultMap id="BaseResultMap"
- type="org.openo.nfvo.resmanagement.service.entity.NetworkEntity">
+ type="org.onap.vfc.nfvo.res.service.entity.NetworkEntity">
<id column="ID" property="id" jdbcType="VARCHAR" />
<result column="NAME" property="name" jdbcType="VARCHAR" />
<result column="TENANT_ID" property="tenantId" jdbcType="VARCHAR" />
where VIM_ID = #{vimId,jdbcType=VARCHAR}
</delete>
<insert id="addNetwork"
- parameterType="org.openo.nfvo.resmanagement.service.entity.NetworkEntity">
+ parameterType="org.onap.vfc.nfvo.res.service.entity.NetworkEntity">
insert into network (ID, NAME, TENANT_ID,
VIM_ID, VIM_NAME, STATUS,
PHYSICAL_NETWORK, NETWORK_TYPE, SEGMENTATION_ID
)
</insert>
<insert id="addNetworkSelective"
- parameterType="org.openo.nfvo.resmanagement.service.entity.NetworkEntity">
+ parameterType="org.onap.vfc.nfvo.res.service.entity.NetworkEntity">
insert into network
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null">
</trim>
</insert>
<update id="updateNetworkSelective"
- parameterType="org.openo.nfvo.resmanagement.service.entity.NetworkEntity">
+ parameterType="org.onap.vfc.nfvo.res.service.entity.NetworkEntity">
update network
<set>
<if test="name != null">
where ID = #{id,jdbcType=VARCHAR}
</update>
<update id="updateNetwork"
- parameterType="org.openo.nfvo.resmanagement.service.entity.NetworkEntity">
+ parameterType="org.onap.vfc.nfvo.res.service.entity.NetworkEntity">
update network
set NAME = #{name,jdbcType=VARCHAR},
TENANT_ID = #{tenantId,jdbcType=VARCHAR},
where ID = #{id,jdbcType=VARCHAR}
</update>
<update id="updateNetworkByVimId"
- parameterType="org.openo.nfvo.resmanagement.service.entity.NetworkEntity">
+ parameterType="org.onap.vfc.nfvo.res.service.entity.NetworkEntity">
update network
<set>
<if test="id != null">
-->
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
-<mapper namespace="org.openo.nfvo.resmanagement.service.mapper.PortMapper">
+<mapper namespace="org.onap.vfc.nfvo.res.service.mapper.PortMapper">
<resultMap id="BaseResultMap"
- type="org.openo.nfvo.resmanagement.service.entity.PortEntity">
+ type="org.onap.vfc.nfvo.res.service.entity.PortEntity">
<id column="ID" property="id" jdbcType="VARCHAR" />
<result column="NAME" property="name" jdbcType="VARCHAR" />
<result column="NWTWORK_ID" property="networkId" jdbcType="VARCHAR" />
where VIM_ID = #{vimId,jdbcType=VARCHAR}
</delete>
<insert id="addPort"
- parameterType="org.openo.nfvo.resmanagement.service.entity.PortEntity">
+ parameterType="org.onap.vfc.nfvo.res.service.entity.PortEntity">
insert into port (ID, NAME, NWTWORK_ID, STATUS, TENANT_ID, VIM_ID,
VIM_NAME)
values (#{id,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR},
, #{vimName,jdbcType=VARCHAR})
</insert>
<insert id="addPortSelective"
- parameterType="org.openo.nfvo.resmanagement.service.entity.PortEntity">
+ parameterType="org.onap.vfc.nfvo.res.service.entity.PortEntity">
insert into port
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null">
</trim>
</insert>
<update id="updatePortSelective"
- parameterType="org.openo.nfvo.resmanagement.service.entity.PortEntity">
+ parameterType="org.onap.vfc.nfvo.res.service.entity.PortEntity">
update port
<set>
<if test="name != null">
where ID = #{id,jdbcType=VARCHAR}
</update>
<update id="updatePort"
- parameterType="org.openo.nfvo.resmanagement.service.entity.PortEntity">
+ parameterType="org.onap.vfc.nfvo.res.service.entity.PortEntity">
update port
set NAME = #{name,jdbcType=VARCHAR},
NWTWORK_ID = #{networkId,jdbcType=VARCHAR},
where ID = #{id,jdbcType=VARCHAR}
</update>
<update id="updatePortByVimId"
- parameterType="org.openo.nfvo.resmanagement.service.entity.PortEntity">
+ parameterType="org.onap.vfc.nfvo.res.service.entity.PortEntity">
update port
<set>
<if test="id != null">
-->
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
-<mapper namespace="org.openo.nfvo.resmanagement.service.mapper.SitesMapper">
+<mapper namespace="org.onap.vfc.nfvo.res.service.mapper.SitesMapper">
<resultMap id="BaseResultMap"
- type="org.openo.nfvo.resmanagement.service.entity.SitesEntity">
+ type="org.onap.vfc.nfvo.res.service.entity.SitesEntity">
<id column="ID" property="id" jdbcType="VARCHAR" />
<result column="NAME" property="name" jdbcType="VARCHAR" />
<result column="LOCATION" property="location" jdbcType="VARCHAR" />
#{id,jdbcType=VARCHAR}
</delete>
<insert id="addSite"
- parameterType="org.openo.nfvo.resmanagement.service.entity.SitesEntity">
+ parameterType="org.onap.vfc.nfvo.res.service.entity.SitesEntity">
insert into site (ID, NAME, LOCATION,
COUNTRY, VIM_ID,
VIM_NAME, STATUS,TOTAL_CPU, TOTAL_MEMORY, TOTAL_DISK,
#{usedDisk,jdbcType=VARCHAR})
</insert>
<insert id="addSiteSelective"
- parameterType="org.openo.nfvo.resmanagement.service.entity.SitesEntity">
+ parameterType="org.onap.vfc.nfvo.res.service.entity.SitesEntity">
insert into site
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null">
</trim>
</insert>
<update id="updateSiteSelective"
- parameterType="org.openo.nfvo.resmanagement.service.entity.SitesEntity">
+ parameterType="org.onap.vfc.nfvo.res.service.entity.SitesEntity">
update site
<set>
<if test="name != null">
where ID = #{id,jdbcType=VARCHAR}
</update>
<update id="updateSite"
- parameterType="org.openo.nfvo.resmanagement.service.entity.SitesEntity">
+ parameterType="org.onap.vfc.nfvo.res.service.entity.SitesEntity">
update site
set NAME = #{name,jdbcType=VARCHAR},
LOCATION
where ID = #{id,jdbcType=VARCHAR}
</update>
<update id="updateSiteByVimId"
- parameterType="org.openo.nfvo.resmanagement.service.entity.SitesEntity">
+ parameterType="org.onap.vfc.nfvo.res.service.entity.SitesEntity">
update site
<set>
<if test="id != null">
-->
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
-<mapper namespace="org.openo.nfvo.resmanagement.service.mapper.VimMapper">
+<mapper namespace="org.onap.vfc.nfvo.res.service.mapper.VimMapper">
<resultMap id="BaseResultMap"
- type="org.openo.nfvo.resmanagement.service.entity.VimEntity">
+ type="org.onap.vfc.nfvo.res.service.entity.VimEntity">
<id column="ID" property="id" jdbcType="VARCHAR" />
</resultMap>
<sql id="Base_Column_List">
where ID = #{id,jdbcType=VARCHAR}
</delete>
<insert id="addVim"
- parameterType="org.openo.nfvo.resmanagement.service.entity.VimEntity">
+ parameterType="org.onap.vfc.nfvo.res.service.entity.VimEntity">
insert into vim (ID)
values (#{id,jdbcType=VARCHAR})
</insert>
limitations under the License.
-->
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
-<mapper namespace="org.openo.nfvo.resmanagement.service.mapper.VirtualLinkMapper" >
- <resultMap id="BaseResultMap" type="org.openo.nfvo.resmanagement.service.entity.VirtualLinkEntity" >
+<mapper namespace="org.onap.vfc.nfvo.res.service.mapper.VirtualLinkMapper" >
+ <resultMap id="BaseResultMap" type="org.onap.vfc.nfvo.res.service.entity.VirtualLinkEntity" >
<id column="id" property="id" jdbcType="VARCHAR" />
<result column="name" property="name" jdbcType="VARCHAR" />
<result column="backend_id" property="backendId" jdbcType="VARCHAR" />
delete from vl
where id = #{id,jdbcType=VARCHAR}
</delete>
- <insert id="insert" parameterType="org.openo.nfvo.resmanagement.service.entity.VirtualLinkEntity" >
+ <insert id="insert" parameterType="org.onap.vfc.nfvo.res.service.entity.VirtualLinkEntity" >
insert into vl (id, name, backend_id,
is_public, dc_name, vim_id,
vim_name, physicial_net, ns_id,
#{routerExternal,jdbcType=VARCHAR}, #{resourceProviderType,jdbcType=VARCHAR}, #{resourceProviderId,jdbcType=VARCHAR}
)
</insert>
- <insert id="insertSelective" parameterType="org.openo.nfvo.resmanagement.service.entity.VirtualLinkEntity" >
+ <insert id="insertSelective" parameterType="org.onap.vfc.nfvo.res.service.entity.VirtualLinkEntity" >
insert into vl
<trim prefix="(" suffix=")" suffixOverrides="," >
<if test="id != null" >
</if>
</trim>
</insert>
- <update id="updateByPrimaryKeySelective" parameterType="org.openo.nfvo.resmanagement.service.entity.VirtualLinkEntity" >
+ <update id="updateByPrimaryKeySelective" parameterType="org.onap.vfc.nfvo.res.service.entity.VirtualLinkEntity" >
update vl
<set >
<if test="name != null" >
</set>
where id = #{id,jdbcType=VARCHAR}
</update>
- <update id="updateByPrimaryKey" parameterType="org.openo.nfvo.resmanagement.service.entity.VirtualLinkEntity" >
+ <update id="updateByPrimaryKey" parameterType="org.onap.vfc.nfvo.res.service.entity.VirtualLinkEntity" >
update vl
set name = #{name,jdbcType=VARCHAR},
backend_id = #{backendId,jdbcType=VARCHAR},
limitations under the License.
-->
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
-<mapper namespace="org.openo.nfvo.resmanagement.service.mapper.VmMapper" >
- <resultMap id="BaseResultMap" type="org.openo.nfvo.resmanagement.service.entity.VmEntity" >
+<mapper namespace="org.onap.vfc.nfvo.res.service.mapper.VmMapper" >
+ <resultMap id="BaseResultMap" type="org.onap.vfc.nfvo.res.service.entity.VmEntity" >
<id column="vm_id" property="vmId" jdbcType="VARCHAR" />
<result column="vm_name" property="vmName" jdbcType="VARCHAR" />
<result column="vm_status" property="vmStatus" jdbcType="VARCHAR" />
delete from vm
where vnf_instance_id = #{vnfInstanceId,jdbcType=VARCHAR}
</delete>
- <insert id="insert" parameterType="org.openo.nfvo.resmanagement.service.entity.VmEntity" >
+ <insert id="insert" parameterType="org.onap.vfc.nfvo.res.service.entity.VmEntity" >
insert into vm (vm_id, vm_name, vm_status,
vnf_instance_id)
values (#{vmId,jdbcType=VARCHAR}, #{vmName,jdbcType=VARCHAR}, #{vmStatus,jdbcType=VARCHAR},
#{vnfInstanceId,jdbcType=VARCHAR})
</insert>
- <insert id="insertSelective" parameterType="org.openo.nfvo.resmanagement.service.entity.VmEntity" >
+ <insert id="insertSelective" parameterType="org.onap.vfc.nfvo.res.service.entity.VmEntity" >
insert into vm
<trim prefix="(" suffix=")" suffixOverrides="," >
<if test="vmId != null" >
</if>
</trim>
</insert>
- <update id="updateByPrimaryKeySelective" parameterType="org.openo.nfvo.resmanagement.service.entity.VmEntity" >
+ <update id="updateByPrimaryKeySelective" parameterType="org.onap.vfc.nfvo.res.service.entity.VmEntity" >
update vm
<set >
<if test="vmName != null" >
</set>
where vm_id = #{vmId,jdbcType=VARCHAR}
</update>
- <update id="updateByPrimaryKey" parameterType="org.openo.nfvo.resmanagement.service.entity.VmEntity" >
+ <update id="updateByPrimaryKey" parameterType="org.onap.vfc.nfvo.res.service.entity.VmEntity" >
update vm
set vm_name = #{vmName,jdbcType=VARCHAR},
vm_status = #{vmStatus,jdbcType=VARCHAR},
limitations under the License.
-->
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
-<mapper namespace="org.openo.nfvo.resmanagement.service.mapper.VnfInfoMapper" >
- <resultMap id="BaseResultMap" type="org.openo.nfvo.resmanagement.service.entity.VnfInfoEntity" >
+<mapper namespace="org.onap.vfc.nfvo.res.service.mapper.VnfInfoMapper" >
+ <resultMap id="BaseResultMap" type="org.onap.vfc.nfvo.res.service.entity.VnfInfoEntity" >
<id column="vnf_instance_id" property="vnfInstanceId" jdbcType="VARCHAR" />
<result column="ns_id" property="nsId" jdbcType="VARCHAR" />
<result column="vnfm_id" property="vnfmId" jdbcType="VARCHAR" />
delete from vnfinfo
where vnf_instance_id = #{vnfInstanceId,jdbcType=VARCHAR}
</delete>
- <insert id="insert" parameterType="org.openo.nfvo.resmanagement.service.entity.VnfInfoEntity" >
+ <insert id="insert" parameterType="org.onap.vfc.nfvo.res.service.entity.VnfInfoEntity" >
insert into vnfinfo (vnf_instance_id, ns_id, vnfm_id
)
values (#{vnfInstanceId,jdbcType=VARCHAR}, #{nsId,jdbcType=VARCHAR}, #{vnfmId,jdbcType=VARCHAR}
)
</insert>
- <insert id="insertSelective" parameterType="org.openo.nfvo.resmanagement.service.entity.VnfInfoEntity" >
+ <insert id="insertSelective" parameterType="org.onap.vfc.nfvo.res.service.entity.VnfInfoEntity" >
insert into vnfinfo
<trim prefix="(" suffix=")" suffixOverrides="," >
<if test="vnfInstanceId != null" >
</if>
</trim>
</insert>
- <update id="updateByPrimaryKeySelective" parameterType="org.openo.nfvo.resmanagement.service.entity.VnfInfoEntity" >
+ <update id="updateByPrimaryKeySelective" parameterType="org.onap.vfc.nfvo.res.service.entity.VnfInfoEntity" >
update vnfinfo
<set >
<if test="nsId != null" >
</set>
where vnf_instance_id = #{vnfInstanceId,jdbcType=VARCHAR}
</update>
- <update id="updateByPrimaryKey" parameterType="org.openo.nfvo.resmanagement.service.entity.VnfInfoEntity" >
+ <update id="updateByPrimaryKey" parameterType="org.onap.vfc.nfvo.res.service.entity.VnfInfoEntity" >
update vnfinfo
set ns_id = #{nsId,jdbcType=VARCHAR},
vnfm_id = #{vnfmId,jdbcType=VARCHAR}
limitations under the License.
-->
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
-<mapper namespace="org.openo.nfvo.resmanagement.service.mapper.VnfMapper" >
- <resultMap id="BaseResultMap" type="org.openo.nfvo.resmanagement.service.entity.VnfEntity" >
+<mapper namespace="org.onap.vfc.nfvo.res.service.mapper.VnfMapper" >
+ <resultMap id="BaseResultMap" type="org.onap.vfc.nfvo.res.service.entity.VnfEntity" >
<id column="id" property="id" jdbcType="VARCHAR" />
<result column="vnf_instance_id" property="vnfInstanceId" jdbcType="VARCHAR" />
<result column="vnf_instance_name" property="vnfInstanceName" jdbcType="VARCHAR" />
delete from vnf
where vnf_instance_id = #{vnfInstanceId,jdbcType=VARCHAR}
</delete>
- <insert id="insert" parameterType="org.openo.nfvo.resmanagement.service.entity.VnfEntity" >
+ <insert id="insert" parameterType="org.onap.vfc.nfvo.res.service.entity.VnfEntity" >
insert into vnf (id, vnf_instance_id, vnf_instance_name,
ns_id, ns_name, vnfm_id,
vnfm_name, vnf_package_name, vnf_descriptor_name,
#{maxRam,jdbcType=INTEGER}, #{maxShd,jdbcType=INTEGER}, #{maxNet,jdbcType=INTEGER},
#{name,jdbcType=VARCHAR})
</insert>
- <insert id="insertSelective" parameterType="org.openo.nfvo.resmanagement.service.entity.VnfEntity" >
+ <insert id="insertSelective" parameterType="org.onap.vfc.nfvo.res.service.entity.VnfEntity" >
insert into vnf
<trim prefix="(" suffix=")" suffixOverrides="," >
<if test="id != null" >
</if>
</trim>
</insert>
- <update id="updateByPrimaryKeySelective" parameterType="org.openo.nfvo.resmanagement.service.entity.VnfEntity" >
+ <update id="updateByPrimaryKeySelective" parameterType="org.onap.vfc.nfvo.res.service.entity.VnfEntity" >
update vnf
<set >
<if test="vnfInstanceId != null" >
</set>
where id = #{id,jdbcType=VARCHAR}
</update>
- <update id="updateByPrimaryKey" parameterType="org.openo.nfvo.resmanagement.service.entity.VnfEntity" >
+ <update id="updateByPrimaryKey" parameterType="org.onap.vfc.nfvo.res.service.entity.VnfEntity" >
update vnf
set vnf_instance_id = #{vnfInstanceId,jdbcType=VARCHAR},
vnf_instance_name = #{vnfInstanceName,jdbcType=VARCHAR},
limitations under the License.
-->
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
-<mapper namespace="org.openo.nfvo.resmanagement.service.mapper.VnfStatusMapper" >
- <resultMap id="BaseResultMap" type="org.openo.nfvo.resmanagement.service.entity.VnfStatusEntity" >
+<mapper namespace="org.onap.vfc.nfvo.res.service.mapper.VnfStatusMapper" >
+ <resultMap id="BaseResultMap" type="org.onap.vfc.nfvo.res.service.entity.VnfStatusEntity" >
<id column="vnf_instance_id" property="vnfInstanceId" jdbcType="VARCHAR" />
<result column="job_id" property="jobId" jdbcType="VARCHAR" />
<result column="ns_id" property="nsId" jdbcType="VARCHAR" />
delete from vnfstatus
where vnf_instance_id = #{vnfInstanceId,jdbcType=VARCHAR}
</delete>
- <insert id="insert" parameterType="org.openo.nfvo.resmanagement.service.entity.VnfStatusEntity" >
+ <insert id="insert" parameterType="org.onap.vfc.nfvo.res.service.entity.VnfStatusEntity" >
insert into vnfstatus (vnf_instance_id, job_id, ns_id,
vnfm_id, response_descriptor, status,
progress, status_description, error_code,
#{responseId,jdbcType=VARCHAR}, #{responseHistoryList,jdbcType=VARCHAR}, #{addVm,jdbcType=VARCHAR},
#{delVm,jdbcType=VARCHAR})
</insert>
- <insert id="insertSelective" parameterType="org.openo.nfvo.resmanagement.service.entity.VnfStatusEntity" >
+ <insert id="insertSelective" parameterType="org.onap.vfc.nfvo.res.service.entity.VnfStatusEntity" >
insert into vnfstatus
<trim prefix="(" suffix=")" suffixOverrides="," >
<if test="vnfInstanceId != null" >
</if>
</trim>
</insert>
- <update id="updateByPrimaryKeySelective" parameterType="org.openo.nfvo.resmanagement.service.entity.VnfStatusEntity" >
+ <update id="updateByPrimaryKeySelective" parameterType="org.onap.vfc.nfvo.res.service.entity.VnfStatusEntity" >
update vnfstatus
<set >
<if test="jobId != null" >
</set>
where vnf_instance_id = #{vnfInstanceId,jdbcType=VARCHAR}
</update>
- <update id="updateByPrimaryKey" parameterType="org.openo.nfvo.resmanagement.service.entity.VnfStatusEntity" >
+ <update id="updateByPrimaryKey" parameterType="org.onap.vfc.nfvo.res.service.entity.VnfStatusEntity" >
update vnfstatus
set job_id = #{jobId,jdbcType=VARCHAR},
ns_id = #{nsId,jdbcType=VARCHAR},
<!--location -->
<bean id="locationDao"
- class="org.openo.nfvo.resmanagement.service.dao.impl.LocationDaoImpl">
+ class="org.onap.vfc.nfvo.res.service.dao.impl.LocationDaoImpl">
<property name="session" ref="session"></property>
</bean>
<bean id="locationBusiness"
- class="org.openo.nfvo.resmanagement.service.business.impl.LocationBusinessImpl">
+ class="org.onap.vfc.nfvo.res.service.business.impl.LocationBusinessImpl">
<property name="locationDao" ref="locationDao"></property>
</bean>
<bean id="location"
- class="org.openo.nfvo.resmanagement.service.base.openstack.impl.LocationImpl">
+ class="org.onap.vfc.nfvo.res.service.base.openstack.impl.LocationImpl">
<property name="locationBusiness" ref="locationBusiness"></property>
</bean>
- <bean id="locationRoa" class="org.openo.nfvo.resmanagement.service.rest.LocationRoa">
+ <bean id="locationRoa" class="org.onap.vfc.nfvo.res.service.rest.LocationRoa">
<property name="location" ref="location"></property>
<property name="sites" ref="sites"></property>
</bean>
<!--port -->
<bean id="portDao"
- class="org.openo.nfvo.resmanagement.service.dao.impl.PortDaoImpl">
+ class="org.onap.vfc.nfvo.res.service.dao.impl.PortDaoImpl">
<property name="session" ref="session"></property>
</bean>
<bean id="portBusiness"
- class="org.openo.nfvo.resmanagement.service.business.impl.PortBusinessImpl">
+ class="org.onap.vfc.nfvo.res.service.business.impl.PortBusinessImpl">
<property name="portDao" ref="portDao"></property>
</bean>
<bean id="port"
- class="org.openo.nfvo.resmanagement.service.base.openstack.impl.PortImpl">
+ class="org.onap.vfc.nfvo.res.service.base.openstack.impl.PortImpl">
<property name="portBusiness" ref="portBusiness"></property>
</bean>
- <bean id="portRoa" class="org.openo.nfvo.resmanagement.service.rest.PortRoa">
+ <bean id="portRoa" class="org.onap.vfc.nfvo.res.service.rest.PortRoa">
<property name="port" ref="port"></property>
</bean>
<!--host -->
<bean id="hostDao"
- class="org.openo.nfvo.resmanagement.service.dao.impl.HostDaoImpl">
+ class="org.onap.vfc.nfvo.res.service.dao.impl.HostDaoImpl">
<property name="session" ref="session"></property>
</bean>
<bean id="hostBusiness"
- class="org.openo.nfvo.resmanagement.service.business.impl.HostBusinessImpl">
+ class="org.onap.vfc.nfvo.res.service.business.impl.HostBusinessImpl">
<property name="hostDao" ref="hostDao"></property>
</bean>
<bean id="host"
- class="org.openo.nfvo.resmanagement.service.base.openstack.impl.HostImpl">
+ class="org.onap.vfc.nfvo.res.service.base.openstack.impl.HostImpl">
<property name="hostBusiness" ref="hostBusiness"></property>
</bean>
- <bean id="hostRoa" class="org.openo.nfvo.resmanagement.service.rest.HostRoa">
+ <bean id="hostRoa" class="org.onap.vfc.nfvo.res.service.rest.HostRoa">
<property name="host" ref="host"></property>
</bean>
<!--network -->
<bean id="networkDao"
- class="org.openo.nfvo.resmanagement.service.dao.impl.NetworkDaoImpl">
+ class="org.onap.vfc.nfvo.res.service.dao.impl.NetworkDaoImpl">
<property name="session" ref="session"></property>
</bean>
<bean id="networkBusiness"
- class="org.openo.nfvo.resmanagement.service.business.impl.NetworkBusinessImpl">
+ class="org.onap.vfc.nfvo.res.service.business.impl.NetworkBusinessImpl">
<property name="networkDao" ref="networkDao"></property>
</bean>
<bean id="network"
- class="org.openo.nfvo.resmanagement.service.base.openstack.impl.NetworkImpl">
+ class="org.onap.vfc.nfvo.res.service.base.openstack.impl.NetworkImpl">
<property name="networkBusiness" ref="networkBusiness"></property>
</bean>
- <bean id="networkRoa" class="org.openo.nfvo.resmanagement.service.rest.NetworkRoa">
+ <bean id="networkRoa" class="org.onap.vfc.nfvo.res.service.rest.NetworkRoa">
<property name="network" ref="network"></property>
</bean>
<!--sites -->
<bean id="sitesDao"
- class="org.openo.nfvo.resmanagement.service.dao.impl.SitesDaoImpl">
+ class="org.onap.vfc.nfvo.res.service.dao.impl.SitesDaoImpl">
<property name="session" ref="session"></property>
</bean>
<bean id="sitesBusiness"
- class="org.openo.nfvo.resmanagement.service.business.impl.SitesBusinessImpl">
+ class="org.onap.vfc.nfvo.res.service.business.impl.SitesBusinessImpl">
<property name="sitesDao" ref="sitesDao"></property>
</bean>
<bean id="sites"
- class="org.openo.nfvo.resmanagement.service.base.openstack.impl.SitesImpl">
+ class="org.onap.vfc.nfvo.res.service.base.openstack.impl.SitesImpl">
<property name="sitesBusiness" ref="sitesBusiness"></property>
<property name="limitsBusiness" ref="limitsBusiness"></property>
<property name="resOperateService" ref="resOperateService"></property>
</bean>
- <bean id="sitesRoa" class="org.openo.nfvo.resmanagement.service.rest.SitesRoa">
+ <bean id="sitesRoa" class="org.onap.vfc.nfvo.res.service.rest.SitesRoa">
<property name="sites" ref="sites"></property>
</bean>
<!--vim -->
<bean id="vimDao"
- class="org.openo.nfvo.resmanagement.service.dao.impl.VimDaoImpl">
+ class="org.onap.vfc.nfvo.res.service.dao.impl.VimDaoImpl">
<property name="session" ref="session"></property>
</bean>
<bean id="vimBusiness"
- class="org.openo.nfvo.resmanagement.service.business.impl.VimBusinessImpl">
+ class="org.onap.vfc.nfvo.res.service.business.impl.VimBusinessImpl">
<property name="vimDao" ref="vimDao"></property>
</bean>
<bean id="vim"
- class="org.openo.nfvo.resmanagement.service.base.openstack.impl.VimImpl">
+ class="org.onap.vfc.nfvo.res.service.base.openstack.impl.VimImpl">
<property name="vimBusiness" ref="vimBusiness"></property>
</bean>
<!-- limits -->
<bean id="limitsBusiness"
- class="org.openo.nfvo.resmanagement.service.business.impl.LimitsBusinessImpl">
+ class="org.onap.vfc.nfvo.res.service.business.impl.LimitsBusinessImpl">
</bean>
- <bean id="limitsRoa" class="org.openo.nfvo.resmanagement.service.rest.LimitsRoa">
+ <bean id="limitsRoa" class="org.onap.vfc.nfvo.res.service.rest.LimitsRoa">
<property name="limitsBusiness" ref="limitsBusiness"></property>
</bean>
<!-- vl -->
<bean id="virtualLinkDao"
- class="org.openo.nfvo.resmanagement.service.dao.impl.VirtualLinkDaoImpl">
+ class="org.onap.vfc.nfvo.res.service.dao.impl.VirtualLinkDaoImpl">
<property name="session" ref="session"></property>
</bean>
<bean id="virtualLink"
- class="org.openo.nfvo.resmanagement.service.group.impl.VirtualLinkServiceImpl">
+ class="org.onap.vfc.nfvo.res.service.group.impl.VirtualLinkServiceImpl">
<property name="virtualLinkDao" ref="virtualLinkDao"></property>
</bean>
- <bean id="virtualLinkRoa" class="org.openo.nfvo.resmanagement.service.rest.VirtualLinkRoa">
+ <bean id="virtualLinkRoa" class="org.onap.vfc.nfvo.res.service.rest.VirtualLinkRoa">
<property name="virtualLink" ref="virtualLink"></property>
</bean>
<!-- vnf -->
<bean id="vnfDao"
- class="org.openo.nfvo.resmanagement.service.dao.impl.VnfDaoImpl">
+ class="org.onap.vfc.nfvo.res.service.dao.impl.VnfDaoImpl">
<property name="session" ref="session"></property>
</bean>
<bean id="vnfService"
- class="org.openo.nfvo.resmanagement.service.group.impl.VnfServiceImpl">
+ class="org.onap.vfc.nfvo.res.service.group.impl.VnfServiceImpl">
<property name="vnfDao" ref="vnfDao"></property>
<property name="vnfInfoService" ref="vnfInfoService"></property>
</bean>
- <bean id="vnfRoa" class="org.openo.nfvo.resmanagement.service.rest.VnfRoa">
+ <bean id="vnfRoa" class="org.onap.vfc.nfvo.res.service.rest.VnfRoa">
<property name="vnfService" ref="vnfService"></property>
</bean>
<!-- vm -->
- <bean id="vmDao" class="org.openo.nfvo.resmanagement.service.dao.impl.VmDaoImpl">
+ <bean id="vmDao" class="org.onap.vfc.nfvo.res.service.dao.impl.VmDaoImpl">
<property name="session" ref="session"></property>
</bean>
- <bean id="vmService" class="org.openo.nfvo.resmanagement.service.group.impl.VmServiceImpl">
+ <bean id="vmService" class="org.onap.vfc.nfvo.res.service.group.impl.VmServiceImpl">
<property name="vmDao" ref="vmDao"></property>
</bean>
- <bean id="vmRoa" class="org.openo.nfvo.resmanagement.service.rest.VmRoa">
+ <bean id="vmRoa" class="org.onap.vfc.nfvo.res.service.rest.VmRoa">
<property name="vmService" ref="vmService"></property>
</bean>
<!-- vnfInfo -->
<bean id="vnfInfoDao"
- class="org.openo.nfvo.resmanagement.service.dao.impl.VnfInfoDaoImpl">
+ class="org.onap.vfc.nfvo.res.service.dao.impl.VnfInfoDaoImpl">
<property name="session" ref="session"></property>
</bean>
<bean id="vnfInfoService"
- class="org.openo.nfvo.resmanagement.service.group.impl.VnfInfoServiceImpl">
+ class="org.onap.vfc.nfvo.res.service.group.impl.VnfInfoServiceImpl">
<property name="vnfInfoDao" ref="vnfInfoDao"></property>
<property name="vmService" ref="vmService"></property>
</bean>
- <bean id="vnfInfoRoa" class="org.openo.nfvo.resmanagement.service.rest.VnfInfoRoa">
+ <bean id="vnfInfoRoa" class="org.onap.vfc.nfvo.res.service.rest.VnfInfoRoa">
<property name="vnfInfoService" ref="vnfInfoService"></property>
</bean>
<!-- vnfstatus -->
- <bean id="vnfStatusDao" class="org.openo.nfvo.resmanagement.service.dao.impl.VnfStatusDaoImpl">
+ <bean id="vnfStatusDao" class="org.onap.vfc.nfvo.res.service.dao.impl.VnfStatusDaoImpl">
<property name="session" ref="session"></property>
</bean>
- <bean id="vnfStatusService" class="org.openo.nfvo.resmanagement.service.group.impl.VnfStatusServiceImpl">
+ <bean id="vnfStatusService" class="org.onap.vfc.nfvo.res.service.group.impl.VnfStatusServiceImpl">
<property name="vnfStatusDao" ref="vnfStatusDao"></property>
</bean>
- <bean id="vnfStatusRoa" class="org.openo.nfvo.resmanagement.service.rest.VnfStatusRoa">
+ <bean id="vnfStatusRoa" class="org.onap.vfc.nfvo.res.service.rest.VnfStatusRoa">
<property name="vnfStatusService" ref="vnfStatusService"></property>
</bean>
<!-- grantResource -->
- <bean id="grantResService" class="org.openo.nfvo.resmanagement.service.group.impl.GrantResServiceImpl">
+ <bean id="grantResService" class="org.onap.vfc.nfvo.res.service.group.impl.GrantResServiceImpl">
<property name="sites" ref="sites"></property>
</bean>
- <bean id="grantResourseRoa" class="org.openo.nfvo.resmanagement.service.rest.GrantResourseRoa">
+ <bean id="grantResourseRoa" class="org.onap.vfc.nfvo.res.service.rest.GrantResourseRoa">
<property name="grantResService" ref="grantResService"></property>
</bean>
<!--group_resoperate -->
<bean id="resOperateService"
- class="org.openo.nfvo.resmanagement.service.group.impl.ResOperateServiceImpl">
+ class="org.onap.vfc.nfvo.res.service.group.impl.ResOperateServiceImpl">
<property name="host" ref="host"></property>
<property name="port" ref="port"></property>
<property name="sites" ref="sites"></property>
</bean>
<bean id="iResourceUpdateServiceImpl"
- class="org.openo.nfvo.resmanagement.service.group.impl.IResourceUpdateServiceImpl">
+ class="org.onap.vfc.nfvo.res.service.group.impl.IResourceUpdateServiceImpl">
</bean>
<bean id="iResourceAddServiceImpl"
- class="org.openo.nfvo.resmanagement.service.group.impl.IResourceAddServiceImpl">
+ class="org.onap.vfc.nfvo.res.service.group.impl.IResourceAddServiceImpl">
</bean>
<bean id="iResourceDelServiceImpl"
- class="org.openo.nfvo.resmanagement.service.group.impl.IResourceDelServiceImpl">
+ class="org.onap.vfc.nfvo.res.service.group.impl.IResourceDelServiceImpl">
</bean>
- <bean id="resOperateRoa" class="org.openo.nfvo.resmanagement.service.rest.ResOperateRoa">
+ <bean id="resOperateRoa" class="org.onap.vfc.nfvo.res.service.rest.ResOperateRoa">
<property name="resOperateService" ref="resOperateService"></property>
</bean>
- <bean id="SwaggerRoa" class="org.openo.nfvo.resmanagement.service.rest.SwaggerRoa"></bean>
+ <bean id="SwaggerRoa" class="org.onap.vfc.nfvo.res.service.rest.SwaggerRoa"></bean>
<jaxrs:server id="restContainer" address="/">
<jaxrs:serviceBeans>
</jaxrs:serviceBeans>
<jaxrs:providers>
<ref bean="jsonProvider" />
- <bean class="org.openo.nfvo.resmanagement.service.rest.exceptionmapper.ServiceExceptionMapper" />
- <bean class="org.openo.nfvo.resmanagement.service.rest.exceptionmapper.GenericExceptionMapper" />
+ <bean class="org.onap.vfc.nfvo.res.service.rest.exceptionmapper.ServiceExceptionMapper" />
+ <bean class="org.onap.vfc.nfvo.res.service.rest.exceptionmapper.GenericExceptionMapper" />
</jaxrs:providers>
</jaxrs:server>
</beans>
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.2.xsd
http://www.springframework.org/schema/aop/spring-aop-3.0.xsd">
- <bean class="org.openo.nfvo.resmanagement.service.activator.ROAResmgrServicePostProcessor"></bean>
- <bean class="org.openo.nfvo.resmanagement.service.adapter.impl.ResmgrAdapterMgrService"></bean>
+ <bean class="org.onap.vfc.nfvo.res.service.activator.ROAResmgrServicePostProcessor"></bean>
+ <bean class="org.onap.vfc.nfvo.res.service.adapter.impl.ResmgrAdapterMgrService"></bean>
</beans>
\ No newline at end of file
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.common;
+package org.onap.vfc.nfvo.res.common;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
+import org.onap.vfc.nfvo.res.common.ResourceUtil;
public class ResourceUtilTest {
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.common;
+package org.onap.vfc.nfvo.res.common;
import static org.junit.Assert.*;
import java.lang.reflect.Modifier;
import org.junit.Test;
+import org.onap.vfc.nfvo.res.common.VimUtil;
+import org.onap.vfc.nfvo.res.common.constant.UrlConstant;
+import org.onap.vfc.nfvo.res.common.util.RestfulUtil;
import org.openo.baseservice.roa.util.restclient.RestfulOptions;
import org.openo.baseservice.roa.util.restclient.RestfulParametes;
import org.openo.baseservice.roa.util.restclient.RestfulResponse;
-import org.openo.nfvo.resmanagement.common.constant.UrlConstant;
-import org.openo.nfvo.resmanagement.common.util.RestfulUtil;
import mockit.Mock;
import mockit.MockUp;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.common.util;
+package org.onap.vfc.nfvo.res.common.util;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import java.lang.reflect.Modifier;
import org.junit.Test;
+import org.onap.vfc.nfvo.res.common.util.JsonUtil;
import mockit.Mock;
import mockit.MockUp;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.common.util;
+package org.onap.vfc.nfvo.res.common.util;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import java.util.Map;
import org.junit.Test;
+import org.onap.vfc.nfvo.res.common.constant.Constant;
+import org.onap.vfc.nfvo.res.common.util.RestfulUtil;
import org.openo.baseservice.remoteservice.exception.ServiceException;
import org.openo.baseservice.roa.util.restclient.RestfulOptions;
import org.openo.baseservice.roa.util.restclient.RestfulParametes;
import org.openo.baseservice.roa.util.restclient.RestfulResponse;
-import org.openo.nfvo.resmanagement.common.constant.Constant;
import mockit.Mock;
import mockit.MockUp;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.common.util;
+package org.onap.vfc.nfvo.res.common.util;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import java.lang.reflect.Modifier;
import org.junit.Test;
+import org.onap.vfc.nfvo.res.common.util.StringUtil;
public class StringUtilTest {
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.common.util.request;
+package org.onap.vfc.nfvo.res.common.util.request;
import static org.junit.Assert.*;
import org.apache.commons.io.IOUtils;
import org.apache.cxf.jaxrs.impl.HttpServletRequestFilter;
import org.junit.Test;
+import org.onap.vfc.nfvo.res.common.util.request.RequestUtil;
import javassist.Modifier;
import mockit.Mock;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.common.util.response;
+package org.onap.vfc.nfvo.res.common.util.response;
import static org.junit.Assert.*;
import java.util.Map;
import org.junit.Test;
+import org.onap.vfc.nfvo.res.common.util.response.ResponseUtil;
import net.sf.json.JSONObject;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.common.util.response;
+package org.onap.vfc.nfvo.res.common.util.response;
import static org.junit.Assert.*;
import java.util.Map;
import org.junit.Test;
+import org.onap.vfc.nfvo.res.common.util.response.ResponseUtil;
+import org.onap.vfc.nfvo.res.common.util.response.RoaResponseUtil;
import mockit.Mock;
import mockit.MockUp;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.adapter.impl;
+package org.onap.vfc.nfvo.res.service.adapter.impl;
import static org.junit.Assert.assertNotNull;
import java.util.Map;
import org.junit.Test;
+import org.onap.vfc.nfvo.res.common.util.RestfulUtil;
+import org.onap.vfc.nfvo.res.service.adapter.impl.ResmgrAdapter2MSBManager;
import org.openo.baseservice.roa.util.restclient.RestfulResponse;
-import org.openo.nfvo.resmanagement.common.util.RestfulUtil;
import mockit.Mock;
import mockit.MockUp;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.adapter.impl;
+package org.onap.vfc.nfvo.res.service.adapter.impl;
import java.io.IOException;
import org.junit.Test;
+import org.onap.vfc.nfvo.res.service.adapter.impl.ResmgrAdapterMgrService;
import mockit.Mock;
import mockit.MockUp;
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.base.openstack.impl;
+package org.onap.vfc.nfvo.res.service.base.openstack.impl;
import static org.junit.Assert.*;
import java.util.Map;
import org.junit.Test;
+import org.onap.vfc.nfvo.res.service.base.openstack.impl.HostImpl;
+import org.onap.vfc.nfvo.res.service.business.impl.HostBusinessImpl;
+import org.onap.vfc.nfvo.res.service.dao.impl.HostDaoImpl;
+import org.onap.vfc.nfvo.res.service.entity.HostEntity;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.service.business.impl.HostBusinessImpl;
-import org.openo.nfvo.resmanagement.service.dao.impl.HostDaoImpl;
-import org.openo.nfvo.resmanagement.service.entity.HostEntity;
import mockit.Mock;
import mockit.MockUp;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.base.openstack.impl;
+package org.onap.vfc.nfvo.res.service.base.openstack.impl;
import static org.junit.Assert.assertTrue;
import org.junit.Before;
import org.junit.Test;
+import org.onap.vfc.nfvo.res.service.base.openstack.impl.LocationImpl;
+import org.onap.vfc.nfvo.res.service.base.openstack.impl.SitesImpl;
+import org.onap.vfc.nfvo.res.service.business.impl.LocationBusinessImpl;
+import org.onap.vfc.nfvo.res.service.business.impl.SitesBusinessImpl;
+import org.onap.vfc.nfvo.res.service.dao.impl.LocationDaoImpl;
+import org.onap.vfc.nfvo.res.service.entity.LocationEntity;
+import org.onap.vfc.nfvo.res.service.entity.SitesEntity;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.service.business.impl.LocationBusinessImpl;
-import org.openo.nfvo.resmanagement.service.business.impl.SitesBusinessImpl;
-import org.openo.nfvo.resmanagement.service.dao.impl.LocationDaoImpl;
-import org.openo.nfvo.resmanagement.service.entity.LocationEntity;
-import org.openo.nfvo.resmanagement.service.entity.SitesEntity;
import mockit.Mock;
import mockit.MockUp;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.base.openstack.impl;
+package org.onap.vfc.nfvo.res.service.base.openstack.impl;
import static org.junit.Assert.*;
import java.util.Map;
import org.junit.Test;
+import org.onap.vfc.nfvo.res.service.base.openstack.impl.NetworkImpl;
+import org.onap.vfc.nfvo.res.service.business.impl.NetworkBusinessImpl;
+import org.onap.vfc.nfvo.res.service.dao.impl.NetworkDaoImpl;
+import org.onap.vfc.nfvo.res.service.dao.inf.NetworkDao;
+import org.onap.vfc.nfvo.res.service.entity.NetworkEntity;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.service.business.impl.NetworkBusinessImpl;
-import org.openo.nfvo.resmanagement.service.dao.impl.NetworkDaoImpl;
-import org.openo.nfvo.resmanagement.service.dao.inf.NetworkDao;
-import org.openo.nfvo.resmanagement.service.entity.NetworkEntity;
import mockit.Mock;
import mockit.MockUp;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.base.openstack.impl;
+package org.onap.vfc.nfvo.res.service.base.openstack.impl;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
+import org.onap.vfc.nfvo.res.common.util.JsonUtil;
+import org.onap.vfc.nfvo.res.service.base.openstack.impl.PortImpl;
+import org.onap.vfc.nfvo.res.service.business.impl.PortBusinessImpl;
+import org.onap.vfc.nfvo.res.service.dao.impl.PortDaoImpl;
+import org.onap.vfc.nfvo.res.service.entity.PortEntity;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.common.util.JsonUtil;
-import org.openo.nfvo.resmanagement.service.business.impl.PortBusinessImpl;
-import org.openo.nfvo.resmanagement.service.dao.impl.PortDaoImpl;
-import org.openo.nfvo.resmanagement.service.entity.PortEntity;
import mockit.Mock;
import mockit.MockUp;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.base.openstack.impl;
+package org.onap.vfc.nfvo.res.service.base.openstack.impl;
import static org.junit.Assert.assertEquals;
import java.util.Map;
import org.junit.Test;
+import org.onap.vfc.nfvo.res.service.base.openstack.impl.SitesImpl;
+import org.onap.vfc.nfvo.res.service.business.impl.SitesBusinessImpl;
+import org.onap.vfc.nfvo.res.service.entity.SitesEntity;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.service.business.impl.SitesBusinessImpl;
-import org.openo.nfvo.resmanagement.service.entity.SitesEntity;
import mockit.Mock;
import mockit.MockUp;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.base.openstack.impl;
+package org.onap.vfc.nfvo.res.service.base.openstack.impl;
import static org.junit.Assert.assertEquals;
import java.util.List;
import org.junit.Test;
+import org.onap.vfc.nfvo.res.service.base.openstack.impl.VimImpl;
+import org.onap.vfc.nfvo.res.service.business.impl.VimBusinessImpl;
+import org.onap.vfc.nfvo.res.service.entity.VimEntity;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.service.base.openstack.impl.VimImpl;
-import org.openo.nfvo.resmanagement.service.business.impl.VimBusinessImpl;
-import org.openo.nfvo.resmanagement.service.entity.VimEntity;
import mockit.Mock;
import mockit.MockUp;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.business.impl;
+package org.onap.vfc.nfvo.res.service.business.impl;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
+import org.onap.vfc.nfvo.res.service.business.impl.HostBusinessImpl;
+import org.onap.vfc.nfvo.res.service.dao.impl.HostDaoImpl;
+import org.onap.vfc.nfvo.res.service.entity.HostEntity;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.service.dao.impl.HostDaoImpl;
-import org.openo.nfvo.resmanagement.service.entity.HostEntity;
import mockit.Mock;
import mockit.MockUp;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.business.impl;
+package org.onap.vfc.nfvo.res.service.business.impl;
import org.junit.Before;
import org.junit.Test;
+import org.onap.vfc.nfvo.res.service.business.impl.LimitsBusinessImpl;
import org.openo.baseservice.remoteservice.exception.ServiceException;
import org.openo.baseservice.roa.util.restclient.HttpRest;
import org.openo.baseservice.roa.util.restclient.RestfulOptions;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.business.impl;
+package org.onap.vfc.nfvo.res.service.business.impl;
import static org.junit.Assert.assertTrue;
import org.junit.Before;
import org.junit.Test;
+import org.onap.vfc.nfvo.res.service.business.impl.LocationBusinessImpl;
+import org.onap.vfc.nfvo.res.service.dao.impl.LocationDaoImpl;
+import org.onap.vfc.nfvo.res.service.entity.LocationEntity;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.service.dao.impl.LocationDaoImpl;
-import org.openo.nfvo.resmanagement.service.entity.LocationEntity;
import mockit.Mock;
import mockit.MockUp;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.business.impl;
+package org.onap.vfc.nfvo.res.service.business.impl;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
import org.junit.Before;
import org.junit.Test;
+import org.onap.vfc.nfvo.res.service.business.impl.SitesBusinessImpl;
+import org.onap.vfc.nfvo.res.service.dao.impl.SitesDaoImpl;
+import org.onap.vfc.nfvo.res.service.entity.SitesEntity;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.service.dao.impl.SitesDaoImpl;
-import org.openo.nfvo.resmanagement.service.entity.SitesEntity;
import mockit.Mock;
import mockit.MockUp;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.business.impl;
+package org.onap.vfc.nfvo.res.service.business.impl;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import java.util.List;
import org.junit.Test;
+import org.onap.vfc.nfvo.res.service.business.impl.VimBusinessImpl;
+import org.onap.vfc.nfvo.res.service.dao.impl.VimDaoImpl;
+import org.onap.vfc.nfvo.res.service.entity.VimEntity;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.service.dao.impl.VimDaoImpl;
-import org.openo.nfvo.resmanagement.service.entity.VimEntity;
import mockit.Mock;
import mockit.MockUp;
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.dao.impl;
+package org.onap.vfc.nfvo.res.service.dao.impl;
import static org.junit.Assert.*;
import org.junit.Test;
+import org.onap.vfc.nfvo.res.service.dao.impl.AbstractDao;
+import org.onap.vfc.nfvo.res.service.dao.impl.HostDaoImpl;
+import org.onap.vfc.nfvo.res.service.entity.HostEntity;
+import org.onap.vfc.nfvo.res.service.entity.NetworkEntity;
+import org.onap.vfc.nfvo.res.service.mapper.HostMapper;
+import org.onap.vfc.nfvo.res.service.mapper.NetworkMapper;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.service.entity.HostEntity;
-import org.openo.nfvo.resmanagement.service.entity.NetworkEntity;
-import org.openo.nfvo.resmanagement.service.mapper.HostMapper;
-import org.openo.nfvo.resmanagement.service.mapper.NetworkMapper;
import mockit.Expectations;
import mockit.Mock;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.dao.impl;
+package org.onap.vfc.nfvo.res.service.dao.impl;
import static org.junit.Assert.*;
import org.junit.Test;
+import org.onap.vfc.nfvo.res.service.dao.impl.AbstractDao;
+import org.onap.vfc.nfvo.res.service.dao.impl.LocationDaoImpl;
+import org.onap.vfc.nfvo.res.service.dao.impl.NetworkDaoImpl;
+import org.onap.vfc.nfvo.res.service.entity.LocationEntity;
+import org.onap.vfc.nfvo.res.service.entity.NetworkEntity;
+import org.onap.vfc.nfvo.res.service.mapper.LocationMapper;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.service.entity.LocationEntity;
-import org.openo.nfvo.resmanagement.service.entity.NetworkEntity;
-import org.openo.nfvo.resmanagement.service.mapper.LocationMapper;
import mockit.Mock;
import mockit.MockUp;
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.dao.impl;
+package org.onap.vfc.nfvo.res.service.dao.impl;
import static org.junit.Assert.*;
import java.util.Map;
import org.junit.Test;
+import org.onap.vfc.nfvo.res.service.dao.impl.AbstractDao;
+import org.onap.vfc.nfvo.res.service.dao.impl.NetworkDaoImpl;
+import org.onap.vfc.nfvo.res.service.entity.NetworkEntity;
+import org.onap.vfc.nfvo.res.service.mapper.NetworkMapper;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.service.entity.NetworkEntity;
-import org.openo.nfvo.resmanagement.service.mapper.NetworkMapper;
+
import mockit.Expectations;
import mockit.Mock;
import mockit.MockUp;
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.dao.impl;
+package org.onap.vfc.nfvo.res.service.dao.impl;
import static org.junit.Assert.*;
import org.junit.Test;
+import org.onap.vfc.nfvo.res.service.dao.impl.AbstractDao;
+import org.onap.vfc.nfvo.res.service.dao.impl.PortDaoImpl;
+import org.onap.vfc.nfvo.res.service.entity.HostEntity;
+import org.onap.vfc.nfvo.res.service.entity.NetworkEntity;
+import org.onap.vfc.nfvo.res.service.entity.PortEntity;
+import org.onap.vfc.nfvo.res.service.mapper.NetworkMapper;
+import org.onap.vfc.nfvo.res.service.mapper.PortMapper;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.service.entity.HostEntity;
-import org.openo.nfvo.resmanagement.service.entity.NetworkEntity;
-import org.openo.nfvo.resmanagement.service.entity.PortEntity;
-import org.openo.nfvo.resmanagement.service.mapper.NetworkMapper;
-import org.openo.nfvo.resmanagement.service.mapper.PortMapper;
import mockit.Expectations;
import mockit.Mock;
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.dao.impl;
+package org.onap.vfc.nfvo.res.service.dao.impl;
import static org.junit.Assert.*;
import org.junit.Test;
+import org.onap.vfc.nfvo.res.service.dao.impl.AbstractDao;
+import org.onap.vfc.nfvo.res.service.dao.impl.SitesDaoImpl;
+import org.onap.vfc.nfvo.res.service.entity.NetworkEntity;
+import org.onap.vfc.nfvo.res.service.entity.SitesEntity;
+import org.onap.vfc.nfvo.res.service.mapper.NetworkMapper;
+import org.onap.vfc.nfvo.res.service.mapper.SitesMapper;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.service.entity.NetworkEntity;
-import org.openo.nfvo.resmanagement.service.entity.SitesEntity;
-import org.openo.nfvo.resmanagement.service.mapper.NetworkMapper;
-import org.openo.nfvo.resmanagement.service.mapper.SitesMapper;
import mockit.Expectations;
import mockit.Mock;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.dao.impl;
+package org.onap.vfc.nfvo.res.service.dao.impl;
import static org.junit.Assert.*;
import java.util.List;
import org.junit.Test;
+import org.onap.vfc.nfvo.res.service.dao.impl.AbstractDao;
+import org.onap.vfc.nfvo.res.service.dao.impl.VimDaoImpl;
+import org.onap.vfc.nfvo.res.service.entity.NetworkEntity;
+import org.onap.vfc.nfvo.res.service.entity.VimEntity;
+import org.onap.vfc.nfvo.res.service.mapper.VimMapper;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.service.entity.NetworkEntity;
-import org.openo.nfvo.resmanagement.service.entity.VimEntity;
-import org.openo.nfvo.resmanagement.service.mapper.VimMapper;
import mockit.Expectations;
import mockit.Mock;
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.dao.impl;
+package org.onap.vfc.nfvo.res.service.dao.impl;
import static org.junit.Assert.*;
import org.junit.Test;
+import org.onap.vfc.nfvo.res.service.dao.impl.AbstractDao;
+import org.onap.vfc.nfvo.res.service.dao.impl.VirtualLinkDaoImpl;
+import org.onap.vfc.nfvo.res.service.entity.NetworkEntity;
+import org.onap.vfc.nfvo.res.service.entity.VirtualLinkEntity;
+import org.onap.vfc.nfvo.res.service.mapper.SitesMapper;
+import org.onap.vfc.nfvo.res.service.mapper.VirtualLinkMapper;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.service.entity.NetworkEntity;
-import org.openo.nfvo.resmanagement.service.entity.VirtualLinkEntity;
-import org.openo.nfvo.resmanagement.service.mapper.SitesMapper;
-import org.openo.nfvo.resmanagement.service.mapper.VirtualLinkMapper;
import mockit.Mock;
import mockit.MockUp;
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.dao.impl;
+package org.onap.vfc.nfvo.res.service.dao.impl;
import static org.junit.Assert.*;
import org.junit.Test;
+import org.onap.vfc.nfvo.res.service.dao.impl.AbstractDao;
+import org.onap.vfc.nfvo.res.service.dao.impl.VmDaoImpl;
+import org.onap.vfc.nfvo.res.service.entity.VmEntity;
+import org.onap.vfc.nfvo.res.service.mapper.SitesMapper;
+import org.onap.vfc.nfvo.res.service.mapper.VmMapper;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.service.entity.VmEntity;
-import org.openo.nfvo.resmanagement.service.mapper.SitesMapper;
-import org.openo.nfvo.resmanagement.service.mapper.VmMapper;
import mockit.Mock;
import mockit.MockUp;
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.entity;
+package org.onap.vfc.nfvo.res.service.entity;
import static org.junit.Assert.assertTrue;
import org.junit.Before;
import org.junit.Test;
+import org.onap.vfc.nfvo.res.service.entity.HostEntity;
import net.sf.json.JSONObject;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.entity;
+package org.onap.vfc.nfvo.res.service.entity;
import static org.junit.Assert.assertTrue;
import org.junit.Before;
import org.junit.Test;
+import org.onap.vfc.nfvo.res.service.entity.LocationEntity;
import net.sf.json.JSONObject;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.entity;
+package org.onap.vfc.nfvo.res.service.entity;
import static org.junit.Assert.assertTrue;
import org.junit.Before;
import org.junit.Test;
+import org.onap.vfc.nfvo.res.service.entity.NetworkEntity;
import net.sf.json.JSONObject;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.entity;
+package org.onap.vfc.nfvo.res.service.entity;
import static org.junit.Assert.assertTrue;
import org.junit.Before;
import org.junit.Test;
+import org.onap.vfc.nfvo.res.service.entity.PortEntity;
import net.sf.json.JSONObject;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.entity;
+package org.onap.vfc.nfvo.res.service.entity;
import static org.junit.Assert.assertTrue;
import org.junit.Before;
import org.junit.Test;
+import org.onap.vfc.nfvo.res.service.entity.SitesEntity;
import net.sf.json.JSONObject;
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.entity;
+package org.onap.vfc.nfvo.res.service.entity;
import static org.junit.Assert.assertTrue;
import org.junit.Before;
import org.junit.Test;
+import org.onap.vfc.nfvo.res.service.entity.VimEntity;
import net.sf.json.JSONObject;
* limitations under the License.\r
*/\r
\r
-package org.openo.nfvo.resmanagement.service.rest;\r
+package org.onap.vfc.nfvo.res.service.rest;\r
\r
import static org.junit.Assert.assertNotNull;\r
\r
\r
import org.junit.Before;\r
import org.junit.Test;\r
+import org.onap.vfc.nfvo.res.common.util.request.RequestUtil;\r
+import org.onap.vfc.nfvo.res.service.group.impl.GrantResServiceImpl;\r
+import org.onap.vfc.nfvo.res.service.group.inf.GrantResService;\r
+import org.onap.vfc.nfvo.res.service.rest.GrantResourseRoa;\r
import org.openo.baseservice.remoteservice.exception.ServiceException;\r
-import org.openo.nfvo.resmanagement.common.util.request.RequestUtil;\r
-import org.openo.nfvo.resmanagement.service.group.impl.GrantResServiceImpl;\r
-import org.openo.nfvo.resmanagement.service.group.inf.GrantResService;\r
import org.springframework.mock.web.MockHttpServletRequest;\r
\r
import mockit.Mock;\r
* limitations under the License.\r
*/\r
\r
-package org.openo.nfvo.resmanagement.service.rest;\r
+package org.onap.vfc.nfvo.res.service.rest;\r
\r
import static org.junit.Assert.assertNotNull;\r
\r
\r
import org.junit.Before;\r
import org.junit.Test;\r
+import org.onap.vfc.nfvo.res.common.util.request.RequestUtil;\r
+import org.onap.vfc.nfvo.res.service.base.openstack.impl.HostImpl;\r
+import org.onap.vfc.nfvo.res.service.base.openstack.inf.Host;\r
+import org.onap.vfc.nfvo.res.service.entity.HostEntity;\r
+import org.onap.vfc.nfvo.res.service.rest.HostRoa;\r
import org.openo.baseservice.remoteservice.exception.ServiceException;\r
-import org.openo.nfvo.resmanagement.common.util.request.RequestUtil;\r
-import org.openo.nfvo.resmanagement.service.base.openstack.impl.HostImpl;\r
-import org.openo.nfvo.resmanagement.service.base.openstack.inf.Host;\r
-import org.openo.nfvo.resmanagement.service.entity.HostEntity;\r
import org.springframework.mock.web.MockHttpServletRequest;\r
\r
import mockit.Mock;\r
* limitations under the License.\r
*/\r
\r
-package org.openo.nfvo.resmanagement.service.rest;\r
+package org.onap.vfc.nfvo.res.service.rest;\r
\r
import static org.junit.Assert.assertNotNull;\r
\r
\r
import org.junit.Before;\r
import org.junit.Test;\r
+import org.onap.vfc.nfvo.res.service.business.impl.LimitsBusinessImpl;\r
+import org.onap.vfc.nfvo.res.service.business.inf.LimitsBusiness;\r
+import org.onap.vfc.nfvo.res.service.rest.LimitsRoa;\r
import org.openo.baseservice.remoteservice.exception.ServiceException;\r
-import org.openo.nfvo.resmanagement.service.business.impl.LimitsBusinessImpl;\r
-import org.openo.nfvo.resmanagement.service.business.inf.LimitsBusiness;\r
import org.springframework.mock.web.MockHttpServletRequest;\r
\r
import mockit.Mock;\r
* limitations under the License.\r
*/\r
\r
-package org.openo.nfvo.resmanagement.service.rest;\r
+package org.onap.vfc.nfvo.res.service.rest;\r
\r
import static org.junit.Assert.assertNotNull;\r
\r
\r
import org.junit.Before;\r
import org.junit.Test;\r
+import org.onap.vfc.nfvo.res.common.util.request.RequestUtil;\r
+import org.onap.vfc.nfvo.res.service.base.openstack.impl.LocationImpl;\r
+import org.onap.vfc.nfvo.res.service.base.openstack.impl.SitesImpl;\r
+import org.onap.vfc.nfvo.res.service.base.openstack.inf.Location;\r
+import org.onap.vfc.nfvo.res.service.base.openstack.inf.Sites;\r
+import org.onap.vfc.nfvo.res.service.entity.LocationEntity;\r
+import org.onap.vfc.nfvo.res.service.entity.SitesEntity;\r
+import org.onap.vfc.nfvo.res.service.rest.LocationRoa;\r
import org.openo.baseservice.remoteservice.exception.ServiceException;\r
-import org.openo.nfvo.resmanagement.common.util.request.RequestUtil;\r
-import org.openo.nfvo.resmanagement.service.base.openstack.impl.LocationImpl;\r
-import org.openo.nfvo.resmanagement.service.base.openstack.impl.SitesImpl;\r
-import org.openo.nfvo.resmanagement.service.base.openstack.inf.Location;\r
-import org.openo.nfvo.resmanagement.service.base.openstack.inf.Sites;\r
-import org.openo.nfvo.resmanagement.service.entity.LocationEntity;\r
-import org.openo.nfvo.resmanagement.service.entity.SitesEntity;\r
import org.springframework.mock.web.MockHttpServletRequest;\r
\r
import mockit.Mock;\r
* limitations under the License.\r
*/\r
\r
-package org.openo.nfvo.resmanagement.service.rest;\r
+package org.onap.vfc.nfvo.res.service.rest;\r
\r
import static org.junit.Assert.assertNotNull;\r
\r
\r
import org.junit.Before;\r
import org.junit.Test;\r
+import org.onap.vfc.nfvo.res.common.util.request.RequestUtil;\r
+import org.onap.vfc.nfvo.res.service.base.openstack.impl.NetworkImpl;\r
+import org.onap.vfc.nfvo.res.service.base.openstack.inf.Network;\r
+import org.onap.vfc.nfvo.res.service.entity.NetworkEntity;\r
+import org.onap.vfc.nfvo.res.service.rest.NetworkRoa;\r
import org.openo.baseservice.remoteservice.exception.ServiceException;\r
-import org.openo.nfvo.resmanagement.common.util.request.RequestUtil;\r
-import org.openo.nfvo.resmanagement.service.base.openstack.impl.NetworkImpl;\r
-import org.openo.nfvo.resmanagement.service.base.openstack.inf.Network;\r
-import org.openo.nfvo.resmanagement.service.entity.NetworkEntity;\r
import org.springframework.mock.web.MockHttpServletRequest;\r
\r
import mockit.Mock;\r
* limitations under the License.\r
*/\r
\r
-package org.openo.nfvo.resmanagement.service.rest;\r
+package org.onap.vfc.nfvo.res.service.rest;\r
\r
import static org.junit.Assert.assertNotNull;\r
\r
\r
import org.junit.Before;\r
import org.junit.Test;\r
+import org.onap.vfc.nfvo.res.common.util.request.RequestUtil;\r
+import org.onap.vfc.nfvo.res.service.base.openstack.impl.PortImpl;\r
+import org.onap.vfc.nfvo.res.service.base.openstack.inf.Port;\r
+import org.onap.vfc.nfvo.res.service.entity.PortEntity;\r
+import org.onap.vfc.nfvo.res.service.rest.PortRoa;\r
import org.openo.baseservice.remoteservice.exception.ServiceException;\r
-import org.openo.nfvo.resmanagement.common.util.request.RequestUtil;\r
-import org.openo.nfvo.resmanagement.service.base.openstack.impl.PortImpl;\r
-import org.openo.nfvo.resmanagement.service.base.openstack.inf.Port;\r
-import org.openo.nfvo.resmanagement.service.entity.PortEntity;\r
import org.springframework.mock.web.MockHttpServletRequest;\r
\r
import mockit.Mock;\r
* limitations under the License.\r
*/\r
\r
-package org.openo.nfvo.resmanagement.service.rest;\r
+package org.onap.vfc.nfvo.res.service.rest;\r
\r
import static org.junit.Assert.assertNotNull;\r
\r
\r
import org.junit.Before;\r
import org.junit.Test;\r
+import org.onap.vfc.nfvo.res.common.VimUtil;\r
+import org.onap.vfc.nfvo.res.common.util.request.RequestUtil;\r
+import org.onap.vfc.nfvo.res.service.group.impl.ResOperateServiceImpl;\r
+import org.onap.vfc.nfvo.res.service.group.inf.ResOperateService;\r
+import org.onap.vfc.nfvo.res.service.rest.ResOperateRoa;\r
import org.openo.baseservice.remoteservice.exception.ServiceException;\r
-import org.openo.nfvo.resmanagement.common.VimUtil;\r
-import org.openo.nfvo.resmanagement.common.util.request.RequestUtil;\r
-import org.openo.nfvo.resmanagement.service.group.impl.ResOperateServiceImpl;\r
-import org.openo.nfvo.resmanagement.service.group.inf.ResOperateService;\r
import org.springframework.mock.web.MockHttpServletRequest;\r
\r
import mockit.Mock;\r
* limitations under the License.
*/
-package org.openo.nfvo.resmanagement.service.rest;
+package org.onap.vfc.nfvo.res.service.rest;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import org.junit.Before;
import org.junit.Test;
+import org.onap.vfc.nfvo.res.common.VimUtil;
+import org.onap.vfc.nfvo.res.common.util.request.RequestUtil;
+import org.onap.vfc.nfvo.res.service.base.openstack.impl.SitesImpl;
+import org.onap.vfc.nfvo.res.service.entity.SitesEntity;
+import org.onap.vfc.nfvo.res.service.rest.SitesRoa;
import org.openo.baseservice.remoteservice.exception.ServiceException;
-import org.openo.nfvo.resmanagement.common.VimUtil;
-import org.openo.nfvo.resmanagement.common.util.request.RequestUtil;
-import org.openo.nfvo.resmanagement.service.base.openstack.impl.SitesImpl;
-import org.openo.nfvo.resmanagement.service.entity.SitesEntity;
import org.springframework.mock.web.MockHttpServletRequest;
import mockit.Mock;
* limitations under the License.\r
*/\r
\r
-package org.openo.nfvo.resmanagement.service.rest;\r
+package org.onap.vfc.nfvo.res.service.rest;\r
\r
import static org.junit.Assert.assertNotNull;\r
\r
\r
import org.apache.commons.io.IOUtils;\r
import org.junit.Test;\r
+import org.onap.vfc.nfvo.res.service.rest.SwaggerRoa;\r
\r
import mockit.Mock;\r
import mockit.MockUp;\r
* limitations under the License.\r
*/\r
\r
-package org.openo.nfvo.resmanagement.service.rest;\r
+package org.onap.vfc.nfvo.res.service.rest;\r
\r
import static org.junit.Assert.assertNotNull;\r
\r
\r
import org.junit.Before;\r
import org.junit.Test;\r
+import org.onap.vfc.nfvo.res.common.util.request.RequestUtil;\r
+import org.onap.vfc.nfvo.res.service.entity.VirtualLinkEntity;\r
+import org.onap.vfc.nfvo.res.service.group.impl.VirtualLinkServiceImpl;\r
+import org.onap.vfc.nfvo.res.service.group.inf.VirtualLinkService;\r
+import org.onap.vfc.nfvo.res.service.rest.VirtualLinkRoa;\r
import org.openo.baseservice.remoteservice.exception.ServiceException;\r
-import org.openo.nfvo.resmanagement.common.util.request.RequestUtil;\r
-import org.openo.nfvo.resmanagement.service.entity.VirtualLinkEntity;\r
-import org.openo.nfvo.resmanagement.service.group.impl.VirtualLinkServiceImpl;\r
-import org.openo.nfvo.resmanagement.service.group.inf.VirtualLinkService;\r
import org.springframework.mock.web.MockHttpServletRequest;\r
\r
import mockit.Mock;\r
* limitations under the License.\r
*/\r
\r
-package org.openo.nfvo.resmanagement.service.rest;\r
+package org.onap.vfc.nfvo.res.service.rest;\r
\r
import static org.junit.Assert.assertNotNull;\r
\r
\r
import org.junit.Before;\r
import org.junit.Test;\r
+import org.onap.vfc.nfvo.res.common.util.request.RequestUtil;\r
+import org.onap.vfc.nfvo.res.service.entity.VmEntity;\r
+import org.onap.vfc.nfvo.res.service.group.impl.VmServiceImpl;\r
+import org.onap.vfc.nfvo.res.service.group.inf.VmService;\r
+import org.onap.vfc.nfvo.res.service.rest.VmRoa;\r
import org.openo.baseservice.remoteservice.exception.ServiceException;\r
-import org.openo.nfvo.resmanagement.common.util.request.RequestUtil;\r
-import org.openo.nfvo.resmanagement.service.entity.VmEntity;\r
-import org.openo.nfvo.resmanagement.service.group.impl.VmServiceImpl;\r
-import org.openo.nfvo.resmanagement.service.group.inf.VmService;\r
import org.springframework.mock.web.MockHttpServletRequest;\r
\r
import mockit.Mock;\r
* limitations under the License.\r
*/\r
\r
-package org.openo.nfvo.resmanagement.service.rest;\r
+package org.onap.vfc.nfvo.res.service.rest;\r
\r
import static org.junit.Assert.assertNotNull;\r
\r
\r
import org.junit.Before;\r
import org.junit.Test;\r
+import org.onap.vfc.nfvo.res.common.util.request.RequestUtil;\r
+import org.onap.vfc.nfvo.res.service.entity.VnfInfoEntity;\r
+import org.onap.vfc.nfvo.res.service.group.impl.VnfInfoServiceImpl;\r
+import org.onap.vfc.nfvo.res.service.group.inf.VnfInfoService;\r
+import org.onap.vfc.nfvo.res.service.rest.VnfInfoRoa;\r
import org.openo.baseservice.remoteservice.exception.ServiceException;\r
-import org.openo.nfvo.resmanagement.common.util.request.RequestUtil;\r
-import org.openo.nfvo.resmanagement.service.entity.VnfInfoEntity;\r
-import org.openo.nfvo.resmanagement.service.group.impl.VnfInfoServiceImpl;\r
-import org.openo.nfvo.resmanagement.service.group.inf.VnfInfoService;\r
import org.springframework.mock.web.MockHttpServletRequest;\r
\r
import mockit.Mock;\r
* limitations under the License.\r
*/\r
\r
-package org.openo.nfvo.resmanagement.service.rest;\r
+package org.onap.vfc.nfvo.res.service.rest;\r
\r
import static org.junit.Assert.assertNotNull;\r
\r
\r
import org.junit.Before;\r
import org.junit.Test;\r
+import org.onap.vfc.nfvo.res.common.util.request.RequestUtil;\r
+import org.onap.vfc.nfvo.res.service.entity.VnfEntity;\r
+import org.onap.vfc.nfvo.res.service.group.impl.VnfServiceImpl;\r
+import org.onap.vfc.nfvo.res.service.group.inf.VnfService;\r
+import org.onap.vfc.nfvo.res.service.rest.VnfRoa;\r
import org.openo.baseservice.remoteservice.exception.ServiceException;\r
-import org.openo.nfvo.resmanagement.common.util.request.RequestUtil;\r
-import org.openo.nfvo.resmanagement.service.entity.VnfEntity;\r
-import org.openo.nfvo.resmanagement.service.group.impl.VnfServiceImpl;\r
-import org.openo.nfvo.resmanagement.service.group.inf.VnfService;\r
import org.springframework.mock.web.MockHttpServletRequest;\r
\r
import mockit.Mock;\r
* limitations under the License.\r
*/\r
\r
-package org.openo.nfvo.resmanagement.service.rest;\r
+package org.onap.vfc.nfvo.res.service.rest;\r
\r
import static org.junit.Assert.assertNotNull;\r
\r
\r
import org.junit.Before;\r
import org.junit.Test;\r
+import org.onap.vfc.nfvo.res.common.util.request.RequestUtil;\r
+import org.onap.vfc.nfvo.res.service.entity.VnfStatusEntity;\r
+import org.onap.vfc.nfvo.res.service.group.impl.VnfStatusServiceImpl;\r
+import org.onap.vfc.nfvo.res.service.group.inf.VnfStatusService;\r
+import org.onap.vfc.nfvo.res.service.rest.VnfStatusRoa;\r
import org.openo.baseservice.remoteservice.exception.ServiceException;\r
-import org.openo.nfvo.resmanagement.common.util.request.RequestUtil;\r
-import org.openo.nfvo.resmanagement.service.entity.VnfStatusEntity;\r
-import org.openo.nfvo.resmanagement.service.group.impl.VnfStatusServiceImpl;\r
-import org.openo.nfvo.resmanagement.service.group.inf.VnfStatusService;\r
import org.springframework.mock.web.MockHttpServletRequest;\r
\r
import mockit.Mock;\r
* limitations under the License.\r
*/\r
\r
-package org.openo.nfvo.resmanagement.service.rest.exceptionmapper;\r
+package org.onap.vfc.nfvo.res.service.rest.exceptionmapper;\r
\r
import static org.junit.Assert.assertEquals;\r
import static org.junit.Assert.assertNotNull;\r
\r
import org.junit.Test;\r
+import org.onap.vfc.nfvo.res.service.rest.exceptionmapper.ExceptionMessage;\r
\r
/**\r
* <br>\r
* limitations under the License.\r
*/\r
\r
-package org.openo.nfvo.resmanagement.service.rest.exceptionmapper;\r
+package org.onap.vfc.nfvo.res.service.rest.exceptionmapper;\r
\r
import static org.junit.Assert.assertNotNull;\r
\r
import javax.ws.rs.core.Response;\r
\r
import org.junit.Test;\r
+import org.onap.vfc.nfvo.res.service.rest.exceptionmapper.GenericExceptionMapper;\r
\r
/**\r
* <br>\r
* limitations under the License.\r
*/\r
\r
-package org.openo.nfvo.resmanagement.service.rest.exceptionmapper;\r
+package org.onap.vfc.nfvo.res.service.rest.exceptionmapper;\r
\r
import static org.junit.Assert.assertNotNull;\r
\r
import javax.ws.rs.core.Response;\r
\r
import org.junit.Test;\r
+import org.onap.vfc.nfvo.res.service.rest.exceptionmapper.ServiceExceptionMapper;\r
import org.openo.baseservice.remoteservice.exception.ServiceException;\r
\r
/**\r