Skip to content
This repository was archived by the owner on Dec 21, 2021. It is now read-only.

Commit 3f2058d

Browse files
authored
Rename engine-and-editor to core-api (#245)
1 parent 72ab8b8 commit 3f2058d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/test-build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
- name: Start Streamr Docker Stack
9696
uses: streamr-dev/streamr-docker-dev-action@v1.0.0-alpha.3
9797
with:
98-
services-to-start: "mysql redis engine-and-editor cassandra parity-node0 parity-sidechain-node0 bridge broker-node-no-storage-1 broker-node-no-storage-2 broker-node-storage-1 nginx smtp"
98+
services-to-start: "mysql redis core-api cassandra parity-node0 parity-sidechain-node0 bridge broker-node-no-storage-1 broker-node-no-storage-2 broker-node-storage-1 nginx smtp"
9999

100100
- uses: nick-invision/retry@v2
101101
name: Run Test
@@ -125,7 +125,7 @@ jobs:
125125
- name: Start Streamr Docker Stack
126126
uses: streamr-dev/streamr-docker-dev-action@v1.0.0-alpha.3
127127
with:
128-
services-to-start: "mysql redis engine-and-editor cassandra parity-node0 parity-sidechain-node0 bridge broker-node-no-storage-1 broker-node-no-storage-2 broker-node-storage-1 nginx smtp"
128+
services-to-start: "mysql redis core-api cassandra parity-node0 parity-sidechain-node0 bridge broker-node-no-storage-1 broker-node-no-storage-2 broker-node-storage-1 nginx smtp"
129129
- name: npm ci
130130
run: npm ci
131131
- name: benchmarks
@@ -172,7 +172,7 @@ jobs:
172172
- name: Start Streamr Docker Stack
173173
uses: streamr-dev/streamr-docker-dev-action@v1.0.0-alpha.3
174174
with:
175-
services-to-start: "mysql redis engine-and-editor cassandra parity-node0 parity-sidechain-node0 bridge broker-node-no-storage-1 broker-node-no-storage-2 broker-node-storage-1 nginx smtp"
175+
services-to-start: "mysql redis core-api cassandra parity-node0 parity-sidechain-node0 bridge broker-node-no-storage-1 broker-node-no-storage-2 broker-node-storage-1 nginx smtp"
176176
- name: npm ci
177177
run: npm ci
178178
- name: npm link

test/integration/LoginEndpoints.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ describe('LoginEndpoints', () => {
101101
it('should not be able to use the same session token after logout', async () => {
102102
await client.getUserInfo() // first fetches the session token, then requests the endpoint
103103
const sessionToken1 = client.session.options.sessionToken
104-
await client.logoutEndpoint() // invalidates the session token in engine-and-editor
104+
await client.logoutEndpoint() // invalidates the session token in core-api
105105
await client.getUserInfo() // requests the endpoint with sessionToken1, receives 401, fetches a new session token
106106
const sessionToken2 = client.session.options.sessionToken
107107
assert.notDeepStrictEqual(sessionToken1, sessionToken2)

test/integration/StreamrClient.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ describeRepeats('StreamrClient', () => {
8484
])
8585
} catch (e) {
8686
if (e.errno === 'ENOTFOUND' || e.errno === 'ECONNREFUSED') {
87-
throw new Error('Integration testing requires that engine-and-editor '
87+
throw new Error('Integration testing requires that core-api '
8888
+ 'and data-api ("entire stack") are running in the background. '
8989
+ 'Instructions: https://github.com/streamr-dev/streamr-docker-dev#running')
9090
} else {

0 commit comments

Comments
 (0)