Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
import org.apache.nifi.groups.RemoteProcessGroup;
import org.apache.nifi.processor.Relationship;
import org.apache.nifi.provenance.ProvenanceEventRecord;
import org.apache.nifi.registry.flow.RegisteredFlowSnapshotMetadata;
import org.apache.nifi.registry.flow.VersionControlInformation;
import org.apache.nifi.registry.flow.VersionedFlowState;
import org.apache.nifi.registry.flow.VersionedFlowStatus;
Expand Down Expand Up @@ -540,6 +541,12 @@ ProcessGroupStatus getGroupStatus(final ProcessGroup group, final RepositoryStat

final VersionControlInformation vci = group.getVersionControlInformation();
if (vci != null) {
final RegisteredFlowSnapshotMetadata registeredFlowSnapshotMetadata = new RegisteredFlowSnapshotMetadata();
registeredFlowSnapshotMetadata.setBranch(vci.getBranch());
registeredFlowSnapshotMetadata.setBucketIdentifier(vci.getBucketIdentifier());
registeredFlowSnapshotMetadata.setFlowIdentifier(vci.getFlowIdentifier());
registeredFlowSnapshotMetadata.setVersion(vci.getVersion());
status.setRegisteredFlowSnapshotMetadata(registeredFlowSnapshotMetadata);
try {
final VersionedFlowStatus flowStatus = vci.getStatus();
if (flowStatus != null && flowStatus.getState() != null) {
Expand Down
Loading