Skip to content

Commit 0d4a616

Browse files
authored
Merge pull request #180 from AbsaOSS/remove-msg-type/GET_MSGS_BY_CONNS
Drop support for deprecated message type GET_MSGS_BY_CONNS
2 parents 5f04ea8 + 453a630 commit 0d4a616

File tree

19 files changed

+105
-609
lines changed

19 files changed

+105
-609
lines changed

ci/docker-compose.agency-ca.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ services:
3838
- MYSQL_DATABASE_WALLET_CONNECTION_LIMIT=50
3939

4040
- SERVER_ENABLE_TLS=false
41-
- DEV_MODE=true
4241
networks:
4342
- absadocker
4443
ports:

ci/docker-compose.agency-ea.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ services:
3737
- MYSQL_DATABASE_WALLET_CONNECTION_LIMIT=50
3838

3939
- SERVER_ENABLE_TLS=false
40-
- DEV_MODE=true
4140
networks:
4241
- absadocker
4342
ports:

vcxagency-client/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"test:unit": "jest --runInBand ./test/unit",
1717
"test:e2e:ea": "jest --runInBand ./test/e2e/ea ./test/e2e/shared",
1818
"test:e2e:ca": "jest --runInBand ./test/e2e/ca ./test/e2e/shared",
19+
"test:e2e:shared": "jest --runInBand ./test/e2e/shared",
1920
"test:e2e:ca:longpoll": "jest --runInBand ./test/e2e/ca/longpoll.spec.js",
2021
"test:perf": "jest --runInBand ./test/perf",
2122
"test:perf:onboarding": "jest --runInBand ./test/perf/onboarding.perf.spec.js",

vcxagency-client/src/agency-flows.js

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ const { buildAriesFwdMessage } = require('./messaging/aries/aries-msg')
2121
const { buildAriesBasicMessage } = require('./messaging/aries/aries-msg')
2222
const { buildAgencyFwdMessage } = require('./messaging/client2agency/general')
2323
const { buildMsgVcxV2UpdateMsgStatusByConns } = require('./messaging/client2agency/msgs-agent')
24-
const { buildMsgVcxV2MsgGetMsgsByConns } = require('./messaging/client2agency/msgs-agent')
2524
const { buildMsgVcxV2GetMsgs } = require('./messaging/client2agency/msgs-agentconn')
2625
const { buildMsgVcxV2CreateKey } = require('./messaging/client2agency/onboarding')
2726
const { buildMsgVcxV2CreateAgent } = require('./messaging/client2agency/onboarding')
@@ -125,28 +124,6 @@ async function vcxFlowGetMsgsFromAgentConn (clientWh, sendToAgency, recipientAge
125124
return parseAgencyResponse(clientWh, resEncrypted)
126125
}
127126

