Skip to content

Commit a9a2e93

Browse files
committed
parameterize the hosts to enable using locally running services
1 parent b32fb93 commit a9a2e93

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

examples/integration-scripts/single-issuer-holder.test.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@ import signify, {
99

1010
const URL = 'http://127.0.0.1:3901';
1111
const BOOT_URL = 'http://127.0.0.1:3903';
12-
const SCHEMA_SAID = 'EBfdlu8R27Fbx-ehrqwImnK-8Cm79sqbAQ4MmvEAYqao';
1312
const WITNESS_HOST = process.env.WITNESS_HOST ?? 'witness-demo';
1413
const WITNESSES = [`http://${WITNESS_HOST}:5642/oobi`];
15-
const SCHEMA_OOBI =
16-
'http://vlei-server:7723/oobi/EBfdlu8R27Fbx-ehrqwImnK-8Cm79sqbAQ4MmvEAYqao';
14+
15+
const SCHEMA_HOST = process.env.SCHEMA_HOST ?? 'vlei-server';
16+
const SCHEMA_SAID = 'EBfdlu8R27Fbx-ehrqwImnK-8Cm79sqbAQ4MmvEAYqao';
17+
const SCHEMA_OOBI = `http://${SCHEMA_HOST}:7723/oobi/${SCHEMA_SAID}`;
1718

1819
function createTimestamp() {
1920
const dt = new Date().toISOString().replace('Z', '000+00:00');

0 commit comments

Comments
 (0)