-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
N21-1493 Provision other group members #4582
Conversation
apps/server/src/modules/provisioning/strategy/oidc/service/oidc-provisioning.service.spec.ts
Outdated
Show resolved
Hide resolved
apps/server/src/modules/provisioning/strategy/sanis/response/sanis.response.ts
Show resolved
Hide resolved
apps/server/src/modules/provisioning/strategy/sanis/response/sanis-gruppen-response.ts
Outdated
Show resolved
Hide resolved
apps/server/src/modules/provisioning/strategy/sanis/response/sanis-gruppen-response.ts
Show resolved
Hide resolved
apps/server/src/modules/provisioning/strategy/sanis/sanis.strategy.spec.ts
Show resolved
Hide resolved
apps/server/src/modules/provisioning/strategy/sanis/sanis-response.mapper.spec.ts
Show resolved
Hide resolved
@@ -446,9 +446,6 @@ describe('UserLoginMigrationController (API)', () => { | |||
familienname: 'familienName', | |||
vorname: 'vorname', | |||
}, | |||
geschlecht: 'weiblich', | |||
lokalisierung: 'not necessary', | |||
vertrauensstufe: 'not necessary', | |||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we are throwing the validationErrorException we should extend the controller api for the migration endpoint. And i think a test would be useful for it
import { ErrorLogMessage } from '@src/core/logger/types'; | ||
import { ValidationError } from 'class-validator'; | ||
|
||
export class ValidationErrorLoggableException extends InternalServerErrorException implements Loggable { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we could give it to alex or post this new loggable in rc
Validation errors looks good for me:
|
# Conflicts: # apps/server/src/modules/provisioning/strategy/sanis/sanis.strategy.spec.ts # apps/server/src/modules/provisioning/strategy/sanis/sanis.strategy.ts # apps/server/src/shared/testing/factory/external-group-dto.factory.ts
@@ -7,6 +7,7 @@ import { RoleName } from '@shared/domain/interface'; | |||
import { SystemProvisioningStrategy } from '@shared/domain/interface/system-provisioning.strategy'; | |||
import { legacySchoolDoFactory, userDoFactory } from '@shared/testing'; | |||
import { externalGroupDtoFactory } from '@shared/testing/factory/external-group-dto.factory'; | |||
import { externalSchoolDtoFactory } from '@shared/testing/factory/external-school-dto.factory'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should these factories exported via barrel file?
Kudos, SonarCloud Quality Gate passed! |
Description
Links to Tickets or other pull requests
https://ticketsystem.dbildungscloud.de/browse/N21-1493
Changes
Datasecurity
Deployment
New Repos, NPM pakages or vendor scripts
Approval for review
generate-client:server
was executed in vue frontend and changes were tested and put in a PR with the same branch name.