128-
/**
129-
Downloads messages from agent accross multiple agent connections
130-
* @param {string} clientWh - wallet handle of agency client
131-
* @param {object} sendToAgency - function which passes final message to an agency
132-
* @param {string} clientVkey - verkey the client uses to talk to Agency
133-
* @param {string} recipientAgentDid - DID of the Agent
134-
* @param {string} recipientAgentVerkey - Verkey of the Agent
135-
* @param {string} userPwDids - filter connection by these userPwDids
136-
* @param {array} uids - filter messages by these msg UIDs
137-
* @param {string} statusCodes - filter messages by status
138-
*/
139-
async function vcxFlowGetMsgsFromAgent (clientWh, sendToAgency, recipientAgentDid, recipientAgentVerkey, clientVkey, userPwDids, uids, statusCodes) {
140-
const msgGetMsgs = await packAsUtf8(
141-
clientWh,
142-
objectToBuffer(buildMsgVcxV2MsgGetMsgsByConns(userPwDids, uids, statusCodes)),
143-
recipientAgentVerkey,
144-
clientVkey
145-
)
146-
const resEncrypted = await sendToAgency(wrapWithAgencyFwd(recipientAgentDid, msgGetMsgs))
147-
return parseAgencyResponse(clientWh, resEncrypted)
148-
}
149-
150127
/**
151128
Update statusCode of messages specified by UIDs per Agent-Connections
152129
* @param {string} clientWh - wallet handle of agency client
@@ -223,7 +200,6 @@ module.exports = {
223200
vcxFlowGetMsgsFromAgentConn,
224201

225202
// msgs across agent
226-
vcxFlowGetMsgsFromAgent,
227203
vcxFlowUpdateMsgsFromAgent,
228204

229205
// webhooks

vcxagency-client/src/messaging/client2agency/msgs-agent.js

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -16,23 +16,11 @@
1616

1717
'use strict'
1818

19-
const MSGTYPE_GET_MSGS_BY_CONNS = 'did:sov:123456789abcdefghi1234;spec/pairwise/1.0/GET_MSGS_BY_CONNS'
20-
const MSGTYPE_MSGS_BY_CONNS = 'did:sov:123456789abcdefghi1234;spec/pairwise/1.0/MSGS_BY_CONNS'
2119
const MSGTYPE_UPDATE_MSG_STATUS_BY_CONNS = 'did:sov:123456789abcdefghi1234;spec/pairwise/1.0/UPDATE_MSG_STATUS_BY_CONNS'
2220
const MSGTYPE_MSG_STATUS_UPDATED_BY_CONNS = 'did:sov:123456789abcdefghi1234;spec/pairwise/1.0/MSG_STATUS_UPDATED_BY_CONNS'
2321
const MSGTYPE_UPDATE_COM_METHOD = 'did:sov:123456789abcdefghi1234;spec/configs/1.0/UPDATE_COM_METHOD'
2422
const MSGTYPE_COM_METHOD_UPDATED = 'did:sov:123456789abcdefghi1234;spec/configs/1.0/COM_METHOD_UPDATED'
2523

26-
function buildMsgVcxV2MsgGetMsgsByConns (pairwiseDIDs, uids, statusCodes) {
27-
const msg = {
28-
'@type': MSGTYPE_GET_MSGS_BY_CONNS,
29-
uids, // should be array like ["b7vh36XiTe"]
30-
pairwiseDIDs, // array like ["Fp4eVWcjyRawjNWgnJmJWD"]}
31-
statusCodes // ["MS-102","MS-103","MS-104","MS-105","MS-106"]
32-
}
33-
return msg
34-
}
35-
3624
function buildVcxV2AgencyMsg (payload, senderDID, statusCode, uid) {
3725
return {
3826
payload,
@@ -50,15 +38,6 @@ function buildVcxV2AgencyMsgsByConn (agencyMsgs, pairwiseDid) {
5038
msgs: agencyMsgs
5139
}
5240
}
53-
54-
function buildMsgVcxV2MsgsByConns (msgsByConns) {
55-
const msg = {
56-
'@type': MSGTYPE_MSGS_BY_CONNS,
57-
msgsByConns
58-
}
59-
return msg
60-
}
61-
6241
function buildVcxV2UidsByConn (pairwiseDid, uids) {
6342
return {
6443
pairwiseDID: pairwiseDid,
@@ -106,10 +85,8 @@ function buildMsgCommMethodUpdated (id) {
10685

10786
module.exports = {
10887
// get msgs: for many agent-connections (recipient is agent entity)
109-
buildMsgVcxV2MsgGetMsgsByConns, // req
11088
buildVcxV2AgencyMsg,
11189
buildVcxV2AgencyMsgsByConn,
112-
buildMsgVcxV2MsgsByConns, // res
11390

11491
// update by connections (message for agent)
11592
buildMsgVcxV2UpdateMsgStatusByConns, // req
@@ -119,9 +96,6 @@ module.exports = {
11996
buildMsgVcxV2UpdateWebhookUrl,
12097
buildMsgCommMethodUpdated,
12198

122-
MSGTYPE_GET_MSGS_BY_CONNS,
123-
MSGTYPE_MSGS_BY_CONNS,
124-
12599
MSGTYPE_UPDATE_MSG_STATUS_BY_CONNS,
126100
MSGTYPE_MSG_STATUS_UPDATED_BY_CONNS,
127101

vcxagency-client/test/e2e/ca/longpoll.spec.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ const { indyCreateAndStoreMyDid } = require('easy-indysdk')
2222
const uuid = require('uuid')
2323
const rimraf = require('rimraf')
2424
const os = require('os')
25-
const { vcxFlowSendAriesMessage } = require('../../../src')
26-
const { vcxFlowGetMsgsFromAgent } = require('../../../src')
25+
const { vcxFlowSendAriesMessage, vcxFlowGetMsgsFromAgentConn } = require('../../../src')
2726
const { buildAgencyClientNetwork } = require('../../common')
2827
const { vcxFlowCreateAgentConnection } = require('vcxagency-client/src')
2928
const { vcxFlowFullOnboarding } = require('vcxagency-client/src')
@@ -105,11 +104,13 @@ describe('longpoll', () => {
105104
// create agent connection, both alice and bob
106105
console.log(`Alice is going to create agent connection. aliceAgentDid=${aliceAgentDid} aliceVerkey=${aliceVerkey} aliceUserPairwiseDid=${aliceUserPairwiseDid} aliceUserPairwiseVerkey=${aliceUserPairwiseVerkey}`)
107106
const alicesAconn = await vcxFlowCreateAgentConnection(aliceWh, sendToAgency, aliceAgentDid, aliceAgentVerkey, aliceVerkey, aliceUserPairwiseDid, aliceUserPairwiseVerkey)
107+
const alicesRoutingAgentDid = alicesAconn.withPairwiseDID
108108
const alicesRoutingAgentVerkey = alicesAconn.withPairwiseDIDVerKey
109+
109110
console.log('Alice created agent connection!')
110111
await vcxFlowCreateAgentConnection(bobWh, sendToAgency, bobAgentDid, bobAgentVerkey, bobVerkey, bobUserPairwiseDid, bobUserPairwiseVerkey)
111112

112-
const aliceAllMsgs1 = await vcxFlowGetMsgsFromAgent(aliceWh, sendToAgency, aliceAgentDid, aliceAgentVerkey, aliceVerkey, [], [], [])
113+
const aliceAllMsgs1 = await vcxFlowGetMsgsFromAgentConn(aliceWh, sendToAgency, alicesRoutingAgentDid, alicesRoutingAgentVerkey, aliceUserPairwiseVerkey, [], [])
113114
console.log(`Alice queries agency for all messages, she should have none. Response = ${JSON.stringify(aliceAllMsgs1)}`)
114115
{
115116
let hasLongpollTimedOut = false

vcxagency-client/test/e2e/shared/agency-flows.spec.js

Lines changed: 24 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ const os = require('os')
2525
const { vcxFlowUpdateMsgsFromAgent } = require('../../../src')
2626
const { vcxFlowGetMsgsFromAgentConn } = require('../../../src')
2727
const { vcxFlowSendAriesMessage } = require('../../../src')
28-
const { vcxFlowGetMsgsFromAgent } = require('../../../src')
2928
const { buildAgencyClientNetwork } = require('../../common')
3029
const { vcxFlowCreateAgentConnection } = require('vcxagency-client/src')
3130
const { vcxFlowFullOnboarding } = require('vcxagency-client/src')
@@ -102,51 +101,56 @@ afterEach(async () => {
102101
describe('onboarding', () => {
103102
it('should exchange messages between alice and bob via agency', async () => {
104103
// arrange
105-
const { agentDid: aliceAgentDid, agentVerkey: aliceAgentVerkey } = await vcxFlowFullOnboarding(aliceWh, sendToAgency, agencyDid, agencyVerkey, aliceDid, aliceVerkey)
104+
const {
105+
agentDid: aliceAgentDid,
106+
agentVerkey: aliceAgentVerkey
107+
} = await vcxFlowFullOnboarding(aliceWh, sendToAgency, agencyDid, agencyVerkey, aliceDid, aliceVerkey)
106108
const { did: aliceUserPairwiseDid, vkey: aliceUserPairwiseVerkey } = await indyCreateAndStoreMyDid(aliceWh)
107109
console.log('Alice was onboarded.')
108110

109-
const { agentDid: bobAgentDid, agentVerkey: bobAgentVerkey } = await vcxFlowFullOnboarding(bobWh, sendToAgency, agencyDid, agencyVerkey, bobDid, bobVerkey)
111+
const {
112+
agentDid: bobAgentDid,
113+
agentVerkey: bobAgentVerkey
114+
} = await vcxFlowFullOnboarding(bobWh, sendToAgency, agencyDid, agencyVerkey, bobDid, bobVerkey)
110115
const { did: bobUserPairwiseDid, vkey: bobUserPairwiseVerkey } = await indyCreateAndStoreMyDid(bobWh)
111116
console.log('Bob was onboarded.')
112117

113118
// create agent connection, both alice and bob
114119
console.log(`Alice is going to create agent connection. aliceAgentDid=${aliceAgentDid} aliceVerkey=${aliceVerkey} aliceUserPairwiseDid=${aliceUserPairwiseDid} aliceUserPairwiseVerkey=${aliceUserPairwiseVerkey}`)
115120
const alicesAconn = await vcxFlowCreateAgentConnection(aliceWh, sendToAgency, aliceAgentDid, aliceAgentVerkey, aliceVerkey, aliceUserPairwiseDid, aliceUserPairwiseVerkey)
116-
const alicesRoutingAgentDid = alicesAconn.withPairwiseDID
117-
const alicesRoutingAgentVerkey = alicesAconn.withPairwiseDIDVerKey
121+
const aconnAlice2BobDid = alicesAconn.withPairwiseDID
122+
const aconnAlice2BobVk = alicesAconn.withPairwiseDIDVerKey
118123
console.log('Alice created agent connection!')
119124
await vcxFlowCreateAgentConnection(bobWh, sendToAgency, bobAgentDid, bobAgentVerkey, bobVerkey, bobUserPairwiseDid, bobUserPairwiseVerkey)
120125

121-
const aliceAllMsgs1 = await vcxFlowGetMsgsFromAgent(aliceWh, sendToAgency, aliceAgentDid, aliceAgentVerkey, aliceVerkey, [], [], [])
126+
const aliceAllMsgs1 = await vcxFlowGetMsgsFromAgentConn(aliceWh, sendToAgency, aconnAlice2BobDid, aconnAlice2BobVk, aliceUserPairwiseVerkey, [], [], [])
127+
expect(aliceAllMsgs1['@type']).toBe('did:sov:123456789abcdefghi1234;spec/pairwise/1.0/MSGS')
128+
expect(aliceAllMsgs1.msgs.length).toBe(0)
122129
console.log(`Alice queries agency for all messages, she should have none. Response = ${JSON.stringify(aliceAllMsgs1)}`)
123130

124131
// bobs sends message to alices routing agent
125-
const bobSendMsgRes1 = await vcxFlowSendAriesMessage(bobWh, sendToAgency, aliceUserPairwiseVerkey, alicesRoutingAgentVerkey, bobUserPairwiseVerkey, 'This is Bob!')
132+
const bobSendMsgRes1 = await vcxFlowSendAriesMessage(bobWh, sendToAgency, aliceUserPairwiseVerkey, aconnAlice2BobVk, bobUserPairwiseVerkey, 'This is Bob!')
126133
console.log(`Bob sends aries message to Alice's agent. Response = ${JSON.stringify(bobSendMsgRes1)}`)
127134

128135
// alice fetches messages
129-
const aliceAllMsgs2 = await vcxFlowGetMsgsFromAgent(aliceWh, sendToAgency, aliceAgentDid, aliceAgentVerkey, aliceVerkey, [], [], [])
136+
const aliceAllMsgs2 = await vcxFlowGetMsgsFromAgentConn(aliceWh, sendToAgency, aconnAlice2BobDid, aconnAlice2BobVk, aliceUserPairwiseVerkey, [], [], [])
130137
console.log(`Alice queries agency for all messages, she should have one. Response = ${JSON.stringify(aliceAllMsgs2)}`)
131-
132-
const aliceToBoMsgs = await vcxFlowGetMsgsFromAgentConn(aliceWh, sendToAgency, alicesRoutingAgentDid, alicesRoutingAgentVerkey, aliceUserPairwiseVerkey, [], [])
133-
console.log(`Alice queries agency for alice2bob messages, she should have one. Response = ${JSON.stringify(aliceToBoMsgs)}`)
138+
expect(aliceAllMsgs2.msgs.length).toBe(1)
139+
expect(aliceAllMsgs2.msgs[0].statusCode).toBe('MS-103')
134140

135141
// alice updates message status
136142
const aliceMsgsByConns = [
137-
{ pairwiseDID: aliceUserPairwiseDid, uids: [aliceToBoMsgs.msgs[0].uid] }
143+
{ pairwiseDID: 'unused-attribute', uids: [aliceAllMsgs2.msgs[0].uid] }
138144
]
139-
const aliceNewMsgStatus = 'MS-104'
145+
const aliceNewMsgStatus = 'MS-106'
140146
const updateResponse = await vcxFlowUpdateMsgsFromAgent(aliceWh, sendToAgency, aliceAgentDid, aliceAgentVerkey, aliceVerkey, aliceMsgsByConns, aliceNewMsgStatus)
141147
console.log(`Alice run msg status update for msgs ${JSON.stringify(aliceMsgsByConns)} to status ${aliceNewMsgStatus}. Response = ${JSON.stringify(updateResponse)}`)
142148

143-
// alice tries to update msg status on connection she doesn't have
144-
const updateMsgForNonExistingUserPwDid = [
145-
{ pairwiseDID: '4aA6TyH2Cgq7gg2wGFiRXS', uids: [aliceToBoMsgs.msgs[0].uid] }
146-
]
147-
const aliceNewMsgStatus2 = 'MS-105'
148-
const updateResponse2 = await vcxFlowUpdateMsgsFromAgent(aliceWh, sendToAgency, aliceAgentDid, aliceAgentVerkey, aliceVerkey, updateMsgForNonExistingUserPwDid, aliceNewMsgStatus2)
149-
console.log(`Alice run msg status update for agent connection which does not exists on her agent. Response = ${JSON.stringify(updateResponse2)}`)
149+
// alice fetches messages
150+
const aliceAllMsgs3 = await vcxFlowGetMsgsFromAgentConn(aliceWh, sendToAgency, aconnAlice2BobDid, aconnAlice2BobVk, aliceUserPairwiseVerkey, [], [], [])
151+
console.log(`Alice queries agency for all messages, she should have one. Response = ${JSON.stringify(aliceAllMsgs3)}`)
152+
expect(aliceAllMsgs3.msgs.length).toBe(1)
153+
expect(aliceAllMsgs3.msgs[0].statusCode).toBe('MS-106')
150154
})
151155
})
152156

vcxagency-client/test/perf/messaging.perf.spec.js

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ const { indyCreateAndStoreMyDid } = require('easy-indysdk')
2222
const uuid = require('uuid')
2323
const rimraf = require('rimraf')
2424
const os = require('os')
25-
const { vcxFlowUpdateMsgsFromAgent } = require('../../src')
26-
const { vcxFlowGetMsgsFromAgent } = require('../../src')
25+
const { vcxFlowUpdateMsgsFromAgent, vcxFlowGetMsgsFromAgentConn } = require('../../src')
2726
const { vcxFlowSendAriesMessage } = require('../../src')
2827
const { buildAgencyClientNetwork } = require('../common')
2928
const { vcxFlowCreateAgentConnection } = require('vcxagency-client')
@@ -103,7 +102,8 @@ describe('onboarding', () => {
103102
const { agentDid: aliceAgentDid, agentVerkey: aliceAgentVerkey } = await vcxFlowFullOnboarding(clientAlice.wh, sendToAgency, agencyDid, agencyVerkey, clientAlice.client2AgencyDid, clientAlice.client2AgencyVerkey)
104103
const aliceAconnAlice2Bob = await vcxFlowCreateAgentConnection(
105104
clientAlice.wh, sendToAgency, aliceAgentDid, aliceAgentVerkey, clientAlice.client2AgencyVerkey, aliceUserPwDid2Bob, aliceUserPwVerkey2Bob)
106-
const aliceRoutingKeyAlice2Bob = aliceAconnAlice2Bob.withPairwiseDIDVerKey
105+
const aconnAlice2BobDid = aliceAconnAlice2Bob.withPairwiseDID
106+
const aconnAlice2BobVk = aliceAconnAlice2Bob.withPairwiseDIDVerKey
107107

108108
const bobsUserPwVkey = clientBob.userPwDids[0].vkey
109109

@@ -116,18 +116,16 @@ describe('onboarding', () => {
116116
}
117117
const promises = []
118118
for (let j = 0; j < OPS_IN_ROUND; j++) {
119-
promises.push(vcxFlowSendAriesMessage(clientBob.wh, sendToAgency, aliceUserPwVerkey2Bob, aliceRoutingKeyAlice2Bob, bobsUserPwVkey, uuid.v4()))
119+
promises.push(vcxFlowSendAriesMessage(clientBob.wh, sendToAgency, aliceUserPwVerkey2Bob, aconnAlice2BobVk, bobsUserPwVkey, uuid.v4()))
120120
}
121121
await Promise.all(promises)
122122
if (i === 0) {
123-
// update all messages received so farr to MS-106 statusCode
124-
const msgs = await vcxFlowGetMsgsFromAgent(clientAlice.wh, sendToAgency, aliceAgentDid, aliceAgentVerkey, clientAlice.client2AgencyVerkey, [aliceUserPwDid2Bob], [], [])
125-
console.log(JSON.stringify(msgs))
126-
const receivedMsgUids = msgs.msgsByConns[0].msgs.map(msg => msg.uid)
127-
console.log(JSON.stringify(receivedMsgUids))
123+
// update all messages received so far to MS-106 statusCode
124+
const res = await vcxFlowGetMsgsFromAgentConn(clientAlice.wh, sendToAgency, aconnAlice2BobDid, aconnAlice2BobVk, aliceUserPwVerkey2Bob, [], [])
125+
console.log(JSON.stringify(res))
126+
const receivedMsgUids = res.msgs.map(msg => msg.uid)
128127
await vcxFlowUpdateMsgsFromAgent(clientAlice.wh, sendToAgency, aliceAgentDid, aliceAgentVerkey, clientAlice.client2AgencyVerkey,
129128
[{ pairwiseDID: aliceUserPwDid2Bob, uids: receivedMsgUids }], 'MS-106')
130-
// const msgs2 = await vcxFlowGetMsgsFromAgent(clientAlice.wh, sendToAgency, aliceAgentDid, aliceAgentVerkey, clientAlice.client2AgencyVerkey, [aliceUserPwDid2Bob], [], [])
131129
}
132130
}
133131
const tFinish = performance.now()
@@ -147,7 +145,7 @@ describe('onboarding', () => {
147145
const promises = []
148146
for (let j = 0; j < OPS_IN_ROUND; j++) {
149147
promises.push(
150-
vcxFlowGetMsgsFromAgent(clientAlice.wh, sendToAgency, aliceAgentDid, aliceAgentVerkey, clientAlice.client2AgencyVerkey, [aliceUserPwDid2Bob], [], ['MS-106'])
148+
vcxFlowGetMsgsFromAgentConn(clientAlice.wh, sendToAgency, aconnAlice2BobDid, aconnAlice2BobVk, aliceUserPwVerkey2Bob, ['MS-106'], [])
151149
)
152150
}
153151
await Promise.all(promises)

vcxagency-node/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
"test:unit:configuration": "SILENT_WINSTON=true jest --runInBand ./test/unit/configuration",
2525
"test:unit:entities": "SILENT_WINSTON=true jest --runInBand ./test/unit/entities",
2626
"test:unit:messaging": "SILENT_WINSTON=true jest --runInBand ./test/unit/messaging",
27+
"test:unit:messaging:agent": "SILENT_WINSTON=true jest --runInBand ./test/unit/messaging/agent-msgs.spec.js",
28+
"test:unit:messaging:aconn": "SILENT_WINSTON=true jest --runInBand ./test/unit/messaging/aconn-msgs.spec.js",
2729
"test:unit:notifications": "SILENT_WINSTON=true jest --runInBand ./test/unit/notifications",
2830
"test:unit:state": "SILENT_WINSTON=true jest --runInBand ./test/unit/state",
2931
"test:unit:storage": "SILENT_WINSTON=true jest --runInBand ./test/unit/storage/"

vcxagency-node/src/configuration/app-config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ const OP_MODES = {
132132
..._walletValidationRules(),
133133
..._applicationValidationRules(),
134134
AGENCY_DID: Joi.string().required(),
135-
DEV_MODE: Joi.boolean().default(false),
136135
ECS_CONTAINER_METADATA_URI_V4: Joi.string().uri()
137136
}
138137
}

0 commit comments

Comments
 (0)