--- /dev/null
+/* Copyright (c) 2019 AT&T Intellectual Property. #\r
+# #\r
+# Licensed under the Apache License, Version 2.0 (the "License"); #\r
+# you may not use this file except in compliance with the License. #\r
+# You may obtain a copy of the License at #\r
+# #\r
+# http://www.apache.org/licenses/LICENSE-2.0 #\r
+# #\r
+# Unless required by applicable law or agreed to in writing, software #\r
+# distributed under the License is distributed on an "AS IS" BASIS, #\r
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #\r
+# See the License for the specific language governing permissions and #\r
+# limitations under the License. #\r
+##############################################################################*/\r
+\r
+\r
+import { BaseModel } from "./base-model.model";\r
+\r
+export interface TestDefinition extends BaseModel {\r
+ \r
+ testName: String;\r
+ testDescription: String;\r
+ processDefinitionKey: String;\r
+ groupId: String;\r
+\r
+ bpmnInstances: Array<BpmnInstance>;\r
+\r
+ disabled: Boolean;\r
+\r
+}\r
+\r
+export interface BpmnInstance {\r
+ processDefinitionId: String;\r
+ deploymentId: String;\r
+ version: String;\r
+ bpmnFileId: String;\r
+ resourceFileId: String;\r
+ isDeployed: Boolean;\r
+\r
+ testHeads: Array<TestHeadRef>;\r
+ pflos: Array<Pflow>;\r
+\r
+ testDataTemplate: Object;\r
+\r
+ updatedBy: String;\r
+ createdBy: String;\r
+ createdAt: String;\r
+ updatedAt: String;\r
+}\r
+\r
+export interface TestHeadRef {\r
+ testHeadId: String;\r
+ bpmnVthTaskId: String;\r
+ label: String;\r
+}\r
+\r
+export interface Pflow {\r
+ bpmnPflowTaskId: String;\r
+ label: String;\r
+}
\ No newline at end of file