From 7845d9b33a89a1c647dfa20bfefee3599783cae7 Mon Sep 17 00:00:00 2001 From: "Singal, Kapil (ks220y)" Date: Thu, 13 May 2021 15:09:28 -0400 Subject: Moving IAAS Adaptor from APPC to CCSDK SLI Issue-ID: CCSDK-3198 Signed-off-by: Singal, Kapil (ks220y) Change-Id: I24c21a9bebe87bb87eb14bd903ee558c20b45277 --- .../onap/ccsdk/sli/adaptors/rest/RestAdaptor.java | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'adaptors/rest-adaptor/rest-adaptor-bundle/src') diff --git a/adaptors/rest-adaptor/rest-adaptor-bundle/src/main/java/org/onap/ccsdk/sli/adaptors/rest/RestAdaptor.java b/adaptors/rest-adaptor/rest-adaptor-bundle/src/main/java/org/onap/ccsdk/sli/adaptors/rest/RestAdaptor.java index 836123698..b843ba59b 100644 --- a/adaptors/rest-adaptor/rest-adaptor-bundle/src/main/java/org/onap/ccsdk/sli/adaptors/rest/RestAdaptor.java +++ b/adaptors/rest-adaptor/rest-adaptor-bundle/src/main/java/org/onap/ccsdk/sli/adaptors/rest/RestAdaptor.java @@ -87,10 +87,10 @@ public interface RestAdaptor extends SvcLogicJavaPlugin { * @return The Server object that represents the VM being restarted. The returned server object can be * inspected for the final state of the server once the restart has been completed. The method does not * return until the restart has either completed or has failed. - * @throws APPCException + * @throws SvcLogicException * If the server cannot be restarted for some reason */ - // Server restartServer(Map properties, SvcLogicContext context) throws APPCException; + // Server restartServer(Map properties, SvcLogicContext context) throws SvcLogicException; /** * This method is used to stop the indicated server @@ -117,10 +117,10 @@ public interface RestAdaptor extends SvcLogicJavaPlugin { * @return The Server object that represents the VM being stopped. The returned server object can be * inspected for the final state of the server once the stop has been completed. The method does not return * until the stop has either completed or has failed. - * @throws APPCException + * @throws SvcLogicException * If the server cannot be stopped for some reason */ - //Server stopServer(Map properties, SvcLogicContext context) throws APPCException; + //Server stopServer(Map properties, SvcLogicContext context) throws SvcLogicException; /** * This method is used to start the indicated server @@ -147,10 +147,10 @@ public interface RestAdaptor extends SvcLogicJavaPlugin { * @return The Server object that represents the VM being started. The returned server object can be * inspected for the final state of the server once the start has been completed. The method does not return * until the start has either completed or has failed. - * @throws APPCException + * @throws SvcLogicException * If the server cannot be started for some reason */ - // Server startServer(Map properties, SvcLogicContext context) throws APPCException; + // Server startServer(Map properties, SvcLogicContext context) throws SvcLogicException; /** * This method is used to rebuild the indicated server @@ -177,10 +177,10 @@ public interface RestAdaptor extends SvcLogicJavaPlugin { * @return The Server object that represents the VM being rebuilt. The returned server object can be * inspected for the final state of the server once the rebuild has been completed. The method does not * return until the rebuild has either completed or has failed. - * @throws APPCException + * @throws SvcLogicException * If the server cannot be rebuilt for some reason */ - // Server rebuildServer(Map properties, SvcLogicContext context) throws APPCException; + // Server rebuildServer(Map properties, SvcLogicContext context) throws SvcLogicException; /** * Returns the symbolic name of the adaptor @@ -189,9 +189,9 @@ public interface RestAdaptor extends SvcLogicJavaPlugin { */ String getAdaptorName(); - // Server evacuateServer(Map params, SvcLogicContext ctx) throws APPCException; + // Server evacuateServer(Map params, SvcLogicContext ctx) throws SvcLogicException; - //Server migrateServer(Map params, SvcLogicContext ctx) throws APPCException; + //Server migrateServer(Map params, SvcLogicContext ctx) throws SvcLogicException; void commonGet(Map params, SvcLogicContext ctx); -- cgit 1.2.3-korg