Skip to content

Commit

Permalink
Update cadence-idl to latest (#548)
Browse files Browse the repository at this point in the history
Use latest IDL files in cadence-web by updating package.json with the latest commit hash from uber/cadence-idl
  • Loading branch information
adhityamamallan authored Apr 12, 2024
1 parent 43cd2bf commit f1e1977
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
"webpack-hot-client": "^1.3.0"
},
"napa": {
"cadence-idl": "uber/cadence-idl#57c717b37a361f441be070ad6bd436328677c5ef"
"cadence-idl": "uber/cadence-idl#e3a59cdd3c3676b0edee2f3262a22379f25b9fa5"
},
"napa-config": {
"cache": false
Expand Down
4 changes: 4 additions & 0 deletions server/test/domain.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,12 @@ describe('Describe Domain', function() {
failoverInfo: null,
failoverVersion: 0,
configuration: {
AsyncWorkflowConfiguration: null,
badBinaries: null,
emitMetric: true,
historyArchivalStatus: null,
historyArchivalURI: null,
isolationgroups: null,
visibilityArchivalStatus: null,
visibilityArchivalURI: null,
workflowExecutionRetentionPeriodInDays: 14,
Expand Down Expand Up @@ -103,11 +105,13 @@ describe('Describe Domain', function() {
failoverVersion: 0,
isGlobalDomain: true,
configuration: {
AsyncWorkflowConfiguration: null,
badBinaries: null,
workflowExecutionRetentionPeriodInDays: 14,
emitMetric: true,
historyArchivalStatus: null,
historyArchivalURI: null,
isolationgroups: null,
visibilityArchivalStatus: null,
visibilityArchivalURI: null,
},
Expand Down
6 changes: 6 additions & 0 deletions server/test/history.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ const wfHistoryThrift = [
cronSchedule: null,
firstDecisionTaskBackoffSeconds: null,
firstExecutionRunId: null,
firstScheduledTimeNano: null,
header: null,
initiator: null,
lastCompletionResult: null,
Expand All @@ -58,7 +59,9 @@ const wfHistoryThrift = [
parentInitiatedEventId: null,
parentWorkflowDomain: null,
parentWorkflowExecution: null,
partitionConfig: null,
prevAutoResetPoints: null,
requestId: null,
retryPolicy: null,
searchAttributes: null,
taskStartToCloseTimeoutSeconds: 30,
Expand Down Expand Up @@ -121,6 +124,7 @@ const wfHistoryGrpc = [
cronSchedule: null,
firstDecisionTaskBackoff: null,
firstExecutionRunId: null,
firstScheduledTimeNano: null,
header: null,
initiator: null,
lastCompletionResult: null,
Expand All @@ -129,7 +133,9 @@ const wfHistoryGrpc = [
parentInitiatedEventId: null,
parentWorkflowDomain: null,
parentWorkflowExecution: null,
partitionConfig: null,
prevAutoResetPoints: null,
requestId: null,
retryPolicy: null,
searchAttributes: null,
taskStartToCloseTimeout: { seconds: 30 },
Expand Down
8 changes: 8 additions & 0 deletions server/test/workflows.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,12 @@ describe('Listing Workflows', function() {
executionTime: null,
memo: null,
parentDomainId: null,
parentDomainName: null,
parentExecution: null,
parentInitatedId: null,
partitionConfig: null,
searchAttributes: null,
updateTime: null,
};
const demoExecGrpc = {
workflowExecution: {
Expand All @@ -59,8 +63,12 @@ describe('Listing Workflows', function() {
executionTime: null,
memo: null,
parentDomainId: null,
parentDomainName: null,
parentExecution: null,
parentInitatedId: null,
partitionConfig: null,
searchAttributes: null,
updateTime: null,
};
const demoExecJson = Object.assign({}, demoExecThrift, {
startTime: '2017-11-10T21:30:00.000Z',
Expand Down

0 comments on commit f1e1977

Please sign in to comment.