Fixing PTRENG-2606 , issue#392 for Artifactory 7.x #404
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The artifactoryMigrationHelper plugin is unusable in 7.x . There are multiple issues with the plugin now which I have explained with log snippets in PTRENG-2606 comment
2.With above change the plugin proceeds further but does not create the repos in the target JDP because "createRemoteArtifactoryRepo(repoKey, repoConfiguration)" API does not add "rclass":"local" in the json request and so fails with
So none of the local, remote and virtual repos are getting created in the target JPD
3. Then the Plugin continues to add the replication configuration to the local repos on the source JPD to the local repos in target JPD ( though these local repos were not created in target JPD )
The SolEng team do suggest using this plugin regularly to customers for DR setup based on KB JFROG ARTIFACTORY: Set up a Disaster Recovery(DR) Instance For Your JFrog Artifactory .
Hence please review this PR and resolve it after testing, so we can use the artifactoryMigrationHelper plugin in RT 7.x .