File tree Expand file tree Collapse file tree 3 files changed +27
-4
lines changed Expand file tree Collapse file tree 3 files changed +27
-4
lines changed Original file line number Diff line number Diff line change 22
33import SearchWithSummaryBuilder from './SearchWithSummaryBuilder' ;
44import FieldFinder from '../../util/searchingFields/FieldFinder' ;
5-
6-
5+ const BASE_URL = '/operations/history' ;
76/**
87 * Defined a search over Executions
98 * @example ogapi.executionsHistorySearchBuilder()
@@ -12,9 +11,9 @@ export default class ExecutionsHistorySearchBuilder extends SearchWithSummaryBui
1211 /**
1312 * @param {!InternalOpenGateAPI } parent - Instance of our InternalOpenGateAPI
1413 */
15- constructor ( parent , fieldFinder = new FieldFinder ( parent , '/operations' ) ) {
14+ constructor ( parent , fieldFinder = new FieldFinder ( parent , '/operations/history ' ) ) {
1615 super ( parent , { } , fieldFinder ) ;
17- this . _url = '/entities/operations/history' ;
16+ this . _url = '/entities' + BASE_URL ;
1817 }
1918 /**
2019 * The response will only have a summary information
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ const match_url = {
2929 '/tasks' : 'TASKS' ,
3030 '/alarms' : 'ENTITY_ALARM' ,
3131 '/operations' : 'ENTITY_OPERATION' ,
32+ '/operations/history' : 'ENTITY_OPERATION_HISTORY' ,
3233 '/certificates' : 'CERTIFICATE' ,
3334 '/bundles' : 'UPDATE_BUNDLE_VERSION' ,
3435 '/datapoints' : 'DATAPOINTS' ,
Original file line number Diff line number Diff line change 11// Fields generated at: Fri May 07 2021 12:57:57 GMT+0200 (Central European Summer Time)
22// DB: 172.19.18.242:1521/QA
33export const GENERATED_FIELDS = {
4+ "ENTITY_OPERATION_HISTORY" : {
5+ "ENTITY_OPERATION_HISTORY" :[
6+ "applicationEmail" ,
7+ "entityId" ,
8+ "entityType" ,
9+ "jobActivatedDate" ,
10+ "jobId" ,
11+ "jobUserNotes" ,
12+ "operationAttemptCurrent" ,
13+ "operationAttemptMax" ,
14+ "operationDate" ,
15+ "operationDetails" ,
16+ "operationEndDate" ,
17+ "operationId" ,
18+ "operationInitDate" ,
19+ "operationName" ,
20+ "operationNotify" ,
21+ "operationParameters" ,
22+ "operationResult" ,
23+ "operationStatus" ,
24+ "operationSteps"
25+ ]
26+ } ,
427 "ENTITY_OPERATION" : {
528 "ENTITY_OPERATION" : [
629 "applicationEmail" ,
You can’t perform that action at this time.
0 commit comments