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

Introduce KeyStore Persistence Manager Factory implementation #4148

Merged
merged 2 commits into from
Dec 13, 2024

Conversation

UdeshAthukorala
Copy link

@UdeshAthukorala UdeshAthukorala commented Dec 13, 2024

Purpose

Introduce KeyStore Persistence Manager Factory implementation
Introduce a config to select keystore persistence manager(weather keystore data stores in database or registry). ATM we only have registry implementation. So always use registry as the keystore persistence manager.

[keystores]
data_storage_type = "database"

Details

This pull request involves significant changes to the KeyStore management system in the WSO2 Carbon project. The main focus is on refactoring the KeyStore persistence mechanism to use a factory pattern and updating the relevant imports and usages throughout the codebase.

Key changes include:

Refactoring KeyStore Persistence

Package and Import Adjustments

  • pom.xml in core/org.wso2.carbon.core: Removed org.wso2.carbon.core.keystore.persistence from the export package list.
  • pom.xml in core/org.wso2.carbon.utils: Updated to include new package paths for keystore.persistence and its sub-packages. [1] [2]

New and Renamed Files

@jenkins-is-staging
Copy link

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/12311475077

@jenkins-is-staging
Copy link

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/12311475077
Status: success

Copy link

@jenkins-is-staging jenkins-is-staging left a comment

Choose a reason for hiding this comment

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

Approving the pull request based on the successful pr build https://github.com/wso2/product-is/actions/runs/12311475077

@UdeshAthukorala UdeshAthukorala merged commit 4cb926f into wso2:4.10.x Dec 13, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants