<artifactId>httpcore</artifactId>
<version>4.3</version>
</dependency>
+ <dependency>
+ <groupId>org.codehaus.jackson</groupId>
+ <artifactId>jackson-jaxrs</artifactId>
+ <version>1.9.12</version>
+ </dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
* </p>
*
* @author
- * @version NFVO 0.5 Sep 28, 2016
+ * @version VFC 1.0 Sep 28, 2016
*/
public class VimDriverSuccessServer extends MocoHttpServer {
* </p>
*
* @author
- * @version NFVO 0.5 Sep 24, 2016
+ * @version VFC 1.0 Sep 24, 2016
*/
public class ITHostRoaFail extends MyTestManager {
* </p>
*
* @author
- * @version NFVO 0.5 Sep 20, 2016
+ * @version VFC 1.0 Sep 20, 2016
*/
public class ITHostRoaSuccess extends MyTestManager {
* </p>
*
* @author
- * @version NFVO 0.5 Sep 28, 2016
+ * @version VFC 1.0 Sep 28, 2016
*/
public class ITLimitsRoa extends MyTestManager {
* </p>
*
* @author
- * @version NFVO 0.5 Sep 27, 2016
+ * @version VFC 1.0 Sep 27, 2016
*/
public class ITLocationRoaFail extends MyTestManager {
* </p>
*
* @author
- * @version NFVO 0.5 Sep 26, 2016
+ * @version VFC 1.0 Sep 26, 2016
*/
public class ITLocationRoaSuccess extends MyTestManager {
* </p>
*
* @author
- * @version NFVO 0.5 Sep 27, 2016
+ * @version VFC 1.0 Sep 27, 2016
*/
public class ITNetworkRoaFail extends MyTestManager {
* </p>
*
* @author
- * @version NFVO 0.5 Sep 27, 2016
+ * @version VFC 1.0 Sep 27, 2016
*/
public class ITNetworkRoaSuccess extends MyTestManager {
* </p>
*
* @author
- * @version NFVO 0.5 Sep 26, 2016
+ * @version VFC 1.0 Sep 26, 2016
*/
public class ITPortRoaFail extends MyTestManager {
* </p>
*
* @author
- * @version NFVO 0.5 Sep 26, 2016
+ * @version VFC 1.0 Sep 26, 2016
*/
public class ITPortRoaSuccess extends MyTestManager {
* </p>
*
* @author
- * @version NFVO 0.5 Oct 15, 2016
+ * @version VFC 1.0 Oct 15, 2016
*/
public class ITResOperateRoaFail extends MyTestManager {
* </p>
*
* @author
- * @version NFVO 0.5 Oct 15, 2016
+ * @version VFC 1.0 Oct 15, 2016
*/
public class ITResOperateRoaSuccess extends MyTestManager {
* </p>
*
* @author
- * @version NFVO 0.5 Sep 27, 2016
+ * @version VFC 1.0 Sep 27, 2016
*/
public class ITSitesRoaFail extends MyTestManager {
* </p>
*
* @author
- * @version NFVO 0.5 Sep 27, 2016
+ * @version VFC 1.0 Sep 27, 2016
*/
public class ITSitesRoaSuccess extends MyTestManager {
* </p>
*
* @author
- * @version NFVO 0.5 Sep 21, 2016
+ * @version VFC 1.0 Sep 21, 2016
*/
public class AddSuccessChecker implements IChecker {
* </p>
*
* @author
- * @version NFVO 0.5 Aug 16, 2016
+ * @version VFC 1.0 Aug 16, 2016
*/
public class FailureChecker implements IChecker {
* </p>
*
* @author
- * @version NFVO 0.5 Sep 21, 2016
+ * @version VFC 1.0 Sep 21, 2016
*/
public class GetSuccessChecker implements IChecker {
* </p>
*
* @author
- * @version NFVO 0.5 Sep 21, 2016
+ * @version VFC 1.0 Sep 21, 2016
*/
public class MyChecker extends DefaultChecker {
* </p>
*
* @param expectedResponse
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public MyChecker(HttpResponse expectedResponse) {
super(expectedResponse);
*
* @param response
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@Override
public boolean check(HttpResponse response) {
* </p>
*
* @author
- * @version NFVO 0.5 Sep 21, 2016
+ * @version VFC 1.0 Sep 21, 2016
*/
public class MyTestManager extends TestManager {
* @param file
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@Override
public HttpResponse execTestCase(File file) throws ServiceException {
* </p>
*
* @author
- * @version NFVO 0.5 Aug 16, 2016
+ * @version VFC 1.0 Aug 16, 2016
*/
public class SuccessChecker implements IChecker {
* </p>
*
* @author
- * @version NFVO 0.5 Aug 25, 2016
+ * @version VFC 1.0 Aug 25, 2016
*/
public class ResourceUtil {
*
* @param key
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static String getMessage(String key) {
return key;
* </p>
*
* @author
- * @version NFVO 0.5 Oct 30, 2016
+ * @version VFC 1.0 Oct 30, 2016
*/
public class VimUtil {
* @param tenant
* @param vimId
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static String getTenantIdByName(String tenant, String vimId) {
JSONArray tenants = VimUtil.getTenants(vimId);
* </p>
*
* @author
- * @version NFVO 0.5 Aug 25, 2016
+ * @version VFC 1.0 Aug 25, 2016
*/
public class Constant {
* </p>
*
* @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
*/
public class HttpConstant {
* </p>
*
* @author
- * @version NFVO 0.5 2016-3-17
+ * @version VFC 1.0 2016-3-17
*/
public class ParamConstant {
* </p>
*
* @author
- * @version NFVO 0.5 Aug 25, 2016
+ * @version VFC 1.0 Aug 25, 2016
*/
public class ResponseConstant {
* </p>
*
* @author
- * @version NFVO 0.5 2016-3-17
+ * @version VFC 1.0 2016-3-17
*/
public class UrlConstant {
* </p>
*
* @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
*/
public final class JsonUtil {
* @param jsonObj
* @param fieldName
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static String getJsonFieldStr(JSONObject jsonObj, String fieldName) {
return (String)getJsonFieldObject(jsonObj, fieldName, TYPE_STRING);
* @param jsonObj
* @param fieldName
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static Integer getJsonFieldInt(JSONObject jsonObj, String fieldName) {
return (Integer)getJsonFieldObject(jsonObj, fieldName, TYPE_INT);
* @param jsonObj
* @param fieldName
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static JSONArray getJsonFieldArr(JSONObject jsonObj, String fieldName) {
return (JSONArray)getJsonFieldObject(jsonObj, fieldName, TYPE_JSONA);
* @param jsonObj
* @param fieldName
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static JSONObject getJsonFieldJson(JSONObject jsonObj, String fieldName) {
return (JSONObject)getJsonFieldObject(jsonObj, fieldName, TYPE_JSONO);
* @param jsonObj
* @param fieldName
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static Long getJsonFieldLong(JSONObject jsonObj, String fieldName) {
return (Long)getJsonFieldObject(jsonObj, fieldName, TYPE_LONG);
* @param fieldName
* @param classType
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
private static Object getJsonFieldObject(JSONObject jsonObj, String fieldName, int classType) {
try {
*
* @param jsonObject
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static boolean isNullJson(JSONObject jsonObject) {
if(null == jsonObject || jsonObject.isEmpty()) {
* @param json
* @param key
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static String getStrValueByjson(JSONObject json, String key) {
JSONArray names = json.names();
* @param json
* @param key
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static JSONObject getJsonValueByjson(JSONObject json, String key) {
JSONObject resultJson = new JSONObject();
* @param parentKey
* @param key
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static String getStrValueByJson(JSONObject json, String parentKey, String key) {
if(parentKey.isEmpty()) {
*
* @param obj
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static JSONObject getResponseData(JSONObject obj) {
JSONObject result = new JSONObject();
* </p>
*
* @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
*/
public class RestfulUtil {
* @param url
* @param type
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static JSONObject getResponseObj(String url, String type) {
return getResponseObj(url, new RestfulParametes(), type);
* @param parametes
* @param type
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static JSONObject getResponseObj(String url, RestfulParametes parametes, String type) {
try {
* @param restParametes
* @param type
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static String getResponseContent(String url, RestfulParametes restParametes, String type) {
return getResponseContent(url, restParametes, null, type);
* @param opt
* @param type
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static Map<String, Object> getResponseMap(String url, RestfulParametes restParametes, RestfulOptions opt,
String type) {
* @param url
* @param type
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static Map<String, Object> getResponseContentMap(String url, String type) {
RestfulResponse response = restfulResponse(url, new RestfulParametes(), null, type);
* @param opt
* @param type
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static String getResponseContent(String url, RestfulParametes restParametes, RestfulOptions opt,
String type) {
* @param restParametes
* @param type
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static RestfulResponse getRestfulResponse(String url, RestfulParametes restParametes, String type) {
return restfulResponse(url, restParametes, null, type);
* @param methodName, Restful's method.
* @param objects, method param array.
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static RestfulResponse getRestRes(String methodName, Object... objects) {
try {
* @param url
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static JSONArray getResponseRes(RestfulParametes restParametes, String url) throws ServiceException {
String result = getResponseContent(url, restParametes, RestfulUtil.TYPE_GET);
* @param iResName
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static JSONArray getResponseRes(RestfulParametes restParametes, String url, String iResName)
throws ServiceException {
* @param paramsMap
* @param params
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static RestfulResponse getRemoteResponse(Map<String, String> paramsMap, String params) {
String url = paramsMap.get("url");
* </p>
*
* @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
*/
public final class StringUtil {
*
* @param str
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static boolean isValidString(String str) {
if(null == str || str.isEmpty()) {
*
* @param strs
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static boolean isAnyLargeThanZero(String... strs) {
for(String str : strs) {
*
* @param strs
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static boolean isInteger(String... strs) {
try {
*
* @param strs
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static boolean isNumeric(String... strs) {
try {
* @param used
* @param drTotal
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static boolean compareZeroByFloat(String tatol, String used, String drTotal) {
Float ftotal = (float)0;
* @param used
* @param drTotal
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static boolean compareZeroByInteger(String tatol, String used, String drTotal) {
Integer ftotal = (int)0;
*
* @param data
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static String numFormat(String data) {
if(null != data && !("".equals(data))) {
*
* @param inputStr
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static boolean checkXss(String inputStr) {
return inputStr.matches("[A-Za-z0-9_.']+");
* </p>
*
* @author
- * @version NFVO 0.5 2016-3-17
+ * @version VFC 1.0 2016-3-17
*/
public final class RequestUtil {
* <p>
* </p>
*
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
private RequestUtil() {
}
* @param context
* The http context
* @return JSONObject The body of all request in json format
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static JSONObject getAllJsonRequestBody(HttpServletRequest context) {
JSONObject requestBody = getJsonRequestBody(context);
* @param context
* The http context
* @return Map context header
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@SuppressWarnings("unchecked")
private static Map<String, String> getContextHeader(HttpServletRequest context) {
* </p>
*
* @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
*/
public final class ResponseUtil {
* @param msg
* The request message
* @return JSONObject The response for http request
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static JSONObject genHttpResponse(int retCode, String msg) {
return genHttpResponse(null, createCodeMap(-1, retCode), msg, null);
* @param map
* Other request info of this request
* @return JSONObject The response for http request
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static JSONObject genHttpResponse(int retCode, String msg, Map<String, Object> map) {
return genHttpResponse(null, createCodeMap(-1, retCode), msg, map);
* @param msg
* The message of request
* @return JSONObject The response for http request
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static JSONObject genHttpResponse(HttpServletRequest context, int httpStatusCode, int retCode, String msg) {
return genHttpResponse(context, createCodeMap(httpStatusCode, retCode), msg, null);
* @param msg, The message of request
* @param map, Other message of request
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static JSONObject genHttpResponse(HttpServletRequest context, Map<String, Integer> codeMap, String msg,
Map<String, Object> map) {
* @param retCode
* The http request return code
* @return Map
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
private static Map<String, Integer> createCodeMap(int httpStatusCode, int retCode) {
Map<String, Integer> codeMap = new HashMap<>(5);
* </p>
*
* @author
- * @version NFVO 0.5 2016-3-17
+ * @version VFC 1.0 2016-3-17
*/
public final class RoaResponseUtil {
* @param list
* The basic response for get method
* @return JSONObject The response for http request
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static <T> JSONObject get(List<T> list) {
Map<String, Object> map = new HashMap<String, Object>(10);
* @param result
* The result
* @return JSONObject
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static JSONObject add(int result) {
LOGGER.info("function=add; msg=add result{}", result);
* @param result
* The result
* @return JSONObject The response for http request
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static JSONObject update(int result) {
LOGGER.info("function=update; msg=update result{}", result);
* @param result
* The result
* @return delete JSONObject of the response for http request
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static JSONObject delete(int result) {
LOGGER.info("function=delete; msg=delete result{}", result);
* </p>
*
* @author
- * @version NFVO 0.5 Sep 22, 2016
+ * @version VFC 1.0 Sep 22, 2016
*/
public class ROAResmgrServicePostProcessor implements DestructionAwareBeanPostProcessor {
* </p>
*
* @author
- * @version NFVO 0.5 Sep 22, 2016
+ * @version VFC 1.0 Sep 22, 2016
*/
public class ResmgrAdapter2MSBManager implements IResmgrAdapter2MSBManager {
* </p>
*
* @author
- * @version NFVO 0.5 Sep 22, 2016
+ * @version VFC 1.0 Sep 22, 2016
*/
public class ResmgrAdapterMgrService implements IResmgrAdapterMgrService {
* </p>
*
* @author
- * @version NFVO 0.5 Sep 22, 2016
+ * @version VFC 1.0 Sep 22, 2016
*/
public interface IResmgrAdapter2MSBManager {
* @param paramsMap
* @param driverInfo
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
JSONObject registerResmgr(Map<String, String> paramsMap, JSONObject driverInfo);
*
* @param paramsMap
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
JSONObject unregisterResmgr(Map<String, String> paramsMap);
* </p>
*
* @author
- * @version NFVO 0.5 Sep 22, 2016
+ * @version VFC 1.0 Sep 22, 2016
*/
public interface IResmgrAdapterMgrService {
* </p>
*
* @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
*/
public class HostImpl implements Host {
* </p>
*
* @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
*/
public class LocationImpl implements Location {
* @param total
* @param used
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public JSONObject computingSite(JSONObject total, JSONObject used) {
String vcpus = JsonUtil.getJsonFieldStr(total, ParamConstant.PARAM_VCPUS);
* </p>
*
* @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
*/
public class NetworkImpl implements Network {
* </p>
*
* @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
*/
public class PortImpl implements Port {
* </p>
*
* @author
- * @version NFVO 0.5 Aug 24, 2016
+ * @version VFC 1.0 Aug 24, 2016
*/
public class SitesImpl implements Sites {
*
* @param json
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@Override
public void sendToMonitor(JSONObject jsonObject) throws ServiceException {
* </p>
*
* @author
- * @version NFVO 0.5 Aug 24, 2016
+ * @version VFC 1.0 Aug 24, 2016
*/
public class VimImpl implements Vim {
* </p>
*
* @author
- * @version NFVO 0.5 Aug 25, 2016
+ * @version VFC 1.0 Aug 25, 2016
*/
public interface Host extends InterfaceResManagement {
* @param jsonObject
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int updateStatusByVimId(JSONObject jsonObject) throws ServiceException;
* @param condition
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
List<HostEntity> getList(Map<String, Object> condition) throws ServiceException;
* @param resPoolEntity
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int update(HostEntity resPoolEntity) throws ServiceException;
}
* </p>
*
* @author
- * @version NFVO 0.5 Aug 25, 2016
+ * @version VFC 1.0 Aug 25, 2016
*/
public interface InterfaceResManagement extends ResManagement {
* @param vimId
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int deleteResByVimId(String vimId) throws ServiceException;
}
* </p>
*
* @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
*/
public interface Location extends ResManagement {
* @param id
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
Map<String, Object> get(String id) throws ServiceException;
* @param condition
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
List<LocationEntity> get(Map<String, Object> condition) throws ServiceException;
* @param condition
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
LocationEntity getLocation(Map<String, Object> condition) throws ServiceException;
* @param locationInfo
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
List<JSONObject> getLocationInfo(List<LocationEntity> locationInfo) throws ServiceException;
*
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
List<String> getCountry() throws ServiceException;
* @param condition
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
List<String> getLocationByCountry(Map<String, Object> condition) throws ServiceException;
*
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
List<String> getCloudservice() throws ServiceException;
}
* </p>
*
* @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
*/
public interface Network extends InterfaceResManagement {
* @param jsonObject
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int updateStatusByVimId(JSONObject jsonObject) throws ServiceException;
* @param condition
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
List<NetworkEntity> getList(Map<String, Object> condition) throws ServiceException;
*
* @param entity
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int add(NetworkEntity entity) throws ServiceException;
* </p>
*
* @author
- * @version NFVO 0.5 Aug 25, 2016
+ * @version VFC 1.0 Aug 25, 2016
*/
public interface Port extends InterfaceResManagement {
* @param jsonObject
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int updateStatusByVimId(JSONObject jsonObject) throws ServiceException;
* @param condition
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
List<PortEntity> getList(Map<String, Object> condition) throws ServiceException;
* @param resPoolEntity
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int update(PortEntity resPoolEntity) throws ServiceException;
* @param portEntity
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int add(PortEntity portEntity) throws ServiceException;
}
* </p>
*
* @author
- * @version NFVO 0.5 Aug 25, 2016
+ * @version VFC 1.0 Aug 25, 2016
*/
public interface ResManagement {
* @param jsonObject
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int add(JSONObject jsonObject) throws ServiceException;
* @param jsonObject
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int update(JSONObject jsonObject) throws ServiceException;
* @param id
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int delete(String id) throws ServiceException;
* </p>
*
* @author
- * @version NFVO 0.5 Aug 25, 2016
+ * @version VFC 1.0 Aug 25, 2016
*/
public interface Sites extends InterfaceResManagement {
* @param jsonObject
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int updateStatusByVimId(JSONObject jsonObject) throws ServiceException;
* @param condition
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
List<SitesEntity> getList(Map<String, Object> condition) throws ServiceException;
* @param condition
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
SitesEntity get(Map<String, Object> condition) throws ServiceException;
* @param jsonObject
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int updateResource(JSONObject jsonObject) throws ServiceException;
* @param sitesEntity
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int update(SitesEntity sitesEntity) throws ServiceException;
*
* @param json
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
void sendToMonitor(JSONObject json) throws ServiceException;
}
* </p>
*
* @author
- * @version NFVO 0.5 Aug 25, 2016
+ * @version VFC 1.0 Aug 25, 2016
*/
public interface Vim extends ResManagement {
* @param id
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
VimEntity getVim(String id) throws ServiceException;
*
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
List<VimEntity> getList() throws ServiceException;
* @param condition
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
List<JSONObject> getVimInfo(Map<String, Object> condition) throws ServiceException;
* @param vimId
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int add(String vimId) throws ServiceException;
}
* </p>
*
* @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
*/
public class HostBusinessImpl implements HostBusiness {
* </p>
*
* @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
*/
public class LimitsBusinessImpl implements LimitsBusiness {
* @param vimId
* @param tenantId
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
private JSONObject getResponse(String vimId, String tenantId) {
LOGGER.info("function=getResponse; vimId={}, tenantId={}", vimId, tenantId);
* </p>
*
* @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
*/
public class LocationBusinessImpl implements LocationBusiness {
* @param locationEntity
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public boolean checkLocation(LocationEntity locationEntity) throws ServiceException {
String location = locationEntity.getLocation();
* @param locationEntity
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public boolean checkLatitude(LocationEntity locationEntity) throws ServiceException {
String latitu = locationEntity.getLatitude();
* </p>
*
* @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
*/
public class NetworkBusinessImpl implements NetworkBusiness {
* </p>
*
* @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
*/
public class PortBusinessImpl implements PortBusiness {
* </p>
*
* @author
- * @version NFVO 0.5 Aug 24, 2016
+ * @version VFC 1.0 Aug 24, 2016
*/
public class SitesBusinessImpl implements SitesBusiness {
* </p>
*
* @author
- * @version NFVO 0.5 Aug 24, 2016
+ * @version VFC 1.0 Aug 24, 2016
*/
public class VimBusinessImpl implements VimBusiness {
* </p>
*
* @author
- * @version NFVO 0.5 Aug 31, 2016
+ * @version VFC 1.0 Aug 31, 2016
*/
public interface HostBusiness {
*
* @param id
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
HostEntity getHost(String id);
*
* @param condition
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
List<HostEntity> getHosts(Map<String, Object> condition);
* @param id
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int deleteHost(String id) throws ServiceException;
* @param vimId
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int deleteHostByVimId(String vimId) throws ServiceException;
* @param hostEntity
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int addHost(HostEntity hostEntity) throws ServiceException;
* @param hostEntity
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int addHostSelective(HostEntity hostEntity) throws ServiceException;
* @param hostEntity
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int updateHostSelective(HostEntity hostEntity) throws ServiceException;
* @param hostEntity
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int updateHost(HostEntity hostEntity) throws ServiceException;
* @param hostEntity
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int updateHostByVimId(HostEntity hostEntity) throws ServiceException;
}
* </p>
*
* @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
*/
public interface LimitsBusiness {
*
* @param paramJson
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
JSONObject getLimits(String vimId) throws ServiceException;
* </p>
*
* @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
*/
public interface LocationBusiness {
* @param location
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
LocationEntity getLocation(String location) throws ServiceException;
* @param condition
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
List<LocationEntity> getLocations(Map<String, Object> condition) throws ServiceException;
* @param location
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int deleteLocation(String location) throws ServiceException;
* @param locationEntity
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int addLocation(LocationEntity locationEntity) throws ServiceException;
* @param locationEntity
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int addLocationSelective(LocationEntity locationEntity) throws ServiceException;
* @param locationEntity
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int updateLocationSelective(LocationEntity locationEntity) throws ServiceException;
* @param locationEntity
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int updateLocation(LocationEntity locationEntity) throws ServiceException;
*
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
List<String> getCountry() throws ServiceException;
* @param condition
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
List<String> getLocationByCountry(Map<String, Object> condition) throws ServiceException;
* </p>
*
* @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
*/
public interface NetworkBusiness {
*
* @param id
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
NetworkEntity getNetwork(String id);
*
* @param condition
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
List<NetworkEntity> getNetworks(Map<String, Object> condition);
* @param id
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int deleteNetwork(String id) throws ServiceException;
* @param vimId
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int deleteNetworkByVimId(String vimId) throws ServiceException;
* @param networkEntity
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int addNetwork(NetworkEntity networkEntity) throws ServiceException;
* @param networkEntity
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int addNetworkSelective(NetworkEntity networkEntity) throws ServiceException;
* @param networkEntity
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int updateNetworkSelective(NetworkEntity networkEntity) throws ServiceException;
* @param networkEntity
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int updateNetwork(NetworkEntity networkEntity) throws ServiceException;
* @param networkEntity
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int updateNetworkByVimId(NetworkEntity networkEntity) throws ServiceException;
* </p>
*
* @author
- * @version NFVO 0.5 Aug 31, 2016
+ * @version VFC 1.0 Aug 31, 2016
*/
public interface PortBusiness {
*
* @param id
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
PortEntity getPort(String id);
*
* @param condition
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
List<PortEntity> getPorts(Map<String, Object> condition);
* @param id
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int deletePort(String id) throws ServiceException;
* @param vimId
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int deletePortByVimId(String vimId) throws ServiceException;
* @param portEntity
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int addPort(PortEntity portEntity) throws ServiceException;
* @param portEntity
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int addPortSelective(PortEntity portEntity) throws ServiceException;
* @param portEntity
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int updatePortSelective(PortEntity portEntity) throws ServiceException;
* @param portEntity
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int updatePort(PortEntity portEntity) throws ServiceException;
* @param portEntity
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int updatePortByVimId(PortEntity portEntity) throws ServiceException;
}
* </p>
*
* @author
- * @version NFVO 0.5 Aug 24, 2016
+ * @version VFC 1.0 Aug 24, 2016
*/
public interface SitesBusiness {
* @param id
* @return The get result
* @throws ServiceException When get failed.
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
SitesEntity getSite(String id) throws ServiceException;
*
* @param condition
* @return The get result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
List<SitesEntity> getSites(Map<String, Object> condition);
* @param id
* @return The delete result
* @throws ServiceException When delete failed.
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int deleteSite(String id) throws ServiceException;
* @param sitesEntity
* @return The add result
* @throws ServiceException When add failed.
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int addSite(SitesEntity sitesEntity) throws ServiceException;
* @param sitesEntity
* @return The add result
* @throws ServiceException When add failed.
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int addSiteSelective(SitesEntity sitesEntity) throws ServiceException;
* @param sitesEntity
* @return The update result
* @throws ServiceException When update failed.
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int updateSiteSelective(SitesEntity sitesEntity) throws ServiceException;
* @param sitesEntity
* @return The update result
* @throws ServiceException When update failed.
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int updateSite(SitesEntity sitesEntity) throws ServiceException;
* @param sitesEntity
* @return The update result
* @throws ServiceException When update failed.
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int updateSiteByVimId(SitesEntity sitesEntity) throws ServiceException;
* @param sitesEntity
* @return The update result
* @throws ServiceException When update failed.
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int updateSiteResource(SitesEntity sitesEntity) throws ServiceException;
* </p>
*
* @author
- * @version NFVO 0.5 Aug 24, 2016
+ * @version VFC 1.0 Aug 24, 2016
*/
public interface VimBusiness {
*
* @param id
* @return The get result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
VimEntity getVim(String id);
*
* @param id
* @return The get result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
List<VimEntity> getVims();
* @param id
* @return the delete result
* @throws ServiceException When delete failed.
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int deleteVim(String id) throws ServiceException;
* @param id
* @return the add result
* @throws ServiceException When add failed.
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int addVim(String id) throws ServiceException;
* </p>
*
* @author
- * @version NFVO 0.5 2016-3-17
+ * @version VFC 1.0 2016-3-17
*/
public class AbstractDao {
* @param type
* The type of Class
* @return Mapper
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public <T> T getMapperManager(Class<T> type) {
return (T)getSession().getMapper(type);
* </p>
*
* @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
*/
public class HostDaoImpl extends AbstractDao implements HostDao {
* </p>
*
* @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
*/
public class LocationDaoImpl extends AbstractDao implements LocationDao {
* </p>
*
* @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
*/
public class NetworkDaoImpl extends AbstractDao implements NetworkDao {
* </p>
*
* @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
*/
public class PortDaoImpl extends AbstractDao implements PortDao {
* </p>
*
* @author
- * @version NFVO 0.5 Aug 25, 2016
+ * @version VFC 1.0 Aug 25, 2016
*/
public class SitesDaoImpl extends AbstractDao implements SitesDao {
* </p>
*
* @author
- * @version NFVO 0.5 Aug 25, 2016
+ * @version VFC 1.0 Aug 25, 2016
*/
public class VimDaoImpl extends AbstractDao implements VimDao {
* </p>
*
* @author
- * @version NFVO 0.5 Oct 28, 2016
+ * @version VFC 1.0 Oct 28, 2016
*/
public class VirtualLinkDaoImpl extends AbstractDao implements VirtualLinkDao {
*
* @param id
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@Override
public VirtualLinkEntity getVl(String id) {
*
* @param condition
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@Override
public List<VirtualLinkEntity> getVls(Map<String, Object> condition) {
*
* @param virtualLinkEntity
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@Override
public int addVl(VirtualLinkEntity virtualLinkEntity) {
*
* @param id
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@Override
public int deleteVlById(String id) {
* </p>
*
* @author
- * @version NFVO 0.5 Oct 28, 2016
+ * @version VFC 1.0 Oct 28, 2016
*/
public class VmDaoImpl extends AbstractDao implements VmDao {
*
* @param id
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@Override
public VmEntity getVm(String id) {
*
* @param condition
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@Override
public List<VmEntity> getVms(Map<String, Object> condition) {
*
* @param vmEntity
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@Override
public int addVm(VmEntity vmEntity) {
*
* @param id
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@Override
public int deleteVmById(String id) {
*
* @param vmEntity
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@Override
public int updateVm(VmEntity vmEntity) {
*
* @param vnfInstanceId
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@Override
public int deleteVmByVnfId(String vnfInstanceId) {
* </p>
*
* @author
- * @version NFVO 0.5 Oct 28, 2016
+ * @version VFC 1.0 Oct 28, 2016
*/
public class VnfDaoImpl extends AbstractDao implements VnfDao {
*
* @param id
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@Override
public VnfEntity getVnf(String id) {
*
* @param condition
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@Override
public List<VnfEntity> getVnfs(Map<String, Object> condition) {
*
* @param vnfEntity
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@Override
public int addVnf(VnfEntity vnfEntity) {
*
* @param id
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@Override
public int deleteVnfById(String id) {
* </p>
*
* @author
- * @version NFVO 0.5 Oct 28, 2016
+ * @version VFC 1.0 Oct 28, 2016
*/
public class VnfInfoDaoImpl extends AbstractDao implements VnfInfoDao {
*
* @param id
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@Override
public VnfInfoEntity getVnfInfo(String id) {
*
* @param condition
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@Override
public List<VnfInfoEntity> getVnfInfos(Map<String, Object> condition) {
*
* @param vmEntity
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@Override
public int addVnfInfo(VnfInfoEntity vnfInfoEntity) {
*
* @param id
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@Override
public int deleteVnfInfoById(String id) {
*
* @param vnfInfoEntity
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@Override
public int updateVnfInfo(VnfInfoEntity vnfInfoEntity) {
* </p>
*
* @author
- * @version NFVO 0.5 Oct 29, 2016
+ * @version VFC 1.0 Oct 29, 2016
*/
public class VnfStatusDaoImpl extends AbstractDao implements VnfStatusDao {
*
* @param id
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@Override
public VnfStatusEntity getVnfStatus(String id) {
*
* @param condition
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@Override
public List<VnfStatusEntity> getVnfStatuss(Map<String, Object> condition) {
*
* @param vnfStatusEntity
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@Override
public int addVnfStatus(VnfStatusEntity vnfStatusEntity) {
*
* @param id
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@Override
public int deleteVnfStatusById(String id) {
*
* @param vnfStatusEntity
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@Override
public int updateVnfStatus(VnfStatusEntity vnfStatusEntity) {
* </p>
*
* @author
- * @version NFVO 0.5 Aug 24, 2016
+ * @version VFC 1.0 Aug 24, 2016
*/
public interface HostDao {
*
* @param id
* @return The get result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
HostEntity getHost(String id);
*
* @param condition
* @return The get result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
List<HostEntity> getHosts(Map<String, Object> condition);
*
* @param id
* @return The delete result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int deleteHost(String id);
*
* @param vimId
* @return The delete result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int deleteHostByVimId(String vimId);
*
* @param hostEntity
* @return The add result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int addHost(HostEntity hostEntity);
*
* @param hostEntity
* @return The add result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int addHostSelective(HostEntity hostEntity);
*
* @param hostEntity
* @return The update result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int updateHostSelective(HostEntity hostEntity);
*
* @param hostEntity
* @return The update result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int updateHost(HostEntity hostEntity);
*
* @param hostEntity
* @return The update result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int updateHostByVimId(HostEntity hostEntity);
}
* </p>
*
* @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
*/
public interface LocationDao {
*
* @param id
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
LocationEntity getLocation(String id);
*
* @param condition
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
List<LocationEntity> getLocations(Map<String, Object> condition);
*
* @param location
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int deleteLocation(String location);
*
* @param sodoResEntity
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int addLocation(LocationEntity sodoResEntity);
*
* @param sodoResEntity
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int addLocationSelective(LocationEntity sodoResEntity);
*
* @param sodoResEntity
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int updateLocationSelective(LocationEntity sodoResEntity);
*
* @param sodoResEntity
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int updateLocation(LocationEntity sodoResEntity);
* Get Country.<br>
*
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
List<String> getCountry();
*
* @param condition
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
List<String> getLocationByCountry(Map<String, Object> condition);
}
* </p>
*
* @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
*/
public interface NetworkDao {
*
* @param id
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
NetworkEntity getNetwork(String id);
*
* @param condition
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
List<NetworkEntity> getNetworks(Map<String, Object> condition);
*
* @param id
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int deleteNetwork(String id);
*
* @param vimId
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int deleteNetworkByVimId(String vimId);
*
* @param networkEntity
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int addNetwork(NetworkEntity networkEntity);
*
* @param networkEntity
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int addNetworkSelective(NetworkEntity networkEntity);
*
* @param networkEntity
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int updateNetworkSelective(NetworkEntity networkEntity);
*
* @param networkEntity
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int updateNetwork(NetworkEntity networkEntity);
*
* @param networkEntity
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int updateNetworkByVimId(NetworkEntity networkEntity);
* </p>
*
* @author
- * @version NFVO 0.5 Aug 24, 2016
+ * @version VFC 1.0 Aug 24, 2016
*/
public interface PortDao {
*
* @param id
* @return The get result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
PortEntity getPort(String id);
*
* @param condition
* @return The get result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
List<PortEntity> getPorts(Map<String, Object> condition);
*
* @param id
* @return The delete result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int deletePort(String id);
*
* @param vimId
* @return The delete result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int deletePortByVimId(String vimId);
*
* @param portEntity
* @return The add result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int addPort(PortEntity portEntity);
*
* @param portEntity
* @return The add result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int addPortSelective(PortEntity portEntity);
*
* @param portEntity
* @return The update result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int updatePortSelective(PortEntity portEntity);
*
* @param portEntity
* @return The update result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int updatePort(PortEntity portEntity);
*
* @param portEntity
* @return The update result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int updatePortByVimId(PortEntity portEntity);
}
* </p>
*
* @author
- * @version NFVO 0.5 Aug 24, 2016
+ * @version VFC 1.0 Aug 24, 2016
*/
public interface SitesDao {
*
* @param id
* @return The get result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
SitesEntity getSite(String id);
*
* @param condition
* @return The get result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
List<SitesEntity> getSites(Map<String, Object> condition);
*
* @param id
* @return The get result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int deleteSite(String id);
*
* @param sitesEntity
* @return The delete result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int addSite(SitesEntity sitesEntity);
*
* @param sitesEntity
* @return The add result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int addSiteSelective(SitesEntity sitesEntity);
*
* @param sitesEntity
* @return The add result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int updateSiteSelective(SitesEntity sitesEntity);
*
* @param sitesEntity
* @return The update result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int updateSite(SitesEntity sitesEntity);
*
* @param sitesEntity
* @return The update result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int updateSiteByVimId(SitesEntity sitesEntity);
}
* </p>
*
* @author
- * @version NFVO 0.5 Aug 24, 2016
+ * @version VFC 1.0 Aug 24, 2016
*/
public interface VimDao {
*
* @param id
* @return The get result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
VimEntity getVim(String id);
* It is used to get Vims info.<br/>
*
* @return The get result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
List<VimEntity> getVims();
*
* @param id
* @return The delete result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int deleteVim(String id);
*
* @param vimEntity
* @return The add result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int addVim(VimEntity vimEntity);
* </p>
*
* @author
- * @version NFVO 0.5 Oct 28, 2016
+ * @version VFC 1.0 Oct 28, 2016
*/
public interface VirtualLinkDao {
*
* @param id
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
VirtualLinkEntity getVl(String id);
*
* @param condition
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
List<VirtualLinkEntity> getVls(Map<String, Object> condition);
*
* @param virtualLinkEntity
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int addVl(VirtualLinkEntity virtualLinkEntity);
*
* @param id
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int deleteVlById(String id);
}
* </p>
*
* @author
- * @version NFVO 0.5 Oct 28, 2016
+ * @version VFC 1.0 Oct 28, 2016
*/
public interface VmDao {
* </p>
*
* @author
- * @version NFVO 0.5 Oct 28, 2016
+ * @version VFC 1.0 Oct 28, 2016
*/
public interface VnfDao {
*
* @param id
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
VnfEntity getVnf(String id);
*
* @param condition
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
List<VnfEntity> getVnfs(Map<String, Object> condition);
*
* @param vnfEntity
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int addVnf(VnfEntity vnfEntity);
*
* @param id
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int deleteVnfById(String id);
}
* </p>
*
* @author
- * @version NFVO 0.5 Oct 28, 2016
+ * @version VFC 1.0 Oct 28, 2016
*/
public interface VnfInfoDao {
* </p>
*
* @author
- * @version NFVO 0.5 Oct 29, 2016
+ * @version VFC 1.0 Oct 29, 2016
*/
public interface VnfStatusDao {
* </p>
*
* @author
- * @version NFVO 0.5 Aug 31, 2016
+ * @version VFC 1.0 Aug 31, 2016
*/
public class HostEntity {
*
* @param jsonObject
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static HostEntity toEntity(JSONObject jsonObject) {
HostEntity hostEntity = new HostEntity();
* </p>
*
* @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
*/
public class LocationEntity {
*
* @param jsonObject
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static LocationEntity toEntity(JSONObject jsonObject) {
LocationEntity sodoresesEntity = new LocationEntity();
* </p>
*
* @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
*/
public class NetworkEntity {
*
* @param jsonObject
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static NetworkEntity toEntity(JSONObject jsonObject) {
NetworkEntity sitesEntity = new NetworkEntity();
* </p>
*
* @author
- * @version NFVO 0.5 Aug 31, 2016
+ * @version VFC 1.0 Aug 31, 2016
*/
public class PortEntity {
*
* @param jsonObject
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static PortEntity toEntity(JSONObject jsonObject) {
PortEntity portEntity = new PortEntity();
* </p>
*
* @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
*/
public class SitesEntity {
*
* @param jsonObject
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static SitesEntity toEntity(JSONObject jsonObject) {
SitesEntity sitesEntity = new SitesEntity();
*
* @param siteEntity
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static boolean checkResourceIsZero(SitesEntity siteEntity) {
*
* @param siteEntity
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static boolean checkResource(SitesEntity siteEntity) {
String cpu = siteEntity.getTotalCPU();
* Format data.<br>
*
* @param siteEntity
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static void dataFramat(SitesEntity siteEntity) {
siteEntity.setTotalCPU(StringUtil.numFormat(siteEntity.getTotalCPU()));
/*
- * Copyright 2016 Huawei Technologies Co., Ltd.
+ * Copyright 2016-2017 Huawei Technologies Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
import net.sf.json.JSONObject;
/**
- *
* Virtualised infrastructure manager entity class.<br>
* <p>
* </p>
*
* @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
*/
public class VimEntity {
* value of the database column vim.ID
*
* @param id
- * the value for vim.ID
+ * the value for vim.ID
*/
public void setId(String id) {
this.id = id == null ? null : id.trim();
}
/**
- *
* To Entity.<br>
*
* @param jsonObject
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static VimEntity toEntity(JSONObject jsonObject) {
VimEntity vimEntity = new VimEntity();
}
/**
- *
* To String.<br>
*
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
+ @Override
public String toString() {
JSONObject resJson = new JSONObject();
resJson.put("id", StringUtils.trimToEmpty(this.getId()));
*
* @param jsonObject
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static VirtualLinkEntity toEntity(JSONObject jsonObject) {
VirtualLinkEntity virtualLinkEntity = new VirtualLinkEntity();
*
* @param jsonObject
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static VnfEntity toEntity(JSONObject jsonObject) {
VnfEntity vnfEntity = new VnfEntity();
* </p>
*
* @author
- * @version NFVO 0.5 Oct 29, 2016
+ * @version VFC 1.0 Oct 29, 2016
*/
public class GrantResServiceImpl implements GrantResService {
* @param object
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@Override
public JSONObject grantResource(JSONObject object) throws ServiceException {
*
* @param addResource
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
private JSONObject getGrantResource(JSONArray resource) {
int cpuNum = 0;
*
* @param object
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
private JSONArray parseResource(JSONObject object, String key) {
JSONArray newResources = new JSONArray();
*
* @param vimJson
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
private JSONObject parseVim(JSONObject vimJson) {
LOGGER.info("function=grantResource; vimJson: {}", vimJson.toString());
* </p>
*
* @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
*/
public class IResourceAddServiceImpl {
* @param restParametes
* @param iResMap
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@Transactional(rollbackFor = ServiceException.class)
public void addIRes(RestfulParametes restParametes, Map<String, InterfaceResManagement> iResMap)
* @param url
* @param iResName
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static void addHostResource(Map<String, InterfaceResManagement> iResMap, RestfulParametes restParametes,
String url, String iResName) throws ServiceException {
* @param hostObj
* @param hostName
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public static JSONObject hostDataParse(JSONObject hostObj, String hostName) {
LOGGER.warn("function=hostDataParse; hostObj={}, hostName={}", hostObj, hostName);
* </p>
*
* @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
*/
public class IResourceDelServiceImpl {
* @param vim
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public int deleteIRes(String vimId, Map<String, InterfaceResManagement> iResMap, Vim vim) throws ServiceException {
Map<String, Object> map = new HashMap<>(10);
* </p>
*
* @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
*/
public class IResourceUpdateServiceImpl {
* @param iResMap
* @param sites
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@Transactional(rollbackFor = ServiceException.class)
public void updateIRes(String vimId, RestfulParametes restParametes, Map<String, InterfaceResManagement> iResMap)
* </p>
*
* @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
*/
public class ResOperateServiceImpl implements ResOperateService {
* Set iResource Add service implemtation.<br>
*
* @param iResourceAddServiceImpl
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public void setiResourceAddServiceImpl(IResourceAddServiceImpl iResourceAddServiceImpl) {
this.iResourceAddServiceImpl = iResourceAddServiceImpl;
* Set iResource update service implementation.<br>
*
* @param iResourceUpdateServiceImpl
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public void setiResourceUpdateServiceImpl(IResourceUpdateServiceImpl iResourceUpdateServiceImpl) {
this.iResourceUpdateServiceImpl = iResourceUpdateServiceImpl;
* Set iresource delete service implementation.<br>
*
* @param iResourceDelServiceImpl
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
public void setiResourceDelServiceImpl(IResourceDelServiceImpl iResourceDelServiceImpl) {
this.iResourceDelServiceImpl = iResourceDelServiceImpl;
*
* @param string
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@Override
public void sendMsgMonitor(String operateType, String vimId) throws ServiceException {
* </p>
*
* @author
- * @version NFVO 0.5 Oct 27, 2016
+ * @version VFC 1.0 Oct 27, 2016
*/
public class VirtualLinkServiceImpl implements VirtualLinkService {
* @param virtualLinkEntity
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@Override
public JSONObject addVl(VirtualLinkEntity virtualLinkEntity) throws ServiceException {
*
* @param id
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
private boolean checkId(String id) {
VirtualLinkEntity vl = virtualLinkDao.getVl(id);
* @param map
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@Override
public List<VirtualLinkEntity> getList(Map<String, Object> map) throws ServiceException {
* @param id
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@Override
public int delete(String id) throws ServiceException {
* </p>
*
* @author
- * @version NFVO 0.5 Oct 29, 2016
+ * @version VFC 1.0 Oct 29, 2016
*/
public class VmServiceImpl implements VmService {
* @param vmEntity
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@Override
public JSONObject addVm(VmEntity vmEntity) throws ServiceException {
*
* @param vmId
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
private boolean checkId(String vmId) {
VmEntity vm = vmDao.getVm(vmId);
* @param map
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@Override
public List<VmEntity> getList(Map<String, Object> map) throws ServiceException {
* @param id
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@Override
public int delete(String id) throws ServiceException {
*
* @param vnfInstanceId
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@Override
public int deleteByVnfId(String vnfInstanceId) throws ServiceException {
* </p>
*
* @author
- * @version NFVO 0.5 Oct 28, 2016
+ * @version VFC 1.0 Oct 28, 2016
*/
public class VnfInfoServiceImpl implements VnfInfoService {
* @param object
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@Override
public JSONObject addVnfInfo(JSONObject object) throws ServiceException {
*
* @param vnfInstanceId
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
private boolean checkId(String vnfInstanceId) {
VnfInfoEntity vnf = vnfInfoDao.getVnfInfo(vnfInstanceId);
*
* @param object
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
private void saveVm(JSONObject object) throws ServiceException {
String vnfInstanceId = object.getString("vnfInstanceId");
* @param map
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@Override
public List<VnfInfoEntity> getList(Map<String, Object> map) throws ServiceException {
* @param id
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@Override
public int delete(String id) throws ServiceException {
* </p>
*
* @author
- * @version NFVO 0.5 Oct 28, 2016
+ * @version VFC 1.0 Oct 28, 2016
*/
public class VnfServiceImpl implements VnfService {
* @param vnfEntity
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@Override
public JSONObject addVnf(VnfEntity vnfEntity) throws ServiceException {
*
* @param id
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
private boolean checkId(String id) {
VnfEntity vnf = vnfDao.getVnf(id);
* @param map
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@Override
public List<VnfEntity> getList(Map<String, Object> map) throws ServiceException {
* @param id
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@Override
public int delete(String id) throws ServiceException {
*
* @param id
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
private void deleteVnfInfo(String vnfInstanceId) throws ServiceException {
vnfInfoService.delete(vnfInstanceId);
* </p>
*
* @author
- * @version NFVO 0.5 Oct 29, 2016
+ * @version VFC 1.0 Oct 29, 2016
*/
public class VnfStatusServiceImpl implements VnfStatusService {
* @param object
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@Override
public JSONObject addVnfStatus(JSONObject object) throws ServiceException {
*
* @param vnfInstanceId
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
private boolean checkId(String vnfInstanceId) {
VnfStatusEntity vnfStatus = vnfStatusDao.getVnfStatus(vnfInstanceId);
* @param map
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@Override
public List<VnfStatusEntity> getList(Map<String, Object> map) throws ServiceException {
* @param id
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@Override
public int delete(String id) throws ServiceException {
* </p>
*
* @author
- * @version NFVO 0.5 Oct 29, 2016
+ * @version VFC 1.0 Oct 29, 2016
*/
public interface GrantResService {
*
* @param object
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
JSONObject grantResource(JSONObject object) throws ServiceException;
* </p>
*
* @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
*/
public interface ResOperateService {
* @param vimId
* @param header
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
void updateIRes(String tenantId, String vimId, JSONObject header) throws ServiceException;
* Update all iResource.<br>
*
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
void updateAllIRes() throws ServiceException;
* @param vimId
* @param header
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
void addIRes(String tenantId, String vimId, JSONObject header) throws ServiceException;
* @param vimId
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int deleteIRes(String vimId) throws ServiceException;
* @param operateType
* @param vimId
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
void sendMsgMonitor(String operateType, String vimId) throws ServiceException;
}
* </p>
*
* @author
- * @version NFVO 0.5 Oct 27, 2016
+ * @version VFC 1.0 Oct 27, 2016
*/
public interface VirtualLinkService {
* @param virtualLinkEntity
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
JSONObject addVl(VirtualLinkEntity virtualLinkEntity) throws ServiceException;
*
* @param map
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
List<VirtualLinkEntity> getList(Map<String, Object> map) throws ServiceException;
*
* @param id
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int delete(String id) throws ServiceException;
}
* </p>
*
* @author
- * @version NFVO 0.5 Oct 29, 2016
+ * @version VFC 1.0 Oct 29, 2016
*/
public interface VmService {
* </p>
*
* @author
- * @version NFVO 0.5 Oct 28, 2016
+ * @version VFC 1.0 Oct 28, 2016
*/
public interface VnfInfoService {
* </p>
*
* @author
- * @version NFVO 0.5 Oct 28, 2016
+ * @version VFC 1.0 Oct 28, 2016
*/
public interface VnfService {
* @param vnfEntity
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
JSONObject addVnf(VnfEntity vnfEntity) throws ServiceException;
* @param map
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
List<VnfEntity> getList(Map<String, Object> map) throws ServiceException;
* @param id
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int delete(String id) throws ServiceException;
}
* </p>
*
* @author
- * @version NFVO 0.5 Oct 29, 2016
+ * @version VFC 1.0 Oct 29, 2016
*/
public interface VnfStatusService {
* </p>
*
* @author
- * @version NFVO 0.5 Aug 24, 2016
+ * @version VFC 1.0 Aug 24, 2016
*/
public interface HostMapper {
*
* @param id
* @return The get result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
HostEntity getHost(String id);
*
* @param condition
* @return The get result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
List<HostEntity> getHosts(Map<String, Object> condition);
*
* @param id
* @return The delete result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int deleteHost(String id);
*
* @param vimId
* @return The delete result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int deleteHostByVimId(String vimId);
*
* @param hostEntity
* @return The add result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int addHost(HostEntity hostEntity);
*
* @param hostEntity
* @return The add result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int addHostSelective(HostEntity hostEntity);
*
* @param hostEntity
* @return The update result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int updateHostSelective(HostEntity hostEntity);
*
* @param hostEntity
* @return The update result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int updateHost(HostEntity hostEntity);
*
* @param hostEntity
* @return The update result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int updateHostByVimId(HostEntity hostEntity);
}
* </p>
*
* @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
*/
public interface LocationMapper {
*
* @param id
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
LocationEntity getLocation(String id);
* Get Country.<br>
*
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
List<String> getCountry();
*
* @param condition
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
List<String> getLocationByCountry(Map<String, Object> condition);
*
* @param condition
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
List<LocationEntity> getLocations(Map<String, Object> condition);
*
* @param location
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int deleteLocation(String location);
*
* @param locationEntity
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int addLocation(LocationEntity locationEntity);
*
* @param locationEntity
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int addLocationSelective(LocationEntity locationEntity);
*
* @param locationEntity
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int updateLocationSelective(LocationEntity locationEntity);
*
* @param locationEntity
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int updateLocation(LocationEntity locationEntity);
}
* </p>
*
* @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
*/
public interface NetworkMapper {
*
* @param id
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
NetworkEntity getNetwork(String id);
*
* @param condition
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
List<NetworkEntity> getNetworks(Map<String, Object> condition);
*
* @param id
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int deleteNetwork(String id);
*
* @param vimId
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int deleteNetworkByVimId(String vimId);
*
* @param networkEntity
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int addNetwork(NetworkEntity networkEntity);
*
* @param networkEntity
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int addNetworkSelective(NetworkEntity networkEntity);
*
* @param networkEntity
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int updateNetworkSelective(NetworkEntity networkEntity);
*
* @param networkEntity
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int updateNetwork(NetworkEntity networkEntity);
*
* @param networkEntity
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int updateNetworkByVimId(NetworkEntity networkEntity);
* </p>
*
* @author
- * @version NFVO 0.5 Aug 24, 2016
+ * @version VFC 1.0 Aug 24, 2016
*/
public interface PortMapper {
*
* @param id
* @return The get result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
PortEntity getPort(String id);
*
* @param condition
* @return The get result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
List<PortEntity> getPorts(Map<String, Object> condition);
*
* @param id
* @return The delete result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int deletePort(String id);
*
* @param vimId
* @return The delete result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int deletePortByVimId(String vimId);
*
* @param portEntity
* @return The add result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int addPort(PortEntity portEntity);
*
* @param portEntity
* @return The add result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int addPortSelective(PortEntity portEntity);
*
* @param portEntity
* @return The update result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int updatePortSelective(PortEntity portEntity);
*
* @param portEntity
* @return The update result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int updatePort(PortEntity portEntity);
*
* @param portEntity
* @return The update result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int updatePortByVimId(PortEntity portEntity);
}
* </p>
*
* @author
- * @version NFVO 0.5 Aug 24, 2016
+ * @version VFC 1.0 Aug 24, 2016
*/
public interface SitesMapper {
*
* @param id
* @return The get result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
SitesEntity getSite(String id);
*
* @param map
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
List<SitesEntity> getSites(Map<String, Object> map);
*
* @param id
* @return The get result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int deleteSite(String id);
*
* @param entity
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int addSite(SitesEntity entity);
*
* @param entity
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int addSiteSelective(SitesEntity entity);
*
* @param entity
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int updateSiteSelective(SitesEntity entity);
*
* @param entity
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int updateSite(SitesEntity entity);
*
* @param entity
* @return
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int updateSiteByVimId(SitesEntity entity);
}
* </p>
*
* @author
- * @version NFVO 0.5 Aug 24, 2016
+ * @version VFC 1.0 Aug 24, 2016
*/
public interface VimMapper {
*
* @param id
* @return The get result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
VimEntity getVim(String id);
* It is used to get Vims info.<br/>
*
* @return The get result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
List<VimEntity> getVims();
*
* @param id
* @return The delete result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int deleteVim(String id);
*
* @param vimEntity
* @return The add result
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
int addVim(VimEntity vimEntity);
* </p>
*
* @author
- * @version NFVO 0.5 Oct 29, 2016
+ * @version VFC 1.0 Oct 29, 2016
*/
@Path(UrlConstant.GRANTRES_URL)
@Produces(MediaType.APPLICATION_JSON)
* </p>
*
* @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
*/
@Path(UrlConstant.HOST_URL)
@Produces(MediaType.APPLICATION_JSON)
* @param context
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@GET
public JSONObject getHosts(@Context HttpServletRequest context) throws ServiceException {
* @param id
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@GET
@Path("/{hostId}")
* @param context
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@POST
public JSONObject addHost(@Context HttpServletRequest context) throws ServiceException {
* @param id
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@DELETE
public JSONObject deleteHost(@Context HttpServletRequest context, @QueryParam(ParamConstant.PARAM_ID) String id)
* @param context
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@PUT
public JSONObject updateHost(@Context HttpServletRequest context) throws ServiceException {
* </p>
*
* @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
*/
@Path(UrlConstant.LIMITS_URL)
@Consumes(MediaType.APPLICATION_JSON)
* @param vimId
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@GET
public JSONObject getLimits(@Context HttpServletRequest context,
* </p>
*
* @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
*/
@Path(UrlConstant.LOCATION_URL)
@Produces(MediaType.APPLICATION_JSON)
* @param context
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@GET
public JSONObject getLocationsbase(@Context HttpServletRequest context) throws ServiceException {
* @param id
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@GET
@Path("/{locationId}")
* @param context
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@GET
@Path("/country")
* @param country
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@GET
@Path("/locationbycountry")
* @param context
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@GET
@Path("/cloudservice")
* @param locations
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@GET
@Path("/site")
* @param context
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@POST
@Consumes(MediaType.APPLICATION_JSON)
* @param locations
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@DELETE
@Path("/{location}")
* @param context
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@DELETE
@Consumes(MediaType.APPLICATION_JSON)
* @param context
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@PUT
@Consumes(MediaType.APPLICATION_JSON)
* </p>
*
* @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
*/
@Path(UrlConstant.NETWORKS_URL)
@Consumes({MediaType.APPLICATION_JSON})
* @param context
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@GET
public JSONObject getNetworks(@Context HttpServletRequest context) throws ServiceException {
* @param id
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@GET
@Path("/{networkId}")
* @param context
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@POST
@Consumes({MediaType.APPLICATION_JSON})
* @param id
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@DELETE
@Consumes({MediaType.APPLICATION_JSON})
* @param context
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@PUT
@Consumes({MediaType.APPLICATION_JSON})
* </p>
*
* @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
*/
@Path(UrlConstant.PORT_URL)
@Produces(MediaType.APPLICATION_JSON)
* @param context
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@GET
public JSONObject getPorts(@Context HttpServletRequest context) throws ServiceException {
* @param id
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@GET
@Path("/{portId}")
* @param context
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@POST
public JSONObject addPort(@Context HttpServletRequest context) throws ServiceException {
* @param id
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@DELETE
public JSONObject deletePort(@Context HttpServletRequest context, @QueryParam(ParamConstant.PARAM_ID) String id)
* @param context
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@PUT
public JSONObject updatePort(@Context HttpServletRequest context) throws ServiceException {
* </p>
*
* @author
- * @version NFVO 0.5 Sep 10, 2016
+ * @version VFC 1.0 Sep 10, 2016
*/
@Path(UrlConstant.RESOPERATE_URL)
@Consumes(MediaType.APPLICATION_JSON)
* @param vimId
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@PUT
@Path(UrlConstant.MODRES_URL)
* @param vimId
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@POST
@Path(UrlConstant.ADDRES_URL)
* @param vimId
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@DELETE
@Consumes(MediaType.APPLICATION_JSON)
* </p>
*
* @author
- * @version NFVO 0.5 Aug 24, 2016
+ * @version VFC 1.0 Aug 24, 2016
*/
@Path(UrlConstant.SITES_URL)
@Consumes(MediaType.APPLICATION_JSON)
* @param context
* @return the get result
* @throws ServiceException When get failed.
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@GET
public JSONObject getSites(@Context HttpServletRequest context) throws ServiceException {
* @param id
* @return the get result
* @throws ServiceException When get failed.
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@GET
@Path("/{datacenterId}")
* @param id
* @return the add result
* @throws ServiceException When add failed.
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@POST
public JSONObject addSites(@Context HttpServletRequest context) throws ServiceException {
* @param id
* @return the delete result
* @throws ServiceException When delete failed.
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@DELETE
@Path("/{datacenterId}")
* @param id
* @return the update result
* @throws ServiceException When update failed.
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@PUT
public JSONObject updateSites(@Context HttpServletRequest context) throws ServiceException {
* @param context
* @return
* @throws ServiceException
- * @since NFVO 0.5
+ * @since VFC 1.0
*/
@PUT
@Path("/grant")
* Swagger API Doc.<br/>
*
* @author
- * @version NFVO 0.5 Oct 24, 2016
+ * @version VFC 1.0 Oct 24, 2016
*/
@Path("/v1")
@Produces({MediaType.APPLICATION_JSON})
* </p>
*
* @author
- * @version NFVO 0.5 Oct 27, 2016
+ * @version VFC 1.0 Oct 27, 2016
*/
@Path(UrlConstant.VL_URL)
@Produces(MediaType.APPLICATION_JSON)
* </p>
*
* @author
- * @version NFVO 0.5 Oct 29, 2016
+ * @version VFC 1.0 Oct 29, 2016
*/
@Path(UrlConstant.VM_URL)
@Produces(MediaType.APPLICATION_JSON)
* </p>
*
* @author
- * @version NFVO 0.5 Oct 28, 2016
+ * @version VFC 1.0 Oct 28, 2016
*/
@Path(UrlConstant.VNFINFO_URL)
@Produces(MediaType.APPLICATION_JSON)
* </p>
*
* @author
- * @version NFVO 0.5 Oct 28, 2016
+ * @version VFC 1.0 Oct 28, 2016
*/
@Path(UrlConstant.VNF_URL)
@Produces(MediaType.APPLICATION_JSON)
* </p>
*
* @author
- * @version NFVO 0.5 Oct 29, 2016
+ * @version VFC 1.0 Oct 29, 2016
*/
@Path(UrlConstant.VNFSTATUS_URL)
@Produces(MediaType.APPLICATION_JSON)
* Exception response model.<br>
*
* @author
- * @version NFVO 0.5 Sep 27, 2016
+ * @version VFC 1.0 Sep 27, 2016
*/
public class ExceptionMessage {
*
*
* @author
- * @version NFVO 0.5 Sep 27, 2016
+ * @version VFC 1.0 Sep 27, 2016
*/
@Provider
public class GenericExceptionMapper implements ExceptionMapper<Exception>{
* ServiceException response provider.<br>
*
* @author
- * @version NFVO 0.5 Sep 27, 2016
+ * @version VFC 1.0 Sep 27, 2016
*/
@Provider
public class ServiceExceptionMapper implements ExceptionMapper<ServiceException>{
* </p>
*
* @author
- * @version NFVO 0.5 Sep 24, 2016
+ * @version VFC 1.0 Sep 24, 2016
*/
public class ResmgrAdapter2MSBManagerTest {
* </p>
*
* @author
- * @version NFVO 0.5 Sep 24, 2016
+ * @version VFC 1.0 Sep 24, 2016
*/
public class ResmgrAdapterMgrServiceTest {
* </p>
*
* @author
- * @version NFVO 0.5 2016年8月16日
+ * @version VFC 1.0 2016年8月16日
*/
public class SitesBusinessImplTest {
* </p>
*
* @author
- * @version NFVO 0.5 2016年8月18日
+ * @version VFC 1.0 2016年8月18日
*/
public class VimBusinessImplTest {
* </p>\r
* \r
* @author\r
- * @version NFVO 0.5 Mar 16, 2017\r
+ * @version VFC 1.0 Mar 16, 2017\r
*/\r
public class GrantResourseRoaTest {\r
\r
* </p>\r
* \r
* @author\r
- * @version NFVO 0.5 Feb 9, 2017\r
+ * @version VFC 1.0 Feb 9, 2017\r
*/\r
public class HostRoaTest {\r
\r
* </p>\r
* \r
* @author\r
- * @version NFVO 0.5 Feb 9, 2017\r
+ * @version VFC 1.0 Feb 9, 2017\r
*/\r
public class LimitsRoaTest {\r
\r
* </p>\r
* \r
* @author\r
- * @version NFVO 0.5 Feb 9, 2017\r
+ * @version VFC 1.0 Feb 9, 2017\r
*/\r
public class LocationRoaTest {\r
\r
* </p>\r
* \r
* @author\r
- * @version NFVO 0.5 Feb 9, 2017\r
+ * @version VFC 1.0 Feb 9, 2017\r
*/\r
public class NetworkRoaTest {\r
\r
* </p>\r
* \r
* @author\r
- * @version NFVO 0.5 Feb 9, 2017\r
+ * @version VFC 1.0 Feb 9, 2017\r
*/\r
public class PortRoaTest {\r
\r
* </p>\r
* \r
* @author\r
- * @version NFVO 0.5 Mar 16, 2017\r
+ * @version VFC 1.0 Mar 16, 2017\r
*/\r
public class ResOperateRoaTest {\r
\r
import org.junit.Test;
import org.onap.vfc.nfvo.resmanagement.common.VimUtil;
import org.onap.vfc.nfvo.resmanagement.common.util.request.RequestUtil;
+import org.onap.vfc.nfvo.resmanagement.common.util.restclient.ServiceException;
import org.onap.vfc.nfvo.resmanagement.service.base.openstack.impl.SitesImpl;
import org.onap.vfc.nfvo.resmanagement.service.entity.SitesEntity;
-import org.onap.vfc.nfvo.resmanagement.service.rest.SitesRoa;
-import org.onap.vfc.nfvo.resmanagement.common.util.restclient.ServiceException;
import org.springframework.mock.web.MockHttpServletRequest;
import mockit.Mock;
* </p>
*
* @author
- * @version NFVO 0.5 2016年8月16日
+ * @version VFC 1.0 2016年8月16日
*/
public class SitesRoaTest {
};
JSONObject result = sitesRoa.deleteSites(null, "123");
JSONObject expectedResult = new JSONObject();
- expectedResult.put("msg", "org.openo.nfvo.resmanage.common.del.success");
+ expectedResult.put("msg", "delete success");
assertEquals(expectedResult.toString(), result.toString());
}
};
JSONObject result = sitesRoa.updateSites(null);
JSONObject expectedResult = new JSONObject();
- expectedResult.put("msg", "org.openo.nfvo.resmanage.common.update.success");
+ expectedResult.put("msg", "update success");
assertEquals(expectedResult.toString(), result.toString());
}
* </p>\r
* \r
* @author\r
- * @version NFVO 0.5 Feb 9, 2017\r
+ * @version VFC 1.0 Feb 9, 2017\r
*/\r
public class SwaggerRoaTest {\r
\r
* </p>\r
* \r
* @author\r
- * @version NFVO 0.5 Feb 9, 2017\r
+ * @version VFC 1.0 Feb 9, 2017\r
*/\r
public class VirtualLinkRoaTest {\r
\r
* </p>\r
* \r
* @author\r
- * @version NFVO 0.5 Feb 9, 2017\r
+ * @version VFC 1.0 Feb 9, 2017\r
*/\r
public class VmRoaTest {\r
\r
* </p>\r
* \r
* @author\r
- * @version NFVO 0.5 Feb 9, 2017\r
+ * @version VFC 1.0 Feb 9, 2017\r
*/\r
public class VnfInfoRoaTest {\r
\r
* </p>\r
* \r
* @author\r
- * @version NFVO 0.5 Feb 10, 2017\r
+ * @version VFC 1.0 Feb 10, 2017\r
*/\r
public class VnfRoaTest {\r
\r
* </p>\r
* \r
* @author\r
- * @version NFVO 0.5 Feb 10, 2017\r
+ * @version VFC 1.0 Feb 10, 2017\r
*/\r
public class VnfStatusRoaTest {\r
\r
* </p>\r
* \r
* @author\r
- * @version NFVO 0.5 Feb 9, 2017\r
+ * @version VFC 1.0 Feb 9, 2017\r
*/\r
public class ExceptionMessageTest {\r
\r
* </p>\r
* \r
* @author\r
- * @version NFVO 0.5 Feb 9, 2017\r
+ * @version VFC 1.0 Feb 9, 2017\r
*/\r
public class GenericExceptionMapperTest {\r
\r
* </p>\r
* \r
* @author\r
- * @version NFVO 0.5 Feb 9, 2017\r
+ * @version VFC 1.0 Feb 9, 2017\r
*/\r
public class ServiceExceptionMapperTest {\r
\r