Merge pull request #6305 from tsiegleauq/fix-icc-integration

Fix ICC integration
This commit is contained in:
Emanuel Schütze 2021-12-07 20:14:58 +01:00 committed by GitHub
commit eb79dd9aca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 11 additions and 3 deletions

View File

@ -96,6 +96,8 @@ services:
volumes: volumes:
- ../openslides-icc-service/cmd:/root/cmd - ../openslides-icc-service/cmd:/root/cmd
- ../openslides-icc-service/internal:/root/internal - ../openslides-icc-service/internal:/root/internal
ports:
- "9007:9007"
auth: auth:
image: openslides-auth-dev image: openslides-auth-dev

View File

@ -22,6 +22,9 @@ AUTH_HOST=auth
AUTH_PORT=9004 AUTH_PORT=9004
CACHE_HOST=cache CACHE_HOST=cache
CACHE_PORT=6379 CACHE_PORT=6379
ICC_PORT=9007
ICC_HOST=icc
ICC_REDIS_HOST=message-bus ICC_REDIS_HOST=message-bus
ICC_REDIS_PORT=6379 ICC_REDIS_PORT=6379

View File

@ -4,9 +4,12 @@ describe("Login using UI", () => {
const username = "admin" const username = "admin"
const password = "admin" const password = "admin"
cy.visit("/login"); cy.visit("/");
cy.wait(1000)
cy.url().should("include", "login");
cy.get("#mat-input-0").type(username); cy.get("#mat-input-0").type(username);
cy.get("#mat-input-1").type(`${password}{enter}`); cy.get("#mat-input-1").type(`${password}{enter}`);
cy.wait(1000)
cy.url().should("not.include", "login"); cy.url().should("not.include", "login");
cy.getCookie("refreshId").should("exist"); cy.getCookie("refreshId").should("exist");
}); });

@ -1 +1 @@
Subproject commit 3ae20ef6f1bfccd401e145d0a20253691ba90682 Subproject commit fec8bf17d4944dae0087f77f136a11b6f6466071

View File

@ -12,7 +12,7 @@ cp $base $config
ACTION_HOST="${ACTION_HOST:-backend}" ACTION_PORT="${ACTION_PORT:-9002}" \ ACTION_HOST="${ACTION_HOST:-backend}" ACTION_PORT="${ACTION_PORT:-9002}" \
PRESENTER_HOST="${PRESENTER_HOST:-backend}" PRESENTER_PORT="${PRESENTER_PORT:-9003}" \ PRESENTER_HOST="${PRESENTER_HOST:-backend}" PRESENTER_PORT="${PRESENTER_PORT:-9003}" \
AUTOUPDATE_HOST="${AUTOUPDATE_HOST:-autoupdate}" AUTOUPDATE_PORT="${AUTOUPDATE_PORT:-9012}" \ AUTOUPDATE_HOST="${AUTOUPDATE_HOST:-autoupdate}" AUTOUPDATE_PORT="${AUTOUPDATE_PORT:-9012}" \
ICC_HOST="${ICC_HOST:-icc}" ICC_PORT="${ICC_PORT:-9013}" \ ICC_HOST="${ICC_HOST:-icc}" ICC_PORT="${ICC_PORT:-9007}" \
AUTH_HOST="${AUTH_HOST:-auth}" AUTH_PORT="${AUTH_PORT:-9004}" \ AUTH_HOST="${AUTH_HOST:-auth}" AUTH_PORT="${AUTH_PORT:-9004}" \
MEDIA_HOST="${MEDIA_HOST:-media}" MEDIA_PORT="${MEDIA_PORT:-9006}" \ MEDIA_HOST="${MEDIA_HOST:-media}" MEDIA_PORT="${MEDIA_PORT:-9006}" \
MANAGE_HOST="${MANAGE_HOST:-manage}" MANAGE_PORT="${MANAGE_PORT:-9008}" \ MANAGE_HOST="${MANAGE_HOST:-manage}" MANAGE_PORT="${MANAGE_PORT:-9008}" \