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

Save content only if it changed #1224

Merged
merged 1 commit into from
Jun 9, 2023

Conversation

madushadhanushka
Copy link
Contributor

Problem

When a new artifact is added or deleted from the Integration Studio, root pom.xml is always marked with a start which represents it contains modifications. But, removing or adding artifacts actually does not do any modification to the root pom file. Therefore, adding or removing artifacts should not do any modification to the root pom file.

Solution

In the current implementation, we always update the version, id, description, and group id every time if there are artifact addition or deletion. Save content only if there are changes. Otherwise, ignore it.

@madushadhanushka madushadhanushka merged commit 9e3f713 into wso2:main Jun 9, 2023
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