summaryrefslogtreecommitdiffstats
path: root/adaptors/rest-adaptor/rest-adaptor-bundle/src
diff options
context:
space:
mode:
authorSingal, Kapil (ks220y) <ks220y@att.com>2021-05-13 15:09:28 -0400
committerSingal, Kapil (ks220y) <ks220y@att.com>2021-05-17 10:52:59 -0400
commit7845d9b33a89a1c647dfa20bfefee3599783cae7 (patch)
tree3be5e37a9c916b858002458278a999ca9b8e3974 /adaptors/rest-adaptor/rest-adaptor-bundle/src
parent557282a4274b7f2849e2433ff3373b43c6a920b3 (diff)
Moving IAAS Adaptor from APPC to CCSDK SLI
Issue-ID: CCSDK-3198 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: I24c21a9bebe87bb87eb14bd903ee558c20b45277
Diffstat (limited to 'adaptors/rest-adaptor/rest-adaptor-bundle/src')
-rw-r--r--adaptors/rest-adaptor/rest-adaptor-bundle/src/main/java/org/onap/ccsdk/sli/adaptors/rest/RestAdaptor.java20
1 files changed, 10 insertions, 10 deletions
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 <code>Server</code> 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<String, String> properties, SvcLogicContext context) throws APPCException;
+ // Server restartServer(Map<String, String> 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 <code>Server</code> 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<String, String> properties, SvcLogicContext context) throws APPCException;
+ //Server stopServer(Map<String, String> 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 <code>Server</code> 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<String, String> properties, SvcLogicContext context) throws APPCException;
+ // Server startServer(Map<String, String> 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 <code>Server</code> 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<String, String> properties, SvcLogicContext context) throws APPCException;
+ // Server rebuildServer(Map<String, String> 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<String, String> params, SvcLogicContext ctx) throws APPCException;
+ // Server evacuateServer(Map<String, String> params, SvcLogicContext ctx) throws SvcLogicException;
- //Server migrateServer(Map<String, String> params, SvcLogicContext ctx) throws APPCException;
+ //Server migrateServer(Map<String, String> params, SvcLogicContext ctx) throws SvcLogicException;
void commonGet(Map<String, String> params, SvcLogicContext ctx);