[ADF-1873] Remove all deprecated code from ADF (#4145)

* remove deprecated code part 1

* remove deprecation step 2

* fix spellcheck

* fix

* fix lint

* fix not used import

* remove deprecation

* fix test first part after remove deprecation

* fix test

* fix sidebar demo shell
This commit is contained in:
Eugenio Romano
2019-01-15 15:36:01 +00:00
committed by GitHub
parent 24a7c939e6
commit 7d061b2c11
109 changed files with 351 additions and 1106 deletions

View File

@@ -62,12 +62,6 @@ export class ProcessInstanceListComponent extends DataTableSchema implements On
@Input()
appId: number;
/** The Definition Key of the process.
* @deprecated 2.4.0
*/
@Input()
processDefinitionKey: string;
/** The Definition Id of the process. */
@Input()
processDefinitionId: string;
@@ -175,7 +169,6 @@ export class ProcessInstanceListComponent extends DataTableSchema implements On
let changed: boolean = false;
let appId = changes['appId'];
let processDefinitionKey = changes['processDefinitionKey'];
let processDefinitionId = changes['processDefinitionId'];
let processInstanceId = changes['processInstanceId'];
let state = changes['state'];
@@ -185,8 +178,6 @@ export class ProcessInstanceListComponent extends DataTableSchema implements On
if (appId && appId.currentValue) {
changed = true;
} else if (processDefinitionKey) {
changed = true;
} else if (processDefinitionId) {
changed = true;
} else if (processInstanceId) {
@@ -210,7 +201,7 @@ export class ProcessInstanceListComponent extends DataTableSchema implements On
private load(requestNode: ProcessFilterParamRepresentationModel) {
this.isLoading = true;
this.processService.getProcesses(requestNode, this.processDefinitionKey)
this.processService.getProcesses(requestNode)
.subscribe(
(response) => {
this.rows = this.optimizeProcessDetails(response.data);