Skip to content
This repository has been archived by the owner on Jul 22, 2021. It is now read-only.

NIFIREG-242 Two-way synchronization of git repository backed flows #166

Open
wants to merge 38 commits into
base: master
Choose a base branch
from

Conversation

DennisSeiffert
Copy link

This pull request solves NiFi registry ticket with the number #NIFIREG-242 .

The pull request introduces code changes concerning the gitflowpersistenceprovider and extends its behaviour by submitting new features like 'reset git repository', 'get latest changes' and a 'get status' functionality. The work is based on #NIFIREG-209 and uses the the metadata synchronization.

By capturing the new features in a new synchronization context (interface ProviderSynchronization), it may be possible to integrate other providers into the same concept of synchronization.

We did not squash the entire history because from our point of view it might be easier to review. Please let us know, if you prefer it otherwise.
We are already using this feature in a k8s production environment.

Cheers

Dennis Seiffert and others added 30 commits April 1, 2019 12:28
make the testLoadNonExistingDir- Test pass.
getLatestChangesOfRemoteRepository
@DennisSeiffert DennisSeiffert changed the title Nifireg 242 NIFIREG-242 Two-way synchronization of git repository backed flows Apr 2, 2019
@saggarsunil
Copy link

Hi, I am trying 2 way synchronization and it is not working for me. I made some changes to the local repo and just modifying the yaml file & json file [ for testing ] and it didn't reflect in the the registry GUI .. even after restarting. Do i need to do anything after that ?

@behrouz-s
Copy link

Hi, I am trying 2 way synchronization and it is not working for me. I made some changes to the local repo and just modifying the yaml file & json file [ for testing ] and it didn't reflect in the the registry GUI .. even after restarting. Do i need to do anything after that ?

Each registry has a metadata DB and a flow storage component which can be filesystem or git.So the metadata DB won't know about the stuff created in the other instance.

Multiple registry instances sharing Git repo

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants