- public String queryVimDetail(String cloud_owner, String cloud_region_id) throws ExtsysException {
- try {
- return adapterServiceproxy.queryVIMDetail(transactionId, fromAppId, authorization, cloud_owner,
- cloud_region_id);
- } catch (Exception e) {
- throw new ExtsysException("Query cloud region detail from A&AI failed.", e);
+ public String qureyVimList() throws ExtsysException {
+ try {
+ return adapterServiceproxy.queryVIMList(transactionId, fromAppId, authorization);
+ } catch (Exception e) {
+ throw new ExtsysException("Query cloud region list from A&AI failed.", e);
+ }
+ }
+
+ public void deleteVim(String cloud_owner, String cloud_region_id, String resourceVersion) throws ExtsysException {
+ try {
+ adapterServiceproxy.deleteVim(transactionId, fromAppId, authorization, cloud_owner, cloud_region_id,
+ resourceVersion);
+ } catch (Exception e) {
+ throw new ExtsysException("Delete cloud region from A&AI failed.", e);
+ }
+ }
+
+ public String qureyComplexes() throws ExtsysException {
+ try {
+ return adapterServiceproxy.queryComplexList(transactionId, fromAppId, authorization);
+ } catch (Exception e) {
+ throw new ExtsysException("Query complexes from A&AI failed.", e);
+ }