Search in sources :

Example 36 with VersionedProcessGroup

use of org.apache.nifi.registry.flow.VersionedProcessGroup in project nifi-registry by apache.

the class TestRegistryService method createVersionedProcessGroupA.

private VersionedProcessGroup createVersionedProcessGroupA() {
    VersionedProcessGroup root = new VersionedProcessGroup();
    root.setProcessGroups(new HashSet<>(Arrays.asList(createProcessGroup("ID-pg1"), createProcessGroup("ID-pg2"))));
    // Add processors
    root.setProcessors(new HashSet<>(Arrays.asList(createVersionedProcessor("ProcessorFirstV1"), createVersionedProcessor("ProcessorSecondV1"))));
    return root;
}
Also used : VersionedProcessGroup(org.apache.nifi.registry.flow.VersionedProcessGroup)

Aggregations

VersionedProcessGroup (org.apache.nifi.registry.flow.VersionedProcessGroup)36 VersionedFlowSnapshot (org.apache.nifi.registry.flow.VersionedFlowSnapshot)17 VersionedFlow (org.apache.nifi.registry.flow.VersionedFlow)13 VersionedFlowSnapshotMetadata (org.apache.nifi.registry.flow.VersionedFlowSnapshotMetadata)12 HashMap (java.util.HashMap)11 IOException (java.io.IOException)10 HashSet (java.util.HashSet)10 Set (java.util.Set)9 Bucket (org.apache.nifi.registry.bucket.Bucket)9 LinkedHashSet (java.util.LinkedHashSet)8 Collections (java.util.Collections)7 VersionedProcessor (org.apache.nifi.registry.flow.VersionedProcessor)7 ArrayList (java.util.ArrayList)6 Map (java.util.Map)6 Collectors (java.util.stream.Collectors)6 NiFiRegistryException (org.apache.nifi.registry.client.NiFiRegistryException)6 List (java.util.List)5 Optional (java.util.Optional)5 FlowRegistry (org.apache.nifi.registry.flow.FlowRegistry)5 StandardVersionControlInformation (org.apache.nifi.registry.flow.StandardVersionControlInformation)5