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

SDK-306 - Fix to enable the config-prefixed distro properties to succ… #301

Merged
merged 6 commits into from
Nov 8, 2024

Conversation

mseaton
Copy link
Member

@mseaton mseaton commented Oct 30, 2024

…essfully install config projects outside of the refapp

see https://openmrs.atlassian.net/browse/SDK-306

…essfully install config projects outside of the refapp
@mseaton mseaton marked this pull request as draft October 30, 2024 23:38
@wikumChamith wikumChamith marked this pull request as ready for review October 31, 2024 00:51
@mseaton mseaton marked this pull request as draft October 31, 2024 03:29
@mseaton mseaton marked this pull request as ready for review October 31, 2024 11:34
Comment on lines -130 to -138
log.warn("parent.artifactId missing");
missingCount++;
}
if (StringUtils.isBlank(parentGroupId)) {
log.warn("parent.groupId is missing");
missingCount++;
}
if (StringUtils.isBlank(parentVersion)) {
log.warn("parent.version is missing");
Copy link
Member

Choose a reason for hiding this comment

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

Not sure why we're removing these lines?

Copy link
Member Author

Choose a reason for hiding this comment

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

@ibacher / @wikumChamith ... Yeah, not related to this PR, but I removed them because they seem incorrect and I noticed them in my log and investigated. If I have no parent properties at all in my distro, I get these 3 warning messages in my console, which is wrong. We can certainly keep these warnings in place if we first check that at least one property is entered, but honestly I don't understand the logic, because the conditional statement below seems to render all this moot? Based on the conditional below, if you have 1 or 2 missing, then things fail. So the only allowed situation is 0 properties or all 3 properties. So why are we logging a warning above exactly?

@mseaton
Copy link
Member Author

mseaton commented Nov 7, 2024

After reviewing with @ibacher , I think we are going to table this in favor of deprecating this functionality and focusing on support for content packages. I'm going to close this out, though retain the right to reopen.

@mseaton mseaton closed this Nov 7, 2024
@mseaton mseaton reopened this Nov 8, 2024
@mseaton mseaton merged commit b4160cf into master Nov 8, 2024
4 checks passed
@mseaton mseaton deleted the SDK-306-1 branch November 8, 2024 00:39
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