Skip to content

Commit

Permalink
Revert "KJHH-1684: Lisää käyttöoikeuksien tarkistamisen YKI-palvelusta"
Browse files Browse the repository at this point in the history
YKI does not use this and the endpoint in config does not exist.

This reverts commit e3ff311.
  • Loading branch information
tokarls committed Dec 3, 2024
1 parent 060ad02 commit 509b04f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package fi.vm.sade.kayttooikeus.dto.permissioncheck;

public enum ExternalPermissionService {
HAKU_APP, SURE, ATARU, KOSKI, VARDA, YKI
HAKU_APP, SURE, ATARU, KOSKI, VARDA
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ public ExternalPermissionClientImpl(OphHttpClient httpClient, OphProperties prop
SERVICE_URIS.put(ExternalPermissionService.ATARU, properties.url("ataru-editori.external-permission-check"));
SERVICE_URIS.put(ExternalPermissionService.KOSKI, properties.url("koski.external-permission-check"));
SERVICE_URIS.put(ExternalPermissionService.VARDA, properties.url("varda.external-permission-check"));
SERVICE_URIS.put(ExternalPermissionService.YKI, properties.url("yki.external-permission-check"));
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ suoritusrekisteri.external-permission-check=${url-virkailija}/suoritusrekisteri/
ataru-editori.external-permission-check=${url-virkailija}/lomake-editori/api/checkpermission
koski.external-permission-check=${url-virkailija}/koski/api/permission/checkpermission
varda.external-permission-check=${url-varda}/varda/api/onr/external-permissions/
yki.external-permission-check=${url-virkailija}/yki/auth/henkilo-ui/callback

henkilo-ui.rekisteroidy=${url-virkailija}/henkilo-ui/kayttaja/rekisteroidy
henkilo-ui.sahkopostivarmistus.virhe=${url-virkailija}/henkilo-ui/kayttaja/sahkopostivarmistus/virhe/$1/$2
Expand Down

0 comments on commit 509b04f

Please sign in to comment.