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

feat(console,core): add attribute mapping #6916

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

darcyYe
Copy link
Contributor

@darcyYe darcyYe commented Dec 31, 2024

Summary

  1. Add attribute mapping section in console (resolves LOG-10340).
  2. Also fixed the bug, that updating only config related field(s) (entityId, acsUrl, or attributeMapping) with PATCH /saml-applications/:id API, the DB query method throws error. Add integration test to cover such cases.

Testing

Tested locally.
image

Checklist

  • .changeset
  • unit tests
  • integration tests
  • necessary TSDoc comments

Copy link

github-actions bot commented Dec 31, 2024

COMPARE TO master

Total Size Diff ⚠️ 📈 +11.8 KB

Diff by File
Name Diff
packages/console/src/consts/page-tabs.ts 📈 +42 Bytes
packages/console/src/pages/ApplicationDetails/SamlApplicationDetailsContent/AttributeMapping.module.scss 📈 +572 Bytes
packages/console/src/pages/ApplicationDetails/SamlApplicationDetailsContent/AttributeMapping.tsx 📈 +7.49 KB
packages/console/src/pages/ApplicationDetails/SamlApplicationDetailsContent/index.tsx 📈 +493 Bytes
packages/console/src/pages/ApplicationDetails/SamlApplicationDetailsContent/utils.ts 📈 +350 Bytes
packages/core/src/saml-applications/libraries/saml-applications.ts 📈 +50 Bytes
packages/integration-tests/src/tests/api/application/saml-application.test.ts 📈 +1.62 KB
packages/phrases/src/locales/en/translation/admin-console/application-details.ts 📈 +327 Bytes
packages/schemas/src/foundations/jsonb-types/saml-application-configs.ts 📈 +359 Bytes
packages/toolkit/core-kit/src/openid.ts 📈 +564 Bytes

@github-actions github-actions bot added feature Cool stuff size/l labels Dec 31, 2024
@darcyYe darcyYe force-pushed the yemq-add-attribute-mapping branch from 2a93104 to 4681b0f Compare December 31, 2024 06:36
@github-actions github-actions bot added size/xl and removed size/l labels Dec 31, 2024
@darcyYe darcyYe force-pushed the yemq-add-attribute-mapping branch 6 times, most recently from 2d6fcbc to e4d40d6 Compare December 31, 2024 10:33
@darcyYe darcyYe force-pushed the yemq-add-attribute-mapping branch from e4d40d6 to cbc4123 Compare December 31, 2024 11:14
onClick={() => {
const currentValues = [...formValues];
// eslint-disable-next-line @silverhand/fp/no-mutating-methods
currentValues.splice(index, 1);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use slice instead of the mutating splice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

2 participants