Skip to content

Commit 6ee3c75

Browse files
committed
Merge branch '2893/multi-tenancy-v1' into feature/tenant-settings-initial
2 parents b8c6e7f + 9d32bb6 commit 6ee3c75

File tree

134 files changed

+3569
-789
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

134 files changed

+3569
-789
lines changed

bruno/collections/Rafiki/Examples/Open Payments Without Quote/Get receiver wallet address.bru

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ script:post-response {
3737
authUrl.hostname.includes('happy-life-bank')
3838
){
3939
const port = authUrl.hostname.includes('cloud-nine-wallet')? authUrl.port: Number(authUrl.port) + 1000
40-
bru.setEnvVar("receiverOpenPaymentsAuthHost", authUrl.protocol + '//localhost:' + port );
40+
bru.setEnvVar("receiverOpenPaymentsAuthHost", authUrl.protocol + '//localhost:' + port + authUrl.path);
4141
} else {
4242
bru.setEnvVar("receiverOpenPaymentsAuthHost", body?.authServer);
4343
}

bruno/collections/Rafiki/Examples/Open Payments Without Quote/Get sender wallet address.bru

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ script:post-response {
2828
}
2929

3030
const body = res.getBody()
31-
31+
3232
bru.setEnvVar("senderAssetCode", body?.assetCode)
3333
bru.setEnvVar("senderAssetScale", body?.assetScale)
3434

@@ -38,7 +38,7 @@ script:post-response {
3838
authUrl.hostname.includes('happy-life-bank')
3939
){
4040
const port = authUrl.hostname.includes('cloud-nine-wallet')? authUrl.port: Number(authUrl.port) + 1000
41-
bru.setEnvVar("senderOpenPaymentsAuthHost", authUrl.protocol + '//localhost:' + port );
41+
bru.setEnvVar("senderOpenPaymentsAuthHost", authUrl.protocol + '//localhost:' + port + authUrl.path);
4242
} else {
4343
bru.setEnvVar("senderOpenPaymentsAuthHost", body?.authServer);
4444
}

bruno/collections/Rafiki/Examples/Open Payments Without Quote/Grant Request Incoming Payment.bru

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ meta {
55
}
66

77
post {
8-
url: {{receiverOpenPaymentsAuthHost}}/
8+
url: {{receiverOpenPaymentsAuthHost}}
99
body: json
1010
auth: none
1111
}

bruno/collections/Rafiki/Examples/Open Payments Without Quote/Grant Request Outgoing Payment.bru

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ meta {
55
}
66

77
post {
8-
url: {{senderOpenPaymentsAuthHost}}/
8+
url: {{senderOpenPaymentsAuthHost}}
99
body: json
1010
auth: none
1111
}

bruno/collections/Rafiki/Examples/Open Payments/Create Incoming Payment.bru

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ script:pre-request {
4141

4242
script:post-response {
4343
const body = res.getBody();
44-
44+
4545
if (body?.id) {
4646
bru.setEnvVar("incomingPaymentId", body.id.split("/").pop());
4747
}

bruno/collections/Rafiki/Examples/Open Payments/Get receiver wallet address.bru

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ script:pre-request {
2222

2323
script:post-response {
2424
const url = require('url')
25-
25+
2626
if (res.getStatus() !== 200) {
2727
return
2828
}
29-
29+
3030
const body = res.getBody()
3131
bru.setEnvVar("receiverAssetCode", body?.assetCode)
3232
bru.setEnvVar("receiverAssetScale", body?.assetScale)
@@ -37,7 +37,7 @@ script:post-response {
3737
authUrl.hostname.includes('happy-life-bank')
3838
){
3939
const port = authUrl.hostname.includes('cloud-nine-wallet')? authUrl.port: Number(authUrl.port) + 1000
40-
bru.setEnvVar("receiverOpenPaymentsAuthHost", authUrl.protocol + '//localhost:' + port );
40+
bru.setEnvVar("receiverOpenPaymentsAuthHost", authUrl.protocol + '//localhost:' + port + authUrl.path);
4141
} else {
4242
bru.setEnvVar("receiverOpenPaymentsAuthHost", body?.authServer);
4343
}

bruno/collections/Rafiki/Examples/Open Payments/Get sender wallet address.bru

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ script:post-response {
3737
authUrl.hostname.includes('happy-life-bank')
3838
){
3939
const port = authUrl.hostname.includes('cloud-nine-wallet')? authUrl.port: Number(authUrl.port) + 1000
40-
bru.setEnvVar("senderOpenPaymentsAuthHost", authUrl.protocol + '//localhost:' + port );
40+
bru.setEnvVar("senderOpenPaymentsAuthHost", authUrl.protocol + '//localhost:' + port + authUrl.path);
4141
} else {
4242
bru.setEnvVar("senderOpenPaymentsAuthHost", body?.authServer);
4343
}

bruno/collections/Rafiki/Examples/Open Payments/Grant Request Incoming Payment.bru

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ meta {
55
}
66

77
post {
8-
url: {{receiverOpenPaymentsAuthHost}}/
8+
url: {{receiverOpenPaymentsAuthHost}}
99
body: json
1010
auth: none
1111
}

bruno/collections/Rafiki/Examples/Open Payments/Grant Request Outgoing Payment.bru

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ meta {
55
}
66

77
post {
8-
url: {{senderOpenPaymentsAuthHost}}/
8+
url: {{senderOpenPaymentsAuthHost}}
99
body: json
1010
auth: none
1111
}

bruno/collections/Rafiki/Examples/Open Payments/Grant Request Quote.bru

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ meta {
55
}
66

77
post {
8-
url: {{senderOpenPaymentsAuthHost}}/
8+
url: {{senderOpenPaymentsAuthHost}}
99
body: json
1010
auth: none
1111
}

0 commit comments

Comments
 (0)