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 DB based Admin Banner DAO implementation #6367

Closed
wants to merge 1 commit into from

Conversation

UdeshAthukorala
Copy link
Contributor

Proposed changes in this pull request

$subject

org.wso2.carbon.identity.core.cache; version="${carbon.identity.package.import.version.range}",
org.wso2.carbon.admin.advisory.mgt.dao; version="${carbon.kernel.package.import.version.range}",
org.wso2.carbon.admin.advisory.mgt.dto; version="${carbon.kernel.package.import.version.range}",
org.wso2.carbon.admin.advisory.mgt.service; version="${carbon.kernel.package.import.version.range}",
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need service?

</Import-Package>
<Export-Package>
!org.wso2.carbon.identity.cors.mgt.core.internal,
org.wso2.carbon.identity.cors.mgt.core.*; version="${project.version}",
</Export-Package>
<DynamicImport-Package>*</DynamicImport-Package>
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do we need dynamic imports?

List<ResourceFile> resourceFiles = getConfigurationManager().getFiles(ADVISORY_BANNER_RESOURCE_TYPE,
ADVISORY_BANNER_RESOURCE_NAME);

if (resourceFiles.isEmpty() || StringUtils.isBlank(resourceFiles.get(0).getId())) {
Copy link
Contributor

Choose a reason for hiding this comment

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

shall we do a null check for resourceFiles.get(0)

@UdeshAthukorala UdeshAthukorala closed this by deleting the head repository Jan 27, 2025
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.

2 participants