Skip to content
This repository was archived by the owner on Feb 13, 2024. It is now read-only.

Commit 7ce0cee

Browse files
author
Philipp Etschel
authored
Merge pull request #843 from boschresearch/fix/activity-list
Fixed not working notification links
2 parents f31b647 + 3c8c652 commit 7ce0cee

File tree

3 files changed

+22
-22
lines changed

3 files changed

+22
-22
lines changed

backend/business-partner-agent/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -443,8 +443,8 @@
443443
</goals>
444444
<configuration>
445445
<!-- See https://nodejs.org/en/download/ -->
446-
<nodeVersion>v16.17.1</nodeVersion>
447-
<npmVersion>8.15.0</npmVersion>
446+
<nodeVersion>v16.18.0</nodeVersion>
447+
<npmVersion>8.19.2</npmVersion>
448448
</configuration>
449449
</execution>
450450
<execution>

backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/util/Converter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,8 +252,8 @@ public AriesProofExchange toAPIObject(@NonNull PartnerProof p) {
252252
.proofType(e.getValue().getType())
253253
.revealedAttributes(e.getValue().getRevealedAttributes())
254254
.requestedPredicates(e.getValue().getRequestedPredicates())
255-
.identifier(e.getValue().getIdentifier() != null ?
256-
credentialInfoResolver.populateIdentifier(e.getValue().getIdentifier())
255+
.identifier(e.getValue().getIdentifier() != null
256+
? credentialInfoResolver.populateIdentifier(e.getValue().getIdentifier())
257257
: null)
258258
.build()));
259259
proofData = mapper.convertValue(collect, JsonNode.class);

frontend/src/constants.ts

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -160,78 +160,78 @@ export const ActivityTypes: Readonly<{
160160

161161
export const ActivityStates = Object.freeze({
162162
CONNECTION_REQUEST_ACCEPTED: {
163-
value: "connection_request_accepted",
163+
value: "CONNECTION_REQUEST_ACCEPTED",
164164
label: i18n.t("constants.activityStates.connectionRequest.accepted"),
165165
},
166166
CONNECTION_REQUEST_RECEIVED: {
167-
value: "connection_request_received",
167+
value: "CONNECTION_REQUEST_RECEIVED",
168168
label: i18n.t("constants.activityStates.connectionRequest.received"),
169169
},
170170
CONNECTION_REQUEST_SENT: {
171-
value: "connection_request_sent",
171+
value: "CONNECTION_REQUEST_SENT",
172172
label: i18n.t("constants.activityStates.connectionRequest.sent"),
173173
},
174174
CREDENTIAL_EXCHANGE_ACCEPTED: {
175-
value: "credential_exchange_accepted",
175+
value: "CREDENTIAL_EXCHANGE_ACCEPTED",
176176
label: i18n.t("constants.activityStates.credentialExchange.accepted"),
177177
},
178178
CREDENTIAL_EXCHANGE_DECLINED: {
179-
value: "credential_exchange_declined",
179+
value: "CREDENTIAL_EXCHANGE_DECLINED",
180180
label: i18n.t("constants.activityStates.credentialExchange.declined"),
181181
},
182182
CREDENTIAL_EXCHANGE_RECEIVED: {
183-
value: "credential_exchange_received",
183+
value: "CREDENTIAL_EXCHANGE_RECEIVED",
184184
label: i18n.t("constants.activityStates.credentialExchange.received"),
185185
},
186186
CREDENTIAL_EXCHANGE_PROBLEM: {
187-
value: "credential_exchange_problem",
187+
value: "CREDENTIAL_EXCHANGE_PROBLEM",
188188
label: i18n.t("constants.activityStates.credentialExchange.problem"),
189189
},
190190
CREDENTIAL_EXCHANGE_SENT: {
191-
value: "credential_exchange_sent",
191+
value: "CREDENTIAL_EXCHANGE_SENT",
192192
label: i18n.t("constants.activityStates.credentialExchange.sent"),
193193
},
194194
PRESENTATION_EXCHANGE_ACCEPTED: {
195-
value: "presentation_exchange_accepted",
195+
value: "PRESENTATION_EXCHANGE_ACCEPTED",
196196
label: i18n.t("constants.activityStates.presentationExchange.accepted"),
197197
},
198198
PRESENTATION_EXCHANGE_DECLINED: {
199-
value: "presentation_exchange_declined",
199+
value: "PRESENTATION_EXCHANGE_DECLINED",
200200
label: i18n.t("constants.activityStates.presentationExchange.declined"),
201201
},
202202
PRESENTATION_EXCHANGE_RECEIVED: {
203-
value: "presentation_exchange_received",
203+
value: "PRESENTATION_EXCHANGE_RECEIVED",
204204
label: i18n.t("constants.activityStates.presentationExchange.received"),
205205
},
206206
PRESENTATION_EXCHANGE_SENT: {
207-
value: "presentation_exchange_sent",
207+
value: "PRESENTATION_EXCHANGE_SENT",
208208
label: i18n.t("constants.activityStates.presentationExchange.sent"),
209209
},
210210
});
211211

212212
export const ActivityRoles = Object.freeze({
213213
CONNECTION_REQUEST_SENDER: {
214-
value: "connection_request_sender",
214+
value: "CONNECTION_REQUEST_SENDER",
215215
label: i18n.t("constants.activityRoles.connectionRequest.sender"),
216216
},
217217
CONNECTION_REQUEST_RECIPIENT: {
218-
value: "connection_request_recipient",
218+
value: "CONNECTION_REQUEST_RECIPIENT",
219219
label: i18n.t("constants.activityRoles.connectionRequest.recipient"),
220220
},
221221
CREDENTIAL_EXCHANGE_HOLDER: {
222-
value: "credential_exchange_holder",
222+
value: "CREDENTIAL_EXCHANGE_HOLDER",
223223
label: i18n.t("constants.activityRoles.credentialExchange.holder"),
224224
},
225225
CREDENTIAL_EXCHANGE_ISSUER: {
226-
value: "credential_exchange_issuer",
226+
value: "CREDENTIAL_EXCHANGE_ISSUER",
227227
label: i18n.t("constants.activityRoles.credentialExchange.issuer"),
228228
},
229229
PRESENTATION_EXCHANGE_PROVER: {
230-
value: "presentation_exchange_prover",
230+
value: "PRESENTATION_EXCHANGE_PROVER",
231231
label: i18n.t("constants.activityRoles.presentationExchange.prover"),
232232
},
233233
PRESENTATION_EXCHANGE_VERIFIER: {
234-
value: "presentation_exchange_verifier",
234+
value: "PRESENTATION_EXCHANGE_VERIFIER",
235235
label: i18n.t("constants.activityRoles.presentationExchange.verifier"),
236236
},
237237
});

0 commit comments

Comments
 (0)