Skip to content
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

EW-1021: Change TSP test2 to test url #5362

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -594,15 +594,15 @@ data:
"oauthConfig": {
"clientId": "'$TSP_SYSTEM_OAUTH_CLIENT_ID'",
"clientSecret": "'$TSP_SYSTEM_OAUTH_CLIENT_SECRET'",
"tokenEndpoint": "https://test2.schulportal-thueringen.de/auth/realms/TIS/protocol/openid-connect/token",
"tokenEndpoint": "https://test.schulportal-thueringen.de/auth/realms/TIS/protocol/openid-connect/token",
"grantType": "authorization_code",
"scope": "openid",
"responseType": "code",
"redirectUri": "https://{{ NAMESPACE }}.thr.dbildungscloud.dev/api/v3/sso/oauth",
"authEndpoint": "https://test2.schulportal-thueringen.de/auth/realms/TIS/protocol/openid-connect/auth",
"authEndpoint": "https://test.schulportal-thueringen.de/auth/realms/TIS/protocol/openid-connect/auth",
"provider": "tsp",
"jwksEndpoint": "https://test2.schulportal-thueringen.de/auth/realms/TIS/protocol/openid-connect/certs",
"issuer": "https://test2.schulportal-thueringen.de/auth/realms/TIS"
"jwksEndpoint": "https://test.schulportal-thueringen.de/auth/realms/TIS/protocol/openid-connect/certs",
"issuer": "https://test.schulportal-thueringen.de/auth/realms/TIS"
}
}
);'
Expand Down
2 changes: 1 addition & 1 deletion apps/server/src/infra/tsp-client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export class MyNewService {
## How the code generation works

> IMPORTANT: Currently we are using the `openapi.json` and not the spec from
> https://test2.schulportal-thueringen.de/tip-ms/api/swagger.json, because we have to patch the security schemas
> https://test.schulportal-thueringen.de/tip-ms/api/swagger.json, because we have to patch the security schemas
> manually into to the specification so the generator can generate them correctly. The provided
> specification does not contain all necessary definitions. Only the `Export` endpoints are
> decorated with the security definitions.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ describe.skip('TspClientFactory Integration', () => {
getOrThrow: (key: string) => {
switch (key) {
case 'TSP_API_CLIENT_BASE_URL':
return 'https://test2.schulportal-thueringen.de/tip-ms/api';
return 'https://test.schulportal-thueringen.de/tip-ms/api';
case 'TSP_API_CLIENT_TOKEN_LIFETIME_MS':
return 30_000;
default:
Expand Down
Loading