diff options
author | Carsten Lund <lund@research.att.com> | 2017-04-16 14:10:02 +0000 |
---|---|---|
committer | Carsten Lund <lund@research.att.com> | 2017-04-16 14:10:02 +0000 |
commit | c9beb141d5ee6af8ead53f5486d77649c410dd64 (patch) | |
tree | fb3678f9b517f1172f54cd08cace113c8ff9e4f2 /ncomp-cdap-model | |
parent | f84df08cfd9b249a5f7beebd5f258f59e87fddb0 (diff) |
[DCAE-15] Changes related to version 1.1
See Jira for details
Change-Id: I5ad7af00664e9bede87b5f6939aa8996081572f6
Signed-off-by: Carsten Lund <lund@research.att.com>
Diffstat (limited to 'ncomp-cdap-model')
33 files changed, 444 insertions, 138 deletions
diff --git a/ncomp-cdap-model/.classpath b/ncomp-cdap-model/.classpath index 69b19c6..d86c4cf 100644 --- a/ncomp-cdap-model/.classpath +++ b/ncomp-cdap-model/.classpath @@ -1,17 +1,33 @@ <?xml version="1.0" encoding="UTF-8"?> <classpath> - <classpathentry kind="src" output="target/classes" path="src/main/xcore"> + <classpathentry excluding="**" kind="src" output="target/classes" path="src/main/xcore"> + <attributes> + <attribute name="optional" value="true"/> + <attribute name="maven.pomderived" value="true"/> + </attributes> + </classpathentry> + <classpathentry kind="src" output="target/classes" path="src/main/xcore-gen"> <attributes> <attribute name="optional" value="true"/> <attribute name="maven.pomderived" value="true"/> </attributes> </classpathentry> - <classpathentry kind="src" path="src/main/xcore-gen"/> <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"> <attributes> <attribute name="maven.pomderived" value="true"/> </attributes> </classpathentry> + <classpathentry kind="src" output="target/test-classes" path="src/test/java"> + <attributes> + <attribute name="optional" value="true"/> + <attribute name="maven.pomderived" value="true"/> + </attributes> + </classpathentry> + <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> + <attributes> + <attribute name="maven.pomderived" value="true"/> + </attributes> + </classpathentry> <classpathentry kind="output" path="target/classes"/> </classpath> diff --git a/ncomp-cdap-model/.project b/ncomp-cdap-model/.project index 4525042..dda0a96 100644 --- a/ncomp-cdap-model/.project +++ b/ncomp-cdap-model/.project @@ -25,8 +25,14 @@ <arguments> </arguments> </buildCommand> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> </buildSpec> <natures> + <nature>org.eclipse.m2e.core.maven2Nature</nature> <nature>org.eclipse.jdt.core.javanature</nature> <nature>org.eclipse.pde.PluginNature</nature> <nature>org.eclipse.xtext.ui.shared.xtextNature</nature> diff --git a/ncomp-cdap-model/.settings/org.eclipse.core.resources.prefs b/ncomp-cdap-model/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..447ff97 --- /dev/null +++ b/ncomp-cdap-model/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,4 @@ +eclipse.preferences.version=1 +encoding//src/main/xcore=UTF-8 +encoding//src/main/xcore-gen=UTF-8 +encoding/<project>=UTF-8 diff --git a/ncomp-cdap-model/.settings/org.eclipse.jdt.core.prefs b/ncomp-cdap-model/.settings/org.eclipse.jdt.core.prefs index 4ede96d..ec4300d 100644 --- a/ncomp-cdap-model/.settings/org.eclipse.jdt.core.prefs +++ b/ncomp-cdap-model/.settings/org.eclipse.jdt.core.prefs @@ -1,2 +1,5 @@ eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 +org.eclipse.jdt.core.compiler.compliance=1.7 org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning +org.eclipse.jdt.core.compiler.source=1.7 diff --git a/ncomp-cdap-model/META-INF/MANIFEST.MF b/ncomp-cdap-model/META-INF/MANIFEST.MF index 18ec63b..d4d7529 100644 --- a/ncomp-cdap-model/META-INF/MANIFEST.MF +++ b/ncomp-cdap-model/META-INF/MANIFEST.MF @@ -14,8 +14,5 @@ Require-Bundle: org.eclipse.core.runtime, org.eclipse.emf.ecore;visibility:=reexport, org.eclipse.xtext.xbase.lib, org.eclipse.emf.ecore.xcore.lib, - ncomp-core-model;bundle-version="0.1.0";visibility:=reexport, - ncomp-sirius-manager-model;bundle-version="0.1.0";visibility:=reexport, - ncomp-core-types;bundle-version="0.1.0", - ncomp-utils-java;bundle-version="0.1.0" + ncomp-core-model;visibility:=reexport Bundle-ActivationPolicy: lazy diff --git a/ncomp-cdap-model/pom.xml b/ncomp-cdap-model/pom.xml index 3a892e6..fed7185 100644 --- a/ncomp-cdap-model/pom.xml +++ b/ncomp-cdap-model/pom.xml @@ -5,7 +5,7 @@ <parent> <groupId>org.openecomp.ncomp.maven</groupId> <artifactId>ncomp-maven-xcore</artifactId> - <version>1.0.0-SNAPSHOT</version> + <version>1.1.0-SNAPSHOT</version> <relativePath>../../dcae-org.openecomp.ncomp.maven/ncomp-maven-xcore</relativePath> </parent> <dependencies> diff --git a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/CdapApi.java b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/CdapApi.java index d0caa06..5738de9 100644 --- a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/CdapApi.java +++ b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/CdapApi.java @@ -73,6 +73,14 @@ public interface CdapApi extends EObject { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * @model unique="false" namespaceUnique="false" artifactNameUnique="false" jarfileUnique="false" versionUnique="false" configUnique="false" + * @generated + */ + String loadArtifactWithConfig(String namespace, String artifactName, String jarfile, String version, String config); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> * @model unique="false" namespaceUnique="false" artifactNameUnique="false" artifactVersionUnique="false" * @generated */ @@ -342,4 +350,20 @@ public interface CdapApi extends EObject { */ String setStreamTTL(String namespace, String streamName, int ttlSeconds); + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @model unique="false" namespaceUnique="false" appIdUnique="false" scheduleIdUnique="false" + * @generated + */ + String suspendSchedule(String namespace, String appId, String scheduleId); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @model unique="false" namespaceUnique="false" appIdUnique="false" scheduleIdUnique="false" + * @generated + */ + String resumeSchedule(String namespace, String appId, String scheduleId); + } // CdapApi diff --git a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/CdapApplication.java b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/CdapApplication.java index ff6e3f3..0aef90c 100644 --- a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/CdapApplication.java +++ b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/CdapApplication.java @@ -32,6 +32,7 @@ import org.openecomp.ncomp.core.NamedEntity; * * <p> * The following features are supported: + * </p> * <ul> * <li>{@link org.openecomp.ncomp.cdap.CdapApplication#getType <em>Type</em>}</li> * <li>{@link org.openecomp.ncomp.cdap.CdapApplication#getId <em>Id</em>}</li> @@ -39,7 +40,6 @@ import org.openecomp.ncomp.core.NamedEntity; * <li>{@link org.openecomp.ncomp.cdap.CdapApplication#getDescription <em>Description</em>}</li> * <li>{@link org.openecomp.ncomp.cdap.CdapApplication#getArtifact <em>Artifact</em>}</li> * </ul> - * </p> * * @see org.openecomp.ncomp.cdap.CdapPackage#getCdapApplication() * @model diff --git a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/CdapArtifact.java b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/CdapArtifact.java index 6582a5a..80e468e 100644 --- a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/CdapArtifact.java +++ b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/CdapArtifact.java @@ -32,11 +32,11 @@ import org.openecomp.ncomp.core.NamedEntity; * * <p> * The following features are supported: + * </p> * <ul> * <li>{@link org.openecomp.ncomp.cdap.CdapArtifact#getVersion <em>Version</em>}</li> * <li>{@link org.openecomp.ncomp.cdap.CdapArtifact#getScope <em>Scope</em>}</li> * </ul> - * </p> * * @see org.openecomp.ncomp.cdap.CdapPackage#getCdapArtifact() * @model diff --git a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/CdapCluster.java b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/CdapCluster.java index 4694c32..9d4222c 100644 --- a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/CdapCluster.java +++ b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/CdapCluster.java @@ -34,6 +34,7 @@ import org.eclipse.emf.common.util.EList; * * <p> * The following features are supported: + * </p> * <ul> * <li>{@link org.openecomp.ncomp.cdap.CdapCluster#getBaseUrl <em>Base Url</em>}</li> * <li>{@link org.openecomp.ncomp.cdap.CdapCluster#getPollingFrequency <em>Polling Frequency</em>}</li> @@ -41,7 +42,6 @@ import org.eclipse.emf.common.util.EList; * <li>{@link org.openecomp.ncomp.cdap.CdapCluster#getConfigurations <em>Configurations</em>}</li> * <li>{@link org.openecomp.ncomp.cdap.CdapCluster#getNamespaces <em>Namespaces</em>}</li> * </ul> - * </p> * * @see org.openecomp.ncomp.cdap.CdapPackage#getCdapCluster() * @model diff --git a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/CdapConfiguration.java b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/CdapConfiguration.java index 899cf22..1f2fdb4 100644 --- a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/CdapConfiguration.java +++ b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/CdapConfiguration.java @@ -32,11 +32,11 @@ import org.openecomp.ncomp.core.NamedEntity; * * <p> * The following features are supported: + * </p> * <ul> * <li>{@link org.openecomp.ncomp.cdap.CdapConfiguration#getValue <em>Value</em>}</li> * <li>{@link org.openecomp.ncomp.cdap.CdapConfiguration#getSource <em>Source</em>}</li> * </ul> - * </p> * * @see org.openecomp.ncomp.cdap.CdapPackage#getCdapConfiguration() * @model diff --git a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/CdapDataset.java b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/CdapDataset.java index f45276e..feafdde 100644 --- a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/CdapDataset.java +++ b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/CdapDataset.java @@ -34,12 +34,12 @@ import org.eclipse.emf.common.util.EList; * * <p> * The following features are supported: + * </p> * <ul> * <li>{@link org.openecomp.ncomp.cdap.CdapDataset#getType <em>Type</em>}</li> * <li>{@link org.openecomp.ncomp.cdap.CdapDataset#getProperties <em>Properties</em>}</li> * <li>{@link org.openecomp.ncomp.cdap.CdapDataset#getSchema <em>Schema</em>}</li> * </ul> - * </p> * * @see org.openecomp.ncomp.cdap.CdapPackage#getCdapDataset() * @model diff --git a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/CdapDatasetSchema.java b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/CdapDatasetSchema.java index d8190da..568ed4b 100644 --- a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/CdapDatasetSchema.java +++ b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/CdapDatasetSchema.java @@ -34,11 +34,11 @@ import org.eclipse.emf.common.util.EList; * * <p> * The following features are supported: + * </p> * <ul> * <li>{@link org.openecomp.ncomp.cdap.CdapDatasetSchema#getType <em>Type</em>}</li> * <li>{@link org.openecomp.ncomp.cdap.CdapDatasetSchema#getFields <em>Fields</em>}</li> * </ul> - * </p> * * @see org.openecomp.ncomp.cdap.CdapPackage#getCdapDatasetSchema() * @model diff --git a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/CdapDatasetSchemaField.java b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/CdapDatasetSchemaField.java index 9583c6c..5eb83e8 100644 --- a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/CdapDatasetSchemaField.java +++ b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/CdapDatasetSchemaField.java @@ -32,10 +32,10 @@ import org.openecomp.ncomp.core.NamedEntity; * * <p> * The following features are supported: + * </p> * <ul> * <li>{@link org.openecomp.ncomp.cdap.CdapDatasetSchemaField#getType <em>Type</em>}</li> * </ul> - * </p> * * @see org.openecomp.ncomp.cdap.CdapPackage#getCdapDatasetSchemaField() * @model diff --git a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/CdapEntityWithPreferences.java b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/CdapEntityWithPreferences.java index 3688844..d369bef 100644 --- a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/CdapEntityWithPreferences.java +++ b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/CdapEntityWithPreferences.java @@ -34,10 +34,10 @@ import org.eclipse.emf.common.util.EList; * * <p> * The following features are supported: + * </p> * <ul> * <li>{@link org.openecomp.ncomp.cdap.CdapEntityWithPreferences#getPreferences <em>Preferences</em>}</li> * </ul> - * </p> * * @see org.openecomp.ncomp.cdap.CdapPackage#getCdapEntityWithPreferences() * @model diff --git a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/CdapKeyPair.java b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/CdapKeyPair.java index bc2fb98..a287110 100644 --- a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/CdapKeyPair.java +++ b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/CdapKeyPair.java @@ -32,10 +32,10 @@ import org.openecomp.ncomp.core.NamedEntity; * * <p> * The following features are supported: + * </p> * <ul> * <li>{@link org.openecomp.ncomp.cdap.CdapKeyPair#getValue <em>Value</em>}</li> * </ul> - * </p> * * @see org.openecomp.ncomp.cdap.CdapPackage#getCdapKeyPair() * @model diff --git a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/CdapNamespace.java b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/CdapNamespace.java index e6bd6b0..14c66a9 100644 --- a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/CdapNamespace.java +++ b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/CdapNamespace.java @@ -34,6 +34,7 @@ import org.eclipse.emf.common.util.EList; * * <p> * The following features are supported: + * </p> * <ul> * <li>{@link org.openecomp.ncomp.cdap.CdapNamespace#getDescription <em>Description</em>}</li> * <li>{@link org.openecomp.ncomp.cdap.CdapNamespace#getConfig <em>Config</em>}</li> @@ -41,7 +42,6 @@ import org.eclipse.emf.common.util.EList; * <li>{@link org.openecomp.ncomp.cdap.CdapNamespace#getApplications <em>Applications</em>}</li> * <li>{@link org.openecomp.ncomp.cdap.CdapNamespace#getCluster <em>Cluster</em>}</li> * </ul> - * </p> * * @see org.openecomp.ncomp.cdap.CdapPackage#getCdapNamespace() * @model diff --git a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/CdapPackage.java b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/CdapPackage.java index f3d0c90..56e366f 100644 --- a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/CdapPackage.java +++ b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/CdapPackage.java @@ -43,6 +43,24 @@ import org.eclipse.emf.ecore.EReference; * <li>and each data type</li> * </ul> * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * - + * ============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============================================ + * <!-- end-model-doc --> * @see org.openecomp.ncomp.cdap.CdapFactory * @model kind="package" * annotation="http://www.eclipse.org/emf/2002/GenModel modelDirectory='/ncomp-cdap-model/src/main/xcore-gen' basePackage='org.openecomp.ncomp'" @@ -246,13 +264,22 @@ public interface CdapPackage extends EPackage { int CDAP_CLUSTER___LOAD_ARTIFACT__STRING_STRING_STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 3; /** + * The operation id for the '<em>Load Artifact With Config</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CDAP_CLUSTER___LOAD_ARTIFACT_WITH_CONFIG__STRING_STRING_STRING_STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 4; + + /** * The operation id for the '<em>Delete Artifact</em>' operation. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ - int CDAP_CLUSTER___DELETE_ARTIFACT__STRING_STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 4; + int CDAP_CLUSTER___DELETE_ARTIFACT__STRING_STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 5; /** * The operation id for the '<em>Start Flow</em>' operation. @@ -261,7 +288,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_CLUSTER___START_FLOW__STRING_STRING_STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 5; + int CDAP_CLUSTER___START_FLOW__STRING_STRING_STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 6; /** * The operation id for the '<em>Start Worker</em>' operation. @@ -270,7 +297,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_CLUSTER___START_WORKER__STRING_STRING_STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 6; + int CDAP_CLUSTER___START_WORKER__STRING_STRING_STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 7; /** * The operation id for the '<em>Start Service</em>' operation. @@ -279,7 +306,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_CLUSTER___START_SERVICE__STRING_STRING_STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 7; + int CDAP_CLUSTER___START_SERVICE__STRING_STRING_STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 8; /** * The operation id for the '<em>Start App</em>' operation. @@ -288,7 +315,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_CLUSTER___START_APP__STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 8; + int CDAP_CLUSTER___START_APP__STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 9; /** * The operation id for the '<em>Stop App</em>' operation. @@ -297,7 +324,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_CLUSTER___STOP_APP__STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 9; + int CDAP_CLUSTER___STOP_APP__STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 10; /** * The operation id for the '<em>Delete App</em>' operation. @@ -306,7 +333,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_CLUSTER___DELETE_APP__STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 10; + int CDAP_CLUSTER___DELETE_APP__STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 11; /** * The operation id for the '<em>Load Preferences App</em>' operation. @@ -315,7 +342,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_CLUSTER___LOAD_PREFERENCES_APP__STRING_STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 11; + int CDAP_CLUSTER___LOAD_PREFERENCES_APP__STRING_STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 12; /** * The operation id for the '<em>Load Preferences Flow</em>' operation. @@ -324,7 +351,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_CLUSTER___LOAD_PREFERENCES_FLOW__STRING_STRING_STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 12; + int CDAP_CLUSTER___LOAD_PREFERENCES_FLOW__STRING_STRING_STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 13; /** * The operation id for the '<em>Load Preferences Name Space</em>' operation. @@ -333,7 +360,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_CLUSTER___LOAD_PREFERENCES_NAME_SPACE__STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 13; + int CDAP_CLUSTER___LOAD_PREFERENCES_NAME_SPACE__STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 14; /** * The operation id for the '<em>Set Preferences App</em>' operation. @@ -342,7 +369,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_CLUSTER___SET_PREFERENCES_APP__STRING_STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 14; + int CDAP_CLUSTER___SET_PREFERENCES_APP__STRING_STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 15; /** * The operation id for the '<em>Set Preferences Flow</em>' operation. @@ -351,7 +378,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_CLUSTER___SET_PREFERENCES_FLOW__STRING_STRING_STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 15; + int CDAP_CLUSTER___SET_PREFERENCES_FLOW__STRING_STRING_STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 16; /** * The operation id for the '<em>Set Preferences Worker</em>' operation. @@ -360,7 +387,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_CLUSTER___SET_PREFERENCES_WORKER__STRING_STRING_STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 16; + int CDAP_CLUSTER___SET_PREFERENCES_WORKER__STRING_STRING_STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 17; /** * The operation id for the '<em>Set Preferences Service</em>' operation. @@ -369,7 +396,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_CLUSTER___SET_PREFERENCES_SERVICE__STRING_STRING_STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 17; + int CDAP_CLUSTER___SET_PREFERENCES_SERVICE__STRING_STRING_STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 18; /** * The operation id for the '<em>Set Preferences Name Space</em>' operation. @@ -378,7 +405,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_CLUSTER___SET_PREFERENCES_NAME_SPACE__STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 18; + int CDAP_CLUSTER___SET_PREFERENCES_NAME_SPACE__STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 19; /** * The operation id for the '<em>Set Flow Run Time Args</em>' operation. @@ -387,7 +414,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_CLUSTER___SET_FLOW_RUN_TIME_ARGS__STRING_STRING_STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 19; + int CDAP_CLUSTER___SET_FLOW_RUN_TIME_ARGS__STRING_STRING_STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 20; /** * The operation id for the '<em>Set Flowlet Instances</em>' operation. @@ -396,7 +423,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_CLUSTER___SET_FLOWLET_INSTANCES__STRING_STRING_STRING_STRING_INT = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 20; + int CDAP_CLUSTER___SET_FLOWLET_INSTANCES__STRING_STRING_STRING_STRING_INT = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 21; /** * The operation id for the '<em>Stop Flow</em>' operation. @@ -405,7 +432,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_CLUSTER___STOP_FLOW__STRING_STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 21; + int CDAP_CLUSTER___STOP_FLOW__STRING_STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 22; /** * The operation id for the '<em>Stop Worker</em>' operation. @@ -414,7 +441,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_CLUSTER___STOP_WORKER__STRING_STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 22; + int CDAP_CLUSTER___STOP_WORKER__STRING_STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 23; /** * The operation id for the '<em>Stop Service</em>' operation. @@ -423,7 +450,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_CLUSTER___STOP_SERVICE__STRING_STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 23; + int CDAP_CLUSTER___STOP_SERVICE__STRING_STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 24; /** * The operation id for the '<em>Truncate Data Set</em>' operation. @@ -432,7 +459,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_CLUSTER___TRUNCATE_DATA_SET__STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 24; + int CDAP_CLUSTER___TRUNCATE_DATA_SET__STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 25; /** * The operation id for the '<em>Delete Dataset</em>' operation. @@ -441,7 +468,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_CLUSTER___DELETE_DATASET__STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 25; + int CDAP_CLUSTER___DELETE_DATASET__STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 26; /** * The operation id for the '<em>Create Stream</em>' operation. @@ -450,7 +477,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_CLUSTER___CREATE_STREAM__STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 26; + int CDAP_CLUSTER___CREATE_STREAM__STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 27; /** * The operation id for the '<em>Delete Stream</em>' operation. @@ -459,7 +486,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_CLUSTER___DELETE_STREAM__STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 27; + int CDAP_CLUSTER___DELETE_STREAM__STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 28; /** * The operation id for the '<em>Get Stream Events</em>' operation. @@ -468,7 +495,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_CLUSTER___GET_STREAM_EVENTS__STRING_STRING_STRING_STRING_INT = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 28; + int CDAP_CLUSTER___GET_STREAM_EVENTS__STRING_STRING_STRING_STRING_INT = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 29; /** * The operation id for the '<em>Get Stream Stats</em>' operation. @@ -477,7 +504,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_CLUSTER___GET_STREAM_STATS__STRING_STRING_STRING_STRING_INT = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 29; + int CDAP_CLUSTER___GET_STREAM_STATS__STRING_STRING_STRING_STRING_INT = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 30; /** * The operation id for the '<em>Send Event To Stream</em>' operation. @@ -486,7 +513,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_CLUSTER___SEND_EVENT_TO_STREAM__STRING_STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 30; + int CDAP_CLUSTER___SEND_EVENT_TO_STREAM__STRING_STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 31; /** * The operation id for the '<em>Trucate Stream</em>' operation. @@ -495,7 +522,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_CLUSTER___TRUCATE_STREAM__STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 31; + int CDAP_CLUSTER___TRUCATE_STREAM__STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 32; /** * The operation id for the '<em>Set Stream Properties</em>' operation. @@ -504,7 +531,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_CLUSTER___SET_STREAM_PROPERTIES__STRING_STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 32; + int CDAP_CLUSTER___SET_STREAM_PROPERTIES__STRING_STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 33; /** * The operation id for the '<em>Restart App</em>' operation. @@ -513,7 +540,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_CLUSTER___RESTART_APP__STRING_STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 33; + int CDAP_CLUSTER___RESTART_APP__STRING_STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 34; /** * The operation id for the '<em>Create App</em>' operation. @@ -522,7 +549,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_CLUSTER___CREATE_APP__STRING_STRING_STRING_STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 34; + int CDAP_CLUSTER___CREATE_APP__STRING_STRING_STRING_STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 35; /** * The operation id for the '<em>Create App With Config</em>' operation. @@ -531,7 +558,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_CLUSTER___CREATE_APP_WITH_CONFIG__STRING_STRING_STRING_STRING_STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 35; + int CDAP_CLUSTER___CREATE_APP_WITH_CONFIG__STRING_STRING_STRING_STRING_STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 36; /** * The operation id for the '<em>Set Dataset Properties</em>' operation. @@ -540,7 +567,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_CLUSTER___SET_DATASET_PROPERTIES__STRING_STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 36; + int CDAP_CLUSTER___SET_DATASET_PROPERTIES__STRING_STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 37; /** * The operation id for the '<em>Set Stream TTL</em>' operation. @@ -549,7 +576,25 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_CLUSTER___SET_STREAM_TTL__STRING_STRING_INT = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 37; + int CDAP_CLUSTER___SET_STREAM_TTL__STRING_STRING_INT = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 38; + + /** + * The operation id for the '<em>Suspend Schedule</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CDAP_CLUSTER___SUSPEND_SCHEDULE__STRING_STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 39; + + /** + * The operation id for the '<em>Resume Schedule</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CDAP_CLUSTER___RESUME_SCHEDULE__STRING_STRING_STRING = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 40; /** * The operation id for the '<em>Poll</em>' operation. @@ -558,7 +603,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_CLUSTER___POLL = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 38; + int CDAP_CLUSTER___POLL = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 41; /** * The number of operations of the '<em>Cluster</em>' class. @@ -567,7 +612,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_CLUSTER_OPERATION_COUNT = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 39; + int CDAP_CLUSTER_OPERATION_COUNT = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 42; /** * The meta object id for the '{@link org.openecomp.ncomp.cdap.impl.CdapApiImpl <em>Api</em>}' class. @@ -625,13 +670,22 @@ public interface CdapPackage extends EPackage { int CDAP_API___LOAD_ARTIFACT__STRING_STRING_STRING_STRING = 3; /** + * The operation id for the '<em>Load Artifact With Config</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CDAP_API___LOAD_ARTIFACT_WITH_CONFIG__STRING_STRING_STRING_STRING_STRING = 4; + + /** * The operation id for the '<em>Delete Artifact</em>' operation. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ - int CDAP_API___DELETE_ARTIFACT__STRING_STRING_STRING = 4; + int CDAP_API___DELETE_ARTIFACT__STRING_STRING_STRING = 5; /** * The operation id for the '<em>Start Flow</em>' operation. @@ -640,7 +694,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_API___START_FLOW__STRING_STRING_STRING_STRING = 5; + int CDAP_API___START_FLOW__STRING_STRING_STRING_STRING = 6; /** * The operation id for the '<em>Start Worker</em>' operation. @@ -649,7 +703,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_API___START_WORKER__STRING_STRING_STRING_STRING = 6; + int CDAP_API___START_WORKER__STRING_STRING_STRING_STRING = 7; /** * The operation id for the '<em>Start Service</em>' operation. @@ -658,7 +712,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_API___START_SERVICE__STRING_STRING_STRING_STRING = 7; + int CDAP_API___START_SERVICE__STRING_STRING_STRING_STRING = 8; /** * The operation id for the '<em>Start App</em>' operation. @@ -667,7 +721,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_API___START_APP__STRING_STRING = 8; + int CDAP_API___START_APP__STRING_STRING = 9; /** * The operation id for the '<em>Stop App</em>' operation. @@ -676,7 +730,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_API___STOP_APP__STRING_STRING = 9; + int CDAP_API___STOP_APP__STRING_STRING = 10; /** * The operation id for the '<em>Delete App</em>' operation. @@ -685,7 +739,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_API___DELETE_APP__STRING_STRING = 10; + int CDAP_API___DELETE_APP__STRING_STRING = 11; /** * The operation id for the '<em>Load Preferences App</em>' operation. @@ -694,7 +748,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_API___LOAD_PREFERENCES_APP__STRING_STRING_STRING = 11; + int CDAP_API___LOAD_PREFERENCES_APP__STRING_STRING_STRING = 12; /** * The operation id for the '<em>Load Preferences Flow</em>' operation. @@ -703,7 +757,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_API___LOAD_PREFERENCES_FLOW__STRING_STRING_STRING_STRING = 12; + int CDAP_API___LOAD_PREFERENCES_FLOW__STRING_STRING_STRING_STRING = 13; /** * The operation id for the '<em>Load Preferences Name Space</em>' operation. @@ -712,7 +766,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_API___LOAD_PREFERENCES_NAME_SPACE__STRING_STRING = 13; + int CDAP_API___LOAD_PREFERENCES_NAME_SPACE__STRING_STRING = 14; /** * The operation id for the '<em>Set Preferences App</em>' operation. @@ -721,7 +775,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_API___SET_PREFERENCES_APP__STRING_STRING_STRING = 14; + int CDAP_API___SET_PREFERENCES_APP__STRING_STRING_STRING = 15; /** * The operation id for the '<em>Set Preferences Flow</em>' operation. @@ -730,7 +784,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_API___SET_PREFERENCES_FLOW__STRING_STRING_STRING_STRING = 15; + int CDAP_API___SET_PREFERENCES_FLOW__STRING_STRING_STRING_STRING = 16; /** * The operation id for the '<em>Set Preferences Worker</em>' operation. @@ -739,7 +793,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_API___SET_PREFERENCES_WORKER__STRING_STRING_STRING_STRING = 16; + int CDAP_API___SET_PREFERENCES_WORKER__STRING_STRING_STRING_STRING = 17; /** * The operation id for the '<em>Set Preferences Service</em>' operation. @@ -748,7 +802,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_API___SET_PREFERENCES_SERVICE__STRING_STRING_STRING_STRING = 17; + int CDAP_API___SET_PREFERENCES_SERVICE__STRING_STRING_STRING_STRING = 18; /** * The operation id for the '<em>Set Preferences Name Space</em>' operation. @@ -757,7 +811,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_API___SET_PREFERENCES_NAME_SPACE__STRING_STRING = 18; + int CDAP_API___SET_PREFERENCES_NAME_SPACE__STRING_STRING = 19; /** * The operation id for the '<em>Set Flow Run Time Args</em>' operation. @@ -766,7 +820,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_API___SET_FLOW_RUN_TIME_ARGS__STRING_STRING_STRING_STRING = 19; + int CDAP_API___SET_FLOW_RUN_TIME_ARGS__STRING_STRING_STRING_STRING = 20; /** * The operation id for the '<em>Set Flowlet Instances</em>' operation. @@ -775,7 +829,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_API___SET_FLOWLET_INSTANCES__STRING_STRING_STRING_STRING_INT = 20; + int CDAP_API___SET_FLOWLET_INSTANCES__STRING_STRING_STRING_STRING_INT = 21; /** * The operation id for the '<em>Stop Flow</em>' operation. @@ -784,7 +838,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_API___STOP_FLOW__STRING_STRING_STRING = 21; + int CDAP_API___STOP_FLOW__STRING_STRING_STRING = 22; /** * The operation id for the '<em>Stop Worker</em>' operation. @@ -793,7 +847,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_API___STOP_WORKER__STRING_STRING_STRING = 22; + int CDAP_API___STOP_WORKER__STRING_STRING_STRING = 23; /** * The operation id for the '<em>Stop Service</em>' operation. @@ -802,7 +856,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_API___STOP_SERVICE__STRING_STRING_STRING = 23; + int CDAP_API___STOP_SERVICE__STRING_STRING_STRING = 24; /** * The operation id for the '<em>Truncate Data Set</em>' operation. @@ -811,7 +865,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_API___TRUNCATE_DATA_SET__STRING_STRING = 24; + int CDAP_API___TRUNCATE_DATA_SET__STRING_STRING = 25; /** * The operation id for the '<em>Delete Dataset</em>' operation. @@ -820,7 +874,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_API___DELETE_DATASET__STRING_STRING = 25; + int CDAP_API___DELETE_DATASET__STRING_STRING = 26; /** * The operation id for the '<em>Create Stream</em>' operation. @@ -829,7 +883,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_API___CREATE_STREAM__STRING_STRING = 26; + int CDAP_API___CREATE_STREAM__STRING_STRING = 27; /** * The operation id for the '<em>Delete Stream</em>' operation. @@ -838,7 +892,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_API___DELETE_STREAM__STRING_STRING = 27; + int CDAP_API___DELETE_STREAM__STRING_STRING = 28; /** * The operation id for the '<em>Get Stream Events</em>' operation. @@ -847,7 +901,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_API___GET_STREAM_EVENTS__STRING_STRING_STRING_STRING_INT = 28; + int CDAP_API___GET_STREAM_EVENTS__STRING_STRING_STRING_STRING_INT = 29; /** * The operation id for the '<em>Get Stream Stats</em>' operation. @@ -856,7 +910,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_API___GET_STREAM_STATS__STRING_STRING_STRING_STRING_INT = 29; + int CDAP_API___GET_STREAM_STATS__STRING_STRING_STRING_STRING_INT = 30; /** * The operation id for the '<em>Send Event To Stream</em>' operation. @@ -865,7 +919,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_API___SEND_EVENT_TO_STREAM__STRING_STRING_STRING = 30; + int CDAP_API___SEND_EVENT_TO_STREAM__STRING_STRING_STRING = 31; /** * The operation id for the '<em>Trucate Stream</em>' operation. @@ -874,7 +928,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_API___TRUCATE_STREAM__STRING_STRING = 31; + int CDAP_API___TRUCATE_STREAM__STRING_STRING = 32; /** * The operation id for the '<em>Set Stream Properties</em>' operation. @@ -883,7 +937,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_API___SET_STREAM_PROPERTIES__STRING_STRING_STRING = 32; + int CDAP_API___SET_STREAM_PROPERTIES__STRING_STRING_STRING = 33; /** * The operation id for the '<em>Restart App</em>' operation. @@ -892,7 +946,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_API___RESTART_APP__STRING_STRING_STRING = 33; + int CDAP_API___RESTART_APP__STRING_STRING_STRING = 34; /** * The operation id for the '<em>Create App</em>' operation. @@ -901,7 +955,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_API___CREATE_APP__STRING_STRING_STRING_STRING_STRING = 34; + int CDAP_API___CREATE_APP__STRING_STRING_STRING_STRING_STRING = 35; /** * The operation id for the '<em>Create App With Config</em>' operation. @@ -910,7 +964,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_API___CREATE_APP_WITH_CONFIG__STRING_STRING_STRING_STRING_STRING_STRING = 35; + int CDAP_API___CREATE_APP_WITH_CONFIG__STRING_STRING_STRING_STRING_STRING_STRING = 36; /** * The operation id for the '<em>Set Dataset Properties</em>' operation. @@ -919,7 +973,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_API___SET_DATASET_PROPERTIES__STRING_STRING_STRING = 36; + int CDAP_API___SET_DATASET_PROPERTIES__STRING_STRING_STRING = 37; /** * The operation id for the '<em>Set Stream TTL</em>' operation. @@ -928,7 +982,25 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_API___SET_STREAM_TTL__STRING_STRING_INT = 37; + int CDAP_API___SET_STREAM_TTL__STRING_STRING_INT = 38; + + /** + * The operation id for the '<em>Suspend Schedule</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CDAP_API___SUSPEND_SCHEDULE__STRING_STRING_STRING = 39; + + /** + * The operation id for the '<em>Resume Schedule</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CDAP_API___RESUME_SCHEDULE__STRING_STRING_STRING = 40; /** * The number of operations of the '<em>Api</em>' class. @@ -937,7 +1009,7 @@ public interface CdapPackage extends EPackage { * @generated * @ordered */ - int CDAP_API_OPERATION_COUNT = 38; + int CDAP_API_OPERATION_COUNT = 41; /** * The meta object id for the '{@link org.openecomp.ncomp.cdap.impl.CdapConfigurationImpl <em>Configuration</em>}' class. @@ -1850,6 +1922,16 @@ public interface CdapPackage extends EPackage { EOperation getCdapApi__LoadArtifact__String_String_String_String(); /** + * Returns the meta object for the '{@link org.openecomp.ncomp.cdap.CdapApi#loadArtifactWithConfig(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String) <em>Load Artifact With Config</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Load Artifact With Config</em>' operation. + * @see org.openecomp.ncomp.cdap.CdapApi#loadArtifactWithConfig(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String) + * @generated + */ + EOperation getCdapApi__LoadArtifactWithConfig__String_String_String_String_String(); + + /** * Returns the meta object for the '{@link org.openecomp.ncomp.cdap.CdapApi#deleteArtifact(java.lang.String, java.lang.String, java.lang.String) <em>Delete Artifact</em>}' operation. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -2190,6 +2272,26 @@ public interface CdapPackage extends EPackage { EOperation getCdapApi__SetStreamTTL__String_String_int(); /** + * Returns the meta object for the '{@link org.openecomp.ncomp.cdap.CdapApi#suspendSchedule(java.lang.String, java.lang.String, java.lang.String) <em>Suspend Schedule</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Suspend Schedule</em>' operation. + * @see org.openecomp.ncomp.cdap.CdapApi#suspendSchedule(java.lang.String, java.lang.String, java.lang.String) + * @generated + */ + EOperation getCdapApi__SuspendSchedule__String_String_String(); + + /** + * Returns the meta object for the '{@link org.openecomp.ncomp.cdap.CdapApi#resumeSchedule(java.lang.String, java.lang.String, java.lang.String) <em>Resume Schedule</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Resume Schedule</em>' operation. + * @see org.openecomp.ncomp.cdap.CdapApi#resumeSchedule(java.lang.String, java.lang.String, java.lang.String) + * @generated + */ + EOperation getCdapApi__ResumeSchedule__String_String_String(); + + /** * Returns the meta object for class '{@link org.openecomp.ncomp.cdap.CdapConfiguration <em>Configuration</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -2655,6 +2757,14 @@ public interface CdapPackage extends EPackage { EOperation CDAP_API___LOAD_ARTIFACT__STRING_STRING_STRING_STRING = eINSTANCE.getCdapApi__LoadArtifact__String_String_String_String(); /** + * The meta object literal for the '<em><b>Load Artifact With Config</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation CDAP_API___LOAD_ARTIFACT_WITH_CONFIG__STRING_STRING_STRING_STRING_STRING = eINSTANCE.getCdapApi__LoadArtifactWithConfig__String_String_String_String_String(); + + /** * The meta object literal for the '<em><b>Delete Artifact</b></em>' operation. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -2927,6 +3037,22 @@ public interface CdapPackage extends EPackage { EOperation CDAP_API___SET_STREAM_TTL__STRING_STRING_INT = eINSTANCE.getCdapApi__SetStreamTTL__String_String_int(); /** + * The meta object literal for the '<em><b>Suspend Schedule</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation CDAP_API___SUSPEND_SCHEDULE__STRING_STRING_STRING = eINSTANCE.getCdapApi__SuspendSchedule__String_String_String(); + + /** + * The meta object literal for the '<em><b>Resume Schedule</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation CDAP_API___RESUME_SCHEDULE__STRING_STRING_STRING = eINSTANCE.getCdapApi__ResumeSchedule__String_String_String(); + + /** * The meta object literal for the '{@link org.openecomp.ncomp.cdap.impl.CdapConfigurationImpl <em>Configuration</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> diff --git a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapAdaptorImpl.java b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapAdaptorImpl.java index 95e9320..61b3cad 100644 --- a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapAdaptorImpl.java +++ b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapAdaptorImpl.java @@ -34,8 +34,6 @@ import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; * <!-- begin-user-doc --> * An implementation of the model object '<em><b>Adaptor</b></em>'. * <!-- end-user-doc --> - * <p> - * </p> * * @generated */ diff --git a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapApiImpl.java b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapApiImpl.java index 132368a..55f05a7 100644 --- a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapApiImpl.java +++ b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapApiImpl.java @@ -38,8 +38,6 @@ import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; * <!-- begin-user-doc --> * An implementation of the model object '<em><b>Api</b></em>'. * <!-- end-user-doc --> - * <p> - * </p> * * @generated */ @@ -112,6 +110,17 @@ public class CdapApiImpl extends MinimalEObjectImpl.Container implements CdapApi * <!-- end-user-doc --> * @generated */ + public String loadArtifactWithConfig(String namespace, String artifactName, String jarfile, String version, String config) { + // TODO: implement this method + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ public String deleteArtifact(String namespace, String artifactName, String artifactVersion) { // TODO: implement this method // Ensure that you remove @generated or mark it @generated NOT @@ -486,6 +495,28 @@ public class CdapApiImpl extends MinimalEObjectImpl.Container implements CdapApi * <!-- end-user-doc --> * @generated */ + public String suspendSchedule(String namespace, String appId, String scheduleId) { + // TODO: implement this method + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String resumeSchedule(String namespace, String appId, String scheduleId) { + // TODO: implement this method + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ @Override public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { switch (operationID) { @@ -497,6 +528,8 @@ public class CdapApiImpl extends MinimalEObjectImpl.Container implements CdapApi return deployApp((String)arguments.get(0), (String)arguments.get(1)); case CdapPackage.CDAP_API___LOAD_ARTIFACT__STRING_STRING_STRING_STRING: return loadArtifact((String)arguments.get(0), (String)arguments.get(1), (String)arguments.get(2), (String)arguments.get(3)); + case CdapPackage.CDAP_API___LOAD_ARTIFACT_WITH_CONFIG__STRING_STRING_STRING_STRING_STRING: + return loadArtifactWithConfig((String)arguments.get(0), (String)arguments.get(1), (String)arguments.get(2), (String)arguments.get(3), (String)arguments.get(4)); case CdapPackage.CDAP_API___DELETE_ARTIFACT__STRING_STRING_STRING: return deleteArtifact((String)arguments.get(0), (String)arguments.get(1), (String)arguments.get(2)); case CdapPackage.CDAP_API___START_FLOW__STRING_STRING_STRING_STRING: @@ -565,6 +598,10 @@ public class CdapApiImpl extends MinimalEObjectImpl.Container implements CdapApi return setDatasetProperties((String)arguments.get(0), (String)arguments.get(1), (String)arguments.get(2)); case CdapPackage.CDAP_API___SET_STREAM_TTL__STRING_STRING_INT: return setStreamTTL((String)arguments.get(0), (String)arguments.get(1), (Integer)arguments.get(2)); + case CdapPackage.CDAP_API___SUSPEND_SCHEDULE__STRING_STRING_STRING: + return suspendSchedule((String)arguments.get(0), (String)arguments.get(1), (String)arguments.get(2)); + case CdapPackage.CDAP_API___RESUME_SCHEDULE__STRING_STRING_STRING: + return resumeSchedule((String)arguments.get(0), (String)arguments.get(1), (String)arguments.get(2)); } return super.eInvoke(operationID, arguments); } diff --git a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapApplicationImpl.java b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapApplicationImpl.java index 4055285..8ba869a 100644 --- a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapApplicationImpl.java +++ b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapApplicationImpl.java @@ -43,6 +43,7 @@ import org.eclipse.emf.ecore.impl.ENotificationImpl; * <!-- end-user-doc --> * <p> * The following features are implemented: + * </p> * <ul> * <li>{@link org.openecomp.ncomp.cdap.impl.CdapApplicationImpl#getType <em>Type</em>}</li> * <li>{@link org.openecomp.ncomp.cdap.impl.CdapApplicationImpl#getId <em>Id</em>}</li> @@ -50,7 +51,6 @@ import org.eclipse.emf.ecore.impl.ENotificationImpl; * <li>{@link org.openecomp.ncomp.cdap.impl.CdapApplicationImpl#getDescription <em>Description</em>}</li> * <li>{@link org.openecomp.ncomp.cdap.impl.CdapApplicationImpl#getArtifact <em>Artifact</em>}</li> * </ul> - * </p> * * @generated */ diff --git a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapArtifactImpl.java b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapArtifactImpl.java index 48b3daf..243ef2b 100644 --- a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapArtifactImpl.java +++ b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapArtifactImpl.java @@ -40,11 +40,11 @@ import org.eclipse.emf.ecore.impl.ENotificationImpl; * <!-- end-user-doc --> * <p> * The following features are implemented: + * </p> * <ul> * <li>{@link org.openecomp.ncomp.cdap.impl.CdapArtifactImpl#getVersion <em>Version</em>}</li> * <li>{@link org.openecomp.ncomp.cdap.impl.CdapArtifactImpl#getScope <em>Scope</em>}</li> * </ul> - * </p> * * @generated */ diff --git a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapClusterImpl.java b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapClusterImpl.java index 6d5c5b5..544292a 100644 --- a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapClusterImpl.java +++ b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapClusterImpl.java @@ -55,6 +55,7 @@ import org.eclipse.emf.ecore.util.InternalEList; * <!-- end-user-doc --> * <p> * The following features are implemented: + * </p> * <ul> * <li>{@link org.openecomp.ncomp.cdap.impl.CdapClusterImpl#getBaseUrl <em>Base Url</em>}</li> * <li>{@link org.openecomp.ncomp.cdap.impl.CdapClusterImpl#getPollingFrequency <em>Polling Frequency</em>}</li> @@ -62,7 +63,6 @@ import org.eclipse.emf.ecore.util.InternalEList; * <li>{@link org.openecomp.ncomp.cdap.impl.CdapClusterImpl#getConfigurations <em>Configurations</em>}</li> * <li>{@link org.openecomp.ncomp.cdap.impl.CdapClusterImpl#getNamespaces <em>Namespaces</em>}</li> * </ul> - * </p> * * @generated */ @@ -313,6 +313,17 @@ public class CdapClusterImpl extends NamedEntityImpl implements CdapCluster { * <!-- end-user-doc --> * @generated */ + public String loadArtifactWithConfig(String namespace, String artifactName, String jarfile, String version, String config) { + // TODO: implement this method + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ public String deleteArtifact(String namespace, String artifactName, String artifactVersion) { // TODO: implement this method // Ensure that you remove @generated or mark it @generated NOT @@ -687,6 +698,28 @@ public class CdapClusterImpl extends NamedEntityImpl implements CdapCluster { * <!-- end-user-doc --> * @generated */ + public String suspendSchedule(String namespace, String appId, String scheduleId) { + // TODO: implement this method + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String resumeSchedule(String namespace, String appId, String scheduleId) { + // TODO: implement this method + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ @SuppressWarnings("unchecked") @Override public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { @@ -827,6 +860,7 @@ public class CdapClusterImpl extends NamedEntityImpl implements CdapCluster { case CdapPackage.CDAP_API___DELETE_NAMESPACE__STRING: return CdapPackage.CDAP_CLUSTER___DELETE_NAMESPACE__STRING; case CdapPackage.CDAP_API___DEPLOY_APP__STRING_STRING: return CdapPackage.CDAP_CLUSTER___DEPLOY_APP__STRING_STRING; case CdapPackage.CDAP_API___LOAD_ARTIFACT__STRING_STRING_STRING_STRING: return CdapPackage.CDAP_CLUSTER___LOAD_ARTIFACT__STRING_STRING_STRING_STRING; + case CdapPackage.CDAP_API___LOAD_ARTIFACT_WITH_CONFIG__STRING_STRING_STRING_STRING_STRING: return CdapPackage.CDAP_CLUSTER___LOAD_ARTIFACT_WITH_CONFIG__STRING_STRING_STRING_STRING_STRING; case CdapPackage.CDAP_API___DELETE_ARTIFACT__STRING_STRING_STRING: return CdapPackage.CDAP_CLUSTER___DELETE_ARTIFACT__STRING_STRING_STRING; case CdapPackage.CDAP_API___START_FLOW__STRING_STRING_STRING_STRING: return CdapPackage.CDAP_CLUSTER___START_FLOW__STRING_STRING_STRING_STRING; case CdapPackage.CDAP_API___START_WORKER__STRING_STRING_STRING_STRING: return CdapPackage.CDAP_CLUSTER___START_WORKER__STRING_STRING_STRING_STRING; @@ -861,6 +895,8 @@ public class CdapClusterImpl extends NamedEntityImpl implements CdapCluster { case CdapPackage.CDAP_API___CREATE_APP_WITH_CONFIG__STRING_STRING_STRING_STRING_STRING_STRING: return CdapPackage.CDAP_CLUSTER___CREATE_APP_WITH_CONFIG__STRING_STRING_STRING_STRING_STRING_STRING; case CdapPackage.CDAP_API___SET_DATASET_PROPERTIES__STRING_STRING_STRING: return CdapPackage.CDAP_CLUSTER___SET_DATASET_PROPERTIES__STRING_STRING_STRING; case CdapPackage.CDAP_API___SET_STREAM_TTL__STRING_STRING_INT: return CdapPackage.CDAP_CLUSTER___SET_STREAM_TTL__STRING_STRING_INT; + case CdapPackage.CDAP_API___SUSPEND_SCHEDULE__STRING_STRING_STRING: return CdapPackage.CDAP_CLUSTER___SUSPEND_SCHEDULE__STRING_STRING_STRING; + case CdapPackage.CDAP_API___RESUME_SCHEDULE__STRING_STRING_STRING: return CdapPackage.CDAP_CLUSTER___RESUME_SCHEDULE__STRING_STRING_STRING; default: return -1; } } @@ -886,6 +922,8 @@ public class CdapClusterImpl extends NamedEntityImpl implements CdapCluster { return deployApp((String)arguments.get(0), (String)arguments.get(1)); case CdapPackage.CDAP_CLUSTER___LOAD_ARTIFACT__STRING_STRING_STRING_STRING: return loadArtifact((String)arguments.get(0), (String)arguments.get(1), (String)arguments.get(2), (String)arguments.get(3)); + case CdapPackage.CDAP_CLUSTER___LOAD_ARTIFACT_WITH_CONFIG__STRING_STRING_STRING_STRING_STRING: + return loadArtifactWithConfig((String)arguments.get(0), (String)arguments.get(1), (String)arguments.get(2), (String)arguments.get(3), (String)arguments.get(4)); case CdapPackage.CDAP_CLUSTER___DELETE_ARTIFACT__STRING_STRING_STRING: return deleteArtifact((String)arguments.get(0), (String)arguments.get(1), (String)arguments.get(2)); case CdapPackage.CDAP_CLUSTER___START_FLOW__STRING_STRING_STRING_STRING: @@ -954,6 +992,10 @@ public class CdapClusterImpl extends NamedEntityImpl implements CdapCluster { return setDatasetProperties((String)arguments.get(0), (String)arguments.get(1), (String)arguments.get(2)); case CdapPackage.CDAP_CLUSTER___SET_STREAM_TTL__STRING_STRING_INT: return setStreamTTL((String)arguments.get(0), (String)arguments.get(1), (Integer)arguments.get(2)); + case CdapPackage.CDAP_CLUSTER___SUSPEND_SCHEDULE__STRING_STRING_STRING: + return suspendSchedule((String)arguments.get(0), (String)arguments.get(1), (String)arguments.get(2)); + case CdapPackage.CDAP_CLUSTER___RESUME_SCHEDULE__STRING_STRING_STRING: + return resumeSchedule((String)arguments.get(0), (String)arguments.get(1), (String)arguments.get(2)); } return super.eInvoke(operationID, arguments); } diff --git a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapConfigurationImpl.java b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapConfigurationImpl.java index 8b87286..d6dc1f2 100644 --- a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapConfigurationImpl.java +++ b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapConfigurationImpl.java @@ -40,11 +40,11 @@ import org.eclipse.emf.ecore.impl.ENotificationImpl; * <!-- end-user-doc --> * <p> * The following features are implemented: + * </p> * <ul> * <li>{@link org.openecomp.ncomp.cdap.impl.CdapConfigurationImpl#getValue <em>Value</em>}</li> * <li>{@link org.openecomp.ncomp.cdap.impl.CdapConfigurationImpl#getSource <em>Source</em>}</li> * </ul> - * </p> * * @generated */ diff --git a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapDatasetImpl.java b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapDatasetImpl.java index ee92e9f..a8c7631 100644 --- a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapDatasetImpl.java +++ b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapDatasetImpl.java @@ -51,12 +51,12 @@ import org.eclipse.emf.ecore.util.InternalEList; * <!-- end-user-doc --> * <p> * The following features are implemented: + * </p> * <ul> * <li>{@link org.openecomp.ncomp.cdap.impl.CdapDatasetImpl#getType <em>Type</em>}</li> * <li>{@link org.openecomp.ncomp.cdap.impl.CdapDatasetImpl#getProperties <em>Properties</em>}</li> * <li>{@link org.openecomp.ncomp.cdap.impl.CdapDatasetImpl#getSchema <em>Schema</em>}</li> * </ul> - * </p> * * @generated */ diff --git a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapDatasetSchemaFieldImpl.java b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapDatasetSchemaFieldImpl.java index 3de4d77..7591f0d 100644 --- a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapDatasetSchemaFieldImpl.java +++ b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapDatasetSchemaFieldImpl.java @@ -40,10 +40,10 @@ import org.eclipse.emf.ecore.impl.ENotificationImpl; * <!-- end-user-doc --> * <p> * The following features are implemented: + * </p> * <ul> * <li>{@link org.openecomp.ncomp.cdap.impl.CdapDatasetSchemaFieldImpl#getType <em>Type</em>}</li> * </ul> - * </p> * * @generated */ diff --git a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapDatasetSchemaImpl.java b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapDatasetSchemaImpl.java index 5900420..157f08c 100644 --- a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapDatasetSchemaImpl.java +++ b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapDatasetSchemaImpl.java @@ -50,11 +50,11 @@ import org.eclipse.emf.ecore.util.InternalEList; * <!-- end-user-doc --> * <p> * The following features are implemented: + * </p> * <ul> * <li>{@link org.openecomp.ncomp.cdap.impl.CdapDatasetSchemaImpl#getType <em>Type</em>}</li> * <li>{@link org.openecomp.ncomp.cdap.impl.CdapDatasetSchemaImpl#getFields <em>Fields</em>}</li> * </ul> - * </p> * * @generated */ diff --git a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapEntityWithPreferencesImpl.java b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapEntityWithPreferencesImpl.java index 29716b0..9a85522 100644 --- a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapEntityWithPreferencesImpl.java +++ b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapEntityWithPreferencesImpl.java @@ -47,10 +47,10 @@ import org.eclipse.emf.ecore.util.InternalEList; * <!-- end-user-doc --> * <p> * The following features are implemented: + * </p> * <ul> * <li>{@link org.openecomp.ncomp.cdap.impl.CdapEntityWithPreferencesImpl#getPreferences <em>Preferences</em>}</li> * </ul> - * </p> * * @generated */ diff --git a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapKeyPairImpl.java b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapKeyPairImpl.java index 43e89b7..8be2485 100644 --- a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapKeyPairImpl.java +++ b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapKeyPairImpl.java @@ -40,10 +40,10 @@ import org.eclipse.emf.ecore.impl.ENotificationImpl; * <!-- end-user-doc --> * <p> * The following features are implemented: + * </p> * <ul> * <li>{@link org.openecomp.ncomp.cdap.impl.CdapKeyPairImpl#getValue <em>Value</em>}</li> * </ul> - * </p> * * @generated */ diff --git a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapNamespaceImpl.java b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapNamespaceImpl.java index abde934..7775d68 100644 --- a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapNamespaceImpl.java +++ b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapNamespaceImpl.java @@ -54,6 +54,7 @@ import org.eclipse.emf.ecore.util.InternalEList; * <!-- end-user-doc --> * <p> * The following features are implemented: + * </p> * <ul> * <li>{@link org.openecomp.ncomp.cdap.impl.CdapNamespaceImpl#getDescription <em>Description</em>}</li> * <li>{@link org.openecomp.ncomp.cdap.impl.CdapNamespaceImpl#getConfig <em>Config</em>}</li> @@ -61,7 +62,6 @@ import org.eclipse.emf.ecore.util.InternalEList; * <li>{@link org.openecomp.ncomp.cdap.impl.CdapNamespaceImpl#getApplications <em>Applications</em>}</li> * <li>{@link org.openecomp.ncomp.cdap.impl.CdapNamespaceImpl#getCluster <em>Cluster</em>}</li> * </ul> - * </p> * * @generated */ diff --git a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapPackageImpl.java b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapPackageImpl.java index 50c9fbc..95539e5 100644 --- a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapPackageImpl.java +++ b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/impl/CdapPackageImpl.java @@ -326,7 +326,7 @@ public class CdapPackageImpl extends EPackageImpl implements CdapPackage { * <!-- end-user-doc --> * @generated */ - public EOperation getCdapApi__DeleteArtifact__String_String_String() { + public EOperation getCdapApi__LoadArtifactWithConfig__String_String_String_String_String() { return cdapApiEClass.getEOperations().get(4); } @@ -335,7 +335,7 @@ public class CdapPackageImpl extends EPackageImpl implements CdapPackage { * <!-- end-user-doc --> * @generated */ - public EOperation getCdapApi__StartFlow__String_String_String_String() { + public EOperation getCdapApi__DeleteArtifact__String_String_String() { return cdapApiEClass.getEOperations().get(5); } @@ -344,7 +344,7 @@ public class CdapPackageImpl extends EPackageImpl implements CdapPackage { * <!-- end-user-doc --> * @generated */ - public EOperation getCdapApi__StartWorker__String_String_String_String() { + public EOperation getCdapApi__StartFlow__String_String_String_String() { return cdapApiEClass.getEOperations().get(6); } @@ -353,7 +353,7 @@ public class CdapPackageImpl extends EPackageImpl implements CdapPackage { * <!-- end-user-doc --> * @generated */ - public EOperation getCdapApi__StartService__String_String_String_String() { + public EOperation getCdapApi__StartWorker__String_String_String_String() { return cdapApiEClass.getEOperations().get(7); } @@ -362,7 +362,7 @@ public class CdapPackageImpl extends EPackageImpl implements CdapPackage { * <!-- end-user-doc --> * @generated */ - public EOperation getCdapApi__StartApp__String_String() { + public EOperation getCdapApi__StartService__String_String_String_String() { return cdapApiEClass.getEOperations().get(8); } @@ -371,7 +371,7 @@ public class CdapPackageImpl extends EPackageImpl implements CdapPackage { * <!-- end-user-doc --> * @generated */ - public EOperation getCdapApi__StopApp__String_String() { + public EOperation getCdapApi__StartApp__String_String() { return cdapApiEClass.getEOperations().get(9); } @@ -380,7 +380,7 @@ public class CdapPackageImpl extends EPackageImpl implements CdapPackage { * <!-- end-user-doc --> * @generated */ - public EOperation getCdapApi__DeleteApp__String_String() { + public EOperation getCdapApi__StopApp__String_String() { return cdapApiEClass.getEOperations().get(10); } @@ -389,7 +389,7 @@ public class CdapPackageImpl extends EPackageImpl implements CdapPackage { * <!-- end-user-doc --> * @generated */ - public EOperation getCdapApi__LoadPreferencesApp__String_String_String() { + public EOperation getCdapApi__DeleteApp__String_String() { return cdapApiEClass.getEOperations().get(11); } @@ -398,7 +398,7 @@ public class CdapPackageImpl extends EPackageImpl implements CdapPackage { * <!-- end-user-doc --> * @generated */ - public EOperation getCdapApi__LoadPreferencesFlow__String_String_String_String() { + public EOperation getCdapApi__LoadPreferencesApp__String_String_String() { return cdapApiEClass.getEOperations().get(12); } @@ -407,7 +407,7 @@ public class CdapPackageImpl extends EPackageImpl implements CdapPackage { * <!-- end-user-doc --> * @generated */ - public EOperation getCdapApi__LoadPreferencesNameSpace__String_String() { + public EOperation getCdapApi__LoadPreferencesFlow__String_String_String_String() { return cdapApiEClass.getEOperations().get(13); } @@ -416,7 +416,7 @@ public class CdapPackageImpl extends EPackageImpl implements CdapPackage { * <!-- end-user-doc --> * @generated */ - public EOperation getCdapApi__SetPreferencesApp__String_String_String() { + public EOperation getCdapApi__LoadPreferencesNameSpace__String_String() { return cdapApiEClass.getEOperations().get(14); } @@ -425,7 +425,7 @@ public class CdapPackageImpl extends EPackageImpl implements CdapPackage { * <!-- end-user-doc --> * @generated */ - public EOperation getCdapApi__SetPreferencesFlow__String_String_String_String() { + public EOperation getCdapApi__SetPreferencesApp__String_String_String() { return cdapApiEClass.getEOperations().get(15); } @@ -434,7 +434,7 @@ public class CdapPackageImpl extends EPackageImpl implements CdapPackage { * <!-- end-user-doc --> * @generated */ - public EOperation getCdapApi__SetPreferencesWorker__String_String_String_String() { + public EOperation getCdapApi__SetPreferencesFlow__String_String_String_String() { return cdapApiEClass.getEOperations().get(16); } @@ -443,7 +443,7 @@ public class CdapPackageImpl extends EPackageImpl implements CdapPackage { * <!-- end-user-doc --> * @generated */ - public EOperation getCdapApi__SetPreferencesService__String_String_String_String() { + public EOperation getCdapApi__SetPreferencesWorker__String_String_String_String() { return cdapApiEClass.getEOperations().get(17); } @@ -452,7 +452,7 @@ public class CdapPackageImpl extends EPackageImpl implements CdapPackage { * <!-- end-user-doc --> * @generated */ - public EOperation getCdapApi__SetPreferencesNameSpace__String_String() { + public EOperation getCdapApi__SetPreferencesService__String_String_String_String() { return cdapApiEClass.getEOperations().get(18); } @@ -461,7 +461,7 @@ public class CdapPackageImpl extends EPackageImpl implements CdapPackage { * <!-- end-user-doc --> * @generated */ - public EOperation getCdapApi__SetFlowRunTimeArgs__String_String_String_String() { + public EOperation getCdapApi__SetPreferencesNameSpace__String_String() { return cdapApiEClass.getEOperations().get(19); } @@ -470,7 +470,7 @@ public class CdapPackageImpl extends EPackageImpl implements CdapPackage { * <!-- end-user-doc --> * @generated */ - public EOperation getCdapApi__SetFlowletInstances__String_String_String_String_int() { + public EOperation getCdapApi__SetFlowRunTimeArgs__String_String_String_String() { return cdapApiEClass.getEOperations().get(20); } @@ -479,7 +479,7 @@ public class CdapPackageImpl extends EPackageImpl implements CdapPackage { * <!-- end-user-doc --> * @generated */ - public EOperation getCdapApi__StopFlow__String_String_String() { + public EOperation getCdapApi__SetFlowletInstances__String_String_String_String_int() { return cdapApiEClass.getEOperations().get(21); } @@ -488,7 +488,7 @@ public class CdapPackageImpl extends EPackageImpl implements CdapPackage { * <!-- end-user-doc --> * @generated */ - public EOperation getCdapApi__StopWorker__String_String_String() { + public EOperation getCdapApi__StopFlow__String_String_String() { return cdapApiEClass.getEOperations().get(22); } @@ -497,7 +497,7 @@ public class CdapPackageImpl extends EPackageImpl implements CdapPackage { * <!-- end-user-doc --> * @generated */ - public EOperation getCdapApi__StopService__String_String_String() { + public EOperation getCdapApi__StopWorker__String_String_String() { return cdapApiEClass.getEOperations().get(23); } @@ -506,7 +506,7 @@ public class CdapPackageImpl extends EPackageImpl implements CdapPackage { * <!-- end-user-doc --> * @generated */ - public EOperation getCdapApi__TruncateDataSet__String_String() { + public EOperation getCdapApi__StopService__String_String_String() { return cdapApiEClass.getEOperations().get(24); } @@ -515,7 +515,7 @@ public class CdapPackageImpl extends EPackageImpl implements CdapPackage { * <!-- end-user-doc --> * @generated */ - public EOperation getCdapApi__DeleteDataset__String_String() { + public EOperation getCdapApi__TruncateDataSet__String_String() { return cdapApiEClass.getEOperations().get(25); } @@ -524,7 +524,7 @@ public class CdapPackageImpl extends EPackageImpl implements CdapPackage { * <!-- end-user-doc --> * @generated */ - public EOperation getCdapApi__CreateStream__String_String() { + public EOperation getCdapApi__DeleteDataset__String_String() { return cdapApiEClass.getEOperations().get(26); } @@ -533,7 +533,7 @@ public class CdapPackageImpl extends EPackageImpl implements CdapPackage { * <!-- end-user-doc --> * @generated */ - public EOperation getCdapApi__DeleteStream__String_String() { + public EOperation getCdapApi__CreateStream__String_String() { return cdapApiEClass.getEOperations().get(27); } @@ -542,7 +542,7 @@ public class CdapPackageImpl extends EPackageImpl implements CdapPackage { * <!-- end-user-doc --> * @generated */ - public EOperation getCdapApi__GetStreamEvents__String_String_String_String_int() { + public EOperation getCdapApi__DeleteStream__String_String() { return cdapApiEClass.getEOperations().get(28); } @@ -551,7 +551,7 @@ public class CdapPackageImpl extends EPackageImpl implements CdapPackage { * <!-- end-user-doc --> * @generated */ - public EOperation getCdapApi__GetStreamStats__String_String_String_String_int() { + public EOperation getCdapApi__GetStreamEvents__String_String_String_String_int() { return cdapApiEClass.getEOperations().get(29); } @@ -560,7 +560,7 @@ public class CdapPackageImpl extends EPackageImpl implements CdapPackage { * <!-- end-user-doc --> * @generated */ - public EOperation getCdapApi__SendEventToStream__String_String_String() { + public EOperation getCdapApi__GetStreamStats__String_String_String_String_int() { return cdapApiEClass.getEOperations().get(30); } @@ -569,7 +569,7 @@ public class CdapPackageImpl extends EPackageImpl implements CdapPackage { * <!-- end-user-doc --> * @generated */ - public EOperation getCdapApi__TrucateStream__String_String() { + public EOperation getCdapApi__SendEventToStream__String_String_String() { return cdapApiEClass.getEOperations().get(31); } @@ -578,7 +578,7 @@ public class CdapPackageImpl extends EPackageImpl implements CdapPackage { * <!-- end-user-doc --> * @generated */ - public EOperation getCdapApi__SetStreamProperties__String_String_String() { + public EOperation getCdapApi__TrucateStream__String_String() { return cdapApiEClass.getEOperations().get(32); } @@ -587,7 +587,7 @@ public class CdapPackageImpl extends EPackageImpl implements CdapPackage { * <!-- end-user-doc --> * @generated */ - public EOperation getCdapApi__RestartApp__String_String_String() { + public EOperation getCdapApi__SetStreamProperties__String_String_String() { return cdapApiEClass.getEOperations().get(33); } @@ -596,7 +596,7 @@ public class CdapPackageImpl extends EPackageImpl implements CdapPackage { * <!-- end-user-doc --> * @generated */ - public EOperation getCdapApi__CreateApp__String_String_String_String_String() { + public EOperation getCdapApi__RestartApp__String_String_String() { return cdapApiEClass.getEOperations().get(34); } @@ -605,7 +605,7 @@ public class CdapPackageImpl extends EPackageImpl implements CdapPackage { * <!-- end-user-doc --> * @generated */ - public EOperation getCdapApi__CreateAppWithConfig__String_String_String_String_String_String() { + public EOperation getCdapApi__CreateApp__String_String_String_String_String() { return cdapApiEClass.getEOperations().get(35); } @@ -614,7 +614,7 @@ public class CdapPackageImpl extends EPackageImpl implements CdapPackage { * <!-- end-user-doc --> * @generated */ - public EOperation getCdapApi__SetDatasetProperties__String_String_String() { + public EOperation getCdapApi__CreateAppWithConfig__String_String_String_String_String_String() { return cdapApiEClass.getEOperations().get(36); } @@ -623,7 +623,7 @@ public class CdapPackageImpl extends EPackageImpl implements CdapPackage { * <!-- end-user-doc --> * @generated */ - public EOperation getCdapApi__SetStreamTTL__String_String_int() { + public EOperation getCdapApi__SetDatasetProperties__String_String_String() { return cdapApiEClass.getEOperations().get(37); } @@ -632,6 +632,33 @@ public class CdapPackageImpl extends EPackageImpl implements CdapPackage { * <!-- end-user-doc --> * @generated */ + public EOperation getCdapApi__SetStreamTTL__String_String_int() { + return cdapApiEClass.getEOperations().get(38); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EOperation getCdapApi__SuspendSchedule__String_String_String() { + return cdapApiEClass.getEOperations().get(39); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EOperation getCdapApi__ResumeSchedule__String_String_String() { + return cdapApiEClass.getEOperations().get(40); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ public EClass getCdapConfiguration() { return cdapConfigurationEClass; } @@ -949,6 +976,7 @@ public class CdapPackageImpl extends EPackageImpl implements CdapPackage { createEOperation(cdapApiEClass, CDAP_API___DELETE_NAMESPACE__STRING); createEOperation(cdapApiEClass, CDAP_API___DEPLOY_APP__STRING_STRING); createEOperation(cdapApiEClass, CDAP_API___LOAD_ARTIFACT__STRING_STRING_STRING_STRING); + createEOperation(cdapApiEClass, CDAP_API___LOAD_ARTIFACT_WITH_CONFIG__STRING_STRING_STRING_STRING_STRING); createEOperation(cdapApiEClass, CDAP_API___DELETE_ARTIFACT__STRING_STRING_STRING); createEOperation(cdapApiEClass, CDAP_API___START_FLOW__STRING_STRING_STRING_STRING); createEOperation(cdapApiEClass, CDAP_API___START_WORKER__STRING_STRING_STRING_STRING); @@ -983,6 +1011,8 @@ public class CdapPackageImpl extends EPackageImpl implements CdapPackage { createEOperation(cdapApiEClass, CDAP_API___CREATE_APP_WITH_CONFIG__STRING_STRING_STRING_STRING_STRING_STRING); createEOperation(cdapApiEClass, CDAP_API___SET_DATASET_PROPERTIES__STRING_STRING_STRING); createEOperation(cdapApiEClass, CDAP_API___SET_STREAM_TTL__STRING_STRING_INT); + createEOperation(cdapApiEClass, CDAP_API___SUSPEND_SCHEDULE__STRING_STRING_STRING); + createEOperation(cdapApiEClass, CDAP_API___RESUME_SCHEDULE__STRING_STRING_STRING); cdapConfigurationEClass = createEClass(CDAP_CONFIGURATION); createEAttribute(cdapConfigurationEClass, CDAP_CONFIGURATION__VALUE); @@ -1099,6 +1129,13 @@ public class CdapPackageImpl extends EPackageImpl implements CdapPackage { addEParameter(op, theEcorePackage.getEString(), "jarfile", 0, 1, !IS_UNIQUE, IS_ORDERED); addEParameter(op, theEcorePackage.getEString(), "version", 0, 1, !IS_UNIQUE, IS_ORDERED); + op = initEOperation(getCdapApi__LoadArtifactWithConfig__String_String_String_String_String(), theEcorePackage.getEString(), "loadArtifactWithConfig", 0, 1, !IS_UNIQUE, IS_ORDERED); + addEParameter(op, theEcorePackage.getEString(), "namespace", 0, 1, !IS_UNIQUE, IS_ORDERED); + addEParameter(op, theEcorePackage.getEString(), "artifactName", 0, 1, !IS_UNIQUE, IS_ORDERED); + addEParameter(op, theEcorePackage.getEString(), "jarfile", 0, 1, !IS_UNIQUE, IS_ORDERED); + addEParameter(op, theEcorePackage.getEString(), "version", 0, 1, !IS_UNIQUE, IS_ORDERED); + addEParameter(op, theEcorePackage.getEString(), "config", 0, 1, !IS_UNIQUE, IS_ORDERED); + op = initEOperation(getCdapApi__DeleteArtifact__String_String_String(), theEcorePackage.getEString(), "deleteArtifact", 0, 1, !IS_UNIQUE, IS_ORDERED); addEParameter(op, theEcorePackage.getEString(), "namespace", 0, 1, !IS_UNIQUE, IS_ORDERED); addEParameter(op, theEcorePackage.getEString(), "artifactName", 0, 1, !IS_UNIQUE, IS_ORDERED); @@ -1278,6 +1315,16 @@ public class CdapPackageImpl extends EPackageImpl implements CdapPackage { addEParameter(op, theEcorePackage.getEString(), "streamName", 0, 1, !IS_UNIQUE, IS_ORDERED); addEParameter(op, theEcorePackage.getEInt(), "ttlSeconds", 0, 1, !IS_UNIQUE, IS_ORDERED); + op = initEOperation(getCdapApi__SuspendSchedule__String_String_String(), theEcorePackage.getEString(), "suspendSchedule", 0, 1, !IS_UNIQUE, IS_ORDERED); + addEParameter(op, theEcorePackage.getEString(), "namespace", 0, 1, !IS_UNIQUE, IS_ORDERED); + addEParameter(op, theEcorePackage.getEString(), "appId", 0, 1, !IS_UNIQUE, IS_ORDERED); + addEParameter(op, theEcorePackage.getEString(), "scheduleId", 0, 1, !IS_UNIQUE, IS_ORDERED); + + op = initEOperation(getCdapApi__ResumeSchedule__String_String_String(), theEcorePackage.getEString(), "resumeSchedule", 0, 1, !IS_UNIQUE, IS_ORDERED); + addEParameter(op, theEcorePackage.getEString(), "namespace", 0, 1, !IS_UNIQUE, IS_ORDERED); + addEParameter(op, theEcorePackage.getEString(), "appId", 0, 1, !IS_UNIQUE, IS_ORDERED); + addEParameter(op, theEcorePackage.getEString(), "scheduleId", 0, 1, !IS_UNIQUE, IS_ORDERED); + initEClass(cdapConfigurationEClass, CdapConfiguration.class, "CdapConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getCdapConfiguration_Value(), theEcorePackage.getEString(), "value", null, 0, 1, CdapConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getCdapConfiguration_Source(), theEcorePackage.getEString(), "source", null, 0, 1, CdapConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); diff --git a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/util/CdapSwitch.java b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/util/CdapSwitch.java index 19fd0ab..a4b27f5 100644 --- a/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/util/CdapSwitch.java +++ b/ncomp-cdap-model/src/main/xcore-gen/org/openecomp/ncomp/cdap/util/CdapSwitch.java @@ -70,7 +70,7 @@ public class CdapSwitch<T> extends Switch<T> { * Checks whether this is a switch for the given package. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * @parameter ePackage the package in question. + * @param ePackage the package in question. * @return whether this is a switch for the given package. * @generated */ diff --git a/ncomp-cdap-model/src/main/xcore/adaptor.xcore b/ncomp-cdap-model/src/main/xcore/adaptor.xcore index 541f275..bc21841 100644 --- a/ncomp-cdap-model/src/main/xcore/adaptor.xcore +++ b/ncomp-cdap-model/src/main/xcore/adaptor.xcore @@ -48,6 +48,8 @@ class CdapApi { op String deployApp(String namespace, String jarfile)
op String loadArtifact(String namespace, String artifactName, String jarfile, String version)
+ + op String loadArtifactWithConfig(String namespace, String artifactName, String jarfile, String version, String config) op String deleteArtifact(String namespace, String artifactName, String artifactVersion)
@@ -117,7 +119,11 @@ class CdapApi { op String setDatasetProperties(String namespace, String datasetName, String datasetProperties)
op String setStreamTTL(String namespace, String streamName, int ttlSeconds)
-
+ + op String suspendSchedule(String namespace, String appId, String scheduleId) + + op String resumeSchedule(String namespace, String appId, String scheduleId) +
}
class CdapConfiguration extends NamedEntity {
|