aboutsummaryrefslogtreecommitdiffstats
path: root/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae
diff options
context:
space:
mode:
Diffstat (limited to 'dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae')
-rw-r--r--dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/manager/CommonVmManager.java212
-rw-r--r--dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/manager/ManagerFactory.java63
-rw-r--r--dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/manager/ManagerPackage.java505
-rw-r--r--dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/manager/impl/CommonVmManagerImpl.java473
-rw-r--r--dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/manager/impl/ManagerFactoryImpl.java116
-rw-r--r--dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/manager/impl/ManagerPackageImpl.java265
-rw-r--r--dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/manager/util/ManagerAdapterFactory.java239
-rw-r--r--dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/manager/util/ManagerSwitch.java219
-rw-r--r--dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/CommonVmService.java39
-rw-r--r--dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/CommonVmServiceConfiguration.java39
-rw-r--r--dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/CommonVmServiceInstance.java210
-rw-r--r--dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/ServiceFactory.java90
-rw-r--r--dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/ServicePackage.java1003
-rw-r--r--dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/TommyVmService.java124
-rw-r--r--dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/TommyVmServiceConfiguration.java124
-rw-r--r--dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/impl/CommonVmServiceConfigurationImpl.java62
-rw-r--r--dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/impl/CommonVmServiceImpl.java62
-rw-r--r--dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/impl/CommonVmServiceInstanceImpl.java472
-rw-r--r--dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/impl/ServiceFactoryImpl.java149
-rw-r--r--dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/impl/ServicePackageImpl.java380
-rw-r--r--dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/impl/TommyVmServiceConfigurationImpl.java291
-rw-r--r--dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/util/ServiceAdapterFactory.java312
-rw-r--r--dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/util/ServiceSwitch.java301
23 files changed, 5750 insertions, 0 deletions
diff --git a/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/manager/CommonVmManager.java b/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/manager/CommonVmManager.java
new file mode 100644
index 0000000..27f9976
--- /dev/null
+++ b/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/manager/CommonVmManager.java
@@ -0,0 +1,212 @@
+
+/*-
+ * ============LICENSE_START==========================================
+ * OPENECOMP - DCAE
+ * ===================================================================
+ * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
+ * ===================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END============================================
+ */
+
+/**
+ */
+package org.openecomp.dcae.controller.service.common.vm.manager;
+
+import org.openecomp.dcae.controller.service.common.vm.service.CommonVmServiceConfiguration;
+
+import org.openecomp.dcae.controller.service.vmmanager.VirtualMachineManager;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Common Vm Manager</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.openecomp.dcae.controller.service.common.vm.manager.CommonVmManager#getScript <em>Script</em>}</li>
+ * <li>{@link org.openecomp.dcae.controller.service.common.vm.manager.CommonVmManager#getConfigureTimeout <em>Configure Timeout</em>}</li>
+ * <li>{@link org.openecomp.dcae.controller.service.common.vm.manager.CommonVmManager#getTestTimeout <em>Test Timeout</em>}</li>
+ * <li>{@link org.openecomp.dcae.controller.service.common.vm.manager.CommonVmManager#getSuspendTimeout <em>Suspend Timeout</em>}</li>
+ * <li>{@link org.openecomp.dcae.controller.service.common.vm.manager.CommonVmManager#getResumeTimeout <em>Resume Timeout</em>}</li>
+ * <li>{@link org.openecomp.dcae.controller.service.common.vm.manager.CommonVmManager#getVmConfiguration <em>Vm Configuration</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.openecomp.dcae.controller.service.common.vm.manager.ManagerPackage#getCommonVmManager()
+ * @model
+ * @generated
+ */
+public interface CommonVmManager extends VirtualMachineManager {
+ /**
+ * Returns the value of the '<em><b>Script</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Script</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Script</em>' attribute.
+ * @see #setScript(String)
+ * @see org.openecomp.dcae.controller.service.common.vm.manager.ManagerPackage#getCommonVmManager_Script()
+ * @model unique="false"
+ * @generated
+ */
+ String getScript();
+
+ /**
+ * Sets the value of the '{@link org.openecomp.dcae.controller.service.common.vm.manager.CommonVmManager#getScript <em>Script</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Script</em>' attribute.
+ * @see #getScript()
+ * @generated
+ */
+ void setScript(String value);
+
+ /**
+ * Returns the value of the '<em><b>Configure Timeout</b></em>' attribute.
+ * The default value is <code>"60000"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Configure Timeout</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Configure Timeout</em>' attribute.
+ * @see #setConfigureTimeout(int)
+ * @see org.openecomp.dcae.controller.service.common.vm.manager.ManagerPackage#getCommonVmManager_ConfigureTimeout()
+ * @model default="60000" unique="false"
+ * @generated
+ */
+ int getConfigureTimeout();
+
+ /**
+ * Sets the value of the '{@link org.openecomp.dcae.controller.service.common.vm.manager.CommonVmManager#getConfigureTimeout <em>Configure Timeout</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Configure Timeout</em>' attribute.
+ * @see #getConfigureTimeout()
+ * @generated
+ */
+ void setConfigureTimeout(int value);
+
+ /**
+ * Returns the value of the '<em><b>Test Timeout</b></em>' attribute.
+ * The default value is <code>"60000"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Test Timeout</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Test Timeout</em>' attribute.
+ * @see #setTestTimeout(int)
+ * @see org.openecomp.dcae.controller.service.common.vm.manager.ManagerPackage#getCommonVmManager_TestTimeout()
+ * @model default="60000" unique="false"
+ * @generated
+ */
+ int getTestTimeout();
+
+ /**
+ * Sets the value of the '{@link org.openecomp.dcae.controller.service.common.vm.manager.CommonVmManager#getTestTimeout <em>Test Timeout</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Test Timeout</em>' attribute.
+ * @see #getTestTimeout()
+ * @generated
+ */
+ void setTestTimeout(int value);
+
+ /**
+ * Returns the value of the '<em><b>Suspend Timeout</b></em>' attribute.
+ * The default value is <code>"60000"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Suspend Timeout</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Suspend Timeout</em>' attribute.
+ * @see #setSuspendTimeout(int)
+ * @see org.openecomp.dcae.controller.service.common.vm.manager.ManagerPackage#getCommonVmManager_SuspendTimeout()
+ * @model default="60000" unique="false"
+ * @generated
+ */
+ int getSuspendTimeout();
+
+ /**
+ * Sets the value of the '{@link org.openecomp.dcae.controller.service.common.vm.manager.CommonVmManager#getSuspendTimeout <em>Suspend Timeout</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Suspend Timeout</em>' attribute.
+ * @see #getSuspendTimeout()
+ * @generated
+ */
+ void setSuspendTimeout(int value);
+
+ /**
+ * Returns the value of the '<em><b>Resume Timeout</b></em>' attribute.
+ * The default value is <code>"60000"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Resume Timeout</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Resume Timeout</em>' attribute.
+ * @see #setResumeTimeout(int)
+ * @see org.openecomp.dcae.controller.service.common.vm.manager.ManagerPackage#getCommonVmManager_ResumeTimeout()
+ * @model default="60000" unique="false"
+ * @generated
+ */
+ int getResumeTimeout();
+
+ /**
+ * Sets the value of the '{@link org.openecomp.dcae.controller.service.common.vm.manager.CommonVmManager#getResumeTimeout <em>Resume Timeout</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Resume Timeout</em>' attribute.
+ * @see #getResumeTimeout()
+ * @generated
+ */
+ void setResumeTimeout(int value);
+
+ /**
+ * Returns the value of the '<em><b>Vm Configuration</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Vm Configuration</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Vm Configuration</em>' containment reference.
+ * @see #setVmConfiguration(CommonVmServiceConfiguration)
+ * @see org.openecomp.dcae.controller.service.common.vm.manager.ManagerPackage#getCommonVmManager_VmConfiguration()
+ * @model containment="true"
+ * @generated
+ */
+ CommonVmServiceConfiguration getVmConfiguration();
+
+ /**
+ * Sets the value of the '{@link org.openecomp.dcae.controller.service.common.vm.manager.CommonVmManager#getVmConfiguration <em>Vm Configuration</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Vm Configuration</em>' containment reference.
+ * @see #getVmConfiguration()
+ * @generated
+ */
+ void setVmConfiguration(CommonVmServiceConfiguration value);
+
+} // CommonVmManager
diff --git a/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/manager/ManagerFactory.java b/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/manager/ManagerFactory.java
new file mode 100644
index 0000000..906e656
--- /dev/null
+++ b/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/manager/ManagerFactory.java
@@ -0,0 +1,63 @@
+
+/*-
+ * ============LICENSE_START==========================================
+ * OPENECOMP - DCAE
+ * ===================================================================
+ * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
+ * ===================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END============================================
+ */
+
+/**
+ */
+package org.openecomp.dcae.controller.service.common.vm.manager;
+
+import org.eclipse.emf.ecore.EFactory;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Factory</b> for the model.
+ * It provides a create method for each non-abstract class of the model.
+ * <!-- end-user-doc -->
+ * @see org.openecomp.dcae.controller.service.common.vm.manager.ManagerPackage
+ * @generated
+ */
+public interface ManagerFactory extends EFactory {
+ /**
+ * The singleton instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ ManagerFactory eINSTANCE = org.openecomp.dcae.controller.service.common.vm.manager.impl.ManagerFactoryImpl.init();
+
+ /**
+ * Returns a new object of class '<em>Common Vm Manager</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Common Vm Manager</em>'.
+ * @generated
+ */
+ CommonVmManager createCommonVmManager();
+
+ /**
+ * Returns the package supported by this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the package supported by this factory.
+ * @generated
+ */
+ ManagerPackage getManagerPackage();
+
+} //ManagerFactory
diff --git a/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/manager/ManagerPackage.java b/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/manager/ManagerPackage.java
new file mode 100644
index 0000000..fa668c4
--- /dev/null
+++ b/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/manager/ManagerPackage.java
@@ -0,0 +1,505 @@
+
+/*-
+ * ============LICENSE_START==========================================
+ * OPENECOMP - DCAE
+ * ===================================================================
+ * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
+ * ===================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END============================================
+ */
+
+/**
+ */
+package org.openecomp.dcae.controller.service.common.vm.manager;
+
+import org.openecomp.dcae.controller.service.vmmanager.VmmanagerPackage;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Package</b> for the model.
+ * It contains accessors for the meta objects to represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each operation of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * @see org.openecomp.dcae.controller.service.common.vm.manager.ManagerFactory
+ * @model kind="package"
+ * annotation="http://www.eclipse.org/emf/2002/GenModel modelDirectory='/dcae-controller-service-common-vm-model/src/main/xcore-gen' basePackage='org.openecomp.dcae.controller.service.common.vm'"
+ * @generated
+ */
+public interface ManagerPackage extends EPackage {
+ /**
+ * The package name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNAME = "manager";
+
+ /**
+ * The package namespace URI.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_URI = "org.openecomp.dcae.controller.service.common.vm.manager";
+
+ /**
+ * The package namespace name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_PREFIX = "manager";
+
+ /**
+ * The singleton instance of the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ ManagerPackage eINSTANCE = org.openecomp.dcae.controller.service.common.vm.manager.impl.ManagerPackageImpl.init();
+
+ /**
+ * The meta object id for the '{@link org.openecomp.dcae.controller.service.common.vm.manager.impl.CommonVmManagerImpl <em>Common Vm Manager</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.openecomp.dcae.controller.service.common.vm.manager.impl.CommonVmManagerImpl
+ * @see org.openecomp.dcae.controller.service.common.vm.manager.impl.ManagerPackageImpl#getCommonVmManager()
+ * @generated
+ */
+ int COMMON_VM_MANAGER = 0;
+
+ /**
+ * The feature id for the '<em><b>Input Streams</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_MANAGER__INPUT_STREAMS = VmmanagerPackage.VIRTUAL_MACHINE_MANAGER__INPUT_STREAMS;
+
+ /**
+ * The feature id for the '<em><b>Output Streams</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_MANAGER__OUTPUT_STREAMS = VmmanagerPackage.VIRTUAL_MACHINE_MANAGER__OUTPUT_STREAMS;
+
+ /**
+ * The feature id for the '<em><b>Configuration</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_MANAGER__CONFIGURATION = VmmanagerPackage.VIRTUAL_MACHINE_MANAGER__CONFIGURATION;
+
+ /**
+ * The feature id for the '<em><b>Component</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_MANAGER__COMPONENT = VmmanagerPackage.VIRTUAL_MACHINE_MANAGER__COMPONENT;
+
+ /**
+ * The feature id for the '<em><b>Script</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_MANAGER__SCRIPT = VmmanagerPackage.VIRTUAL_MACHINE_MANAGER_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Configure Timeout</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_MANAGER__CONFIGURE_TIMEOUT = VmmanagerPackage.VIRTUAL_MACHINE_MANAGER_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Test Timeout</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_MANAGER__TEST_TIMEOUT = VmmanagerPackage.VIRTUAL_MACHINE_MANAGER_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Suspend Timeout</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_MANAGER__SUSPEND_TIMEOUT = VmmanagerPackage.VIRTUAL_MACHINE_MANAGER_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Resume Timeout</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_MANAGER__RESUME_TIMEOUT = VmmanagerPackage.VIRTUAL_MACHINE_MANAGER_FEATURE_COUNT + 4;
+
+ /**
+ * The feature id for the '<em><b>Vm Configuration</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_MANAGER__VM_CONFIGURATION = VmmanagerPackage.VIRTUAL_MACHINE_MANAGER_FEATURE_COUNT + 5;
+
+ /**
+ * The number of structural features of the '<em>Common Vm Manager</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_MANAGER_FEATURE_COUNT = VmmanagerPackage.VIRTUAL_MACHINE_MANAGER_FEATURE_COUNT + 6;
+
+ /**
+ * The operation id for the '<em>Test</em>' operation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_MANAGER___TEST = VmmanagerPackage.VIRTUAL_MACHINE_MANAGER___TEST;
+
+ /**
+ * The operation id for the '<em>Suspend</em>' operation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_MANAGER___SUSPEND = VmmanagerPackage.VIRTUAL_MACHINE_MANAGER___SUSPEND;
+
+ /**
+ * The operation id for the '<em>Resume</em>' operation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_MANAGER___RESUME = VmmanagerPackage.VIRTUAL_MACHINE_MANAGER___RESUME;
+
+ /**
+ * The operation id for the '<em>Public Key</em>' operation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_MANAGER___PUBLIC_KEY = VmmanagerPackage.VIRTUAL_MACHINE_MANAGER___PUBLIC_KEY;
+
+ /**
+ * The operation id for the '<em>Configuration Changed</em>' operation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_MANAGER___CONFIGURATION_CHANGED = VmmanagerPackage.VIRTUAL_MACHINE_MANAGER___CONFIGURATION_CHANGED;
+
+ /**
+ * The operation id for the '<em>Update Streams</em>' operation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_MANAGER___UPDATE_STREAMS__ELIST_ELIST = VmmanagerPackage.VIRTUAL_MACHINE_MANAGER___UPDATE_STREAMS__ELIST_ELIST;
+
+ /**
+ * The operation id for the '<em>Logs</em>' operation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_MANAGER___LOGS__JSONOBJECT_ELIST = VmmanagerPackage.VIRTUAL_MACHINE_MANAGER___LOGS__JSONOBJECT_ELIST;
+
+ /**
+ * The operation id for the '<em>Metrics</em>' operation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_MANAGER___METRICS__JSONOBJECT_ELIST = VmmanagerPackage.VIRTUAL_MACHINE_MANAGER___METRICS__JSONOBJECT_ELIST;
+
+ /**
+ * The operation id for the '<em>Properties</em>' operation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_MANAGER___PROPERTIES__JSONOBJECT_ELIST = VmmanagerPackage.VIRTUAL_MACHINE_MANAGER___PROPERTIES__JSONOBJECT_ELIST;
+
+ /**
+ * The operation id for the '<em>Upload Info</em>' operation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_MANAGER___UPLOAD_INFO__JSONOBJECT_ELIST = VmmanagerPackage.VIRTUAL_MACHINE_MANAGER___UPLOAD_INFO__JSONOBJECT_ELIST;
+
+ /**
+ * The operation id for the '<em>Get Values</em>' operation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_MANAGER___GET_VALUES__JSONOBJECT_STRING_LONG_LONG_METRICVALUEOPTION_BOOLEAN = VmmanagerPackage.VIRTUAL_MACHINE_MANAGER___GET_VALUES__JSONOBJECT_STRING_LONG_LONG_METRICVALUEOPTION_BOOLEAN;
+
+ /**
+ * The operation id for the '<em>Get Values All</em>' operation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_MANAGER___GET_VALUES_ALL__JSONOBJECT_STRING_ELIST_LONG_LONG_METRICVALUEOPTION_BOOLEAN = VmmanagerPackage.VIRTUAL_MACHINE_MANAGER___GET_VALUES_ALL__JSONOBJECT_STRING_ELIST_LONG_LONG_METRICVALUEOPTION_BOOLEAN;
+
+ /**
+ * The operation id for the '<em>Get Messages</em>' operation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_MANAGER___GET_MESSAGES__JSONOBJECT_STRING_LONG_LONG = VmmanagerPackage.VIRTUAL_MACHINE_MANAGER___GET_MESSAGES__JSONOBJECT_STRING_LONG_LONG;
+
+ /**
+ * The operation id for the '<em>Get Request Logger</em>' operation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_MANAGER___GET_REQUEST_LOGGER__STRING_STRING_STRING_JSONOBJECT = VmmanagerPackage.VIRTUAL_MACHINE_MANAGER___GET_REQUEST_LOGGER__STRING_STRING_STRING_JSONOBJECT;
+
+ /**
+ * The operation id for the '<em>Evaluate</em>' operation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_MANAGER___EVALUATE__STRING_FUNCTION = VmmanagerPackage.VIRTUAL_MACHINE_MANAGER___EVALUATE__STRING_FUNCTION;
+
+ /**
+ * The operation id for the '<em>Update</em>' operation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_MANAGER___UPDATE__STRING_FUNCTION = VmmanagerPackage.VIRTUAL_MACHINE_MANAGER___UPDATE__STRING_FUNCTION;
+
+ /**
+ * The number of operations of the '<em>Common Vm Manager</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_MANAGER_OPERATION_COUNT = VmmanagerPackage.VIRTUAL_MACHINE_MANAGER_OPERATION_COUNT + 0;
+
+
+ /**
+ * Returns the meta object for class '{@link org.openecomp.dcae.controller.service.common.vm.manager.CommonVmManager <em>Common Vm Manager</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Common Vm Manager</em>'.
+ * @see org.openecomp.dcae.controller.service.common.vm.manager.CommonVmManager
+ * @generated
+ */
+ EClass getCommonVmManager();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openecomp.dcae.controller.service.common.vm.manager.CommonVmManager#getScript <em>Script</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Script</em>'.
+ * @see org.openecomp.dcae.controller.service.common.vm.manager.CommonVmManager#getScript()
+ * @see #getCommonVmManager()
+ * @generated
+ */
+ EAttribute getCommonVmManager_Script();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openecomp.dcae.controller.service.common.vm.manager.CommonVmManager#getConfigureTimeout <em>Configure Timeout</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Configure Timeout</em>'.
+ * @see org.openecomp.dcae.controller.service.common.vm.manager.CommonVmManager#getConfigureTimeout()
+ * @see #getCommonVmManager()
+ * @generated
+ */
+ EAttribute getCommonVmManager_ConfigureTimeout();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openecomp.dcae.controller.service.common.vm.manager.CommonVmManager#getTestTimeout <em>Test Timeout</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Test Timeout</em>'.
+ * @see org.openecomp.dcae.controller.service.common.vm.manager.CommonVmManager#getTestTimeout()
+ * @see #getCommonVmManager()
+ * @generated
+ */
+ EAttribute getCommonVmManager_TestTimeout();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openecomp.dcae.controller.service.common.vm.manager.CommonVmManager#getSuspendTimeout <em>Suspend Timeout</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Suspend Timeout</em>'.
+ * @see org.openecomp.dcae.controller.service.common.vm.manager.CommonVmManager#getSuspendTimeout()
+ * @see #getCommonVmManager()
+ * @generated
+ */
+ EAttribute getCommonVmManager_SuspendTimeout();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openecomp.dcae.controller.service.common.vm.manager.CommonVmManager#getResumeTimeout <em>Resume Timeout</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Resume Timeout</em>'.
+ * @see org.openecomp.dcae.controller.service.common.vm.manager.CommonVmManager#getResumeTimeout()
+ * @see #getCommonVmManager()
+ * @generated
+ */
+ EAttribute getCommonVmManager_ResumeTimeout();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.openecomp.dcae.controller.service.common.vm.manager.CommonVmManager#getVmConfiguration <em>Vm Configuration</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Vm Configuration</em>'.
+ * @see org.openecomp.dcae.controller.service.common.vm.manager.CommonVmManager#getVmConfiguration()
+ * @see #getCommonVmManager()
+ * @generated
+ */
+ EReference getCommonVmManager_VmConfiguration();
+
+ /**
+ * Returns the factory that creates the instances of the model.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the factory that creates the instances of the model.
+ * @generated
+ */
+ ManagerFactory getManagerFactory();
+
+ /**
+ * <!-- begin-user-doc -->
+ * Defines literals for the meta objects that represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each operation of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ interface Literals {
+ /**
+ * The meta object literal for the '{@link org.openecomp.dcae.controller.service.common.vm.manager.impl.CommonVmManagerImpl <em>Common Vm Manager</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.openecomp.dcae.controller.service.common.vm.manager.impl.CommonVmManagerImpl
+ * @see org.openecomp.dcae.controller.service.common.vm.manager.impl.ManagerPackageImpl#getCommonVmManager()
+ * @generated
+ */
+ EClass COMMON_VM_MANAGER = eINSTANCE.getCommonVmManager();
+
+ /**
+ * The meta object literal for the '<em><b>Script</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute COMMON_VM_MANAGER__SCRIPT = eINSTANCE.getCommonVmManager_Script();
+
+ /**
+ * The meta object literal for the '<em><b>Configure Timeout</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute COMMON_VM_MANAGER__CONFIGURE_TIMEOUT = eINSTANCE.getCommonVmManager_ConfigureTimeout();
+
+ /**
+ * The meta object literal for the '<em><b>Test Timeout</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute COMMON_VM_MANAGER__TEST_TIMEOUT = eINSTANCE.getCommonVmManager_TestTimeout();
+
+ /**
+ * The meta object literal for the '<em><b>Suspend Timeout</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute COMMON_VM_MANAGER__SUSPEND_TIMEOUT = eINSTANCE.getCommonVmManager_SuspendTimeout();
+
+ /**
+ * The meta object literal for the '<em><b>Resume Timeout</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute COMMON_VM_MANAGER__RESUME_TIMEOUT = eINSTANCE.getCommonVmManager_ResumeTimeout();
+
+ /**
+ * The meta object literal for the '<em><b>Vm Configuration</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference COMMON_VM_MANAGER__VM_CONFIGURATION = eINSTANCE.getCommonVmManager_VmConfiguration();
+
+ }
+
+} //ManagerPackage
diff --git a/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/manager/impl/CommonVmManagerImpl.java b/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/manager/impl/CommonVmManagerImpl.java
new file mode 100644
index 0000000..9f6e7c5
--- /dev/null
+++ b/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/manager/impl/CommonVmManagerImpl.java
@@ -0,0 +1,473 @@
+
+/*-
+ * ============LICENSE_START==========================================
+ * OPENECOMP - DCAE
+ * ===================================================================
+ * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
+ * ===================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END============================================
+ */
+
+/**
+ */
+package org.openecomp.dcae.controller.service.common.vm.manager.impl;
+
+import org.openecomp.dcae.controller.service.common.vm.manager.CommonVmManager;
+import org.openecomp.dcae.controller.service.common.vm.manager.ManagerPackage;
+
+import org.openecomp.dcae.controller.service.common.vm.service.CommonVmServiceConfiguration;
+
+import org.openecomp.dcae.controller.service.vmmanager.impl.VirtualMachineManagerImpl;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Common Vm Manager</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.openecomp.dcae.controller.service.common.vm.manager.impl.CommonVmManagerImpl#getScript <em>Script</em>}</li>
+ * <li>{@link org.openecomp.dcae.controller.service.common.vm.manager.impl.CommonVmManagerImpl#getConfigureTimeout <em>Configure Timeout</em>}</li>
+ * <li>{@link org.openecomp.dcae.controller.service.common.vm.manager.impl.CommonVmManagerImpl#getTestTimeout <em>Test Timeout</em>}</li>
+ * <li>{@link org.openecomp.dcae.controller.service.common.vm.manager.impl.CommonVmManagerImpl#getSuspendTimeout <em>Suspend Timeout</em>}</li>
+ * <li>{@link org.openecomp.dcae.controller.service.common.vm.manager.impl.CommonVmManagerImpl#getResumeTimeout <em>Resume Timeout</em>}</li>
+ * <li>{@link org.openecomp.dcae.controller.service.common.vm.manager.impl.CommonVmManagerImpl#getVmConfiguration <em>Vm Configuration</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class CommonVmManagerImpl extends VirtualMachineManagerImpl implements CommonVmManager {
+ /**
+ * The default value of the '{@link #getScript() <em>Script</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getScript()
+ * @generated
+ * @ordered
+ */
+ protected static final String SCRIPT_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getScript() <em>Script</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getScript()
+ * @generated
+ * @ordered
+ */
+ protected String script = SCRIPT_EDEFAULT;
+ /**
+ * The default value of the '{@link #getConfigureTimeout() <em>Configure Timeout</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getConfigureTimeout()
+ * @generated
+ * @ordered
+ */
+ protected static final int CONFIGURE_TIMEOUT_EDEFAULT = 60000;
+ /**
+ * The cached value of the '{@link #getConfigureTimeout() <em>Configure Timeout</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getConfigureTimeout()
+ * @generated
+ * @ordered
+ */
+ protected int configureTimeout = CONFIGURE_TIMEOUT_EDEFAULT;
+ /**
+ * The default value of the '{@link #getTestTimeout() <em>Test Timeout</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTestTimeout()
+ * @generated
+ * @ordered
+ */
+ protected static final int TEST_TIMEOUT_EDEFAULT = 60000;
+ /**
+ * The cached value of the '{@link #getTestTimeout() <em>Test Timeout</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTestTimeout()
+ * @generated
+ * @ordered
+ */
+ protected int testTimeout = TEST_TIMEOUT_EDEFAULT;
+ /**
+ * The default value of the '{@link #getSuspendTimeout() <em>Suspend Timeout</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSuspendTimeout()
+ * @generated
+ * @ordered
+ */
+ protected static final int SUSPEND_TIMEOUT_EDEFAULT = 60000;
+ /**
+ * The cached value of the '{@link #getSuspendTimeout() <em>Suspend Timeout</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSuspendTimeout()
+ * @generated
+ * @ordered
+ */
+ protected int suspendTimeout = SUSPEND_TIMEOUT_EDEFAULT;
+ /**
+ * The default value of the '{@link #getResumeTimeout() <em>Resume Timeout</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getResumeTimeout()
+ * @generated
+ * @ordered
+ */
+ protected static final int RESUME_TIMEOUT_EDEFAULT = 60000;
+ /**
+ * The cached value of the '{@link #getResumeTimeout() <em>Resume Timeout</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getResumeTimeout()
+ * @generated
+ * @ordered
+ */
+ protected int resumeTimeout = RESUME_TIMEOUT_EDEFAULT;
+ /**
+ * The cached value of the '{@link #getVmConfiguration() <em>Vm Configuration</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getVmConfiguration()
+ * @generated
+ * @ordered
+ */
+ protected CommonVmServiceConfiguration vmConfiguration;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected CommonVmManagerImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return ManagerPackage.Literals.COMMON_VM_MANAGER;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getScript() {
+ return script;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setScript(String newScript) {
+ String oldScript = script;
+ script = newScript;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ManagerPackage.COMMON_VM_MANAGER__SCRIPT, oldScript, script));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getConfigureTimeout() {
+ return configureTimeout;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setConfigureTimeout(int newConfigureTimeout) {
+ int oldConfigureTimeout = configureTimeout;
+ configureTimeout = newConfigureTimeout;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ManagerPackage.COMMON_VM_MANAGER__CONFIGURE_TIMEOUT, oldConfigureTimeout, configureTimeout));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getTestTimeout() {
+ return testTimeout;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTestTimeout(int newTestTimeout) {
+ int oldTestTimeout = testTimeout;
+ testTimeout = newTestTimeout;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ManagerPackage.COMMON_VM_MANAGER__TEST_TIMEOUT, oldTestTimeout, testTimeout));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getSuspendTimeout() {
+ return suspendTimeout;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSuspendTimeout(int newSuspendTimeout) {
+ int oldSuspendTimeout = suspendTimeout;
+ suspendTimeout = newSuspendTimeout;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ManagerPackage.COMMON_VM_MANAGER__SUSPEND_TIMEOUT, oldSuspendTimeout, suspendTimeout));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getResumeTimeout() {
+ return resumeTimeout;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setResumeTimeout(int newResumeTimeout) {
+ int oldResumeTimeout = resumeTimeout;
+ resumeTimeout = newResumeTimeout;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ManagerPackage.COMMON_VM_MANAGER__RESUME_TIMEOUT, oldResumeTimeout, resumeTimeout));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CommonVmServiceConfiguration getVmConfiguration() {
+ return vmConfiguration;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetVmConfiguration(CommonVmServiceConfiguration newVmConfiguration, NotificationChain msgs) {
+ CommonVmServiceConfiguration oldVmConfiguration = vmConfiguration;
+ vmConfiguration = newVmConfiguration;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ManagerPackage.COMMON_VM_MANAGER__VM_CONFIGURATION, oldVmConfiguration, newVmConfiguration);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setVmConfiguration(CommonVmServiceConfiguration newVmConfiguration) {
+ if (newVmConfiguration != vmConfiguration) {
+ NotificationChain msgs = null;
+ if (vmConfiguration != null)
+ msgs = ((InternalEObject)vmConfiguration).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ManagerPackage.COMMON_VM_MANAGER__VM_CONFIGURATION, null, msgs);
+ if (newVmConfiguration != null)
+ msgs = ((InternalEObject)newVmConfiguration).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ManagerPackage.COMMON_VM_MANAGER__VM_CONFIGURATION, null, msgs);
+ msgs = basicSetVmConfiguration(newVmConfiguration, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ManagerPackage.COMMON_VM_MANAGER__VM_CONFIGURATION, newVmConfiguration, newVmConfiguration));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case ManagerPackage.COMMON_VM_MANAGER__VM_CONFIGURATION:
+ return basicSetVmConfiguration(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case ManagerPackage.COMMON_VM_MANAGER__SCRIPT:
+ return getScript();
+ case ManagerPackage.COMMON_VM_MANAGER__CONFIGURE_TIMEOUT:
+ return getConfigureTimeout();
+ case ManagerPackage.COMMON_VM_MANAGER__TEST_TIMEOUT:
+ return getTestTimeout();
+ case ManagerPackage.COMMON_VM_MANAGER__SUSPEND_TIMEOUT:
+ return getSuspendTimeout();
+ case ManagerPackage.COMMON_VM_MANAGER__RESUME_TIMEOUT:
+ return getResumeTimeout();
+ case ManagerPackage.COMMON_VM_MANAGER__VM_CONFIGURATION:
+ return getVmConfiguration();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case ManagerPackage.COMMON_VM_MANAGER__SCRIPT:
+ setScript((String)newValue);
+ return;
+ case ManagerPackage.COMMON_VM_MANAGER__CONFIGURE_TIMEOUT:
+ setConfigureTimeout((Integer)newValue);
+ return;
+ case ManagerPackage.COMMON_VM_MANAGER__TEST_TIMEOUT:
+ setTestTimeout((Integer)newValue);
+ return;
+ case ManagerPackage.COMMON_VM_MANAGER__SUSPEND_TIMEOUT:
+ setSuspendTimeout((Integer)newValue);
+ return;
+ case ManagerPackage.COMMON_VM_MANAGER__RESUME_TIMEOUT:
+ setResumeTimeout((Integer)newValue);
+ return;
+ case ManagerPackage.COMMON_VM_MANAGER__VM_CONFIGURATION:
+ setVmConfiguration((CommonVmServiceConfiguration)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case ManagerPackage.COMMON_VM_MANAGER__SCRIPT:
+ setScript(SCRIPT_EDEFAULT);
+ return;
+ case ManagerPackage.COMMON_VM_MANAGER__CONFIGURE_TIMEOUT:
+ setConfigureTimeout(CONFIGURE_TIMEOUT_EDEFAULT);
+ return;
+ case ManagerPackage.COMMON_VM_MANAGER__TEST_TIMEOUT:
+ setTestTimeout(TEST_TIMEOUT_EDEFAULT);
+ return;
+ case ManagerPackage.COMMON_VM_MANAGER__SUSPEND_TIMEOUT:
+ setSuspendTimeout(SUSPEND_TIMEOUT_EDEFAULT);
+ return;
+ case ManagerPackage.COMMON_VM_MANAGER__RESUME_TIMEOUT:
+ setResumeTimeout(RESUME_TIMEOUT_EDEFAULT);
+ return;
+ case ManagerPackage.COMMON_VM_MANAGER__VM_CONFIGURATION:
+ setVmConfiguration((CommonVmServiceConfiguration)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case ManagerPackage.COMMON_VM_MANAGER__SCRIPT:
+ return SCRIPT_EDEFAULT == null ? script != null : !SCRIPT_EDEFAULT.equals(script);
+ case ManagerPackage.COMMON_VM_MANAGER__CONFIGURE_TIMEOUT:
+ return configureTimeout != CONFIGURE_TIMEOUT_EDEFAULT;
+ case ManagerPackage.COMMON_VM_MANAGER__TEST_TIMEOUT:
+ return testTimeout != TEST_TIMEOUT_EDEFAULT;
+ case ManagerPackage.COMMON_VM_MANAGER__SUSPEND_TIMEOUT:
+ return suspendTimeout != SUSPEND_TIMEOUT_EDEFAULT;
+ case ManagerPackage.COMMON_VM_MANAGER__RESUME_TIMEOUT:
+ return resumeTimeout != RESUME_TIMEOUT_EDEFAULT;
+ case ManagerPackage.COMMON_VM_MANAGER__VM_CONFIGURATION:
+ return vmConfiguration != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (script: ");
+ result.append(script);
+ result.append(", configureTimeout: ");
+ result.append(configureTimeout);
+ result.append(", testTimeout: ");
+ result.append(testTimeout);
+ result.append(", suspendTimeout: ");
+ result.append(suspendTimeout);
+ result.append(", resumeTimeout: ");
+ result.append(resumeTimeout);
+ result.append(')');
+ return result.toString();
+ }
+
+} //CommonVmManagerImpl
diff --git a/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/manager/impl/ManagerFactoryImpl.java b/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/manager/impl/ManagerFactoryImpl.java
new file mode 100644
index 0000000..b4326a0
--- /dev/null
+++ b/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/manager/impl/ManagerFactoryImpl.java
@@ -0,0 +1,116 @@
+
+/*-
+ * ============LICENSE_START==========================================
+ * OPENECOMP - DCAE
+ * ===================================================================
+ * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
+ * ===================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END============================================
+ */
+
+/**
+ */
+package org.openecomp.dcae.controller.service.common.vm.manager.impl;
+
+import org.openecomp.dcae.controller.service.common.vm.manager.*;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.impl.EFactoryImpl;
+
+import org.eclipse.emf.ecore.plugin.EcorePlugin;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Factory</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class ManagerFactoryImpl extends EFactoryImpl implements ManagerFactory {
+ /**
+ * Creates the default factory implementation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static ManagerFactory init() {
+ try {
+ ManagerFactory theManagerFactory = (ManagerFactory)EPackage.Registry.INSTANCE.getEFactory(ManagerPackage.eNS_URI);
+ if (theManagerFactory != null) {
+ return theManagerFactory;
+ }
+ }
+ catch (Exception exception) {
+ EcorePlugin.INSTANCE.log(exception);
+ }
+ return new ManagerFactoryImpl();
+ }
+
+ /**
+ * Creates an instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ManagerFactoryImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EObject create(EClass eClass) {
+ switch (eClass.getClassifierID()) {
+ case ManagerPackage.COMMON_VM_MANAGER: return createCommonVmManager();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CommonVmManager createCommonVmManager() {
+ CommonVmManagerImpl commonVmManager = new CommonVmManagerImpl();
+ return commonVmManager;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ManagerPackage getManagerPackage() {
+ return (ManagerPackage)getEPackage();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @deprecated
+ * @generated
+ */
+ @Deprecated
+ public static ManagerPackage getPackage() {
+ return ManagerPackage.eINSTANCE;
+ }
+
+} //ManagerFactoryImpl
diff --git a/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/manager/impl/ManagerPackageImpl.java b/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/manager/impl/ManagerPackageImpl.java
new file mode 100644
index 0000000..64be77d
--- /dev/null
+++ b/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/manager/impl/ManagerPackageImpl.java
@@ -0,0 +1,265 @@
+
+/*-
+ * ============LICENSE_START==========================================
+ * OPENECOMP - DCAE
+ * ===================================================================
+ * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
+ * ===================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END============================================
+ */
+
+/**
+ */
+package org.openecomp.dcae.controller.service.common.vm.manager.impl;
+
+import org.openecomp.dcae.controller.service.common.vm.manager.CommonVmManager;
+import org.openecomp.dcae.controller.service.common.vm.manager.ManagerFactory;
+import org.openecomp.dcae.controller.service.common.vm.manager.ManagerPackage;
+import org.openecomp.dcae.controller.service.common.vm.service.ServicePackage;
+import org.openecomp.dcae.controller.service.vmmanager.VmmanagerPackage;
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+import org.eclipse.emf.ecore.EcorePackage;
+import org.eclipse.emf.ecore.impl.EPackageImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Package</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class ManagerPackageImpl extends EPackageImpl implements ManagerPackage {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass commonVmManagerEClass = null;
+
+ /**
+ * Creates an instance of the model <b>Package</b>, registered with
+ * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
+ * package URI value.
+ * <p>Note: the correct way to create the package is via the static
+ * factory method {@link #init init()}, which also performs
+ * initialization of the package, or returns the registered package,
+ * if one already exists.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.ecore.EPackage.Registry
+ * @see org.openecomp.dcae.controller.service.common.vm.manager.ManagerPackage#eNS_URI
+ * @see #init()
+ * @generated
+ */
+ private ManagerPackageImpl() {
+ super(eNS_URI, ManagerFactory.eINSTANCE);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static boolean isInited = false;
+
+ /**
+ * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
+ *
+ * <p>This method is used to initialize {@link ManagerPackage#eINSTANCE} when that field is accessed.
+ * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #eNS_URI
+ * @see #createPackageContents()
+ * @see #initializePackageContents()
+ * @generated
+ */
+ public static ManagerPackage init() {
+ if (isInited) return (ManagerPackage)EPackage.Registry.INSTANCE.getEPackage(ManagerPackage.eNS_URI);
+
+ // Obtain or create and register package
+ ManagerPackageImpl theManagerPackage = (ManagerPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ManagerPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ManagerPackageImpl());
+
+ isInited = true;
+
+ // Initialize simple dependencies
+ VmmanagerPackage.eINSTANCE.eClass();
+ ServicePackage.eINSTANCE.eClass();
+
+ // Create package meta-data objects
+ theManagerPackage.createPackageContents();
+
+ // Initialize created meta-data
+ theManagerPackage.initializePackageContents();
+
+ // Mark meta-data to indicate it can't be changed
+ theManagerPackage.freeze();
+
+
+ // Update the registry and return the package
+ EPackage.Registry.INSTANCE.put(ManagerPackage.eNS_URI, theManagerPackage);
+ return theManagerPackage;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getCommonVmManager() {
+ return commonVmManagerEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCommonVmManager_Script() {
+ return (EAttribute)commonVmManagerEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCommonVmManager_ConfigureTimeout() {
+ return (EAttribute)commonVmManagerEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCommonVmManager_TestTimeout() {
+ return (EAttribute)commonVmManagerEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCommonVmManager_SuspendTimeout() {
+ return (EAttribute)commonVmManagerEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCommonVmManager_ResumeTimeout() {
+ return (EAttribute)commonVmManagerEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCommonVmManager_VmConfiguration() {
+ return (EReference)commonVmManagerEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ManagerFactory getManagerFactory() {
+ return (ManagerFactory)getEFactoryInstance();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private boolean isCreated = false;
+
+ /**
+ * Creates the meta-model objects for the package. This method is
+ * guarded to have no affect on any invocation but its first.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void createPackageContents() {
+ if (isCreated) return;
+ isCreated = true;
+
+ // Create classes and their features
+ commonVmManagerEClass = createEClass(COMMON_VM_MANAGER);
+ createEAttribute(commonVmManagerEClass, COMMON_VM_MANAGER__SCRIPT);
+ createEAttribute(commonVmManagerEClass, COMMON_VM_MANAGER__CONFIGURE_TIMEOUT);
+ createEAttribute(commonVmManagerEClass, COMMON_VM_MANAGER__TEST_TIMEOUT);
+ createEAttribute(commonVmManagerEClass, COMMON_VM_MANAGER__SUSPEND_TIMEOUT);
+ createEAttribute(commonVmManagerEClass, COMMON_VM_MANAGER__RESUME_TIMEOUT);
+ createEReference(commonVmManagerEClass, COMMON_VM_MANAGER__VM_CONFIGURATION);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private boolean isInitialized = false;
+
+ /**
+ * Complete the initialization of the package and its meta-model. This
+ * method is guarded to have no affect on any invocation but its first.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void initializePackageContents() {
+ if (isInitialized) return;
+ isInitialized = true;
+
+ // Initialize package
+ setName(eNAME);
+ setNsPrefix(eNS_PREFIX);
+ setNsURI(eNS_URI);
+
+ // Obtain other dependent packages
+ VmmanagerPackage theVmmanagerPackage = (VmmanagerPackage)EPackage.Registry.INSTANCE.getEPackage(VmmanagerPackage.eNS_URI);
+ EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);
+ ServicePackage theServicePackage = (ServicePackage)EPackage.Registry.INSTANCE.getEPackage(ServicePackage.eNS_URI);
+
+ // Create type parameters
+
+ // Set bounds for type parameters
+
+ // Add supertypes to classes
+ commonVmManagerEClass.getESuperTypes().add(theVmmanagerPackage.getVirtualMachineManager());
+
+ // Initialize classes, features, and operations; add parameters
+ initEClass(commonVmManagerEClass, CommonVmManager.class, "CommonVmManager", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getCommonVmManager_Script(), theEcorePackage.getEString(), "script", null, 0, 1, CommonVmManager.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getCommonVmManager_ConfigureTimeout(), theEcorePackage.getEInt(), "configureTimeout", "60000", 0, 1, CommonVmManager.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getCommonVmManager_TestTimeout(), theEcorePackage.getEInt(), "testTimeout", "60000", 0, 1, CommonVmManager.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getCommonVmManager_SuspendTimeout(), theEcorePackage.getEInt(), "suspendTimeout", "60000", 0, 1, CommonVmManager.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getCommonVmManager_ResumeTimeout(), theEcorePackage.getEInt(), "resumeTimeout", "60000", 0, 1, CommonVmManager.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getCommonVmManager_VmConfiguration(), theServicePackage.getCommonVmServiceConfiguration(), null, "vmConfiguration", null, 0, 1, CommonVmManager.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ // Create resource
+ createResource(eNS_URI);
+ }
+
+} //ManagerPackageImpl
diff --git a/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/manager/util/ManagerAdapterFactory.java b/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/manager/util/ManagerAdapterFactory.java
new file mode 100644
index 0000000..e3dff15
--- /dev/null
+++ b/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/manager/util/ManagerAdapterFactory.java
@@ -0,0 +1,239 @@
+
+/*-
+ * ============LICENSE_START==========================================
+ * OPENECOMP - DCAE
+ * ===================================================================
+ * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
+ * ===================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END============================================
+ */
+
+/**
+ */
+package org.openecomp.dcae.controller.service.common.vm.manager.util;
+
+import org.openecomp.dcae.controller.core.manager.DcaeManager;
+
+import org.openecomp.dcae.controller.service.common.vm.manager.*;
+
+import org.openecomp.dcae.controller.service.vmmanager.VirtualMachineManager;
+
+import org.openecomp.ncomp.sirius.manager.server.AbstractManagementServer;
+import org.openecomp.ncomp.sirius.manager.server.SouthBoundApi;
+import org.openecomp.ncomp.sirius.manager.server.SouthBoundApiWithProxy;
+
+import org.eclipse.emf.common.notify.Adapter;
+import org.eclipse.emf.common.notify.Notifier;
+
+import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Adapter Factory</b> for the model.
+ * It provides an adapter <code>createXXX</code> method for each class of the model.
+ * <!-- end-user-doc -->
+ * @see org.openecomp.dcae.controller.service.common.vm.manager.ManagerPackage
+ * @generated
+ */
+public class ManagerAdapterFactory extends AdapterFactoryImpl {
+ /**
+ * The cached model package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static ManagerPackage modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ManagerAdapterFactory() {
+ if (modelPackage == null) {
+ modelPackage = ManagerPackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Returns whether this factory is applicable for the type of the object.
+ * <!-- begin-user-doc -->
+ * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
+ * <!-- end-user-doc -->
+ * @return whether this factory is applicable for the type of the object.
+ * @generated
+ */
+ @Override
+ public boolean isFactoryForType(Object object) {
+ if (object == modelPackage) {
+ return true;
+ }
+ if (object instanceof EObject) {
+ return ((EObject)object).eClass().getEPackage() == modelPackage;
+ }
+ return false;
+ }
+
+ /**
+ * The switch that delegates to the <code>createXXX</code> methods.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ManagerSwitch<Adapter> modelSwitch =
+ new ManagerSwitch<Adapter>() {
+ @Override
+ public Adapter caseCommonVmManager(CommonVmManager object) {
+ return createCommonVmManagerAdapter();
+ }
+ @Override
+ public Adapter caseDcaeManager(DcaeManager object) {
+ return createDcaeManagerAdapter();
+ }
+ @Override
+ public Adapter caseSouthBoundApi(SouthBoundApi object) {
+ return createSouthBoundApiAdapter();
+ }
+ @Override
+ public Adapter caseSouthBoundApiWithProxy(SouthBoundApiWithProxy object) {
+ return createSouthBoundApiWithProxyAdapter();
+ }
+ @Override
+ public Adapter caseAbstractManagementServer(AbstractManagementServer object) {
+ return createAbstractManagementServerAdapter();
+ }
+ @Override
+ public Adapter caseVirtualMachineManager(VirtualMachineManager object) {
+ return createVirtualMachineManagerAdapter();
+ }
+ @Override
+ public Adapter defaultCase(EObject object) {
+ return createEObjectAdapter();
+ }
+ };
+
+ /**
+ * Creates an adapter for the <code>target</code>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param target the object to adapt.
+ * @return the adapter for the <code>target</code>.
+ * @generated
+ */
+ @Override
+ public Adapter createAdapter(Notifier target) {
+ return modelSwitch.doSwitch((EObject)target);
+ }
+
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.openecomp.dcae.controller.service.common.vm.manager.CommonVmManager <em>Common Vm Manager</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.openecomp.dcae.controller.service.common.vm.manager.CommonVmManager
+ * @generated
+ */
+ public Adapter createCommonVmManagerAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.openecomp.dcae.controller.core.manager.DcaeManager <em>Dcae Manager</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.openecomp.dcae.controller.core.manager.DcaeManager
+ * @generated
+ */
+ public Adapter createDcaeManagerAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.openecomp.ncomp.sirius.manager.server.SouthBoundApi <em>South Bound Api</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.openecomp.ncomp.sirius.manager.server.SouthBoundApi
+ * @generated
+ */
+ public Adapter createSouthBoundApiAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.openecomp.ncomp.sirius.manager.server.SouthBoundApiWithProxy <em>South Bound Api With Proxy</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.openecomp.ncomp.sirius.manager.server.SouthBoundApiWithProxy
+ * @generated
+ */
+ public Adapter createSouthBoundApiWithProxyAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.openecomp.ncomp.sirius.manager.server.AbstractManagementServer <em>Abstract Management Server</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.openecomp.ncomp.sirius.manager.server.AbstractManagementServer
+ * @generated
+ */
+ public Adapter createAbstractManagementServerAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.openecomp.dcae.controller.service.vmmanager.VirtualMachineManager <em>Virtual Machine Manager</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.openecomp.dcae.controller.service.vmmanager.VirtualMachineManager
+ * @generated
+ */
+ public Adapter createVirtualMachineManagerAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for the default case.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @generated
+ */
+ public Adapter createEObjectAdapter() {
+ return null;
+ }
+
+} //ManagerAdapterFactory
diff --git a/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/manager/util/ManagerSwitch.java b/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/manager/util/ManagerSwitch.java
new file mode 100644
index 0000000..2bd5be4
--- /dev/null
+++ b/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/manager/util/ManagerSwitch.java
@@ -0,0 +1,219 @@
+
+/*-
+ * ============LICENSE_START==========================================
+ * OPENECOMP - DCAE
+ * ===================================================================
+ * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
+ * ===================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END============================================
+ */
+
+/**
+ */
+package org.openecomp.dcae.controller.service.common.vm.manager.util;
+
+import org.openecomp.dcae.controller.core.manager.DcaeManager;
+
+import org.openecomp.dcae.controller.service.common.vm.manager.*;
+
+import org.openecomp.dcae.controller.service.vmmanager.VirtualMachineManager;
+
+import org.openecomp.ncomp.sirius.manager.server.AbstractManagementServer;
+import org.openecomp.ncomp.sirius.manager.server.SouthBoundApi;
+import org.openecomp.ncomp.sirius.manager.server.SouthBoundApiWithProxy;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.util.Switch;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Switch</b> for the model's inheritance hierarchy.
+ * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
+ * to invoke the <code>caseXXX</code> method for each class of the model,
+ * starting with the actual class of the object
+ * and proceeding up the inheritance hierarchy
+ * until a non-null result is returned,
+ * which is the result of the switch.
+ * <!-- end-user-doc -->
+ * @see org.openecomp.dcae.controller.service.common.vm.manager.ManagerPackage
+ * @generated
+ */
+public class ManagerSwitch<T> extends Switch<T> {
+ /**
+ * The cached model package
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static ManagerPackage modelPackage;
+
+ /**
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ManagerSwitch() {
+ if (modelPackage == null) {
+ modelPackage = ManagerPackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Checks whether this is a switch for the given package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @parameter ePackage the package in question.
+ * @return whether this is a switch for the given package.
+ * @generated
+ */
+ @Override
+ protected boolean isSwitchFor(EPackage ePackage) {
+ return ePackage == modelPackage;
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @generated
+ */
+ @Override
+ protected T doSwitch(int classifierID, EObject theEObject) {
+ switch (classifierID) {
+ case ManagerPackage.COMMON_VM_MANAGER: {
+ CommonVmManager commonVmManager = (CommonVmManager)theEObject;
+ T result = caseCommonVmManager(commonVmManager);
+ if (result == null) result = caseVirtualMachineManager(commonVmManager);
+ if (result == null) result = caseDcaeManager(commonVmManager);
+ if (result == null) result = caseAbstractManagementServer(commonVmManager);
+ if (result == null) result = caseSouthBoundApiWithProxy(commonVmManager);
+ if (result == null) result = caseSouthBoundApi(commonVmManager);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
+ }
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Common Vm Manager</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Common Vm Manager</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseCommonVmManager(CommonVmManager object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Dcae Manager</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Dcae Manager</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDcaeManager(DcaeManager object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>South Bound Api</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>South Bound Api</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseSouthBoundApi(SouthBoundApi object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>South Bound Api With Proxy</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>South Bound Api With Proxy</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseSouthBoundApiWithProxy(SouthBoundApiWithProxy object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Abstract Management Server</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Abstract Management Server</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseAbstractManagementServer(AbstractManagementServer object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Virtual Machine Manager</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Virtual Machine Manager</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseVirtualMachineManager(VirtualMachineManager object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch, but this is the last case anyway.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject)
+ * @generated
+ */
+ @Override
+ public T defaultCase(EObject object) {
+ return null;
+ }
+
+} //ManagerSwitch
diff --git a/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/CommonVmService.java b/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/CommonVmService.java
new file mode 100644
index 0000000..58777c1
--- /dev/null
+++ b/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/CommonVmService.java
@@ -0,0 +1,39 @@
+
+/*-
+ * ============LICENSE_START==========================================
+ * OPENECOMP - DCAE
+ * ===================================================================
+ * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
+ * ===================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END============================================
+ */
+
+/**
+ */
+package org.openecomp.dcae.controller.service.common.vm.service;
+
+import org.openecomp.dcae.controller.service.vm.VirtualMachineService;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Common Vm Service</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.openecomp.dcae.controller.service.common.vm.service.ServicePackage#getCommonVmService()
+ * @model
+ * @generated
+ */
+public interface CommonVmService extends VirtualMachineService {
+} // CommonVmService
diff --git a/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/CommonVmServiceConfiguration.java b/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/CommonVmServiceConfiguration.java
new file mode 100644
index 0000000..e4b2f5e
--- /dev/null
+++ b/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/CommonVmServiceConfiguration.java
@@ -0,0 +1,39 @@
+
+/*-
+ * ============LICENSE_START==========================================
+ * OPENECOMP - DCAE
+ * ===================================================================
+ * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
+ * ===================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END============================================
+ */
+
+/**
+ */
+package org.openecomp.dcae.controller.service.common.vm.service;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Common Vm Service Configuration</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.openecomp.dcae.controller.service.common.vm.service.ServicePackage#getCommonVmServiceConfiguration()
+ * @model
+ * @generated
+ */
+public interface CommonVmServiceConfiguration extends EObject {
+} // CommonVmServiceConfiguration
diff --git a/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/CommonVmServiceInstance.java b/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/CommonVmServiceInstance.java
new file mode 100644
index 0000000..e19a8b8
--- /dev/null
+++ b/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/CommonVmServiceInstance.java
@@ -0,0 +1,210 @@
+
+/*-
+ * ============LICENSE_START==========================================
+ * OPENECOMP - DCAE
+ * ===================================================================
+ * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
+ * ===================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END============================================
+ */
+
+/**
+ */
+package org.openecomp.dcae.controller.service.common.vm.service;
+
+import org.openecomp.dcae.controller.service.vm.VirtualMachineServiceInstance;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Common Vm Service Instance</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.openecomp.dcae.controller.service.common.vm.service.CommonVmServiceInstance#getScript <em>Script</em>}</li>
+ * <li>{@link org.openecomp.dcae.controller.service.common.vm.service.CommonVmServiceInstance#getConfigureTimeout <em>Configure Timeout</em>}</li>
+ * <li>{@link org.openecomp.dcae.controller.service.common.vm.service.CommonVmServiceInstance#getTestTimeout <em>Test Timeout</em>}</li>
+ * <li>{@link org.openecomp.dcae.controller.service.common.vm.service.CommonVmServiceInstance#getSuspendTimeout <em>Suspend Timeout</em>}</li>
+ * <li>{@link org.openecomp.dcae.controller.service.common.vm.service.CommonVmServiceInstance#getResumeTimeout <em>Resume Timeout</em>}</li>
+ * <li>{@link org.openecomp.dcae.controller.service.common.vm.service.CommonVmServiceInstance#getVmConfiguration <em>Vm Configuration</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.openecomp.dcae.controller.service.common.vm.service.ServicePackage#getCommonVmServiceInstance()
+ * @model
+ * @generated
+ */
+public interface CommonVmServiceInstance extends VirtualMachineServiceInstance {
+ /**
+ * Returns the value of the '<em><b>Script</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Script</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Script</em>' attribute.
+ * @see #setScript(String)
+ * @see org.openecomp.dcae.controller.service.common.vm.service.ServicePackage#getCommonVmServiceInstance_Script()
+ * @model unique="false"
+ * @generated
+ */
+ String getScript();
+
+ /**
+ * Sets the value of the '{@link org.openecomp.dcae.controller.service.common.vm.service.CommonVmServiceInstance#getScript <em>Script</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Script</em>' attribute.
+ * @see #getScript()
+ * @generated
+ */
+ void setScript(String value);
+
+ /**
+ * Returns the value of the '<em><b>Configure Timeout</b></em>' attribute.
+ * The default value is <code>"60000"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Configure Timeout</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Configure Timeout</em>' attribute.
+ * @see #setConfigureTimeout(int)
+ * @see org.openecomp.dcae.controller.service.common.vm.service.ServicePackage#getCommonVmServiceInstance_ConfigureTimeout()
+ * @model default="60000" unique="false"
+ * @generated
+ */
+ int getConfigureTimeout();
+
+ /**
+ * Sets the value of the '{@link org.openecomp.dcae.controller.service.common.vm.service.CommonVmServiceInstance#getConfigureTimeout <em>Configure Timeout</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Configure Timeout</em>' attribute.
+ * @see #getConfigureTimeout()
+ * @generated
+ */
+ void setConfigureTimeout(int value);
+
+ /**
+ * Returns the value of the '<em><b>Test Timeout</b></em>' attribute.
+ * The default value is <code>"60000"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Test Timeout</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Test Timeout</em>' attribute.
+ * @see #setTestTimeout(int)
+ * @see org.openecomp.dcae.controller.service.common.vm.service.ServicePackage#getCommonVmServiceInstance_TestTimeout()
+ * @model default="60000" unique="false"
+ * @generated
+ */
+ int getTestTimeout();
+
+ /**
+ * Sets the value of the '{@link org.openecomp.dcae.controller.service.common.vm.service.CommonVmServiceInstance#getTestTimeout <em>Test Timeout</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Test Timeout</em>' attribute.
+ * @see #getTestTimeout()
+ * @generated
+ */
+ void setTestTimeout(int value);
+
+ /**
+ * Returns the value of the '<em><b>Suspend Timeout</b></em>' attribute.
+ * The default value is <code>"60000"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Suspend Timeout</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Suspend Timeout</em>' attribute.
+ * @see #setSuspendTimeout(int)
+ * @see org.openecomp.dcae.controller.service.common.vm.service.ServicePackage#getCommonVmServiceInstance_SuspendTimeout()
+ * @model default="60000" unique="false"
+ * @generated
+ */
+ int getSuspendTimeout();
+
+ /**
+ * Sets the value of the '{@link org.openecomp.dcae.controller.service.common.vm.service.CommonVmServiceInstance#getSuspendTimeout <em>Suspend Timeout</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Suspend Timeout</em>' attribute.
+ * @see #getSuspendTimeout()
+ * @generated
+ */
+ void setSuspendTimeout(int value);
+
+ /**
+ * Returns the value of the '<em><b>Resume Timeout</b></em>' attribute.
+ * The default value is <code>"60000"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Resume Timeout</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Resume Timeout</em>' attribute.
+ * @see #setResumeTimeout(int)
+ * @see org.openecomp.dcae.controller.service.common.vm.service.ServicePackage#getCommonVmServiceInstance_ResumeTimeout()
+ * @model default="60000" unique="false"
+ * @generated
+ */
+ int getResumeTimeout();
+
+ /**
+ * Sets the value of the '{@link org.openecomp.dcae.controller.service.common.vm.service.CommonVmServiceInstance#getResumeTimeout <em>Resume Timeout</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Resume Timeout</em>' attribute.
+ * @see #getResumeTimeout()
+ * @generated
+ */
+ void setResumeTimeout(int value);
+
+ /**
+ * Returns the value of the '<em><b>Vm Configuration</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Vm Configuration</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Vm Configuration</em>' containment reference.
+ * @see #setVmConfiguration(CommonVmServiceConfiguration)
+ * @see org.openecomp.dcae.controller.service.common.vm.service.ServicePackage#getCommonVmServiceInstance_VmConfiguration()
+ * @model containment="true"
+ * @generated
+ */
+ CommonVmServiceConfiguration getVmConfiguration();
+
+ /**
+ * Sets the value of the '{@link org.openecomp.dcae.controller.service.common.vm.service.CommonVmServiceInstance#getVmConfiguration <em>Vm Configuration</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Vm Configuration</em>' containment reference.
+ * @see #getVmConfiguration()
+ * @generated
+ */
+ void setVmConfiguration(CommonVmServiceConfiguration value);
+
+} // CommonVmServiceInstance
diff --git a/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/ServiceFactory.java b/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/ServiceFactory.java
new file mode 100644
index 0000000..33d7669
--- /dev/null
+++ b/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/ServiceFactory.java
@@ -0,0 +1,90 @@
+
+/*-
+ * ============LICENSE_START==========================================
+ * OPENECOMP - DCAE
+ * ===================================================================
+ * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
+ * ===================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END============================================
+ */
+
+/**
+ */
+package org.openecomp.dcae.controller.service.common.vm.service;
+
+import org.eclipse.emf.ecore.EFactory;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Factory</b> for the model.
+ * It provides a create method for each non-abstract class of the model.
+ * <!-- end-user-doc -->
+ * @see org.openecomp.dcae.controller.service.common.vm.service.ServicePackage
+ * @generated
+ */
+public interface ServiceFactory extends EFactory {
+ /**
+ * The singleton instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ ServiceFactory eINSTANCE = org.openecomp.dcae.controller.service.common.vm.service.impl.ServiceFactoryImpl.init();
+
+ /**
+ * Returns a new object of class '<em>Common Vm Service</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Common Vm Service</em>'.
+ * @generated
+ */
+ CommonVmService createCommonVmService();
+
+ /**
+ * Returns a new object of class '<em>Common Vm Service Instance</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Common Vm Service Instance</em>'.
+ * @generated
+ */
+ CommonVmServiceInstance createCommonVmServiceInstance();
+
+ /**
+ * Returns a new object of class '<em>Common Vm Service Configuration</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Common Vm Service Configuration</em>'.
+ * @generated
+ */
+ CommonVmServiceConfiguration createCommonVmServiceConfiguration();
+
+ /**
+ * Returns a new object of class '<em>Tommy Vm Service Configuration</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Tommy Vm Service Configuration</em>'.
+ * @generated
+ */
+ TommyVmServiceConfiguration createTommyVmServiceConfiguration();
+
+ /**
+ * Returns the package supported by this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the package supported by this factory.
+ * @generated
+ */
+ ServicePackage getServicePackage();
+
+} //ServiceFactory
diff --git a/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/ServicePackage.java b/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/ServicePackage.java
new file mode 100644
index 0000000..69d6117
--- /dev/null
+++ b/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/ServicePackage.java
@@ -0,0 +1,1003 @@
+
+/*-
+ * ============LICENSE_START==========================================
+ * OPENECOMP - DCAE
+ * ===================================================================
+ * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
+ * ===================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END============================================
+ */
+
+/**
+ */
+package org.openecomp.dcae.controller.service.common.vm.service;
+
+import org.openecomp.dcae.controller.service.vm.VmPackage;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Package</b> for the model.
+ * It contains accessors for the meta objects to represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each operation of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * @see org.openecomp.dcae.controller.service.common.vm.service.ServiceFactory
+ * @model kind="package"
+ * annotation="http://www.eclipse.org/emf/2002/GenModel modelDirectory='/dcae-controller-service-common-vm-model/src/main/xcore-gen' basePackage='org.openecomp.dcae.controller.service.common.vm'"
+ * annotation="http://www.eclipse.org/emf/2011/Xcore ecomp='http://openecomp.org'"
+ * @generated
+ */
+public interface ServicePackage extends EPackage {
+ /**
+ * The package name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNAME = "service";
+
+ /**
+ * The package namespace URI.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_URI = "org.openecomp.dcae.controller.service.common.vm.service";
+
+ /**
+ * The package namespace name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_PREFIX = "service";
+
+ /**
+ * The singleton instance of the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ ServicePackage eINSTANCE = org.openecomp.dcae.controller.service.common.vm.service.impl.ServicePackageImpl.init();
+
+ /**
+ * The meta object id for the '{@link org.openecomp.dcae.controller.service.common.vm.service.impl.CommonVmServiceImpl <em>Common Vm Service</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.openecomp.dcae.controller.service.common.vm.service.impl.CommonVmServiceImpl
+ * @see org.openecomp.dcae.controller.service.common.vm.service.impl.ServicePackageImpl#getCommonVmService()
+ * @generated
+ */
+ int COMMON_VM_SERVICE = 0;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE__NAME = VmPackage.VIRTUAL_MACHINE_SERVICE__NAME;
+
+ /**
+ * The feature id for the '<em><b>Last Polled</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE__LAST_POLLED = VmPackage.VIRTUAL_MACHINE_SERVICE__LAST_POLLED;
+
+ /**
+ * The feature id for the '<em><b>Last Changed</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE__LAST_CHANGED = VmPackage.VIRTUAL_MACHINE_SERVICE__LAST_CHANGED;
+
+ /**
+ * The feature id for the '<em><b>Created</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE__CREATED = VmPackage.VIRTUAL_MACHINE_SERVICE__CREATED;
+
+ /**
+ * The feature id for the '<em><b>Instances</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE__INSTANCES = VmPackage.VIRTUAL_MACHINE_SERVICE__INSTANCES;
+
+ /**
+ * The feature id for the '<em><b>Manager Port Number</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE__MANAGER_PORT_NUMBER = VmPackage.VIRTUAL_MACHINE_SERVICE__MANAGER_PORT_NUMBER;
+
+ /**
+ * The number of structural features of the '<em>Common Vm Service</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE_FEATURE_COUNT = VmPackage.VIRTUAL_MACHINE_SERVICE_FEATURE_COUNT + 0;
+
+ /**
+ * The operation id for the '<em>Deploy</em>' operation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE___DEPLOY__STRING_STRING = VmPackage.VIRTUAL_MACHINE_SERVICE___DEPLOY__STRING_STRING;
+
+ /**
+ * The operation id for the '<em>Undeploy</em>' operation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE___UNDEPLOY__STRING = VmPackage.VIRTUAL_MACHINE_SERVICE___UNDEPLOY__STRING;
+
+ /**
+ * The operation id for the '<em>Test</em>' operation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE___TEST__STRING = VmPackage.VIRTUAL_MACHINE_SERVICE___TEST__STRING;
+
+ /**
+ * The operation id for the '<em>Suspend</em>' operation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE___SUSPEND__STRING = VmPackage.VIRTUAL_MACHINE_SERVICE___SUSPEND__STRING;
+
+ /**
+ * The operation id for the '<em>Resume</em>' operation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE___RESUME__STRING = VmPackage.VIRTUAL_MACHINE_SERVICE___RESUME__STRING;
+
+ /**
+ * The operation id for the '<em>Push Manager Configuration</em>' operation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE___PUSH_MANAGER_CONFIGURATION__STRING = VmPackage.VIRTUAL_MACHINE_SERVICE___PUSH_MANAGER_CONFIGURATION__STRING;
+
+ /**
+ * The operation id for the '<em>Poll Manager Configuration</em>' operation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE___POLL_MANAGER_CONFIGURATION__STRING = VmPackage.VIRTUAL_MACHINE_SERVICE___POLL_MANAGER_CONFIGURATION__STRING;
+
+ /**
+ * The operation id for the '<em>Manager Configuration</em>' operation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE___MANAGER_CONFIGURATION__STRING = VmPackage.VIRTUAL_MACHINE_SERVICE___MANAGER_CONFIGURATION__STRING;
+
+ /**
+ * The operation id for the '<em>Manager Operation</em>' operation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE___MANAGER_OPERATION__STRING_STRING_JSONOBJECT = VmPackage.VIRTUAL_MACHINE_SERVICE___MANAGER_OPERATION__STRING_STRING_JSONOBJECT;
+
+ /**
+ * The operation id for the '<em>Update Configuration From Policy</em>' operation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE___UPDATE_CONFIGURATION_FROM_POLICY__STRING = VmPackage.VIRTUAL_MACHINE_SERVICE___UPDATE_CONFIGURATION_FROM_POLICY__STRING;
+
+ /**
+ * The operation id for the '<em>Run Health Tests</em>' operation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE___RUN_HEALTH_TESTS = VmPackage.VIRTUAL_MACHINE_SERVICE___RUN_HEALTH_TESTS;
+
+ /**
+ * The operation id for the '<em>Update Deployment Status</em>' operation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE___UPDATE_DEPLOYMENT_STATUS = VmPackage.VIRTUAL_MACHINE_SERVICE___UPDATE_DEPLOYMENT_STATUS;
+
+ /**
+ * The number of operations of the '<em>Common Vm Service</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE_OPERATION_COUNT = VmPackage.VIRTUAL_MACHINE_SERVICE_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.openecomp.dcae.controller.service.common.vm.service.impl.CommonVmServiceInstanceImpl <em>Common Vm Service Instance</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.openecomp.dcae.controller.service.common.vm.service.impl.CommonVmServiceInstanceImpl
+ * @see org.openecomp.dcae.controller.service.common.vm.service.impl.ServicePackageImpl#getCommonVmServiceInstance()
+ * @generated
+ */
+ int COMMON_VM_SERVICE_INSTANCE = 1;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE_INSTANCE__NAME = VmPackage.VIRTUAL_MACHINE_SERVICE_INSTANCE__NAME;
+
+ /**
+ * The feature id for the '<em><b>Last Polled</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE_INSTANCE__LAST_POLLED = VmPackage.VIRTUAL_MACHINE_SERVICE_INSTANCE__LAST_POLLED;
+
+ /**
+ * The feature id for the '<em><b>Last Changed</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE_INSTANCE__LAST_CHANGED = VmPackage.VIRTUAL_MACHINE_SERVICE_INSTANCE__LAST_CHANGED;
+
+ /**
+ * The feature id for the '<em><b>Created</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE_INSTANCE__CREATED = VmPackage.VIRTUAL_MACHINE_SERVICE_INSTANCE__CREATED;
+
+ /**
+ * The feature id for the '<em><b>Service Container</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE_INSTANCE__SERVICE_CONTAINER = VmPackage.VIRTUAL_MACHINE_SERVICE_INSTANCE__SERVICE_CONTAINER;
+
+ /**
+ * The feature id for the '<em><b>Status</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE_INSTANCE__STATUS = VmPackage.VIRTUAL_MACHINE_SERVICE_INSTANCE__STATUS;
+
+ /**
+ * The feature id for the '<em><b>Input Streams</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE_INSTANCE__INPUT_STREAMS = VmPackage.VIRTUAL_MACHINE_SERVICE_INSTANCE__INPUT_STREAMS;
+
+ /**
+ * The feature id for the '<em><b>Output Streams</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE_INSTANCE__OUTPUT_STREAMS = VmPackage.VIRTUAL_MACHINE_SERVICE_INSTANCE__OUTPUT_STREAMS;
+
+ /**
+ * The feature id for the '<em><b>Last Health Test</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE_INSTANCE__LAST_HEALTH_TEST = VmPackage.VIRTUAL_MACHINE_SERVICE_INSTANCE__LAST_HEALTH_TEST;
+
+ /**
+ * The feature id for the '<em><b>Health Test Status</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE_INSTANCE__HEALTH_TEST_STATUS = VmPackage.VIRTUAL_MACHINE_SERVICE_INSTANCE__HEALTH_TEST_STATUS;
+
+ /**
+ * The feature id for the '<em><b>Health Test Message Code</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE_INSTANCE__HEALTH_TEST_MESSAGE_CODE = VmPackage.VIRTUAL_MACHINE_SERVICE_INSTANCE__HEALTH_TEST_MESSAGE_CODE;
+
+ /**
+ * The feature id for the '<em><b>Configuration</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE_INSTANCE__CONFIGURATION = VmPackage.VIRTUAL_MACHINE_SERVICE_INSTANCE__CONFIGURATION;
+
+ /**
+ * The feature id for the '<em><b>Location</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE_INSTANCE__LOCATION = VmPackage.VIRTUAL_MACHINE_SERVICE_INSTANCE__LOCATION;
+
+ /**
+ * The feature id for the '<em><b>Vm Type</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE_INSTANCE__VM_TYPE = VmPackage.VIRTUAL_MACHINE_SERVICE_INSTANCE__VM_TYPE;
+
+ /**
+ * The feature id for the '<em><b>Users</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE_INSTANCE__USERS = VmPackage.VIRTUAL_MACHINE_SERVICE_INSTANCE__USERS;
+
+ /**
+ * The feature id for the '<em><b>Admin Users</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE_INSTANCE__ADMIN_USERS = VmPackage.VIRTUAL_MACHINE_SERVICE_INSTANCE__ADMIN_USERS;
+
+ /**
+ * The feature id for the '<em><b>Application Ids</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE_INSTANCE__APPLICATION_IDS = VmPackage.VIRTUAL_MACHINE_SERVICE_INSTANCE__APPLICATION_IDS;
+
+ /**
+ * The feature id for the '<em><b>Admin Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE_INSTANCE__ADMIN_ID = VmPackage.VIRTUAL_MACHINE_SERVICE_INSTANCE__ADMIN_ID;
+
+ /**
+ * The feature id for the '<em><b>Number Of Servers</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE_INSTANCE__NUMBER_OF_SERVERS = VmPackage.VIRTUAL_MACHINE_SERVICE_INSTANCE__NUMBER_OF_SERVERS;
+
+ /**
+ * The feature id for the '<em><b>Availability Zone</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE_INSTANCE__AVAILABILITY_ZONE = VmPackage.VIRTUAL_MACHINE_SERVICE_INSTANCE__AVAILABILITY_ZONE;
+
+ /**
+ * The feature id for the '<em><b>Manager Port Number</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE_INSTANCE__MANAGER_PORT_NUMBER = VmPackage.VIRTUAL_MACHINE_SERVICE_INSTANCE__MANAGER_PORT_NUMBER;
+
+ /**
+ * The feature id for the '<em><b>Servers</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE_INSTANCE__SERVERS = VmPackage.VIRTUAL_MACHINE_SERVICE_INSTANCE__SERVERS;
+
+ /**
+ * The feature id for the '<em><b>Leader Server</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE_INSTANCE__LEADER_SERVER = VmPackage.VIRTUAL_MACHINE_SERVICE_INSTANCE__LEADER_SERVER;
+
+ /**
+ * The feature id for the '<em><b>Service</b></em>' container reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE_INSTANCE__SERVICE = VmPackage.VIRTUAL_MACHINE_SERVICE_INSTANCE__SERVICE;
+
+ /**
+ * The feature id for the '<em><b>Ieds Admin</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE_INSTANCE__IEDS_ADMIN = VmPackage.VIRTUAL_MACHINE_SERVICE_INSTANCE__IEDS_ADMIN;
+
+ /**
+ * The feature id for the '<em><b>Chef User</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE_INSTANCE__CHEF_USER = VmPackage.VIRTUAL_MACHINE_SERVICE_INSTANCE__CHEF_USER;
+
+ /**
+ * The feature id for the '<em><b>Chef Org</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE_INSTANCE__CHEF_ORG = VmPackage.VIRTUAL_MACHINE_SERVICE_INSTANCE__CHEF_ORG;
+
+ /**
+ * The feature id for the '<em><b>Chef Topology</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE_INSTANCE__CHEF_TOPOLOGY = VmPackage.VIRTUAL_MACHINE_SERVICE_INSTANCE__CHEF_TOPOLOGY;
+
+ /**
+ * The feature id for the '<em><b>Openstack Flavor</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE_INSTANCE__OPENSTACK_FLAVOR = VmPackage.VIRTUAL_MACHINE_SERVICE_INSTANCE__OPENSTACK_FLAVOR;
+
+ /**
+ * The feature id for the '<em><b>Service Fqdn</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE_INSTANCE__SERVICE_FQDN = VmPackage.VIRTUAL_MACHINE_SERVICE_INSTANCE__SERVICE_FQDN;
+
+ /**
+ * The feature id for the '<em><b>Deployment Timeout Minutes</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE_INSTANCE__DEPLOYMENT_TIMEOUT_MINUTES = VmPackage.VIRTUAL_MACHINE_SERVICE_INSTANCE__DEPLOYMENT_TIMEOUT_MINUTES;
+
+ /**
+ * The feature id for the '<em><b>Steps</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE_INSTANCE__STEPS = VmPackage.VIRTUAL_MACHINE_SERVICE_INSTANCE__STEPS;
+
+ /**
+ * The feature id for the '<em><b>Script</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE_INSTANCE__SCRIPT = VmPackage.VIRTUAL_MACHINE_SERVICE_INSTANCE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Configure Timeout</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE_INSTANCE__CONFIGURE_TIMEOUT = VmPackage.VIRTUAL_MACHINE_SERVICE_INSTANCE_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Test Timeout</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE_INSTANCE__TEST_TIMEOUT = VmPackage.VIRTUAL_MACHINE_SERVICE_INSTANCE_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Suspend Timeout</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE_INSTANCE__SUSPEND_TIMEOUT = VmPackage.VIRTUAL_MACHINE_SERVICE_INSTANCE_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Resume Timeout</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE_INSTANCE__RESUME_TIMEOUT = VmPackage.VIRTUAL_MACHINE_SERVICE_INSTANCE_FEATURE_COUNT + 4;
+
+ /**
+ * The feature id for the '<em><b>Vm Configuration</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE_INSTANCE__VM_CONFIGURATION = VmPackage.VIRTUAL_MACHINE_SERVICE_INSTANCE_FEATURE_COUNT + 5;
+
+ /**
+ * The number of structural features of the '<em>Common Vm Service Instance</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE_INSTANCE_FEATURE_COUNT = VmPackage.VIRTUAL_MACHINE_SERVICE_INSTANCE_FEATURE_COUNT + 6;
+
+ /**
+ * The number of operations of the '<em>Common Vm Service Instance</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE_INSTANCE_OPERATION_COUNT = VmPackage.VIRTUAL_MACHINE_SERVICE_INSTANCE_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.openecomp.dcae.controller.service.common.vm.service.impl.CommonVmServiceConfigurationImpl <em>Common Vm Service Configuration</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.openecomp.dcae.controller.service.common.vm.service.impl.CommonVmServiceConfigurationImpl
+ * @see org.openecomp.dcae.controller.service.common.vm.service.impl.ServicePackageImpl#getCommonVmServiceConfiguration()
+ * @generated
+ */
+ int COMMON_VM_SERVICE_CONFIGURATION = 2;
+
+ /**
+ * The number of structural features of the '<em>Common Vm Service Configuration</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE_CONFIGURATION_FEATURE_COUNT = 0;
+
+ /**
+ * The number of operations of the '<em>Common Vm Service Configuration</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMON_VM_SERVICE_CONFIGURATION_OPERATION_COUNT = 0;
+
+ /**
+ * The meta object id for the '{@link org.openecomp.dcae.controller.service.common.vm.service.impl.TommyVmServiceConfigurationImpl <em>Tommy Vm Service Configuration</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.openecomp.dcae.controller.service.common.vm.service.impl.TommyVmServiceConfigurationImpl
+ * @see org.openecomp.dcae.controller.service.common.vm.service.impl.ServicePackageImpl#getTommyVmServiceConfiguration()
+ * @generated
+ */
+ int TOMMY_VM_SERVICE_CONFIGURATION = 3;
+
+ /**
+ * The feature id for the '<em><b>Postgres User Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TOMMY_VM_SERVICE_CONFIGURATION__POSTGRES_USER_NAME = COMMON_VM_SERVICE_CONFIGURATION_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Postgres Password</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TOMMY_VM_SERVICE_CONFIGURATION__POSTGRES_PASSWORD = COMMON_VM_SERVICE_CONFIGURATION_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Portgres Jdbc</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TOMMY_VM_SERVICE_CONFIGURATION__PORTGRES_JDBC = COMMON_VM_SERVICE_CONFIGURATION_FEATURE_COUNT + 2;
+
+ /**
+ * The number of structural features of the '<em>Tommy Vm Service Configuration</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TOMMY_VM_SERVICE_CONFIGURATION_FEATURE_COUNT = COMMON_VM_SERVICE_CONFIGURATION_FEATURE_COUNT + 3;
+
+ /**
+ * The number of operations of the '<em>Tommy Vm Service Configuration</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TOMMY_VM_SERVICE_CONFIGURATION_OPERATION_COUNT = COMMON_VM_SERVICE_CONFIGURATION_OPERATION_COUNT + 0;
+
+ /**
+ * Returns the meta object for class '{@link org.openecomp.dcae.controller.service.common.vm.service.CommonVmService <em>Common Vm Service</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Common Vm Service</em>'.
+ * @see org.openecomp.dcae.controller.service.common.vm.service.CommonVmService
+ * @generated
+ */
+ EClass getCommonVmService();
+
+ /**
+ * Returns the meta object for class '{@link org.openecomp.dcae.controller.service.common.vm.service.CommonVmServiceInstance <em>Common Vm Service Instance</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Common Vm Service Instance</em>'.
+ * @see org.openecomp.dcae.controller.service.common.vm.service.CommonVmServiceInstance
+ * @generated
+ */
+ EClass getCommonVmServiceInstance();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openecomp.dcae.controller.service.common.vm.service.CommonVmServiceInstance#getScript <em>Script</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Script</em>'.
+ * @see org.openecomp.dcae.controller.service.common.vm.service.CommonVmServiceInstance#getScript()
+ * @see #getCommonVmServiceInstance()
+ * @generated
+ */
+ EAttribute getCommonVmServiceInstance_Script();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openecomp.dcae.controller.service.common.vm.service.CommonVmServiceInstance#getConfigureTimeout <em>Configure Timeout</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Configure Timeout</em>'.
+ * @see org.openecomp.dcae.controller.service.common.vm.service.CommonVmServiceInstance#getConfigureTimeout()
+ * @see #getCommonVmServiceInstance()
+ * @generated
+ */
+ EAttribute getCommonVmServiceInstance_ConfigureTimeout();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openecomp.dcae.controller.service.common.vm.service.CommonVmServiceInstance#getTestTimeout <em>Test Timeout</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Test Timeout</em>'.
+ * @see org.openecomp.dcae.controller.service.common.vm.service.CommonVmServiceInstance#getTestTimeout()
+ * @see #getCommonVmServiceInstance()
+ * @generated
+ */
+ EAttribute getCommonVmServiceInstance_TestTimeout();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openecomp.dcae.controller.service.common.vm.service.CommonVmServiceInstance#getSuspendTimeout <em>Suspend Timeout</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Suspend Timeout</em>'.
+ * @see org.openecomp.dcae.controller.service.common.vm.service.CommonVmServiceInstance#getSuspendTimeout()
+ * @see #getCommonVmServiceInstance()
+ * @generated
+ */
+ EAttribute getCommonVmServiceInstance_SuspendTimeout();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openecomp.dcae.controller.service.common.vm.service.CommonVmServiceInstance#getResumeTimeout <em>Resume Timeout</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Resume Timeout</em>'.
+ * @see org.openecomp.dcae.controller.service.common.vm.service.CommonVmServiceInstance#getResumeTimeout()
+ * @see #getCommonVmServiceInstance()
+ * @generated
+ */
+ EAttribute getCommonVmServiceInstance_ResumeTimeout();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.openecomp.dcae.controller.service.common.vm.service.CommonVmServiceInstance#getVmConfiguration <em>Vm Configuration</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Vm Configuration</em>'.
+ * @see org.openecomp.dcae.controller.service.common.vm.service.CommonVmServiceInstance#getVmConfiguration()
+ * @see #getCommonVmServiceInstance()
+ * @generated
+ */
+ EReference getCommonVmServiceInstance_VmConfiguration();
+
+ /**
+ * Returns the meta object for class '{@link org.openecomp.dcae.controller.service.common.vm.service.CommonVmServiceConfiguration <em>Common Vm Service Configuration</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Common Vm Service Configuration</em>'.
+ * @see org.openecomp.dcae.controller.service.common.vm.service.CommonVmServiceConfiguration
+ * @generated
+ */
+ EClass getCommonVmServiceConfiguration();
+
+ /**
+ * Returns the meta object for class '{@link org.openecomp.dcae.controller.service.common.vm.service.TommyVmServiceConfiguration <em>Tommy Vm Service Configuration</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Tommy Vm Service Configuration</em>'.
+ * @see org.openecomp.dcae.controller.service.common.vm.service.TommyVmServiceConfiguration
+ * @generated
+ */
+ EClass getTommyVmServiceConfiguration();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openecomp.dcae.controller.service.common.vm.service.TommyVmServiceConfiguration#getPostgresUserName <em>Postgres User Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Postgres User Name</em>'.
+ * @see org.openecomp.dcae.controller.service.common.vm.service.TommyVmServiceConfiguration#getPostgresUserName()
+ * @see #getTommyVmServiceConfiguration()
+ * @generated
+ */
+ EAttribute getTommyVmServiceConfiguration_PostgresUserName();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openecomp.dcae.controller.service.common.vm.service.TommyVmServiceConfiguration#getPostgresPassword <em>Postgres Password</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Postgres Password</em>'.
+ * @see org.openecomp.dcae.controller.service.common.vm.service.TommyVmServiceConfiguration#getPostgresPassword()
+ * @see #getTommyVmServiceConfiguration()
+ * @generated
+ */
+ EAttribute getTommyVmServiceConfiguration_PostgresPassword();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openecomp.dcae.controller.service.common.vm.service.TommyVmServiceConfiguration#getPortgresJdbc <em>Portgres Jdbc</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Portgres Jdbc</em>'.
+ * @see org.openecomp.dcae.controller.service.common.vm.service.TommyVmServiceConfiguration#getPortgresJdbc()
+ * @see #getTommyVmServiceConfiguration()
+ * @generated
+ */
+ EAttribute getTommyVmServiceConfiguration_PortgresJdbc();
+
+ /**
+ * Returns the factory that creates the instances of the model.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the factory that creates the instances of the model.
+ * @generated
+ */
+ ServiceFactory getServiceFactory();
+
+ /**
+ * <!-- begin-user-doc -->
+ * Defines literals for the meta objects that represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each operation of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ interface Literals {
+ /**
+ * The meta object literal for the '{@link org.openecomp.dcae.controller.service.common.vm.service.impl.CommonVmServiceImpl <em>Common Vm Service</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.openecomp.dcae.controller.service.common.vm.service.impl.CommonVmServiceImpl
+ * @see org.openecomp.dcae.controller.service.common.vm.service.impl.ServicePackageImpl#getCommonVmService()
+ * @generated
+ */
+ EClass COMMON_VM_SERVICE = eINSTANCE.getCommonVmService();
+
+ /**
+ * The meta object literal for the '{@link org.openecomp.dcae.controller.service.common.vm.service.impl.CommonVmServiceInstanceImpl <em>Common Vm Service Instance</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.openecomp.dcae.controller.service.common.vm.service.impl.CommonVmServiceInstanceImpl
+ * @see org.openecomp.dcae.controller.service.common.vm.service.impl.ServicePackageImpl#getCommonVmServiceInstance()
+ * @generated
+ */
+ EClass COMMON_VM_SERVICE_INSTANCE = eINSTANCE.getCommonVmServiceInstance();
+
+ /**
+ * The meta object literal for the '<em><b>Script</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute COMMON_VM_SERVICE_INSTANCE__SCRIPT = eINSTANCE.getCommonVmServiceInstance_Script();
+
+ /**
+ * The meta object literal for the '<em><b>Configure Timeout</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute COMMON_VM_SERVICE_INSTANCE__CONFIGURE_TIMEOUT = eINSTANCE.getCommonVmServiceInstance_ConfigureTimeout();
+
+ /**
+ * The meta object literal for the '<em><b>Test Timeout</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute COMMON_VM_SERVICE_INSTANCE__TEST_TIMEOUT = eINSTANCE.getCommonVmServiceInstance_TestTimeout();
+
+ /**
+ * The meta object literal for the '<em><b>Suspend Timeout</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute COMMON_VM_SERVICE_INSTANCE__SUSPEND_TIMEOUT = eINSTANCE.getCommonVmServiceInstance_SuspendTimeout();
+
+ /**
+ * The meta object literal for the '<em><b>Resume Timeout</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute COMMON_VM_SERVICE_INSTANCE__RESUME_TIMEOUT = eINSTANCE.getCommonVmServiceInstance_ResumeTimeout();
+
+ /**
+ * The meta object literal for the '<em><b>Vm Configuration</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference COMMON_VM_SERVICE_INSTANCE__VM_CONFIGURATION = eINSTANCE.getCommonVmServiceInstance_VmConfiguration();
+
+ /**
+ * The meta object literal for the '{@link org.openecomp.dcae.controller.service.common.vm.service.impl.CommonVmServiceConfigurationImpl <em>Common Vm Service Configuration</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.openecomp.dcae.controller.service.common.vm.service.impl.CommonVmServiceConfigurationImpl
+ * @see org.openecomp.dcae.controller.service.common.vm.service.impl.ServicePackageImpl#getCommonVmServiceConfiguration()
+ * @generated
+ */
+ EClass COMMON_VM_SERVICE_CONFIGURATION = eINSTANCE.getCommonVmServiceConfiguration();
+
+ /**
+ * The meta object literal for the '{@link org.openecomp.dcae.controller.service.common.vm.service.impl.TommyVmServiceConfigurationImpl <em>Tommy Vm Service Configuration</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.openecomp.dcae.controller.service.common.vm.service.impl.TommyVmServiceConfigurationImpl
+ * @see org.openecomp.dcae.controller.service.common.vm.service.impl.ServicePackageImpl#getTommyVmServiceConfiguration()
+ * @generated
+ */
+ EClass TOMMY_VM_SERVICE_CONFIGURATION = eINSTANCE.getTommyVmServiceConfiguration();
+
+ /**
+ * The meta object literal for the '<em><b>Postgres User Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute TOMMY_VM_SERVICE_CONFIGURATION__POSTGRES_USER_NAME = eINSTANCE.getTommyVmServiceConfiguration_PostgresUserName();
+
+ /**
+ * The meta object literal for the '<em><b>Postgres Password</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute TOMMY_VM_SERVICE_CONFIGURATION__POSTGRES_PASSWORD = eINSTANCE.getTommyVmServiceConfiguration_PostgresPassword();
+
+ /**
+ * The meta object literal for the '<em><b>Portgres Jdbc</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute TOMMY_VM_SERVICE_CONFIGURATION__PORTGRES_JDBC = eINSTANCE.getTommyVmServiceConfiguration_PortgresJdbc();
+
+ }
+
+} //ServicePackage
diff --git a/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/TommyVmService.java b/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/TommyVmService.java
new file mode 100644
index 0000000..65ae689
--- /dev/null
+++ b/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/TommyVmService.java
@@ -0,0 +1,124 @@
+
+/*-
+ * ============LICENSE_START==========================================
+ * OPENECOMP - DCAE
+ * ===================================================================
+ * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
+ * ===================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END============================================
+ */
+
+/**
+ */
+package org.openecomp.dcae.controller.service.common.vm.service;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Tommy Vm Service</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.openecomp.dcae.controller.service.common.vm.service.TommyVmService#getPostgresUserName <em>Postgres User Name</em>}</li>
+ * <li>{@link org.openecomp.dcae.controller.service.common.vm.service.TommyVmService#getPostgresPassword <em>Postgres Password</em>}</li>
+ * <li>{@link org.openecomp.dcae.controller.service.common.vm.service.TommyVmService#getPortgresJdbc <em>Portgres Jdbc</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.openecomp.dcae.controller.service.common.vm.service.ServicePackage#getTommyVmService()
+ * @model
+ * @generated
+ */
+public interface TommyVmService extends CommonVmServiceConfiguration {
+ /**
+ * Returns the value of the '<em><b>Postgres User Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Postgres User Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Postgres User Name</em>' attribute.
+ * @see #setPostgresUserName(String)
+ * @see org.openecomp.dcae.controller.service.common.vm.service.ServicePackage#getTommyVmService_PostgresUserName()
+ * @model unique="false"
+ * @generated
+ */
+ String getPostgresUserName();
+
+ /**
+ * Sets the value of the '{@link org.openecomp.dcae.controller.service.common.vm.service.TommyVmService#getPostgresUserName <em>Postgres User Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Postgres User Name</em>' attribute.
+ * @see #getPostgresUserName()
+ * @generated
+ */
+ void setPostgresUserName(String value);
+
+ /**
+ * Returns the value of the '<em><b>Postgres Password</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Postgres Password</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Postgres Password</em>' attribute.
+ * @see #setPostgresPassword(String)
+ * @see org.openecomp.dcae.controller.service.common.vm.service.ServicePackage#getTommyVmService_PostgresPassword()
+ * @model unique="false"
+ * @generated
+ */
+ String getPostgresPassword();
+
+ /**
+ * Sets the value of the '{@link org.openecomp.dcae.controller.service.common.vm.service.TommyVmService#getPostgresPassword <em>Postgres Password</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Postgres Password</em>' attribute.
+ * @see #getPostgresPassword()
+ * @generated
+ */
+ void setPostgresPassword(String value);
+
+ /**
+ * Returns the value of the '<em><b>Portgres Jdbc</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Portgres Jdbc</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Portgres Jdbc</em>' attribute.
+ * @see #setPortgresJdbc(String)
+ * @see org.openecomp.dcae.controller.service.common.vm.service.ServicePackage#getTommyVmService_PortgresJdbc()
+ * @model unique="false"
+ * @generated
+ */
+ String getPortgresJdbc();
+
+ /**
+ * Sets the value of the '{@link org.openecomp.dcae.controller.service.common.vm.service.TommyVmService#getPortgresJdbc <em>Portgres Jdbc</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Portgres Jdbc</em>' attribute.
+ * @see #getPortgresJdbc()
+ * @generated
+ */
+ void setPortgresJdbc(String value);
+
+} // TommyVmService
diff --git a/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/TommyVmServiceConfiguration.java b/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/TommyVmServiceConfiguration.java
new file mode 100644
index 0000000..de22b61
--- /dev/null
+++ b/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/TommyVmServiceConfiguration.java
@@ -0,0 +1,124 @@
+
+/*-
+ * ============LICENSE_START==========================================
+ * OPENECOMP - DCAE
+ * ===================================================================
+ * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
+ * ===================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END============================================
+ */
+
+/**
+ */
+package org.openecomp.dcae.controller.service.common.vm.service;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Tommy Vm Service Configuration</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.openecomp.dcae.controller.service.common.vm.service.TommyVmServiceConfiguration#getPostgresUserName <em>Postgres User Name</em>}</li>
+ * <li>{@link org.openecomp.dcae.controller.service.common.vm.service.TommyVmServiceConfiguration#getPostgresPassword <em>Postgres Password</em>}</li>
+ * <li>{@link org.openecomp.dcae.controller.service.common.vm.service.TommyVmServiceConfiguration#getPortgresJdbc <em>Portgres Jdbc</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.openecomp.dcae.controller.service.common.vm.service.ServicePackage#getTommyVmServiceConfiguration()
+ * @model
+ * @generated
+ */
+public interface TommyVmServiceConfiguration extends CommonVmServiceConfiguration {
+ /**
+ * Returns the value of the '<em><b>Postgres User Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Postgres User Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Postgres User Name</em>' attribute.
+ * @see #setPostgresUserName(String)
+ * @see org.openecomp.dcae.controller.service.common.vm.service.ServicePackage#getTommyVmServiceConfiguration_PostgresUserName()
+ * @model unique="false"
+ * @generated
+ */
+ String getPostgresUserName();
+
+ /**
+ * Sets the value of the '{@link org.openecomp.dcae.controller.service.common.vm.service.TommyVmServiceConfiguration#getPostgresUserName <em>Postgres User Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Postgres User Name</em>' attribute.
+ * @see #getPostgresUserName()
+ * @generated
+ */
+ void setPostgresUserName(String value);
+
+ /**
+ * Returns the value of the '<em><b>Postgres Password</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Postgres Password</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Postgres Password</em>' attribute.
+ * @see #setPostgresPassword(String)
+ * @see org.openecomp.dcae.controller.service.common.vm.service.ServicePackage#getTommyVmServiceConfiguration_PostgresPassword()
+ * @model unique="false"
+ * @generated
+ */
+ String getPostgresPassword();
+
+ /**
+ * Sets the value of the '{@link org.openecomp.dcae.controller.service.common.vm.service.TommyVmServiceConfiguration#getPostgresPassword <em>Postgres Password</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Postgres Password</em>' attribute.
+ * @see #getPostgresPassword()
+ * @generated
+ */
+ void setPostgresPassword(String value);
+
+ /**
+ * Returns the value of the '<em><b>Portgres Jdbc</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Portgres Jdbc</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Portgres Jdbc</em>' attribute.
+ * @see #setPortgresJdbc(String)
+ * @see org.openecomp.dcae.controller.service.common.vm.service.ServicePackage#getTommyVmServiceConfiguration_PortgresJdbc()
+ * @model unique="false"
+ * @generated
+ */
+ String getPortgresJdbc();
+
+ /**
+ * Sets the value of the '{@link org.openecomp.dcae.controller.service.common.vm.service.TommyVmServiceConfiguration#getPortgresJdbc <em>Portgres Jdbc</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Portgres Jdbc</em>' attribute.
+ * @see #getPortgresJdbc()
+ * @generated
+ */
+ void setPortgresJdbc(String value);
+
+} // TommyVmServiceConfiguration
diff --git a/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/impl/CommonVmServiceConfigurationImpl.java b/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/impl/CommonVmServiceConfigurationImpl.java
new file mode 100644
index 0000000..9995f1e
--- /dev/null
+++ b/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/impl/CommonVmServiceConfigurationImpl.java
@@ -0,0 +1,62 @@
+
+/*-
+ * ============LICENSE_START==========================================
+ * OPENECOMP - DCAE
+ * ===================================================================
+ * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
+ * ===================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END============================================
+ */
+
+/**
+ */
+package org.openecomp.dcae.controller.service.common.vm.service.impl;
+
+import org.openecomp.dcae.controller.service.common.vm.service.CommonVmServiceConfiguration;
+import org.openecomp.dcae.controller.service.common.vm.service.ServicePackage;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Common Vm Service Configuration</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class CommonVmServiceConfigurationImpl extends MinimalEObjectImpl.Container implements CommonVmServiceConfiguration {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected CommonVmServiceConfigurationImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return ServicePackage.Literals.COMMON_VM_SERVICE_CONFIGURATION;
+ }
+
+} //CommonVmServiceConfigurationImpl
diff --git a/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/impl/CommonVmServiceImpl.java b/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/impl/CommonVmServiceImpl.java
new file mode 100644
index 0000000..0df2d08
--- /dev/null
+++ b/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/impl/CommonVmServiceImpl.java
@@ -0,0 +1,62 @@
+
+/*-
+ * ============LICENSE_START==========================================
+ * OPENECOMP - DCAE
+ * ===================================================================
+ * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
+ * ===================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END============================================
+ */
+
+/**
+ */
+package org.openecomp.dcae.controller.service.common.vm.service.impl;
+
+import org.openecomp.dcae.controller.service.common.vm.service.CommonVmService;
+import org.openecomp.dcae.controller.service.common.vm.service.ServicePackage;
+
+import org.openecomp.dcae.controller.service.vm.impl.VirtualMachineServiceImpl;
+
+import org.eclipse.emf.ecore.EClass;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Common Vm Service</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class CommonVmServiceImpl extends VirtualMachineServiceImpl implements CommonVmService {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected CommonVmServiceImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return ServicePackage.Literals.COMMON_VM_SERVICE;
+ }
+
+} //CommonVmServiceImpl
diff --git a/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/impl/CommonVmServiceInstanceImpl.java b/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/impl/CommonVmServiceInstanceImpl.java
new file mode 100644
index 0000000..a097cbf
--- /dev/null
+++ b/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/impl/CommonVmServiceInstanceImpl.java
@@ -0,0 +1,472 @@
+
+/*-
+ * ============LICENSE_START==========================================
+ * OPENECOMP - DCAE
+ * ===================================================================
+ * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
+ * ===================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END============================================
+ */
+
+/**
+ */
+package org.openecomp.dcae.controller.service.common.vm.service.impl;
+
+import org.openecomp.dcae.controller.service.common.vm.service.CommonVmServiceConfiguration;
+import org.openecomp.dcae.controller.service.common.vm.service.CommonVmServiceInstance;
+import org.openecomp.dcae.controller.service.common.vm.service.ServicePackage;
+
+import org.openecomp.dcae.controller.service.vm.impl.VirtualMachineServiceInstanceImpl;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Common Vm Service Instance</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.openecomp.dcae.controller.service.common.vm.service.impl.CommonVmServiceInstanceImpl#getScript <em>Script</em>}</li>
+ * <li>{@link org.openecomp.dcae.controller.service.common.vm.service.impl.CommonVmServiceInstanceImpl#getConfigureTimeout <em>Configure Timeout</em>}</li>
+ * <li>{@link org.openecomp.dcae.controller.service.common.vm.service.impl.CommonVmServiceInstanceImpl#getTestTimeout <em>Test Timeout</em>}</li>
+ * <li>{@link org.openecomp.dcae.controller.service.common.vm.service.impl.CommonVmServiceInstanceImpl#getSuspendTimeout <em>Suspend Timeout</em>}</li>
+ * <li>{@link org.openecomp.dcae.controller.service.common.vm.service.impl.CommonVmServiceInstanceImpl#getResumeTimeout <em>Resume Timeout</em>}</li>
+ * <li>{@link org.openecomp.dcae.controller.service.common.vm.service.impl.CommonVmServiceInstanceImpl#getVmConfiguration <em>Vm Configuration</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class CommonVmServiceInstanceImpl extends VirtualMachineServiceInstanceImpl implements CommonVmServiceInstance {
+ /**
+ * The default value of the '{@link #getScript() <em>Script</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getScript()
+ * @generated
+ * @ordered
+ */
+ protected static final String SCRIPT_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getScript() <em>Script</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getScript()
+ * @generated
+ * @ordered
+ */
+ protected String script = SCRIPT_EDEFAULT;
+ /**
+ * The default value of the '{@link #getConfigureTimeout() <em>Configure Timeout</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getConfigureTimeout()
+ * @generated
+ * @ordered
+ */
+ protected static final int CONFIGURE_TIMEOUT_EDEFAULT = 60000;
+ /**
+ * The cached value of the '{@link #getConfigureTimeout() <em>Configure Timeout</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getConfigureTimeout()
+ * @generated
+ * @ordered
+ */
+ protected int configureTimeout = CONFIGURE_TIMEOUT_EDEFAULT;
+ /**
+ * The default value of the '{@link #getTestTimeout() <em>Test Timeout</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTestTimeout()
+ * @generated
+ * @ordered
+ */
+ protected static final int TEST_TIMEOUT_EDEFAULT = 60000;
+ /**
+ * The cached value of the '{@link #getTestTimeout() <em>Test Timeout</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTestTimeout()
+ * @generated
+ * @ordered
+ */
+ protected int testTimeout = TEST_TIMEOUT_EDEFAULT;
+ /**
+ * The default value of the '{@link #getSuspendTimeout() <em>Suspend Timeout</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSuspendTimeout()
+ * @generated
+ * @ordered
+ */
+ protected static final int SUSPEND_TIMEOUT_EDEFAULT = 60000;
+ /**
+ * The cached value of the '{@link #getSuspendTimeout() <em>Suspend Timeout</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSuspendTimeout()
+ * @generated
+ * @ordered
+ */
+ protected int suspendTimeout = SUSPEND_TIMEOUT_EDEFAULT;
+ /**
+ * The default value of the '{@link #getResumeTimeout() <em>Resume Timeout</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getResumeTimeout()
+ * @generated
+ * @ordered
+ */
+ protected static final int RESUME_TIMEOUT_EDEFAULT = 60000;
+ /**
+ * The cached value of the '{@link #getResumeTimeout() <em>Resume Timeout</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getResumeTimeout()
+ * @generated
+ * @ordered
+ */
+ protected int resumeTimeout = RESUME_TIMEOUT_EDEFAULT;
+ /**
+ * The cached value of the '{@link #getVmConfiguration() <em>Vm Configuration</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getVmConfiguration()
+ * @generated
+ * @ordered
+ */
+ protected CommonVmServiceConfiguration vmConfiguration;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected CommonVmServiceInstanceImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return ServicePackage.Literals.COMMON_VM_SERVICE_INSTANCE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getScript() {
+ return script;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setScript(String newScript) {
+ String oldScript = script;
+ script = newScript;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ServicePackage.COMMON_VM_SERVICE_INSTANCE__SCRIPT, oldScript, script));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getConfigureTimeout() {
+ return configureTimeout;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setConfigureTimeout(int newConfigureTimeout) {
+ int oldConfigureTimeout = configureTimeout;
+ configureTimeout = newConfigureTimeout;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ServicePackage.COMMON_VM_SERVICE_INSTANCE__CONFIGURE_TIMEOUT, oldConfigureTimeout, configureTimeout));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getTestTimeout() {
+ return testTimeout;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTestTimeout(int newTestTimeout) {
+ int oldTestTimeout = testTimeout;
+ testTimeout = newTestTimeout;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ServicePackage.COMMON_VM_SERVICE_INSTANCE__TEST_TIMEOUT, oldTestTimeout, testTimeout));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getSuspendTimeout() {
+ return suspendTimeout;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSuspendTimeout(int newSuspendTimeout) {
+ int oldSuspendTimeout = suspendTimeout;
+ suspendTimeout = newSuspendTimeout;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ServicePackage.COMMON_VM_SERVICE_INSTANCE__SUSPEND_TIMEOUT, oldSuspendTimeout, suspendTimeout));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getResumeTimeout() {
+ return resumeTimeout;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setResumeTimeout(int newResumeTimeout) {
+ int oldResumeTimeout = resumeTimeout;
+ resumeTimeout = newResumeTimeout;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ServicePackage.COMMON_VM_SERVICE_INSTANCE__RESUME_TIMEOUT, oldResumeTimeout, resumeTimeout));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CommonVmServiceConfiguration getVmConfiguration() {
+ return vmConfiguration;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetVmConfiguration(CommonVmServiceConfiguration newVmConfiguration, NotificationChain msgs) {
+ CommonVmServiceConfiguration oldVmConfiguration = vmConfiguration;
+ vmConfiguration = newVmConfiguration;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ServicePackage.COMMON_VM_SERVICE_INSTANCE__VM_CONFIGURATION, oldVmConfiguration, newVmConfiguration);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setVmConfiguration(CommonVmServiceConfiguration newVmConfiguration) {
+ if (newVmConfiguration != vmConfiguration) {
+ NotificationChain msgs = null;
+ if (vmConfiguration != null)
+ msgs = ((InternalEObject)vmConfiguration).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ServicePackage.COMMON_VM_SERVICE_INSTANCE__VM_CONFIGURATION, null, msgs);
+ if (newVmConfiguration != null)
+ msgs = ((InternalEObject)newVmConfiguration).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ServicePackage.COMMON_VM_SERVICE_INSTANCE__VM_CONFIGURATION, null, msgs);
+ msgs = basicSetVmConfiguration(newVmConfiguration, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ServicePackage.COMMON_VM_SERVICE_INSTANCE__VM_CONFIGURATION, newVmConfiguration, newVmConfiguration));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case ServicePackage.COMMON_VM_SERVICE_INSTANCE__VM_CONFIGURATION:
+ return basicSetVmConfiguration(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case ServicePackage.COMMON_VM_SERVICE_INSTANCE__SCRIPT:
+ return getScript();
+ case ServicePackage.COMMON_VM_SERVICE_INSTANCE__CONFIGURE_TIMEOUT:
+ return getConfigureTimeout();
+ case ServicePackage.COMMON_VM_SERVICE_INSTANCE__TEST_TIMEOUT:
+ return getTestTimeout();
+ case ServicePackage.COMMON_VM_SERVICE_INSTANCE__SUSPEND_TIMEOUT:
+ return getSuspendTimeout();
+ case ServicePackage.COMMON_VM_SERVICE_INSTANCE__RESUME_TIMEOUT:
+ return getResumeTimeout();
+ case ServicePackage.COMMON_VM_SERVICE_INSTANCE__VM_CONFIGURATION:
+ return getVmConfiguration();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case ServicePackage.COMMON_VM_SERVICE_INSTANCE__SCRIPT:
+ setScript((String)newValue);
+ return;
+ case ServicePackage.COMMON_VM_SERVICE_INSTANCE__CONFIGURE_TIMEOUT:
+ setConfigureTimeout((Integer)newValue);
+ return;
+ case ServicePackage.COMMON_VM_SERVICE_INSTANCE__TEST_TIMEOUT:
+ setTestTimeout((Integer)newValue);
+ return;
+ case ServicePackage.COMMON_VM_SERVICE_INSTANCE__SUSPEND_TIMEOUT:
+ setSuspendTimeout((Integer)newValue);
+ return;
+ case ServicePackage.COMMON_VM_SERVICE_INSTANCE__RESUME_TIMEOUT:
+ setResumeTimeout((Integer)newValue);
+ return;
+ case ServicePackage.COMMON_VM_SERVICE_INSTANCE__VM_CONFIGURATION:
+ setVmConfiguration((CommonVmServiceConfiguration)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case ServicePackage.COMMON_VM_SERVICE_INSTANCE__SCRIPT:
+ setScript(SCRIPT_EDEFAULT);
+ return;
+ case ServicePackage.COMMON_VM_SERVICE_INSTANCE__CONFIGURE_TIMEOUT:
+ setConfigureTimeout(CONFIGURE_TIMEOUT_EDEFAULT);
+ return;
+ case ServicePackage.COMMON_VM_SERVICE_INSTANCE__TEST_TIMEOUT:
+ setTestTimeout(TEST_TIMEOUT_EDEFAULT);
+ return;
+ case ServicePackage.COMMON_VM_SERVICE_INSTANCE__SUSPEND_TIMEOUT:
+ setSuspendTimeout(SUSPEND_TIMEOUT_EDEFAULT);
+ return;
+ case ServicePackage.COMMON_VM_SERVICE_INSTANCE__RESUME_TIMEOUT:
+ setResumeTimeout(RESUME_TIMEOUT_EDEFAULT);
+ return;
+ case ServicePackage.COMMON_VM_SERVICE_INSTANCE__VM_CONFIGURATION:
+ setVmConfiguration((CommonVmServiceConfiguration)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case ServicePackage.COMMON_VM_SERVICE_INSTANCE__SCRIPT:
+ return SCRIPT_EDEFAULT == null ? script != null : !SCRIPT_EDEFAULT.equals(script);
+ case ServicePackage.COMMON_VM_SERVICE_INSTANCE__CONFIGURE_TIMEOUT:
+ return configureTimeout != CONFIGURE_TIMEOUT_EDEFAULT;
+ case ServicePackage.COMMON_VM_SERVICE_INSTANCE__TEST_TIMEOUT:
+ return testTimeout != TEST_TIMEOUT_EDEFAULT;
+ case ServicePackage.COMMON_VM_SERVICE_INSTANCE__SUSPEND_TIMEOUT:
+ return suspendTimeout != SUSPEND_TIMEOUT_EDEFAULT;
+ case ServicePackage.COMMON_VM_SERVICE_INSTANCE__RESUME_TIMEOUT:
+ return resumeTimeout != RESUME_TIMEOUT_EDEFAULT;
+ case ServicePackage.COMMON_VM_SERVICE_INSTANCE__VM_CONFIGURATION:
+ return vmConfiguration != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (script: ");
+ result.append(script);
+ result.append(", configureTimeout: ");
+ result.append(configureTimeout);
+ result.append(", testTimeout: ");
+ result.append(testTimeout);
+ result.append(", suspendTimeout: ");
+ result.append(suspendTimeout);
+ result.append(", resumeTimeout: ");
+ result.append(resumeTimeout);
+ result.append(')');
+ return result.toString();
+ }
+
+} //CommonVmServiceInstanceImpl
diff --git a/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/impl/ServiceFactoryImpl.java b/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/impl/ServiceFactoryImpl.java
new file mode 100644
index 0000000..f6e7c35
--- /dev/null
+++ b/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/impl/ServiceFactoryImpl.java
@@ -0,0 +1,149 @@
+
+/*-
+ * ============LICENSE_START==========================================
+ * OPENECOMP - DCAE
+ * ===================================================================
+ * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
+ * ===================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END============================================
+ */
+
+/**
+ */
+package org.openecomp.dcae.controller.service.common.vm.service.impl;
+
+import org.openecomp.dcae.controller.service.common.vm.service.*;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.impl.EFactoryImpl;
+
+import org.eclipse.emf.ecore.plugin.EcorePlugin;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Factory</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class ServiceFactoryImpl extends EFactoryImpl implements ServiceFactory {
+ /**
+ * Creates the default factory implementation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static ServiceFactory init() {
+ try {
+ ServiceFactory theServiceFactory = (ServiceFactory)EPackage.Registry.INSTANCE.getEFactory(ServicePackage.eNS_URI);
+ if (theServiceFactory != null) {
+ return theServiceFactory;
+ }
+ }
+ catch (Exception exception) {
+ EcorePlugin.INSTANCE.log(exception);
+ }
+ return new ServiceFactoryImpl();
+ }
+
+ /**
+ * Creates an instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ServiceFactoryImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EObject create(EClass eClass) {
+ switch (eClass.getClassifierID()) {
+ case ServicePackage.COMMON_VM_SERVICE: return createCommonVmService();
+ case ServicePackage.COMMON_VM_SERVICE_INSTANCE: return createCommonVmServiceInstance();
+ case ServicePackage.COMMON_VM_SERVICE_CONFIGURATION: return createCommonVmServiceConfiguration();
+ case ServicePackage.TOMMY_VM_SERVICE_CONFIGURATION: return createTommyVmServiceConfiguration();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CommonVmService createCommonVmService() {
+ CommonVmServiceImpl commonVmService = new CommonVmServiceImpl();
+ return commonVmService;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CommonVmServiceInstance createCommonVmServiceInstance() {
+ CommonVmServiceInstanceImpl commonVmServiceInstance = new CommonVmServiceInstanceImpl();
+ return commonVmServiceInstance;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CommonVmServiceConfiguration createCommonVmServiceConfiguration() {
+ CommonVmServiceConfigurationImpl commonVmServiceConfiguration = new CommonVmServiceConfigurationImpl();
+ return commonVmServiceConfiguration;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TommyVmServiceConfiguration createTommyVmServiceConfiguration() {
+ TommyVmServiceConfigurationImpl tommyVmServiceConfiguration = new TommyVmServiceConfigurationImpl();
+ return tommyVmServiceConfiguration;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ServicePackage getServicePackage() {
+ return (ServicePackage)getEPackage();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @deprecated
+ * @generated
+ */
+ @Deprecated
+ public static ServicePackage getPackage() {
+ return ServicePackage.eINSTANCE;
+ }
+
+} //ServiceFactoryImpl
diff --git a/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/impl/ServicePackageImpl.java b/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/impl/ServicePackageImpl.java
new file mode 100644
index 0000000..b3eaa40
--- /dev/null
+++ b/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/impl/ServicePackageImpl.java
@@ -0,0 +1,380 @@
+
+/*-
+ * ============LICENSE_START==========================================
+ * OPENECOMP - DCAE
+ * ===================================================================
+ * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
+ * ===================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END============================================
+ */
+
+/**
+ */
+package org.openecomp.dcae.controller.service.common.vm.service.impl;
+
+import org.openecomp.dcae.controller.service.common.vm.service.CommonVmService;
+import org.openecomp.dcae.controller.service.common.vm.service.CommonVmServiceConfiguration;
+import org.openecomp.dcae.controller.service.common.vm.service.CommonVmServiceInstance;
+import org.openecomp.dcae.controller.service.common.vm.service.ServiceFactory;
+import org.openecomp.dcae.controller.service.common.vm.service.ServicePackage;
+import org.openecomp.dcae.controller.service.common.vm.service.TommyVmServiceConfiguration;
+import org.openecomp.dcae.controller.service.vm.VmPackage;
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+import org.eclipse.emf.ecore.EcorePackage;
+import org.eclipse.emf.ecore.impl.EPackageImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Package</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class ServicePackageImpl extends EPackageImpl implements ServicePackage {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass commonVmServiceEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass commonVmServiceInstanceEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass commonVmServiceConfigurationEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass tommyVmServiceConfigurationEClass = null;
+
+ /**
+ * Creates an instance of the model <b>Package</b>, registered with
+ * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
+ * package URI value.
+ * <p>Note: the correct way to create the package is via the static
+ * factory method {@link #init init()}, which also performs
+ * initialization of the package, or returns the registered package,
+ * if one already exists.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.ecore.EPackage.Registry
+ * @see org.openecomp.dcae.controller.service.common.vm.service.ServicePackage#eNS_URI
+ * @see #init()
+ * @generated
+ */
+ private ServicePackageImpl() {
+ super(eNS_URI, ServiceFactory.eINSTANCE);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static boolean isInited = false;
+
+ /**
+ * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
+ *
+ * <p>This method is used to initialize {@link ServicePackage#eINSTANCE} when that field is accessed.
+ * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #eNS_URI
+ * @see #createPackageContents()
+ * @see #initializePackageContents()
+ * @generated
+ */
+ public static ServicePackage init() {
+ if (isInited) return (ServicePackage)EPackage.Registry.INSTANCE.getEPackage(ServicePackage.eNS_URI);
+
+ // Obtain or create and register package
+ ServicePackageImpl theServicePackage = (ServicePackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ServicePackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ServicePackageImpl());
+
+ isInited = true;
+
+ // Initialize simple dependencies
+ VmPackage.eINSTANCE.eClass();
+
+ // Create package meta-data objects
+ theServicePackage.createPackageContents();
+
+ // Initialize created meta-data
+ theServicePackage.initializePackageContents();
+
+ // Mark meta-data to indicate it can't be changed
+ theServicePackage.freeze();
+
+
+ // Update the registry and return the package
+ EPackage.Registry.INSTANCE.put(ServicePackage.eNS_URI, theServicePackage);
+ return theServicePackage;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getCommonVmService() {
+ return commonVmServiceEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getCommonVmServiceInstance() {
+ return commonVmServiceInstanceEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCommonVmServiceInstance_Script() {
+ return (EAttribute)commonVmServiceInstanceEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCommonVmServiceInstance_ConfigureTimeout() {
+ return (EAttribute)commonVmServiceInstanceEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCommonVmServiceInstance_TestTimeout() {
+ return (EAttribute)commonVmServiceInstanceEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCommonVmServiceInstance_SuspendTimeout() {
+ return (EAttribute)commonVmServiceInstanceEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCommonVmServiceInstance_ResumeTimeout() {
+ return (EAttribute)commonVmServiceInstanceEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCommonVmServiceInstance_VmConfiguration() {
+ return (EReference)commonVmServiceInstanceEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getCommonVmServiceConfiguration() {
+ return commonVmServiceConfigurationEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getTommyVmServiceConfiguration() {
+ return tommyVmServiceConfigurationEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getTommyVmServiceConfiguration_PostgresUserName() {
+ return (EAttribute)tommyVmServiceConfigurationEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getTommyVmServiceConfiguration_PostgresPassword() {
+ return (EAttribute)tommyVmServiceConfigurationEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getTommyVmServiceConfiguration_PortgresJdbc() {
+ return (EAttribute)tommyVmServiceConfigurationEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ServiceFactory getServiceFactory() {
+ return (ServiceFactory)getEFactoryInstance();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private boolean isCreated = false;
+
+ /**
+ * Creates the meta-model objects for the package. This method is
+ * guarded to have no affect on any invocation but its first.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void createPackageContents() {
+ if (isCreated) return;
+ isCreated = true;
+
+ // Create classes and their features
+ commonVmServiceEClass = createEClass(COMMON_VM_SERVICE);
+
+ commonVmServiceInstanceEClass = createEClass(COMMON_VM_SERVICE_INSTANCE);
+ createEAttribute(commonVmServiceInstanceEClass, COMMON_VM_SERVICE_INSTANCE__SCRIPT);
+ createEAttribute(commonVmServiceInstanceEClass, COMMON_VM_SERVICE_INSTANCE__CONFIGURE_TIMEOUT);
+ createEAttribute(commonVmServiceInstanceEClass, COMMON_VM_SERVICE_INSTANCE__TEST_TIMEOUT);
+ createEAttribute(commonVmServiceInstanceEClass, COMMON_VM_SERVICE_INSTANCE__SUSPEND_TIMEOUT);
+ createEAttribute(commonVmServiceInstanceEClass, COMMON_VM_SERVICE_INSTANCE__RESUME_TIMEOUT);
+ createEReference(commonVmServiceInstanceEClass, COMMON_VM_SERVICE_INSTANCE__VM_CONFIGURATION);
+
+ commonVmServiceConfigurationEClass = createEClass(COMMON_VM_SERVICE_CONFIGURATION);
+
+ tommyVmServiceConfigurationEClass = createEClass(TOMMY_VM_SERVICE_CONFIGURATION);
+ createEAttribute(tommyVmServiceConfigurationEClass, TOMMY_VM_SERVICE_CONFIGURATION__POSTGRES_USER_NAME);
+ createEAttribute(tommyVmServiceConfigurationEClass, TOMMY_VM_SERVICE_CONFIGURATION__POSTGRES_PASSWORD);
+ createEAttribute(tommyVmServiceConfigurationEClass, TOMMY_VM_SERVICE_CONFIGURATION__PORTGRES_JDBC);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private boolean isInitialized = false;
+
+ /**
+ * Complete the initialization of the package and its meta-model. This
+ * method is guarded to have no affect on any invocation but its first.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void initializePackageContents() {
+ if (isInitialized) return;
+ isInitialized = true;
+
+ // Initialize package
+ setName(eNAME);
+ setNsPrefix(eNS_PREFIX);
+ setNsURI(eNS_URI);
+
+ // Obtain other dependent packages
+ VmPackage theVmPackage = (VmPackage)EPackage.Registry.INSTANCE.getEPackage(VmPackage.eNS_URI);
+ EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);
+
+ // Create type parameters
+
+ // Set bounds for type parameters
+
+ // Add supertypes to classes
+ commonVmServiceEClass.getESuperTypes().add(theVmPackage.getVirtualMachineService());
+ commonVmServiceInstanceEClass.getESuperTypes().add(theVmPackage.getVirtualMachineServiceInstance());
+ tommyVmServiceConfigurationEClass.getESuperTypes().add(this.getCommonVmServiceConfiguration());
+
+ // Initialize classes, features, and operations; add parameters
+ initEClass(commonVmServiceEClass, CommonVmService.class, "CommonVmService", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(commonVmServiceInstanceEClass, CommonVmServiceInstance.class, "CommonVmServiceInstance", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getCommonVmServiceInstance_Script(), theEcorePackage.getEString(), "script", null, 0, 1, CommonVmServiceInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getCommonVmServiceInstance_ConfigureTimeout(), theEcorePackage.getEInt(), "configureTimeout", "60000", 0, 1, CommonVmServiceInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getCommonVmServiceInstance_TestTimeout(), theEcorePackage.getEInt(), "testTimeout", "60000", 0, 1, CommonVmServiceInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getCommonVmServiceInstance_SuspendTimeout(), theEcorePackage.getEInt(), "suspendTimeout", "60000", 0, 1, CommonVmServiceInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getCommonVmServiceInstance_ResumeTimeout(), theEcorePackage.getEInt(), "resumeTimeout", "60000", 0, 1, CommonVmServiceInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getCommonVmServiceInstance_VmConfiguration(), this.getCommonVmServiceConfiguration(), null, "vmConfiguration", null, 0, 1, CommonVmServiceInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(commonVmServiceConfigurationEClass, CommonVmServiceConfiguration.class, "CommonVmServiceConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(tommyVmServiceConfigurationEClass, TommyVmServiceConfiguration.class, "TommyVmServiceConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getTommyVmServiceConfiguration_PostgresUserName(), theEcorePackage.getEString(), "postgresUserName", null, 0, 1, TommyVmServiceConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getTommyVmServiceConfiguration_PostgresPassword(), theEcorePackage.getEString(), "postgresPassword", null, 0, 1, TommyVmServiceConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getTommyVmServiceConfiguration_PortgresJdbc(), theEcorePackage.getEString(), "portgresJdbc", null, 0, 1, TommyVmServiceConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ // Create resource
+ createResource(eNS_URI);
+
+ // Create annotations
+ // http://www.eclipse.org/emf/2011/Xcore
+ createXcoreAnnotations();
+ }
+
+ /**
+ * Initializes the annotations for <b>http://www.eclipse.org/emf/2011/Xcore</b>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void createXcoreAnnotations() {
+ String source = "http://www.eclipse.org/emf/2011/Xcore";
+ addAnnotation
+ (this,
+ source,
+ new String[] {
+ "ecomp", "http://openecomp.org"
+ });
+ }
+
+} //ServicePackageImpl
diff --git a/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/impl/TommyVmServiceConfigurationImpl.java b/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/impl/TommyVmServiceConfigurationImpl.java
new file mode 100644
index 0000000..ff3f913
--- /dev/null
+++ b/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/impl/TommyVmServiceConfigurationImpl.java
@@ -0,0 +1,291 @@
+
+/*-
+ * ============LICENSE_START==========================================
+ * OPENECOMP - DCAE
+ * ===================================================================
+ * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
+ * ===================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END============================================
+ */
+
+/**
+ */
+package org.openecomp.dcae.controller.service.common.vm.service.impl;
+
+import org.openecomp.dcae.controller.service.common.vm.service.ServicePackage;
+import org.openecomp.dcae.controller.service.common.vm.service.TommyVmServiceConfiguration;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Tommy Vm Service Configuration</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.openecomp.dcae.controller.service.common.vm.service.impl.TommyVmServiceConfigurationImpl#getPostgresUserName <em>Postgres User Name</em>}</li>
+ * <li>{@link org.openecomp.dcae.controller.service.common.vm.service.impl.TommyVmServiceConfigurationImpl#getPostgresPassword <em>Postgres Password</em>}</li>
+ * <li>{@link org.openecomp.dcae.controller.service.common.vm.service.impl.TommyVmServiceConfigurationImpl#getPortgresJdbc <em>Portgres Jdbc</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class TommyVmServiceConfigurationImpl extends CommonVmServiceConfigurationImpl implements TommyVmServiceConfiguration {
+ /**
+ * The default value of the '{@link #getPostgresUserName() <em>Postgres User Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPostgresUserName()
+ * @generated
+ * @ordered
+ */
+ protected static final String POSTGRES_USER_NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getPostgresUserName() <em>Postgres User Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPostgresUserName()
+ * @generated
+ * @ordered
+ */
+ protected String postgresUserName = POSTGRES_USER_NAME_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getPostgresPassword() <em>Postgres Password</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPostgresPassword()
+ * @generated
+ * @ordered
+ */
+ protected static final String POSTGRES_PASSWORD_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getPostgresPassword() <em>Postgres Password</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPostgresPassword()
+ * @generated
+ * @ordered
+ */
+ protected String postgresPassword = POSTGRES_PASSWORD_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getPortgresJdbc() <em>Portgres Jdbc</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPortgresJdbc()
+ * @generated
+ * @ordered
+ */
+ protected static final String PORTGRES_JDBC_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getPortgresJdbc() <em>Portgres Jdbc</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPortgresJdbc()
+ * @generated
+ * @ordered
+ */
+ protected String portgresJdbc = PORTGRES_JDBC_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected TommyVmServiceConfigurationImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return ServicePackage.Literals.TOMMY_VM_SERVICE_CONFIGURATION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getPostgresUserName() {
+ return postgresUserName;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setPostgresUserName(String newPostgresUserName) {
+ String oldPostgresUserName = postgresUserName;
+ postgresUserName = newPostgresUserName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ServicePackage.TOMMY_VM_SERVICE_CONFIGURATION__POSTGRES_USER_NAME, oldPostgresUserName, postgresUserName));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getPostgresPassword() {
+ return postgresPassword;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setPostgresPassword(String newPostgresPassword) {
+ String oldPostgresPassword = postgresPassword;
+ postgresPassword = newPostgresPassword;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ServicePackage.TOMMY_VM_SERVICE_CONFIGURATION__POSTGRES_PASSWORD, oldPostgresPassword, postgresPassword));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getPortgresJdbc() {
+ return portgresJdbc;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setPortgresJdbc(String newPortgresJdbc) {
+ String oldPortgresJdbc = portgresJdbc;
+ portgresJdbc = newPortgresJdbc;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ServicePackage.TOMMY_VM_SERVICE_CONFIGURATION__PORTGRES_JDBC, oldPortgresJdbc, portgresJdbc));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case ServicePackage.TOMMY_VM_SERVICE_CONFIGURATION__POSTGRES_USER_NAME:
+ return getPostgresUserName();
+ case ServicePackage.TOMMY_VM_SERVICE_CONFIGURATION__POSTGRES_PASSWORD:
+ return getPostgresPassword();
+ case ServicePackage.TOMMY_VM_SERVICE_CONFIGURATION__PORTGRES_JDBC:
+ return getPortgresJdbc();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case ServicePackage.TOMMY_VM_SERVICE_CONFIGURATION__POSTGRES_USER_NAME:
+ setPostgresUserName((String)newValue);
+ return;
+ case ServicePackage.TOMMY_VM_SERVICE_CONFIGURATION__POSTGRES_PASSWORD:
+ setPostgresPassword((String)newValue);
+ return;
+ case ServicePackage.TOMMY_VM_SERVICE_CONFIGURATION__PORTGRES_JDBC:
+ setPortgresJdbc((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case ServicePackage.TOMMY_VM_SERVICE_CONFIGURATION__POSTGRES_USER_NAME:
+ setPostgresUserName(POSTGRES_USER_NAME_EDEFAULT);
+ return;
+ case ServicePackage.TOMMY_VM_SERVICE_CONFIGURATION__POSTGRES_PASSWORD:
+ setPostgresPassword(POSTGRES_PASSWORD_EDEFAULT);
+ return;
+ case ServicePackage.TOMMY_VM_SERVICE_CONFIGURATION__PORTGRES_JDBC:
+ setPortgresJdbc(PORTGRES_JDBC_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case ServicePackage.TOMMY_VM_SERVICE_CONFIGURATION__POSTGRES_USER_NAME:
+ return POSTGRES_USER_NAME_EDEFAULT == null ? postgresUserName != null : !POSTGRES_USER_NAME_EDEFAULT.equals(postgresUserName);
+ case ServicePackage.TOMMY_VM_SERVICE_CONFIGURATION__POSTGRES_PASSWORD:
+ return POSTGRES_PASSWORD_EDEFAULT == null ? postgresPassword != null : !POSTGRES_PASSWORD_EDEFAULT.equals(postgresPassword);
+ case ServicePackage.TOMMY_VM_SERVICE_CONFIGURATION__PORTGRES_JDBC:
+ return PORTGRES_JDBC_EDEFAULT == null ? portgresJdbc != null : !PORTGRES_JDBC_EDEFAULT.equals(portgresJdbc);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (postgresUserName: ");
+ result.append(postgresUserName);
+ result.append(", postgresPassword: ");
+ result.append(postgresPassword);
+ result.append(", portgresJdbc: ");
+ result.append(portgresJdbc);
+ result.append(')');
+ return result.toString();
+ }
+
+} //TommyVmServiceConfigurationImpl
diff --git a/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/util/ServiceAdapterFactory.java b/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/util/ServiceAdapterFactory.java
new file mode 100644
index 0000000..2b5fae8
--- /dev/null
+++ b/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/util/ServiceAdapterFactory.java
@@ -0,0 +1,312 @@
+
+/*-
+ * ============LICENSE_START==========================================
+ * OPENECOMP - DCAE
+ * ===================================================================
+ * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
+ * ===================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END============================================
+ */
+
+/**
+ */
+package org.openecomp.dcae.controller.service.common.vm.service.util;
+
+import org.openecomp.dcae.controller.core.service.DcaeService;
+import org.openecomp.dcae.controller.core.service.DcaeServiceInstance;
+
+import org.openecomp.dcae.controller.service.common.vm.service.*;
+
+import org.openecomp.dcae.controller.service.vm.VirtualMachineService;
+import org.openecomp.dcae.controller.service.vm.VirtualMachineServiceConfiguration;
+import org.openecomp.dcae.controller.service.vm.VirtualMachineServiceInstance;
+
+import org.openecomp.ncomp.core.NamedEntity;
+
+import org.eclipse.emf.common.notify.Adapter;
+import org.eclipse.emf.common.notify.Notifier;
+
+import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Adapter Factory</b> for the model.
+ * It provides an adapter <code>createXXX</code> method for each class of the model.
+ * <!-- end-user-doc -->
+ * @see org.openecomp.dcae.controller.service.common.vm.service.ServicePackage
+ * @generated
+ */
+public class ServiceAdapterFactory extends AdapterFactoryImpl {
+ /**
+ * The cached model package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static ServicePackage modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ServiceAdapterFactory() {
+ if (modelPackage == null) {
+ modelPackage = ServicePackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Returns whether this factory is applicable for the type of the object.
+ * <!-- begin-user-doc -->
+ * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
+ * <!-- end-user-doc -->
+ * @return whether this factory is applicable for the type of the object.
+ * @generated
+ */
+ @Override
+ public boolean isFactoryForType(Object object) {
+ if (object == modelPackage) {
+ return true;
+ }
+ if (object instanceof EObject) {
+ return ((EObject)object).eClass().getEPackage() == modelPackage;
+ }
+ return false;
+ }
+
+ /**
+ * The switch that delegates to the <code>createXXX</code> methods.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ServiceSwitch<Adapter> modelSwitch =
+ new ServiceSwitch<Adapter>() {
+ @Override
+ public Adapter caseCommonVmService(CommonVmService object) {
+ return createCommonVmServiceAdapter();
+ }
+ @Override
+ public Adapter caseCommonVmServiceInstance(CommonVmServiceInstance object) {
+ return createCommonVmServiceInstanceAdapter();
+ }
+ @Override
+ public Adapter caseCommonVmServiceConfiguration(CommonVmServiceConfiguration object) {
+ return createCommonVmServiceConfigurationAdapter();
+ }
+ @Override
+ public Adapter caseTommyVmServiceConfiguration(TommyVmServiceConfiguration object) {
+ return createTommyVmServiceConfigurationAdapter();
+ }
+ @Override
+ public Adapter caseNamedEntity(NamedEntity object) {
+ return createNamedEntityAdapter();
+ }
+ @Override
+ public Adapter caseDcaeService(DcaeService object) {
+ return createDcaeServiceAdapter();
+ }
+ @Override
+ public Adapter caseVirtualMachineService(VirtualMachineService object) {
+ return createVirtualMachineServiceAdapter();
+ }
+ @Override
+ public Adapter caseDcaeServiceInstance(DcaeServiceInstance object) {
+ return createDcaeServiceInstanceAdapter();
+ }
+ @Override
+ public Adapter caseVirtualMachineServiceConfiguration(VirtualMachineServiceConfiguration object) {
+ return createVirtualMachineServiceConfigurationAdapter();
+ }
+ @Override
+ public Adapter caseVirtualMachineServiceInstance(VirtualMachineServiceInstance object) {
+ return createVirtualMachineServiceInstanceAdapter();
+ }
+ @Override
+ public Adapter defaultCase(EObject object) {
+ return createEObjectAdapter();
+ }
+ };
+
+ /**
+ * Creates an adapter for the <code>target</code>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param target the object to adapt.
+ * @return the adapter for the <code>target</code>.
+ * @generated
+ */
+ @Override
+ public Adapter createAdapter(Notifier target) {
+ return modelSwitch.doSwitch((EObject)target);
+ }
+
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.openecomp.dcae.controller.service.common.vm.service.CommonVmService <em>Common Vm Service</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.openecomp.dcae.controller.service.common.vm.service.CommonVmService
+ * @generated
+ */
+ public Adapter createCommonVmServiceAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.openecomp.dcae.controller.service.common.vm.service.CommonVmServiceInstance <em>Common Vm Service Instance</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.openecomp.dcae.controller.service.common.vm.service.CommonVmServiceInstance
+ * @generated
+ */
+ public Adapter createCommonVmServiceInstanceAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.openecomp.dcae.controller.service.common.vm.service.CommonVmServiceConfiguration <em>Common Vm Service Configuration</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.openecomp.dcae.controller.service.common.vm.service.CommonVmServiceConfiguration
+ * @generated
+ */
+ public Adapter createCommonVmServiceConfigurationAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.openecomp.dcae.controller.service.common.vm.service.TommyVmServiceConfiguration <em>Tommy Vm Service Configuration</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.openecomp.dcae.controller.service.common.vm.service.TommyVmServiceConfiguration
+ * @generated
+ */
+ public Adapter createTommyVmServiceConfigurationAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.openecomp.ncomp.core.NamedEntity <em>Named Entity</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.openecomp.ncomp.core.NamedEntity
+ * @generated
+ */
+ public Adapter createNamedEntityAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.openecomp.dcae.controller.core.service.DcaeService <em>Dcae Service</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.openecomp.dcae.controller.core.service.DcaeService
+ * @generated
+ */
+ public Adapter createDcaeServiceAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.openecomp.dcae.controller.service.vm.VirtualMachineService <em>Virtual Machine Service</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.openecomp.dcae.controller.service.vm.VirtualMachineService
+ * @generated
+ */
+ public Adapter createVirtualMachineServiceAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.openecomp.dcae.controller.core.service.DcaeServiceInstance <em>Dcae Service Instance</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.openecomp.dcae.controller.core.service.DcaeServiceInstance
+ * @generated
+ */
+ public Adapter createDcaeServiceInstanceAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.openecomp.dcae.controller.service.vm.VirtualMachineServiceConfiguration <em>Virtual Machine Service Configuration</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.openecomp.dcae.controller.service.vm.VirtualMachineServiceConfiguration
+ * @generated
+ */
+ public Adapter createVirtualMachineServiceConfigurationAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.openecomp.dcae.controller.service.vm.VirtualMachineServiceInstance <em>Virtual Machine Service Instance</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.openecomp.dcae.controller.service.vm.VirtualMachineServiceInstance
+ * @generated
+ */
+ public Adapter createVirtualMachineServiceInstanceAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for the default case.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @generated
+ */
+ public Adapter createEObjectAdapter() {
+ return null;
+ }
+
+} //ServiceAdapterFactory
diff --git a/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/util/ServiceSwitch.java b/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/util/ServiceSwitch.java
new file mode 100644
index 0000000..4edc31c
--- /dev/null
+++ b/dcae-controller-service-vm/dcae-controller-service-common-vm/dcae-controller-service-common-vm-model/src/main/xcore-gen/org/openecomp/dcae/controller/service/common/vm/service/util/ServiceSwitch.java
@@ -0,0 +1,301 @@
+
+/*-
+ * ============LICENSE_START==========================================
+ * OPENECOMP - DCAE
+ * ===================================================================
+ * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
+ * ===================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END============================================
+ */
+
+/**
+ */
+package org.openecomp.dcae.controller.service.common.vm.service.util;
+
+import org.openecomp.dcae.controller.core.service.DcaeService;
+import org.openecomp.dcae.controller.core.service.DcaeServiceInstance;
+
+import org.openecomp.dcae.controller.service.common.vm.service.*;
+
+import org.openecomp.dcae.controller.service.vm.VirtualMachineService;
+import org.openecomp.dcae.controller.service.vm.VirtualMachineServiceConfiguration;
+import org.openecomp.dcae.controller.service.vm.VirtualMachineServiceInstance;
+
+import org.openecomp.ncomp.core.NamedEntity;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.util.Switch;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Switch</b> for the model's inheritance hierarchy.
+ * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
+ * to invoke the <code>caseXXX</code> method for each class of the model,
+ * starting with the actual class of the object
+ * and proceeding up the inheritance hierarchy
+ * until a non-null result is returned,
+ * which is the result of the switch.
+ * <!-- end-user-doc -->
+ * @see org.openecomp.dcae.controller.service.common.vm.service.ServicePackage
+ * @generated
+ */
+public class ServiceSwitch<T> extends Switch<T> {
+ /**
+ * The cached model package
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static ServicePackage modelPackage;
+
+ /**
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ServiceSwitch() {
+ if (modelPackage == null) {
+ modelPackage = ServicePackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Checks whether this is a switch for the given package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @parameter ePackage the package in question.
+ * @return whether this is a switch for the given package.
+ * @generated
+ */
+ @Override
+ protected boolean isSwitchFor(EPackage ePackage) {
+ return ePackage == modelPackage;
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @generated
+ */
+ @Override
+ protected T doSwitch(int classifierID, EObject theEObject) {
+ switch (classifierID) {
+ case ServicePackage.COMMON_VM_SERVICE: {
+ CommonVmService commonVmService = (CommonVmService)theEObject;
+ T result = caseCommonVmService(commonVmService);
+ if (result == null) result = caseVirtualMachineService(commonVmService);
+ if (result == null) result = caseDcaeService(commonVmService);
+ if (result == null) result = caseNamedEntity(commonVmService);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case ServicePackage.COMMON_VM_SERVICE_INSTANCE: {
+ CommonVmServiceInstance commonVmServiceInstance = (CommonVmServiceInstance)theEObject;
+ T result = caseCommonVmServiceInstance(commonVmServiceInstance);
+ if (result == null) result = caseVirtualMachineServiceInstance(commonVmServiceInstance);
+ if (result == null) result = caseDcaeServiceInstance(commonVmServiceInstance);
+ if (result == null) result = caseVirtualMachineServiceConfiguration(commonVmServiceInstance);
+ if (result == null) result = caseNamedEntity(commonVmServiceInstance);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case ServicePackage.COMMON_VM_SERVICE_CONFIGURATION: {
+ CommonVmServiceConfiguration commonVmServiceConfiguration = (CommonVmServiceConfiguration)theEObject;
+ T result = caseCommonVmServiceConfiguration(commonVmServiceConfiguration);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case ServicePackage.TOMMY_VM_SERVICE_CONFIGURATION: {
+ TommyVmServiceConfiguration tommyVmServiceConfiguration = (TommyVmServiceConfiguration)theEObject;
+ T result = caseTommyVmServiceConfiguration(tommyVmServiceConfiguration);
+ if (result == null) result = caseCommonVmServiceConfiguration(tommyVmServiceConfiguration);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
+ }
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Common Vm Service</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Common Vm Service</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseCommonVmService(CommonVmService object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Common Vm Service Instance</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Common Vm Service Instance</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseCommonVmServiceInstance(CommonVmServiceInstance object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Common Vm Service Configuration</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Common Vm Service Configuration</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseCommonVmServiceConfiguration(CommonVmServiceConfiguration object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Tommy Vm Service Configuration</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Tommy Vm Service Configuration</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseTommyVmServiceConfiguration(TommyVmServiceConfiguration object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Named Entity</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Named Entity</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseNamedEntity(NamedEntity object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Dcae Service</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Dcae Service</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDcaeService(DcaeService object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Virtual Machine Service</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Virtual Machine Service</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseVirtualMachineService(VirtualMachineService object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Dcae Service Instance</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Dcae Service Instance</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDcaeServiceInstance(DcaeServiceInstance object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Virtual Machine Service Configuration</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Virtual Machine Service Configuration</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseVirtualMachineServiceConfiguration(VirtualMachineServiceConfiguration object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Virtual Machine Service Instance</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Virtual Machine Service Instance</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseVirtualMachineServiceInstance(VirtualMachineServiceInstance object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch, but this is the last case anyway.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject)
+ * @generated
+ */
+ @Override
+ public T defaultCase(EObject object) {
+ return null;
+ }
+
+} //ServiceSwitch