├── settings.gradle ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── src ├── main │ ├── AndroidManifest.xml │ └── java │ │ └── io │ │ └── swagger │ │ └── client │ │ ├── auth │ │ ├── OAuthFlow.java │ │ ├── Authentication.java │ │ ├── OAuth.java │ │ ├── HttpBasicAuth.java │ │ └── ApiKeyAuth.java │ │ ├── Configuration.java │ │ ├── Pair.java │ │ ├── model │ │ ├── ActionDetailsDTO.java │ │ ├── StreamingOutput.java │ │ └── ComponentDetailsDTO.java │ │ ├── ApiResponse.java │ │ └── StringUtil.java └── test │ └── java │ └── io │ └── swagger │ └── client │ └── api │ ├── ResourcesApiTest.java │ ├── SystemdiagnosticsApiTest.java │ ├── TemplatesApiTest.java │ ├── SitetositeApiTest.java │ └── CountersApiTest.java ├── docs ├── ActionDetailsDTO.md ├── StreamingOutput.md ├── ComponentDetailsDTO.md ├── FlowEntity.md ├── NodeEntity.md ├── AboutEntity.md ├── BannerEntity.md ├── ClusterEntity.md ├── CounterEntity.md ├── HistoryEntity.md ├── LineageEntity.md ├── PeersEntity.md ├── CountersEntity.md ├── LabelsEntity.md ├── SnippetEntity.md ├── ControllerEntity.md ├── FlowSnippetEntity.md ├── FunnelsEntity.md ├── ProvenanceEntity.md ├── DropRequestEntity.md ├── InputPortsEntity.md ├── ResourcesEntity.md ├── AccessStatusEntity.md ├── OutputPortsEntity.md ├── BulletinBoardEntity.md ├── ProcessorsEntity.md ├── SearchResultsEntity.md ├── UserGroupsEntity.md ├── ConnectionsEntity.md ├── ListingRequestEntity.md ├── ProvenanceEventEntity.md ├── AccessConfigurationEntity.md ├── ComponentHistoryEntity.md ├── ControllerStatusEntity.md ├── PositionDTO.md ├── ProcessorTypesEntity.md ├── PrioritizerTypesEntity.md ├── ProvenanceOptionsEntity.md ├── ReportingTasksEntity.md ├── SystemDiagnosticsEntity.md ├── BannerDTO.md ├── PropertyDescriptorEntity.md ├── AccessConfigurationDTO.md ├── ClusterSearchResultsEntity.md ├── ReportingTaskTypesEntity.md ├── FlowBreadcrumbDTO.md ├── ControllerServiceTypesEntity.md ├── UsersEntity.md ├── PropertyHistoryDTO.md ├── RemoteProcessGroupsEntity.md ├── ResourceDTO.md ├── FlowConfigurationEntity.md ├── QueueSizeDTO.md ├── TemplatesEntity.md ├── TransactionResultEntity.md ├── PortStatusEntity.md ├── ProvenanceOptionsDTO.md ├── NodeSearchResultDTO.md ├── StatusSnapshotDTO.md ├── DimensionsDTO.md ├── StatusHistoryEntity.md ├── AllowableValueEntity.md ├── PermissionsDTO.md ├── SubmitReplayRequestEntity.md ├── ProcessGroupStatusSnapshotEntity.md ├── ProcessorStatusEntity.md ├── ConnectionStatusEntity.md ├── ClusterDTO.md ├── ProcessGroupStatusEntity.md ├── CountersSnapshotDTO.md ├── AccessStatusDTO.md ├── AttributeDTO.md ├── ProcessGroupFlowEntity.md ├── ComponentHistoryDTO.md ├── ControllerServiceReferencingComponentsEntity.md ├── ControllerServicesEntity.md ├── NodeEventDTO.md ├── CreateTemplateRequestEntity.md ├── DocumentedTypeDTO.md ├── BulletinBoardDTO.md ├── PreviousValueDTO.md ├── RelationshipDTO.md ├── PortStatusSnapshotEntity.md ├── ControllerConfigurationDTO.md ├── FunnelDTO.md ├── AllowableValueDTO.md ├── HistoryDTO.md ├── ProcessorStatusSnapshotEntity.md ├── ActionEntity.md ├── ConnectionStatusSnapshotEntity.md ├── FlowBreadcrumbEntity.md ├── PeerDTO.md ├── ProvenanceSearchableFieldDTO.md ├── StateMapDTO.md ├── CounterDTO.md ├── StatusDescriptorDTO.md ├── RemoteProcessGroupContentsDTO.md ├── StateEntryDTO.md ├── LineageResultsDTO.md ├── RemoteProcessGroupStatusSnapshotEntity.md ├── TenantDTO.md ├── CopySnippetRequestEntity.md ├── NodeCountersSnapshotDTO.md ├── InstantiateTemplateRequestEntity.md ├── ComponentSearchResultDTO.md ├── GarbageCollectionDTO.md ├── NodePortStatusSnapshotDTO.md ├── BulletinEntity.md ├── AboutDTO.md ├── NodeProcessorStatusSnapshotDTO.md ├── NodeSystemDiagnosticsSnapshotDTO.md ├── NodeConnectionStatusSnapshotDTO.md ├── FlowConfigurationDTO.md ├── ComponentStateDTO.md ├── NodeProcessGroupStatusSnapshotDTO.md ├── NodeStatusSnapshotsDTO.md ├── ProvenanceLinkDTO.md ├── ControllerConfigurationEntity.md ├── ControllerBulletinsEntity.md ├── NodeRemoteProcessGroupStatusSnapshotDTO.md ├── CountersDTO.md ├── ScheduleComponentsEntity.md ├── SystemDiagnosticsDTO.md ├── ProcessGroupFlowDTO.md ├── UserGroupDTO.md ├── UpdateControllerServiceReferenceRequestEntity.md ├── AccessPolicySummaryDTO.md ├── TemplateDTO.md ├── UserDTO.md ├── RevisionDTO.md ├── LabelDTO.md ├── StorageUsageDTO.md ├── BulletinDTO.md ├── ProcessGroupStatusDTO.md ├── ProvenanceRequestDTO.md ├── UserEntity.md ├── FunnelEntity.md ├── TenantEntity.md ├── ProvenanceResultsDTO.md ├── TemplateEntity.md ├── LineageDTO.md ├── UserGroupEntity.md ├── ProvenanceDTO.md ├── CurrentUserEntity.md ├── ActionDTO.md ├── ReportingTaskEntity.md ├── ControllerServiceEntity.md ├── AccessPolicySummaryEntity.md ├── LabelEntity.md ├── RemoteProcessGroupPortEntity.md ├── AccessPolicyEntity.md ├── FlowFileSummaryDTO.md ├── ControllerServiceReferencingComponentEntity.md ├── LineageRequestDTO.md ├── PortEntity.md ├── AccessPolicyDTO.md ├── FlowDTO.md ├── ProcessorEntity.md ├── NodeDTO.md ├── RemoteProcessGroupPortDTO.md ├── ControllerStatusDTO.md ├── ConnectionStatusDTO.md ├── ProvenanceNodeDTO.md ├── PortStatusDTO.md ├── ProcessorStatusDTO.md ├── SearchResultsDTO.md ├── StatusHistoryDTO.md ├── FlowSnippetDTO.md ├── ResourcesApi.md ├── ConnectableDTO.md ├── PropertyDescriptorDTO.md ├── RemoteProcessGroupEntity.md ├── RemoteProcessGroupStatusDTO.md ├── PortStatusSnapshotDTO.md ├── ProcessGroupDTO.md ├── ListingRequestDTO.md ├── RemoteProcessGroupStatusSnapshotDTO.md ├── DropRequestDTO.md ├── PortDTO.md ├── ProcessGroupEntity.md ├── SystemdiagnosticsApi.md ├── ConnectionStatusSnapshotDTO.md ├── ControllerServiceReferencingComponentDTO.md ├── ControllerServiceDTO.md ├── ControllerDTO.md ├── ProcessorDTO.md ├── ConnectionDTO.md ├── ReportingTaskDTO.md ├── SitetositeApi.md ├── ProcessorStatusSnapshotDTO.md ├── RemoteProcessGroupDTO.md ├── TemplatesApi.md ├── SystemDiagnosticsSnapshotDTO.md ├── ProcessorConfigDTO.md └── ConnectionEntity.md ├── .gitignore ├── .travis.yml ├── .swagger-codegen-ignore ├── git_push.sh └── gradlew.bat /settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = "nifi-api-client-java" -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Uncomment to build for Android 2 | #target = android -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplesteph/nifi-api-client-java/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /docs/ActionDetailsDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # ActionDetailsDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /docs/StreamingOutput.md: -------------------------------------------------------------------------------- 1 | 2 | # StreamingOutput 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /docs/ComponentDetailsDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # ComponentDetailsDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /docs/FlowEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # FlowEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **flow** | [**FlowDTO**](FlowDTO.md) | | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/NodeEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # NodeEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **node** | [**NodeDTO**](NodeDTO.md) | | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/AboutEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # AboutEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **about** | [**AboutDTO**](AboutDTO.md) | | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/BannerEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # BannerEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **banners** | [**BannerDTO**](BannerDTO.md) | | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/ClusterEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # ClusterEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **cluster** | [**ClusterDTO**](ClusterDTO.md) | | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/CounterEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # CounterEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **counter** | [**CounterDTO**](CounterDTO.md) | | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/HistoryEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # HistoryEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **history** | [**HistoryDTO**](HistoryDTO.md) | | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/LineageEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # LineageEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **lineage** | [**LineageDTO**](LineageDTO.md) | | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/PeersEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # PeersEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **peers** | [**List<PeerDTO>**](PeerDTO.md) | | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/CountersEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # CountersEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **counters** | [**CountersDTO**](CountersDTO.md) | | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/LabelsEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # LabelsEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **labels** | [**List<LabelEntity>**](LabelEntity.md) | | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/SnippetEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # SnippetEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **snippet** | [**SnippetDTO**](SnippetDTO.md) | The snippet. | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/ControllerEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # ControllerEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **controller** | [**ControllerDTO**](ControllerDTO.md) | | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/FlowSnippetEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # FlowSnippetEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **contents** | [**FlowSnippetDTO**](FlowSnippetDTO.md) | | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/FunnelsEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # FunnelsEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **funnels** | [**List<FunnelEntity>**](FunnelEntity.md) | | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/ProvenanceEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # ProvenanceEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **provenance** | [**ProvenanceDTO**](ProvenanceDTO.md) | | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/DropRequestEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # DropRequestEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **dropRequest** | [**DropRequestDTO**](DropRequestDTO.md) | | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/InputPortsEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # InputPortsEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **inputPorts** | [**List<PortEntity>**](PortEntity.md) | | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/ResourcesEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # ResourcesEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **resources** | [**List<ResourceDTO>**](ResourceDTO.md) | | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/AccessStatusEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # AccessStatusEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **accessStatus** | [**AccessStatusDTO**](AccessStatusDTO.md) | | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/OutputPortsEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # OutputPortsEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **outputPorts** | [**List<PortEntity>**](PortEntity.md) | | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/BulletinBoardEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # BulletinBoardEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **bulletinBoard** | [**BulletinBoardDTO**](BulletinBoardDTO.md) | | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/ProcessorsEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # ProcessorsEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **processors** | [**List<ProcessorEntity>**](ProcessorEntity.md) | | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/SearchResultsEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # SearchResultsEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **searchResultsDTO** | [**SearchResultsDTO**](SearchResultsDTO.md) | | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/UserGroupsEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # UserGroupsEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **userGroups** | [**List<UserGroupEntity>**](UserGroupEntity.md) | | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Tue May 17 23:08:05 CST 2016 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.6-bin.zip 7 | -------------------------------------------------------------------------------- /docs/ConnectionsEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # ConnectionsEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **connections** | [**List<ConnectionEntity>**](ConnectionEntity.md) | | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/ListingRequestEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # ListingRequestEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **listingRequest** | [**ListingRequestDTO**](ListingRequestDTO.md) | | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/ProvenanceEventEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # ProvenanceEventEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **provenanceEvent** | [**ProvenanceEventDTO**](ProvenanceEventDTO.md) | | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/AccessConfigurationEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # AccessConfigurationEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **config** | [**AccessConfigurationDTO**](AccessConfigurationDTO.md) | | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/ComponentHistoryEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # ComponentHistoryEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **componentHistory** | [**ComponentHistoryDTO**](ComponentHistoryDTO.md) | | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/ControllerStatusEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # ControllerStatusEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **controllerStatus** | [**ControllerStatusDTO**](ControllerStatusDTO.md) | | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/PositionDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # PositionDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **x** | **Double** | The x coordinate. | [optional] 8 | **y** | **Double** | The y coordinate. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/ProcessorTypesEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # ProcessorTypesEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **processorTypes** | [**List<DocumentedTypeDTO>**](DocumentedTypeDTO.md) | | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/PrioritizerTypesEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # PrioritizerTypesEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **prioritizerTypes** | [**List<DocumentedTypeDTO>**](DocumentedTypeDTO.md) | | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/ProvenanceOptionsEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # ProvenanceOptionsEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **provenanceOptions** | [**ProvenanceOptionsDTO**](ProvenanceOptionsDTO.md) | | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/ReportingTasksEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # ReportingTasksEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **reportingTasks** | [**List<ReportingTaskEntity>**](ReportingTaskEntity.md) | | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/SystemDiagnosticsEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # SystemDiagnosticsEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **systemDiagnostics** | [**SystemDiagnosticsDTO**](SystemDiagnosticsDTO.md) | | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/BannerDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # BannerDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **headerText** | **String** | The header text. | [optional] 8 | **footerText** | **String** | The footer text. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/PropertyDescriptorEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # PropertyDescriptorEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **propertyDescriptor** | [**PropertyDescriptorDTO**](PropertyDescriptorDTO.md) | | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/AccessConfigurationDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # AccessConfigurationDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **supportsLogin** | **Boolean** | Indicates whether or not this NiFi supports user login. | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/ClusterSearchResultsEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # ClusterSearchResultsEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **nodeResults** | [**List<NodeSearchResultDTO>**](NodeSearchResultDTO.md) | | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/ReportingTaskTypesEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # ReportingTaskTypesEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **reportingTaskTypes** | [**List<DocumentedTypeDTO>**](DocumentedTypeDTO.md) | | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/FlowBreadcrumbDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # FlowBreadcrumbDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **String** | The id of the group. | [optional] 8 | **name** | **String** | The id of the group. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/ControllerServiceTypesEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # ControllerServiceTypesEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **controllerServiceTypes** | [**List<DocumentedTypeDTO>**](DocumentedTypeDTO.md) | | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/UsersEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # UsersEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **generated** | [**DateTime**](DateTime.md) | | [optional] 8 | **users** | [**List<UserEntity>**](UserEntity.md) | | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/PropertyHistoryDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # PropertyHistoryDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **previousValues** | [**List<PreviousValueDTO>**](PreviousValueDTO.md) | Previous values for a given property. | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/RemoteProcessGroupsEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # RemoteProcessGroupsEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **remoteProcessGroups** | [**List<RemoteProcessGroupEntity>**](RemoteProcessGroupEntity.md) | | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/ResourceDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # ResourceDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **identifier** | **String** | The identifier of the resource. | [optional] 8 | **name** | **String** | The name of the resource. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/FlowConfigurationEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # FlowConfigurationEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **flowConfiguration** | [**FlowConfigurationDTO**](FlowConfigurationDTO.md) | The controller configuration. | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/QueueSizeDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # QueueSizeDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **byteCount** | **Long** | The size of objects in a queue. | [optional] 8 | **objectCount** | **Integer** | The count of objects in a queue. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/TemplatesEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # TemplatesEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **templates** | [**List<TemplateEntity>**](TemplateEntity.md) | | [optional] 8 | **generated** | [**DateTime**](DateTime.md) | | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/TransactionResultEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # TransactionResultEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **flowFileSent** | **Integer** | | [optional] 8 | **responseCode** | **Integer** | | [optional] 9 | **message** | **String** | | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/PortStatusEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # PortStatusEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **portStatus** | [**PortStatusDTO**](PortStatusDTO.md) | | [optional] 8 | **canRead** | **Boolean** | Indicates whether the user can read a given resource. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/ProvenanceOptionsDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # ProvenanceOptionsDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **searchableFields** | [**List<ProvenanceSearchableFieldDTO>**](ProvenanceSearchableFieldDTO.md) | The available searchable field for the NiFi. | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/NodeSearchResultDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # NodeSearchResultDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **String** | The id of the node that matched the search. | [optional] 8 | **address** | **String** | The address of the node that matched the search. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/StatusSnapshotDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # StatusSnapshotDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **timestamp** | [**DateTime**](DateTime.md) | The timestamp of the snapshot. | [optional] 8 | **statusMetrics** | **Map<String, Long>** | The status metrics. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/DimensionsDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # DimensionsDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **width** | **Double** | The width of the label in pixels when at a 1:1 scale. | [optional] 8 | **height** | **Double** | The height of the label in pixels when at a 1:1 scale. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/StatusHistoryEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # StatusHistoryEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **statusHistory** | [**StatusHistoryDTO**](StatusHistoryDTO.md) | | [optional] 8 | **canRead** | **Boolean** | Indicates whether the user can read a given resource. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/AllowableValueEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # AllowableValueEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **allowableValue** | [**AllowableValueDTO**](AllowableValueDTO.md) | | [optional] 8 | **canRead** | **Boolean** | Indicates whether the user can read a given resource. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/PermissionsDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # PermissionsDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **canRead** | **Boolean** | Indicates whether the user can read a given resource. | [optional] 8 | **canWrite** | **Boolean** | Indicates whether the user can write a given resource. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/SubmitReplayRequestEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # SubmitReplayRequestEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **eventId** | **Long** | The event identifier | [optional] 8 | **clusterNodeId** | **String** | The identifier of the node where to submit the replay request. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/ProcessGroupStatusSnapshotEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # ProcessGroupStatusSnapshotEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **String** | The id of the process group. | [optional] 8 | **canRead** | **Boolean** | Indicates whether the user can read a given resource. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/ProcessorStatusEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # ProcessorStatusEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **processorStatus** | [**ProcessorStatusDTO**](ProcessorStatusDTO.md) | | [optional] 8 | **canRead** | **Boolean** | Indicates whether the user can read a given resource. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/ConnectionStatusEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # ConnectionStatusEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **connectionStatus** | [**ConnectionStatusDTO**](ConnectionStatusDTO.md) | | [optional] 8 | **canRead** | **Boolean** | Indicates whether the user can read a given resource. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Mobile Tools for Java (J2ME) 4 | .mtj.tmp/ 5 | 6 | # Package Files # 7 | *.jar 8 | *.war 9 | *.ear 10 | 11 | # exclude jar for gradle wrapper 12 | !gradle/wrapper/*.jar 13 | 14 | # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml 15 | hs_err_pid* 16 | 17 | # build files 18 | **/target 19 | target 20 | .gradle 21 | build 22 | 23 | .idea/ -------------------------------------------------------------------------------- /docs/ClusterDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # ClusterDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **nodes** | [**List<NodeDTO>**](NodeDTO.md) | The collection of nodes that are part of the cluster. | [optional] 8 | **generated** | [**DateTime**](DateTime.md) | The timestamp the report was generated. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/ProcessGroupStatusEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # ProcessGroupStatusEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **processGroupStatus** | [**ProcessGroupStatusDTO**](ProcessGroupStatusDTO.md) | | [optional] 8 | **canRead** | **Boolean** | Indicates whether the user can read a given resource. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/CountersSnapshotDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # CountersSnapshotDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **generated** | [**DateTime**](DateTime.md) | The timestamp when the report was generated. | [optional] 8 | **counters** | [**List<CounterDTO>**](CounterDTO.md) | All counters in the NiFi. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/AccessStatusDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # AccessStatusDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **identity** | **String** | The user identity. | [optional] 8 | **status** | **String** | The user access status. | [optional] 9 | **message** | **String** | Additional details about the user access status. | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/AttributeDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # AttributeDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **name** | **String** | The attribute name. | [optional] 8 | **value** | **String** | The attribute value. | [optional] 9 | **previousValue** | **String** | The value of the attribute before the event took place. | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/ProcessGroupFlowEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # ProcessGroupFlowEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **permissions** | [**PermissionsDTO**](PermissionsDTO.md) | The access policy for this process group. | [optional] 8 | **processGroupFlow** | [**ProcessGroupFlowDTO**](ProcessGroupFlowDTO.md) | | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/ComponentHistoryDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # ComponentHistoryDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **componentId** | **String** | The component id. | [optional] 8 | **propertyHistory** | [**Map<String, PropertyHistoryDTO>**](PropertyHistoryDTO.md) | The history for the properties of the component. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/ControllerServiceReferencingComponentsEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # ControllerServiceReferencingComponentsEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **controllerServiceReferencingComponents** | [**List<ControllerServiceReferencingComponentEntity>**](ControllerServiceReferencingComponentEntity.md) | | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/ControllerServicesEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # ControllerServicesEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **currentTime** | [**DateTime**](DateTime.md) | The current time on the system. | [optional] 8 | **controllerServices** | [**List<ControllerServiceEntity>**](ControllerServiceEntity.md) | | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/NodeEventDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # NodeEventDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **timestamp** | [**DateTime**](DateTime.md) | The timestamp of the node event. | [optional] 8 | **category** | **String** | The category of the node event. | [optional] 9 | **message** | **String** | The message in the node event. | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/CreateTemplateRequestEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # CreateTemplateRequestEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **name** | **String** | The name of the template. | [optional] 8 | **description** | **String** | The description of the template. | [optional] 9 | **snippetId** | **String** | The identifier of the snippet. | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/DocumentedTypeDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # DocumentedTypeDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **type** | **String** | The fulley qualified name of the type. | [optional] 8 | **description** | **String** | The description of the type. | [optional] 9 | **tags** | **List<String>** | The tags associated with this type. | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/BulletinBoardDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # BulletinBoardDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **bulletins** | [**List<BulletinEntity>**](BulletinEntity.md) | The bulletins in the bulletin board, that matches the supplied request. | [optional] 8 | **generated** | [**DateTime**](DateTime.md) | The timestamp when this report was generated. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/PreviousValueDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # PreviousValueDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **previousValue** | **String** | The previous value. | [optional] 8 | **timestamp** | [**DateTime**](DateTime.md) | The timestamp when the value was modified. | [optional] 9 | **userIdentity** | **String** | The user who changed the previous value. | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/RelationshipDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # RelationshipDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **name** | **String** | The relationship name. | [optional] 8 | **description** | **String** | The relationship description. | [optional] 9 | **autoTerminate** | **Boolean** | Whether or not flowfiles sent to this relationship should auto terminate. | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/PortStatusSnapshotEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # PortStatusSnapshotEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **String** | The id of the port. | [optional] 8 | **portStatusSnapshot** | [**PortStatusSnapshotDTO**](PortStatusSnapshotDTO.md) | | [optional] 9 | **canRead** | **Boolean** | Indicates whether the user can read a given resource. | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/ControllerConfigurationDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # ControllerConfigurationDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **maxTimerDrivenThreadCount** | **Integer** | The maimum number of timer driven threads the NiFi has available. | [optional] 8 | **maxEventDrivenThreadCount** | **Integer** | The maximum number of event driven threads the NiFi has avaiable. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/FunnelDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # FunnelDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **String** | The id of the component. | [optional] 8 | **parentGroupId** | **String** | The id of parent process group of this component if applicable. | [optional] 9 | **position** | [**PositionDTO**](PositionDTO.md) | The position of this component in the UI if applicable. | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/AllowableValueDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # AllowableValueDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **displayName** | **String** | A human readable value that is allowed for the property descriptor. | [optional] 8 | **value** | **String** | A value that is allowed for the property descriptor. | [optional] 9 | **description** | **String** | A description for this allowable value. | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/HistoryDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # HistoryDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **total** | **Integer** | The number of number of actions that matched the search criteria.. | [optional] 8 | **lastRefreshed** | [**DateTime**](DateTime.md) | The timestamp when the report was generated. | [optional] 9 | **actions** | [**List<ActionEntity>**](ActionEntity.md) | The actions. | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/ProcessorStatusSnapshotEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # ProcessorStatusSnapshotEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **String** | The id of the processor. | [optional] 8 | **processorStatusSnapshot** | [**ProcessorStatusSnapshotDTO**](ProcessorStatusSnapshotDTO.md) | | [optional] 9 | **canRead** | **Boolean** | Indicates whether the user can read a given resource. | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/ActionEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # ActionEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **Integer** | | [optional] 8 | **timestamp** | [**DateTime**](DateTime.md) | | [optional] 9 | **sourceId** | **String** | | [optional] 10 | **canRead** | **Boolean** | Indicates whether the user can read a given resource. | [optional] 11 | **action** | [**ActionDTO**](ActionDTO.md) | | [optional] 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/ConnectionStatusSnapshotEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # ConnectionStatusSnapshotEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **String** | The id of the connection. | [optional] 8 | **connectionStatusSnapshot** | [**ConnectionStatusSnapshotDTO**](ConnectionStatusSnapshotDTO.md) | | [optional] 9 | **canRead** | **Boolean** | Indicates whether the user can read a given resource. | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/FlowBreadcrumbEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # FlowBreadcrumbEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **String** | The id of this ancestor ProcessGroup. | [optional] 8 | **permissions** | [**PermissionsDTO**](PermissionsDTO.md) | The permissions for this ancestor ProcessGroup. | [optional] 9 | **breadcrumb** | [**FlowBreadcrumbDTO**](FlowBreadcrumbDTO.md) | This breadcrumb. | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/PeerDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # PeerDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **hostname** | **String** | The hostname of this peer. | [optional] 8 | **port** | **Integer** | The port number of this peer. | [optional] 9 | **secure** | **Boolean** | Returns if this peer connection is secure. | [optional] 10 | **flowFileCount** | **Integer** | The number of flowFiles this peer holds. | [optional] 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/ProvenanceSearchableFieldDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # ProvenanceSearchableFieldDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **String** | The id of the searchable field. | [optional] 8 | **field** | **String** | The searchable field. | [optional] 9 | **label** | **String** | The label for the searchable field. | [optional] 10 | **type** | **String** | The type of the searchable field. | [optional] 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/StateMapDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # StateMapDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **scope** | **String** | The scope of this StateMap. | [optional] 8 | **totalEntryCount** | **Integer** | The total number of state entries. When the state map is lengthy, only of portion of the entries are returned. | [optional] 9 | **state** | [**List<StateEntryDTO>**](StateEntryDTO.md) | The state. | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/CounterDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # CounterDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **String** | The id of the counter. | [optional] 8 | **context** | **String** | The context of the counter. | [optional] 9 | **name** | **String** | The name of the counter. | [optional] 10 | **valueCount** | **Long** | The value count. | [optional] 11 | **value** | **String** | The value of the counter. | [optional] 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/StatusDescriptorDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # StatusDescriptorDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **field** | **String** | The name of the status field. | [optional] 8 | **label** | **String** | The label for the status field. | [optional] 9 | **description** | **String** | The description of the status field. | [optional] 10 | **formatter** | **String** | The formatter for the status descriptor. | [optional] 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/RemoteProcessGroupContentsDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # RemoteProcessGroupContentsDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **inputPorts** | [**List<RemoteProcessGroupPortDTO>**](RemoteProcessGroupPortDTO.md) | The input ports to which data can be sent. | [optional] 8 | **outputPorts** | [**List<RemoteProcessGroupPortDTO>**](RemoteProcessGroupPortDTO.md) | The output ports from which data can be retrieved. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/StateEntryDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # StateEntryDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **key** | **String** | The key for this state. | [optional] 8 | **value** | **String** | The value for this state. | [optional] 9 | **clusterNodeId** | **String** | The identifier for the node where the state originated. | [optional] 10 | **clusterNodeAddress** | **String** | The label for the node where the state originated. | [optional] 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/LineageResultsDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # LineageResultsDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **errors** | **List<String>** | Any errors that occurred while generating the lineage. | [optional] 8 | **nodes** | [**List<ProvenanceNodeDTO>**](ProvenanceNodeDTO.md) | The nodes in the lineage. | [optional] 9 | **links** | [**List<ProvenanceLinkDTO>**](ProvenanceLinkDTO.md) | The links between the nodes in the lineage. | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/RemoteProcessGroupStatusSnapshotEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # RemoteProcessGroupStatusSnapshotEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **String** | The id of the remote processo group. | [optional] 8 | **remoteProcessGroupStatusSnapshot** | [**RemoteProcessGroupStatusSnapshotDTO**](RemoteProcessGroupStatusSnapshotDTO.md) | | [optional] 9 | **canRead** | **Boolean** | Indicates whether the user can read a given resource. | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/TenantDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # TenantDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **String** | The id of the component. | [optional] 8 | **parentGroupId** | **String** | The id of parent process group of this component if applicable. | [optional] 9 | **position** | [**PositionDTO**](PositionDTO.md) | The position of this component in the UI if applicable. | [optional] 10 | **identity** | **String** | The identity of the tenant. | [optional] 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/CopySnippetRequestEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # CopySnippetRequestEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **snippetId** | **String** | The identifier of the snippet. | [optional] 8 | **originX** | **Double** | The x coordinate of the origin of the bounding box where the new components will be placed. | [optional] 9 | **originY** | **Double** | The y coordinate of the origin of the bounding box where the new components will be placed. | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/NodeCountersSnapshotDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # NodeCountersSnapshotDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **nodeId** | **String** | The unique ID that identifies the node | [optional] 8 | **address** | **String** | The API address of the node | [optional] 9 | **apiPort** | **Integer** | The API port used to communicate with the node | [optional] 10 | **snapshot** | [**CountersSnapshotDTO**](CountersSnapshotDTO.md) | The counters from the node. | [optional] 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/InstantiateTemplateRequestEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # InstantiateTemplateRequestEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **templateId** | **String** | The identifier of the template. | [optional] 8 | **originX** | **Double** | The x coordinate of the origin of the bounding box where the new components will be placed. | [optional] 9 | **originY** | **Double** | The y coordinate of the origin of the bounding box where the new components will be placed. | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/ComponentSearchResultDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # ComponentSearchResultDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **String** | The id of the component that matched the search. | [optional] 8 | **groupId** | **String** | The group id of the component that matched the search. | [optional] 9 | **name** | **String** | The name of the component that matched the search. | [optional] 10 | **matches** | **List<String>** | What matched the search from the component. | [optional] 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/GarbageCollectionDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # GarbageCollectionDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **name** | **String** | The name of the garbage collector. | [optional] 8 | **collectionCount** | **Long** | The number of times garbage collection has run. | [optional] 9 | **collectionTime** | **String** | The total amount of time spent garbage collecting. | [optional] 10 | **collectionMillis** | **Long** | The total number of milliseconds spent garbage collecting. | [optional] 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/NodePortStatusSnapshotDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # NodePortStatusSnapshotDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **nodeId** | **String** | The unique ID that identifies the node | [optional] 8 | **address** | **String** | The API address of the node | [optional] 9 | **apiPort** | **Integer** | The API port used to communicate with the node | [optional] 10 | **statusSnapshot** | [**PortStatusSnapshotDTO**](PortStatusSnapshotDTO.md) | The port status snapshot from the node. | [optional] 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/BulletinEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # BulletinEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **Long** | | [optional] 8 | **groupId** | **String** | | [optional] 9 | **sourceId** | **String** | | [optional] 10 | **timestamp** | [**DateTime**](DateTime.md) | | [optional] 11 | **nodeAddress** | **String** | | [optional] 12 | **canRead** | **Boolean** | Indicates whether the user can read a given resource. | [optional] 13 | **bulletin** | [**BulletinDTO**](BulletinDTO.md) | | [optional] 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/AboutDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # AboutDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **title** | **String** | The title to be used on the page and in the about dialog. | [optional] 8 | **version** | **String** | The version of this NiFi. | [optional] 9 | **uri** | **String** | The URI for the NiFi. | [optional] 10 | **contentViewerUrl** | **String** | The URL for the content viewer if configured. | [optional] 11 | **timezone** | [**DateTime**](DateTime.md) | The timezone of the NiFi instance. | [optional] 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/NodeProcessorStatusSnapshotDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # NodeProcessorStatusSnapshotDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **nodeId** | **String** | The unique ID that identifies the node | [optional] 8 | **address** | **String** | The API address of the node | [optional] 9 | **apiPort** | **Integer** | The API port used to communicate with the node | [optional] 10 | **statusSnapshot** | [**ProcessorStatusSnapshotDTO**](ProcessorStatusSnapshotDTO.md) | The processor status snapshot from the node. | [optional] 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/NodeSystemDiagnosticsSnapshotDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # NodeSystemDiagnosticsSnapshotDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **nodeId** | **String** | The unique ID that identifies the node | [optional] 8 | **address** | **String** | The API address of the node | [optional] 9 | **apiPort** | **Integer** | The API port used to communicate with the node | [optional] 10 | **snapshot** | [**SystemDiagnosticsSnapshotDTO**](SystemDiagnosticsSnapshotDTO.md) | The System Diagnostics snapshot from the node. | [optional] 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/NodeConnectionStatusSnapshotDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # NodeConnectionStatusSnapshotDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **nodeId** | **String** | The unique ID that identifies the node | [optional] 8 | **address** | **String** | The API address of the node | [optional] 9 | **apiPort** | **Integer** | The API port used to communicate with the node | [optional] 10 | **statusSnapshot** | [**ConnectionStatusSnapshotDTO**](ConnectionStatusSnapshotDTO.md) | The connection status snapshot from the node. | [optional] 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/FlowConfigurationDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # FlowConfigurationDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **supportsConfigurableAuthorizer** | **Boolean** | Whether this NiFi supports a configurable authorizer. | [optional] 8 | **autoRefreshIntervalSeconds** | **Long** | The interval in seconds between the automatic NiFi refresh requests. | [optional] 9 | **currentTime** | [**DateTime**](DateTime.md) | The current time on the system. | [optional] 10 | **timeOffset** | **Integer** | The time offset of the system. | [optional] 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/ComponentStateDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # ComponentStateDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **componentId** | **String** | The component identifier. | [optional] 8 | **stateDescription** | **String** | Description of the state this component persists. | [optional] 9 | **clusterState** | [**StateMapDTO**](StateMapDTO.md) | The cluster state for this component, or null if this NiFi is a standalone instance. | [optional] 10 | **localState** | [**StateMapDTO**](StateMapDTO.md) | The local state for this component. | [optional] 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/NodeProcessGroupStatusSnapshotDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # NodeProcessGroupStatusSnapshotDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **nodeId** | **String** | The unique ID that identifies the node | [optional] 8 | **address** | **String** | The API address of the node | [optional] 9 | **apiPort** | **Integer** | The API port used to communicate with the node | [optional] 10 | **statusSnapshot** | [**ProcessGroupStatusSnapshotDTO**](ProcessGroupStatusSnapshotDTO.md) | The process group status snapshot from the node. | [optional] 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/NodeStatusSnapshotsDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # NodeStatusSnapshotsDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **nodeId** | **String** | The id of the node. | [optional] 8 | **address** | **String** | The node's host/ip address. | [optional] 9 | **apiPort** | **Integer** | The port the node is listening for API requests. | [optional] 10 | **statusSnapshots** | [**List<StatusSnapshotDTO>**](StatusSnapshotDTO.md) | A list of StatusSnapshotDTO objects that provide the actual metric values for the component for this node. | [optional] 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/ProvenanceLinkDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # ProvenanceLinkDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **sourceId** | **String** | The source node id of the link. | [optional] 8 | **targetId** | **String** | The target node id of the link. | [optional] 9 | **flowFileUuid** | **String** | The flowfile uuid that traversed the link. | [optional] 10 | **timestamp** | [**DateTime**](DateTime.md) | The timestamp of the link (based on the destination). | [optional] 11 | **millis** | **Long** | The timestamp of this link in milliseconds. | [optional] 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/ControllerConfigurationEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # ControllerConfigurationEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **revision** | [**RevisionDTO**](RevisionDTO.md) | The revision for this request/response. The revision is required for any mutable flow requests and is included in all responses. | [optional] 8 | **permissions** | [**PermissionsDTO**](PermissionsDTO.md) | The permissions for this component. | [optional] 9 | **component** | [**ControllerConfigurationDTO**](ControllerConfigurationDTO.md) | The controller configuration. | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/ControllerBulletinsEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # ControllerBulletinsEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **bulletins** | [**List<BulletinEntity>**](BulletinEntity.md) | System level bulletins to be reported to the user. | [optional] 8 | **controllerServiceBulletins** | [**List<BulletinEntity>**](BulletinEntity.md) | Controller service bulletins to be reported to the user. | [optional] 9 | **reportingTaskBulletins** | [**List<BulletinEntity>**](BulletinEntity.md) | Reporting task bulletins to be reported to the user. | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/NodeRemoteProcessGroupStatusSnapshotDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # NodeRemoteProcessGroupStatusSnapshotDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **nodeId** | **String** | The unique ID that identifies the node | [optional] 8 | **address** | **String** | The API address of the node | [optional] 9 | **apiPort** | **Integer** | The API port used to communicate with the node | [optional] 10 | **statusSnapshot** | [**RemoteProcessGroupStatusSnapshotDTO**](RemoteProcessGroupStatusSnapshotDTO.md) | The remote process group status snapshot from the node. | [optional] 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/CountersDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # CountersDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **aggregateSnapshot** | [**CountersSnapshotDTO**](CountersSnapshotDTO.md) | A Counters snapshot that represents the aggregate values of all nodes in the cluster. If the NiFi instance is a standalone instance, rather than a cluster, this represents the stats of the single instance. | [optional] 8 | **nodeSnapshots** | [**List<NodeCountersSnapshotDTO>**](NodeCountersSnapshotDTO.md) | A Counters snapshot for each node in the cluster. If the NiFi instance is a standalone instance, rather than a cluster, this may be null. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/ScheduleComponentsEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # ScheduleComponentsEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **String** | The id of the ProcessGroup | [optional] 8 | **state** | [**StateEnum**](#StateEnum) | The desired state of the descendant components | [optional] 9 | **components** | [**Map<String, RevisionDTO>**](RevisionDTO.md) | Optional components to schedule. If not specified, all authorized descendant components will be used. | [optional] 10 | 11 | 12 | 13 | ## Enum: StateEnum 14 | Name | Value 15 | ---- | ----- 16 | RUNNING | "RUNNING" 17 | STOPPED | "STOPPED" 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /docs/SystemDiagnosticsDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # SystemDiagnosticsDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **aggregateSnapshot** | [**SystemDiagnosticsSnapshotDTO**](SystemDiagnosticsSnapshotDTO.md) | A systems diagnostic snapshot that represents the aggregate values of all nodes in the cluster. If the NiFi instance is a standalone instance, rather than a cluster, this represents the stats of the single instance. | [optional] 8 | **nodeSnapshots** | [**List<NodeSystemDiagnosticsSnapshotDTO>**](NodeSystemDiagnosticsSnapshotDTO.md) | A systems diagnostics snapshot for each node in the cluster. If the NiFi instance is a standalone instance, rather than a cluster, this may be null. | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/ProcessGroupFlowDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # ProcessGroupFlowDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **String** | The id of the component. | [optional] 8 | **uri** | **String** | The URI for futures requests to the component. | [optional] 9 | **parentGroupId** | **String** | The id of parent process group of this component if applicable. | [optional] 10 | **breadcrumb** | [**FlowBreadcrumbEntity**](FlowBreadcrumbEntity.md) | The breadcrumb of the process group. | [optional] 11 | **flow** | [**FlowDTO**](FlowDTO.md) | The flow structure starting at this Process Group. | [optional] 12 | **lastRefreshed** | [**DateTime**](DateTime.md) | The time the flow for the process group was last refreshed. | [optional] 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/UserGroupDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # UserGroupDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **String** | The id of the component. | [optional] 8 | **parentGroupId** | **String** | The id of parent process group of this component if applicable. | [optional] 9 | **position** | [**PositionDTO**](PositionDTO.md) | The position of this component in the UI if applicable. | [optional] 10 | **identity** | **String** | The identity of the tenant. | [optional] 11 | **users** | [**List<TenantEntity>**](TenantEntity.md) | The users that belong to the user group. | [optional] 12 | **accessPolicies** | [**List<AccessPolicyEntity>**](AccessPolicyEntity.md) | The access policies this user group belongs to. | [optional] 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/UpdateControllerServiceReferenceRequestEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # UpdateControllerServiceReferenceRequestEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **String** | The identifier of the Controller Service. | [optional] 8 | **state** | [**StateEnum**](#StateEnum) | The new state of the references for the controller service. | [optional] 9 | **referencingComponentRevisions** | [**Map<String, RevisionDTO>**](RevisionDTO.md) | The revisions for all referencing components. | [optional] 10 | 11 | 12 | 13 | ## Enum: StateEnum 14 | Name | Value 15 | ---- | ----- 16 | ENABLED | "ENABLED" 17 | DISABLED | "DISABLED" 18 | RUNNING | "RUNNING" 19 | STOPPED | "STOPPED" 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /docs/AccessPolicySummaryDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # AccessPolicySummaryDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **String** | The id of the component. | [optional] 8 | **parentGroupId** | **String** | The id of parent process group of this component if applicable. | [optional] 9 | **position** | [**PositionDTO**](PositionDTO.md) | The position of this component in the UI if applicable. | [optional] 10 | **resource** | **String** | The resource for this access policy. | [optional] 11 | **action** | [**ActionEnum**](#ActionEnum) | The action associated with this access policy. | [optional] 12 | 13 | 14 | 15 | ## Enum: ActionEnum 16 | Name | Value 17 | ---- | ----- 18 | READ | "READ" 19 | WRITE | "WRITE" 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /docs/TemplateDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # TemplateDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **uri** | **String** | The URI for the template. | [optional] 8 | **id** | **String** | The id of the template. | [optional] 9 | **groupId** | **String** | The id of the Process Group that the template belongs to. | [optional] 10 | **name** | **String** | The name of the template. | [optional] 11 | **description** | **String** | The description of the template. | [optional] 12 | **timestamp** | [**DateTime**](DateTime.md) | The timestamp when this template was created. | [optional] 13 | **encodingVersion** | **String** | The encoding version of this template. | [optional] 14 | **snippet** | [**FlowSnippetDTO**](FlowSnippetDTO.md) | The contents of the template. | [optional] 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/UserDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # UserDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **String** | The id of the component. | [optional] 8 | **parentGroupId** | **String** | The id of parent process group of this component if applicable. | [optional] 9 | **position** | [**PositionDTO**](PositionDTO.md) | The position of this component in the UI if applicable. | [optional] 10 | **identity** | **String** | The identity of the tenant. | [optional] 11 | **userGroups** | [**List<TenantEntity>**](TenantEntity.md) | The groups to which the user belongs. This field is read only and it provided for convenience. | [optional] 12 | **accessPolicies** | [**List<AccessPolicySummaryEntity>**](AccessPolicySummaryEntity.md) | The access policies this user belongs to. | [optional] 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/RevisionDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # RevisionDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **clientId** | **String** | A client identifier used to make a request. By including a client identifier, the API can allow multiple requests without needing the current revision. Due to the asynchronous nature of requests/responses this was implemented to allow the client to make numerous requests without having to wait for the previous response to come back | [optional] 8 | **version** | **Long** | NiFi employs an optimistic locking strategy where the client must include a revision in their request when performing an update. In a response to a mutable flow request, this field represents the updated base version. | [optional] 9 | **lastModifier** | **String** | The user that last modified the flow. | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/LabelDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # LabelDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **String** | The id of the component. | [optional] 8 | **parentGroupId** | **String** | The id of parent process group of this component if applicable. | [optional] 9 | **position** | [**PositionDTO**](PositionDTO.md) | The position of this component in the UI if applicable. | [optional] 10 | **label** | **String** | The text that appears in the label. | [optional] 11 | **width** | **Double** | The width of the label in pixels when at a 1:1 scale. | [optional] 12 | **height** | **Double** | The height of the label in pixels when at a 1:1 scale. | [optional] 13 | **style** | **Map<String, String>** | The styles for this label (font-size => 12px, background-color => #eee, etc). | [optional] 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/StorageUsageDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # StorageUsageDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **identifier** | **String** | The identifier of this storage location. The identifier will correspond to the identifier keyed in the storage configuration. | [optional] 8 | **freeSpace** | **String** | Amount of free space. | [optional] 9 | **totalSpace** | **String** | Amount of total space. | [optional] 10 | **usedSpace** | **String** | Amount of used space. | [optional] 11 | **freeSpaceBytes** | **Long** | The number of bytes of free space. | [optional] 12 | **totalSpaceBytes** | **Long** | The number of bytes of total space. | [optional] 13 | **usedSpaceBytes** | **Long** | The number of bytes of used space. | [optional] 14 | **utilization** | **String** | Utilization of this storage location. | [optional] 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/BulletinDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # BulletinDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **Long** | The id of the bulletin. | [optional] 8 | **nodeAddress** | **String** | If clustered, the address of the node from which the bulletin originated. | [optional] 9 | **category** | **String** | The catagory of this bulletin. | [optional] 10 | **groupId** | **String** | The group id of the source component. | [optional] 11 | **sourceId** | **String** | The id of the source component. | [optional] 12 | **sourceName** | **String** | The name of the source component. | [optional] 13 | **level** | **String** | The level of the bulletin. | [optional] 14 | **message** | **String** | The bulletin message. | [optional] 15 | **timestamp** | [**DateTime**](DateTime.md) | When this bulletin was generated. | [optional] 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /docs/ProcessGroupStatusDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # ProcessGroupStatusDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **String** | The ID of the Process Group | [optional] 8 | **name** | **String** | The name of the Process Group | [optional] 9 | **statsLastRefreshed** | [**DateTime**](DateTime.md) | The time the status for the process group was last refreshed. | [optional] 10 | **aggregateSnapshot** | [**ProcessGroupStatusSnapshotDTO**](ProcessGroupStatusSnapshotDTO.md) | The aggregate status of all nodes in the cluster | [optional] 11 | **nodeSnapshots** | [**List<NodeProcessGroupStatusSnapshotDTO>**](NodeProcessGroupStatusSnapshotDTO.md) | The status reported by each node in the cluster. If the NiFi instance is a standalone instance, rather than a clustered instance, this value may be null. | [optional] 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/ProvenanceRequestDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # ProvenanceRequestDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **searchTerms** | **Map<String, String>** | The search terms used to perform the search. | [optional] 8 | **clusterNodeId** | **String** | The id of the node in the cluster where this provenance originated. | [optional] 9 | **startDate** | [**DateTime**](DateTime.md) | The earliest event time to include in the query. | [optional] 10 | **endDate** | [**DateTime**](DateTime.md) | The latest event time to include in the query. | [optional] 11 | **minimumFileSize** | **String** | The minimum file size to include in the query. | [optional] 12 | **maximumFileSize** | **String** | The maximum file size to include in the query. | [optional] 13 | **maxResults** | **Integer** | The maximum number of results to include. | [optional] 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/UserEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # UserEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **revision** | [**RevisionDTO**](RevisionDTO.md) | The revision for this request/response. The revision is required for any mutable flow requests and is included in all responses. | [optional] 8 | **id** | **String** | The id of the component. | [optional] 9 | **uri** | **String** | The URI for futures requests to the component. | [optional] 10 | **position** | [**PositionDTO**](PositionDTO.md) | The position of this component in the UI if applicable. | [optional] 11 | **permissions** | [**PermissionsDTO**](PermissionsDTO.md) | The permissions for this component. | [optional] 12 | **bulletins** | [**List<BulletinEntity>**](BulletinEntity.md) | The bulletins for this component. | [optional] 13 | **component** | [**UserDTO**](UserDTO.md) | | [optional] 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/FunnelEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # FunnelEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **revision** | [**RevisionDTO**](RevisionDTO.md) | The revision for this request/response. The revision is required for any mutable flow requests and is included in all responses. | [optional] 8 | **id** | **String** | The id of the component. | [optional] 9 | **uri** | **String** | The URI for futures requests to the component. | [optional] 10 | **position** | [**PositionDTO**](PositionDTO.md) | The position of this component in the UI if applicable. | [optional] 11 | **permissions** | [**PermissionsDTO**](PermissionsDTO.md) | The permissions for this component. | [optional] 12 | **bulletins** | [**List<BulletinEntity>**](BulletinEntity.md) | The bulletins for this component. | [optional] 13 | **component** | [**FunnelDTO**](FunnelDTO.md) | | [optional] 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/TenantEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # TenantEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **revision** | [**RevisionDTO**](RevisionDTO.md) | The revision for this request/response. The revision is required for any mutable flow requests and is included in all responses. | [optional] 8 | **id** | **String** | The id of the component. | [optional] 9 | **uri** | **String** | The URI for futures requests to the component. | [optional] 10 | **position** | [**PositionDTO**](PositionDTO.md) | The position of this component in the UI if applicable. | [optional] 11 | **permissions** | [**PermissionsDTO**](PermissionsDTO.md) | The permissions for this component. | [optional] 12 | **bulletins** | [**List<BulletinEntity>**](BulletinEntity.md) | The bulletins for this component. | [optional] 13 | **component** | [**TenantDTO**](TenantDTO.md) | | [optional] 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/ProvenanceResultsDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # ProvenanceResultsDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **provenanceEvents** | [**List<ProvenanceEventDTO>**](ProvenanceEventDTO.md) | The provenance events that matched the search criteria. | [optional] 8 | **total** | **String** | The total number of results formatted. | [optional] 9 | **totalCount** | **Long** | The total number of results. | [optional] 10 | **generated** | [**DateTime**](DateTime.md) | Then the search was performed. | [optional] 11 | **oldestEvent** | [**DateTime**](DateTime.md) | The oldest event available in the provenance repository. | [optional] 12 | **timeOffset** | **Integer** | The time offset of the server that's used for event time. | [optional] 13 | **errors** | **List<String>** | Any errors that occurred while performing the provenance request. | [optional] 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/TemplateEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # TemplateEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **revision** | [**RevisionDTO**](RevisionDTO.md) | The revision for this request/response. The revision is required for any mutable flow requests and is included in all responses. | [optional] 8 | **id** | **String** | The id of the component. | [optional] 9 | **uri** | **String** | The URI for futures requests to the component. | [optional] 10 | **position** | [**PositionDTO**](PositionDTO.md) | The position of this component in the UI if applicable. | [optional] 11 | **permissions** | [**PermissionsDTO**](PermissionsDTO.md) | The permissions for this component. | [optional] 12 | **bulletins** | [**List<BulletinEntity>**](BulletinEntity.md) | The bulletins for this component. | [optional] 13 | **template** | [**TemplateDTO**](TemplateDTO.md) | | [optional] 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/LineageDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # LineageDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **String** | The id of this lineage query. | [optional] 8 | **uri** | **String** | The URI for this lineage query for later retrieval and deletion. | [optional] 9 | **submissionTime** | [**DateTime**](DateTime.md) | When the lineage query was submitted. | [optional] 10 | **expiration** | [**DateTime**](DateTime.md) | When the lineage query will expire. | [optional] 11 | **percentCompleted** | **Integer** | The percent complete for the lineage query. | [optional] 12 | **finished** | **Boolean** | Whether the lineage query has finished. | [optional] 13 | **request** | [**LineageRequestDTO**](LineageRequestDTO.md) | The initial lineage result. | [optional] 14 | **results** | [**LineageResultsDTO**](LineageResultsDTO.md) | The results of the lineage query. | [optional] 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/UserGroupEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # UserGroupEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **revision** | [**RevisionDTO**](RevisionDTO.md) | The revision for this request/response. The revision is required for any mutable flow requests and is included in all responses. | [optional] 8 | **id** | **String** | The id of the component. | [optional] 9 | **uri** | **String** | The URI for futures requests to the component. | [optional] 10 | **position** | [**PositionDTO**](PositionDTO.md) | The position of this component in the UI if applicable. | [optional] 11 | **permissions** | [**PermissionsDTO**](PermissionsDTO.md) | The permissions for this component. | [optional] 12 | **bulletins** | [**List<BulletinEntity>**](BulletinEntity.md) | The bulletins for this component. | [optional] 13 | **component** | [**UserGroupDTO**](UserGroupDTO.md) | | [optional] 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/ProvenanceDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # ProvenanceDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **String** | The id of the provenance query. | [optional] 8 | **uri** | **String** | The URI for this query. Used for obtaining/deleting the request at a later time | [optional] 9 | **submissionTime** | [**DateTime**](DateTime.md) | The timestamp when the query was submitted. | [optional] 10 | **expiration** | [**DateTime**](DateTime.md) | The timestamp when the query will expire. | [optional] 11 | **percentCompleted** | **Integer** | The current percent complete. | [optional] 12 | **finished** | **Boolean** | Whether the query has finished. | [optional] 13 | **request** | [**ProvenanceRequestDTO**](ProvenanceRequestDTO.md) | The provenance request. | [optional] 14 | **results** | [**ProvenanceResultsDTO**](ProvenanceResultsDTO.md) | The provenance results. | [optional] 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/CurrentUserEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # CurrentUserEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **identity** | **String** | The user identity being serialized. | [optional] 8 | **anonymous** | **Boolean** | Whether the current user is anonymous. | [optional] 9 | **provenancePermissions** | [**PermissionsDTO**](PermissionsDTO.md) | Permissions for querying provenance. | [optional] 10 | **countersPermissions** | [**PermissionsDTO**](PermissionsDTO.md) | Permissions for accessing counters. | [optional] 11 | **tenantsPermissions** | [**PermissionsDTO**](PermissionsDTO.md) | Permissions for accessing tenants. | [optional] 12 | **controllerPermissions** | [**PermissionsDTO**](PermissionsDTO.md) | Permissions for accessing the controller. | [optional] 13 | **policiesPermissions** | [**PermissionsDTO**](PermissionsDTO.md) | Permissions for accessing the policies. | [optional] 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/ActionDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # ActionDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **Integer** | The action id. | [optional] 8 | **userIdentity** | **String** | The identity of the user that performed the action. | [optional] 9 | **timestamp** | [**DateTime**](DateTime.md) | The timestamp of the action. | [optional] 10 | **sourceId** | **String** | The id of the source component. | [optional] 11 | **sourceName** | **String** | The name of the source component. | [optional] 12 | **sourceType** | **String** | The type of the source component. | [optional] 13 | **componentDetails** | [**ComponentDetailsDTO**](ComponentDetailsDTO.md) | The details of the source component. | [optional] 14 | **operation** | **String** | The operation that was performed. | [optional] 15 | **actionDetails** | [**ActionDetailsDTO**](ActionDetailsDTO.md) | The details of the action. | [optional] 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /docs/ReportingTaskEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # ReportingTaskEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **revision** | [**RevisionDTO**](RevisionDTO.md) | The revision for this request/response. The revision is required for any mutable flow requests and is included in all responses. | [optional] 8 | **id** | **String** | The id of the component. | [optional] 9 | **uri** | **String** | The URI for futures requests to the component. | [optional] 10 | **position** | [**PositionDTO**](PositionDTO.md) | The position of this component in the UI if applicable. | [optional] 11 | **permissions** | [**PermissionsDTO**](PermissionsDTO.md) | The permissions for this component. | [optional] 12 | **bulletins** | [**List<BulletinEntity>**](BulletinEntity.md) | The bulletins for this component. | [optional] 13 | **component** | [**ReportingTaskDTO**](ReportingTaskDTO.md) | | [optional] 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/ControllerServiceEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # ControllerServiceEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **revision** | [**RevisionDTO**](RevisionDTO.md) | The revision for this request/response. The revision is required for any mutable flow requests and is included in all responses. | [optional] 8 | **id** | **String** | The id of the component. | [optional] 9 | **uri** | **String** | The URI for futures requests to the component. | [optional] 10 | **position** | [**PositionDTO**](PositionDTO.md) | The position of this component in the UI if applicable. | [optional] 11 | **permissions** | [**PermissionsDTO**](PermissionsDTO.md) | The permissions for this component. | [optional] 12 | **bulletins** | [**List<BulletinEntity>**](BulletinEntity.md) | The bulletins for this component. | [optional] 13 | **component** | [**ControllerServiceDTO**](ControllerServiceDTO.md) | | [optional] 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/AccessPolicySummaryEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # AccessPolicySummaryEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **revision** | [**RevisionDTO**](RevisionDTO.md) | The revision for this request/response. The revision is required for any mutable flow requests and is included in all responses. | [optional] 8 | **id** | **String** | The id of the component. | [optional] 9 | **uri** | **String** | The URI for futures requests to the component. | [optional] 10 | **position** | [**PositionDTO**](PositionDTO.md) | The position of this component in the UI if applicable. | [optional] 11 | **permissions** | [**PermissionsDTO**](PermissionsDTO.md) | The permissions for this component. | [optional] 12 | **bulletins** | [**List<BulletinEntity>**](BulletinEntity.md) | The bulletins for this component. | [optional] 13 | **component** | [**AccessPolicySummaryDTO**](AccessPolicySummaryDTO.md) | | [optional] 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/LabelEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # LabelEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **revision** | [**RevisionDTO**](RevisionDTO.md) | The revision for this request/response. The revision is required for any mutable flow requests and is included in all responses. | [optional] 8 | **id** | **String** | The id of the component. | [optional] 9 | **uri** | **String** | The URI for futures requests to the component. | [optional] 10 | **position** | [**PositionDTO**](PositionDTO.md) | The position of this component in the UI if applicable. | [optional] 11 | **permissions** | [**PermissionsDTO**](PermissionsDTO.md) | The permissions for this component. | [optional] 12 | **bulletins** | [**List<BulletinEntity>**](BulletinEntity.md) | The bulletins for this component. | [optional] 13 | **dimensions** | [**DimensionsDTO**](DimensionsDTO.md) | | [optional] 14 | **component** | [**LabelDTO**](LabelDTO.md) | | [optional] 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/RemoteProcessGroupPortEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # RemoteProcessGroupPortEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **revision** | [**RevisionDTO**](RevisionDTO.md) | The revision for this request/response. The revision is required for any mutable flow requests and is included in all responses. | [optional] 8 | **id** | **String** | The id of the component. | [optional] 9 | **uri** | **String** | The URI for futures requests to the component. | [optional] 10 | **position** | [**PositionDTO**](PositionDTO.md) | The position of this component in the UI if applicable. | [optional] 11 | **permissions** | [**PermissionsDTO**](PermissionsDTO.md) | The permissions for this component. | [optional] 12 | **bulletins** | [**List<BulletinEntity>**](BulletinEntity.md) | The bulletins for this component. | [optional] 13 | **remoteProcessGroupPort** | [**RemoteProcessGroupPortDTO**](RemoteProcessGroupPortDTO.md) | | [optional] 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # 2 | # Generated by: https://github.com/swagger-api/swagger-codegen.git 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | language: java 17 | jdk: 18 | - oraclejdk8 19 | - oraclejdk7 20 | before_install: 21 | # ensure gradlew has proper permission 22 | - chmod a+x ./gradlew 23 | script: 24 | # test using maven 25 | - mvn test 26 | # uncomment below to test using gradle 27 | # - gradle test 28 | # uncomment below to test using sbt 29 | # - sbt test 30 | -------------------------------------------------------------------------------- /docs/AccessPolicyEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # AccessPolicyEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **revision** | [**RevisionDTO**](RevisionDTO.md) | The revision for this request/response. The revision is required for any mutable flow requests and is included in all responses. | [optional] 8 | **id** | **String** | The id of the component. | [optional] 9 | **uri** | **String** | The URI for futures requests to the component. | [optional] 10 | **position** | [**PositionDTO**](PositionDTO.md) | The position of this component in the UI if applicable. | [optional] 11 | **permissions** | [**PermissionsDTO**](PermissionsDTO.md) | The permissions for this component. | [optional] 12 | **bulletins** | [**List<BulletinEntity>**](BulletinEntity.md) | The bulletins for this component. | [optional] 13 | **generated** | [**DateTime**](DateTime.md) | | [optional] 14 | **component** | [**AccessPolicyDTO**](AccessPolicyDTO.md) | | [optional] 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/FlowFileSummaryDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # FlowFileSummaryDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **uri** | **String** | The URI that can be used to access this FlowFile. | [optional] 8 | **uuid** | **String** | The FlowFile UUID. | [optional] 9 | **filename** | **String** | The FlowFile filename. | [optional] 10 | **position** | **Integer** | The FlowFile's position in the queue. | [optional] 11 | **size** | **Long** | The FlowFile file size. | [optional] 12 | **queuedDuration** | **Long** | How long this FlowFile has been enqueued. | [optional] 13 | **lineageDuration** | **Long** | Duration since the FlowFile's greatest ancestor entered the flow. | [optional] 14 | **clusterNodeId** | **String** | The id of the node where this FlowFile resides. | [optional] 15 | **clusterNodeAddress** | **String** | The label for the node where this FlowFile resides. | [optional] 16 | **penalized** | **Boolean** | If the FlowFile is penalized. | [optional] 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /docs/ControllerServiceReferencingComponentEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # ControllerServiceReferencingComponentEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **revision** | [**RevisionDTO**](RevisionDTO.md) | The revision for this request/response. The revision is required for any mutable flow requests and is included in all responses. | [optional] 8 | **id** | **String** | The id of the component. | [optional] 9 | **uri** | **String** | The URI for futures requests to the component. | [optional] 10 | **position** | [**PositionDTO**](PositionDTO.md) | The position of this component in the UI if applicable. | [optional] 11 | **permissions** | [**PermissionsDTO**](PermissionsDTO.md) | The permissions for this component. | [optional] 12 | **bulletins** | [**List<BulletinEntity>**](BulletinEntity.md) | The bulletins for this component. | [optional] 13 | **component** | [**ControllerServiceReferencingComponentDTO**](ControllerServiceReferencingComponentDTO.md) | | [optional] 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/LineageRequestDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # LineageRequestDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **eventId** | **Long** | | [optional] 8 | **lineageRequestType** | [**LineageRequestTypeEnum**](#LineageRequestTypeEnum) | The type of lineage request. PARENTS will return the lineage for the flowfiles that are parents of the specified event. CHILDREN will return the lineage for the flowfiles that are children of the specified event. FLOWFILE will return the lineage for the specified flowfile. | [optional] 9 | **uuid** | **String** | The uuid that was used to generate the lineage. | [optional] 10 | **clusterNodeId** | **String** | The id of the node where this lineage originated if clustered. | [optional] 11 | 12 | 13 | 14 | ## Enum: LineageRequestTypeEnum 15 | Name | Value 16 | ---- | ----- 17 | PARENTS | "PARENTS" 18 | CHILDREN | "CHILDREN" 19 | FLOWFILE | "FLOWFILE" 20 | AND_FLOWFILE | "and FLOWFILE" 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /docs/PortEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # PortEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **revision** | [**RevisionDTO**](RevisionDTO.md) | The revision for this request/response. The revision is required for any mutable flow requests and is included in all responses. | [optional] 8 | **id** | **String** | The id of the component. | [optional] 9 | **uri** | **String** | The URI for futures requests to the component. | [optional] 10 | **position** | [**PositionDTO**](PositionDTO.md) | The position of this component in the UI if applicable. | [optional] 11 | **permissions** | [**PermissionsDTO**](PermissionsDTO.md) | The permissions for this component. | [optional] 12 | **bulletins** | [**List<BulletinEntity>**](BulletinEntity.md) | The bulletins for this component. | [optional] 13 | **component** | [**PortDTO**](PortDTO.md) | | [optional] 14 | **status** | [**PortStatusDTO**](PortStatusDTO.md) | The status of the port. | [optional] 15 | **portType** | **String** | | [optional] 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /docs/AccessPolicyDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # AccessPolicyDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **String** | The id of the component. | [optional] 8 | **parentGroupId** | **String** | The id of parent process group of this component if applicable. | [optional] 9 | **position** | [**PositionDTO**](PositionDTO.md) | The position of this component in the UI if applicable. | [optional] 10 | **resource** | **String** | The resource for this access policy. | [optional] 11 | **action** | [**ActionEnum**](#ActionEnum) | The action associated with this access policy. | [optional] 12 | **users** | [**List<TenantEntity>**](TenantEntity.md) | The set of user IDs associated with this access policy. | [optional] 13 | **userGroups** | [**List<TenantEntity>**](TenantEntity.md) | The set of user group IDs associated with this access policy. | [optional] 14 | 15 | 16 | 17 | ## Enum: ActionEnum 18 | Name | Value 19 | ---- | ----- 20 | READ | "READ" 21 | WRITE | "WRITE" 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /docs/FlowDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # FlowDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **processGroups** | [**List<ProcessGroupEntity>**](ProcessGroupEntity.md) | The process groups in this flow. | [optional] 8 | **remoteProcessGroups** | [**List<RemoteProcessGroupEntity>**](RemoteProcessGroupEntity.md) | The remote process groups in this flow. | [optional] 9 | **processors** | [**List<ProcessorEntity>**](ProcessorEntity.md) | The processors in this flow. | [optional] 10 | **inputPorts** | [**List<PortEntity>**](PortEntity.md) | The input ports in this flow. | [optional] 11 | **outputPorts** | [**List<PortEntity>**](PortEntity.md) | The output ports in this flow. | [optional] 12 | **connections** | [**List<ConnectionEntity>**](ConnectionEntity.md) | The connections in this flow. | [optional] 13 | **labels** | [**List<LabelEntity>**](LabelEntity.md) | The labels in this flow. | [optional] 14 | **funnels** | [**List<FunnelEntity>**](FunnelEntity.md) | The funnels in this flow. | [optional] 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /.swagger-codegen-ignore: -------------------------------------------------------------------------------- 1 | # Swagger Codegen Ignore 2 | # Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen 3 | 4 | # Use this file to prevent files from being overwritten by the generator. 5 | # The patterns follow closely to .gitignore or .dockerignore. 6 | 7 | # As an example, the C# client generator defines ApiClient.cs. 8 | # You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line: 9 | #ApiClient.cs 10 | 11 | # You can match any string of characters against a directory, file or extension with a single asterisk (*): 12 | #foo/*/qux 13 | # The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux 14 | 15 | # You can recursively match patterns against a directory, file or extension with a double asterisk (**): 16 | #foo/**/qux 17 | # This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux 18 | 19 | # You can also negate patterns with an exclamation (!). 20 | # For example, you can ignore all files in a docs folder with the file extension .md: 21 | #docs/*.md 22 | # Then explicitly reverse the ignore rule for a single file: 23 | #!docs/README.md 24 | -------------------------------------------------------------------------------- /docs/ProcessorEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # ProcessorEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **revision** | [**RevisionDTO**](RevisionDTO.md) | The revision for this request/response. The revision is required for any mutable flow requests and is included in all responses. | [optional] 8 | **id** | **String** | The id of the component. | [optional] 9 | **uri** | **String** | The URI for futures requests to the component. | [optional] 10 | **position** | [**PositionDTO**](PositionDTO.md) | The position of this component in the UI if applicable. | [optional] 11 | **permissions** | [**PermissionsDTO**](PermissionsDTO.md) | The permissions for this component. | [optional] 12 | **bulletins** | [**List<BulletinEntity>**](BulletinEntity.md) | The bulletins for this component. | [optional] 13 | **component** | [**ProcessorDTO**](ProcessorDTO.md) | | [optional] 14 | **inputRequirement** | **String** | The input requirement for this processor. | [optional] 15 | **status** | [**ProcessorStatusDTO**](ProcessorStatusDTO.md) | | [optional] 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /docs/NodeDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # NodeDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **nodeId** | **String** | The id of the node. | [optional] 8 | **address** | **String** | The node's host/ip address. | [optional] 9 | **apiPort** | **Integer** | The port the node is listening for API requests. | [optional] 10 | **status** | **String** | The node's status. | [optional] 11 | **heartbeat** | [**DateTime**](DateTime.md) | the time of the nodes's last heartbeat. | [optional] 12 | **connectionRequested** | [**DateTime**](DateTime.md) | The time of the node's last connection request. | [optional] 13 | **roles** | **List<String>** | The roles of this node. | [optional] 14 | **activeThreadCount** | **Integer** | The active threads for the NiFi on the node. | [optional] 15 | **queued** | **String** | The queue the NiFi on the node. | [optional] 16 | **events** | [**List<NodeEventDTO>**](NodeEventDTO.md) | The node's events. | [optional] 17 | **nodeStartTime** | [**DateTime**](DateTime.md) | The time at which this Node was last refreshed. | [optional] 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /docs/RemoteProcessGroupPortDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # RemoteProcessGroupPortDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **String** | The id of the target port. | [optional] 8 | **groupId** | **String** | The id of the remote process group that the port resides in. | [optional] 9 | **name** | **String** | The name of the target port. | [optional] 10 | **comments** | **String** | The comments as configured on the target port. | [optional] 11 | **concurrentlySchedulableTaskCount** | **Integer** | The number of task that may transmit flowfiles to the target port concurrently. | [optional] 12 | **transmitting** | **Boolean** | Whether the remote port is configured for transmission. | [optional] 13 | **useCompression** | **Boolean** | Whether the flowfiles are compressed when sent to the target port. | [optional] 14 | **exists** | **Boolean** | Whether the target port exists. | [optional] 15 | **targetRunning** | **Boolean** | Whether the target port is running. | [optional] 16 | **connected** | **Boolean** | Whether the port has either an incoming or outgoing connection. | [optional] 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /docs/ControllerStatusDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # ControllerStatusDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **activeThreadCount** | **Integer** | The number of active threads in the NiFi. | [optional] 8 | **queued** | **String** | The number of flowfilew queued in the NiFi. | [optional] 9 | **flowFilesQueued** | **Integer** | The number of FlowFiles queued across the entire flow | [optional] 10 | **bytesQueued** | **Long** | The size of the FlowFiles queued across the entire flow | [optional] 11 | **runningCount** | **Integer** | The number of running components in the NiFi. | [optional] 12 | **stoppedCount** | **Integer** | The number of stopped components in the NiFi. | [optional] 13 | **invalidCount** | **Integer** | The number of invalid components in the NiFi. | [optional] 14 | **disabledCount** | **Integer** | The number of disabled components in the NiFi. | [optional] 15 | **activeRemotePortCount** | **Integer** | The number of active remote ports in the NiFi. | [optional] 16 | **inactiveRemotePortCount** | **Integer** | The number of inactive remote ports in the NiFi. | [optional] 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /docs/ConnectionStatusDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # ConnectionStatusDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **String** | The ID of the connection | [optional] 8 | **groupId** | **String** | The ID of the Process Group that the connection belongs to | [optional] 9 | **name** | **String** | The name of the connection | [optional] 10 | **statsLastRefreshed** | [**DateTime**](DateTime.md) | The timestamp of when the stats were last refreshed | [optional] 11 | **sourceId** | **String** | The ID of the source component | [optional] 12 | **sourceName** | **String** | The name of the source component | [optional] 13 | **destinationId** | **String** | The ID of the destination component | [optional] 14 | **destinationName** | **String** | The name of the destination component | [optional] 15 | **aggregateSnapshot** | [**ConnectionStatusSnapshotDTO**](ConnectionStatusSnapshotDTO.md) | The status snapshot that represents the aggregate stats of the cluster | [optional] 16 | **nodeSnapshots** | [**List<NodeConnectionStatusSnapshotDTO>**](NodeConnectionStatusSnapshotDTO.md) | A list of status snapshots for each node | [optional] 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /docs/ProvenanceNodeDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # ProvenanceNodeDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **String** | The id of the node. | [optional] 8 | **flowFileUuid** | **String** | The uuid of the flowfile associated with the provenance event. | [optional] 9 | **parentUuids** | **List<String>** | The uuid of the parent flowfiles of the provenance event. | [optional] 10 | **childUuids** | **List<String>** | The uuid of the childrent flowfiles of the provenance event. | [optional] 11 | **clusterNodeIdentifier** | **String** | The identifier of the node that this event/flowfile originated from. | [optional] 12 | **type** | [**TypeEnum**](#TypeEnum) | The type of the node. | [optional] 13 | **eventType** | **String** | If the type is EVENT, this is the type of event. | [optional] 14 | **millis** | **Long** | The timestamp of the node in milliseconds. | [optional] 15 | **timestamp** | [**DateTime**](DateTime.md) | The timestamp of the node formatted. | [optional] 16 | 17 | 18 | 19 | ## Enum: TypeEnum 20 | Name | Value 21 | ---- | ----- 22 | FLOWFILE | "FLOWFILE" 23 | EVENT | "EVENT" 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /docs/PortStatusDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # PortStatusDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **String** | The id of the port. | [optional] 8 | **groupId** | **String** | The id of the parent process group of the port. | [optional] 9 | **name** | **String** | The name of the port. | [optional] 10 | **transmitting** | **Boolean** | Whether the port has incoming or outgoing connections to a remote NiFi. | [optional] 11 | **runStatus** | **String** | The run status of the port. | [optional] 12 | **statsLastRefreshed** | [**DateTime**](DateTime.md) | The time the status for the process group was last refreshed. | [optional] 13 | **aggregateSnapshot** | [**PortStatusSnapshotDTO**](PortStatusSnapshotDTO.md) | A status snapshot that represents the aggregate stats of all nodes in the cluster. If the NiFi instance is a standalone instance, rather than a cluster, this represents the stats of the single instance. | [optional] 14 | **nodeSnapshots** | [**List<NodePortStatusSnapshotDTO>**](NodePortStatusSnapshotDTO.md) | A status snapshot for each node in the cluster. If the NiFi instance is a standalone instance, rather than a cluster, this may be null. | [optional] 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/ProcessorStatusDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # ProcessorStatusDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **groupId** | **String** | The unique ID of the process group that the Processor belongs to | [optional] 8 | **id** | **String** | The unique ID of the Processor | [optional] 9 | **name** | **String** | The name of the Processor | [optional] 10 | **type** | **String** | The type of the Processor | [optional] 11 | **runStatus** | **String** | The run status of the Processor | [optional] 12 | **statsLastRefreshed** | [**DateTime**](DateTime.md) | The timestamp of when the stats were last refreshed | [optional] 13 | **aggregateSnapshot** | [**ProcessorStatusSnapshotDTO**](ProcessorStatusSnapshotDTO.md) | A status snapshot that represents the aggregate stats of all nodes in the cluster. If the NiFi instance is a standalone instance, rather than a cluster, this represents the stats of the single instance. | [optional] 14 | **nodeSnapshots** | [**List<NodeProcessorStatusSnapshotDTO>**](NodeProcessorStatusSnapshotDTO.md) | A status snapshot for each node in the cluster. If the NiFi instance is a standalone instance, rather than a cluster, this may be null. | [optional] 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/SearchResultsDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # SearchResultsDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **processorResults** | [**List<ComponentSearchResultDTO>**](ComponentSearchResultDTO.md) | The processors that matched the search. | [optional] 8 | **connectionResults** | [**List<ComponentSearchResultDTO>**](ComponentSearchResultDTO.md) | The connections that matched the search. | [optional] 9 | **processGroupResults** | [**List<ComponentSearchResultDTO>**](ComponentSearchResultDTO.md) | The process groups that matched the search. | [optional] 10 | **inputPortResults** | [**List<ComponentSearchResultDTO>**](ComponentSearchResultDTO.md) | The input ports that matched the search. | [optional] 11 | **outputPortResults** | [**List<ComponentSearchResultDTO>**](ComponentSearchResultDTO.md) | The output ports that matched the search. | [optional] 12 | **remoteProcessGroupResults** | [**List<ComponentSearchResultDTO>**](ComponentSearchResultDTO.md) | The remote process groups that matched the search. | [optional] 13 | **funnelResults** | [**List<ComponentSearchResultDTO>**](ComponentSearchResultDTO.md) | The funnels that matched the search. | [optional] 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/StatusHistoryDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # StatusHistoryDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **generated** | [**DateTime**](DateTime.md) | When the status history was generated. | [optional] 8 | **componentDetails** | **Map<String, String>** | A Map of key/value pairs that describe the component that the status history belongs to | [optional] 9 | **fieldDescriptors** | [**List<StatusDescriptorDTO>**](StatusDescriptorDTO.md) | The Descriptors that provide information on each of the metrics provided in the status history | [optional] 10 | **aggregateSnapshots** | [**List<StatusSnapshotDTO>**](StatusSnapshotDTO.md) | A list of StatusSnapshotDTO objects that provide the actual metric values for the component. If the NiFi instance is clustered, this will represent the aggregate status across all nodes. If the NiFi instance is not clustered, this will represent the status of the entire NiFi instance. | [optional] 11 | **nodeSnapshots** | [**List<NodeStatusSnapshotsDTO>**](NodeStatusSnapshotsDTO.md) | The NodeStatusSnapshotsDTO objects that provide the actual metric values for the component, for each node. If the NiFi instance is not clustered, this value will be null. | [optional] 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/FlowSnippetDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # FlowSnippetDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **processGroups** | [**List<ProcessGroupDTO>**](ProcessGroupDTO.md) | The process groups in this flow snippet. | [optional] 8 | **remoteProcessGroups** | [**List<RemoteProcessGroupDTO>**](RemoteProcessGroupDTO.md) | The remote process groups in this flow snippet. | [optional] 9 | **processors** | [**List<ProcessorDTO>**](ProcessorDTO.md) | The processors in this flow snippet. | [optional] 10 | **inputPorts** | [**List<PortDTO>**](PortDTO.md) | The input ports in this flow snippet. | [optional] 11 | **outputPorts** | [**List<PortDTO>**](PortDTO.md) | The output ports in this flow snippet. | [optional] 12 | **connections** | [**List<ConnectionDTO>**](ConnectionDTO.md) | The connections in this flow snippet. | [optional] 13 | **labels** | [**List<LabelDTO>**](LabelDTO.md) | The labels in this flow snippet. | [optional] 14 | **funnels** | [**List<FunnelDTO>**](FunnelDTO.md) | The funnels in this flow snippet. | [optional] 15 | **controllerServices** | [**List<ControllerServiceDTO>**](ControllerServiceDTO.md) | The controller services in this flow snippet. | [optional] 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /docs/ResourcesApi.md: -------------------------------------------------------------------------------- 1 | # ResourcesApi 2 | 3 | All URIs are relative to *http://localhost/nifi-api* 4 | 5 | Method | HTTP request | Description 6 | ------------- | ------------- | ------------- 7 | [**getResources**](ResourcesApi.md#getResources) | **GET** /resources | Gets the available resources that support access/authorization policies 8 | 9 | 10 | 11 | # **getResources** 12 | > ResourcesEntity getResources() 13 | 14 | Gets the available resources that support access/authorization policies 15 | 16 | 17 | 18 | ### Example 19 | ```java 20 | // Import classes: 21 | //import io.swagger.client.ApiException; 22 | //import io.swagger.client.api.ResourcesApi; 23 | 24 | 25 | ResourcesApi apiInstance = new ResourcesApi(); 26 | try { 27 | ResourcesEntity result = apiInstance.getResources(); 28 | System.out.println(result); 29 | } catch (ApiException e) { 30 | System.err.println("Exception when calling ResourcesApi#getResources"); 31 | e.printStackTrace(); 32 | } 33 | ``` 34 | 35 | ### Parameters 36 | This endpoint does not need any parameter. 37 | 38 | ### Return type 39 | 40 | [**ResourcesEntity**](ResourcesEntity.md) 41 | 42 | ### Authorization 43 | 44 | No authorization required 45 | 46 | ### HTTP request headers 47 | 48 | - **Content-Type**: *_/_* 49 | - **Accept**: application/json 50 | 51 | -------------------------------------------------------------------------------- /docs/ConnectableDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # ConnectableDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **String** | The id of the connectable component. | 8 | **type** | [**TypeEnum**](#TypeEnum) | The type of component the connectable is. | 9 | **groupId** | **String** | The id of the group that the connectable component resides in | 10 | **name** | **String** | The name of the connectable component | [optional] 11 | **running** | **Boolean** | Reflects the current state of the connectable component. | [optional] 12 | **transmitting** | **Boolean** | If the connectable component represents a remote port, indicates if the target is configured to transmit. | [optional] 13 | **exists** | **Boolean** | If the connectable component represents a remote port, indicates if the target exists. | [optional] 14 | **comments** | **String** | The comments for the connectable component. | [optional] 15 | 16 | 17 | 18 | ## Enum: TypeEnum 19 | Name | Value 20 | ---- | ----- 21 | PROCESSOR | "PROCESSOR" 22 | REMOTE_INPUT_PORT | "REMOTE_INPUT_PORT" 23 | REMOTE_OUTPUT_PORT | "REMOTE_OUTPUT_PORT" 24 | INPUT_PORT | "INPUT_PORT" 25 | OUTPUT_PORT | "OUTPUT_PORT" 26 | FUNNEL | "FUNNEL" 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /docs/PropertyDescriptorDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # PropertyDescriptorDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **name** | **String** | The name for the property. | [optional] 8 | **displayName** | **String** | The human readable name for the property. | [optional] 9 | **description** | **String** | The descriptoin for the property. Used to relay additional details to a user or provide a mechanism of documenting intent. | [optional] 10 | **defaultValue** | **String** | The default value for the property. | [optional] 11 | **allowableValues** | [**List<AllowableValueEntity>**](AllowableValueEntity.md) | Allowable values for the property. If empty then the allowed values are not constrained. | [optional] 12 | **required** | **Boolean** | Whether the property is required. | [optional] 13 | **sensitive** | **Boolean** | Whether the property is sensitive and protected whenever stored or represented. | [optional] 14 | **dynamic** | **Boolean** | Whether the property is dynamic (user-defined). | [optional] 15 | **supportsEl** | **Boolean** | Whether the property supports expression language. | [optional] 16 | **identifiesControllerService** | **String** | If the property identifies a controller service, this returns the fully qualified type. | [optional] 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /docs/RemoteProcessGroupEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # RemoteProcessGroupEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **revision** | [**RevisionDTO**](RevisionDTO.md) | The revision for this request/response. The revision is required for any mutable flow requests and is included in all responses. | [optional] 8 | **id** | **String** | The id of the component. | [optional] 9 | **uri** | **String** | The URI for futures requests to the component. | [optional] 10 | **position** | [**PositionDTO**](PositionDTO.md) | The position of this component in the UI if applicable. | [optional] 11 | **permissions** | [**PermissionsDTO**](PermissionsDTO.md) | The permissions for this component. | [optional] 12 | **bulletins** | [**List<BulletinEntity>**](BulletinEntity.md) | The bulletins for this component. | [optional] 13 | **component** | [**RemoteProcessGroupDTO**](RemoteProcessGroupDTO.md) | | [optional] 14 | **status** | [**RemoteProcessGroupStatusDTO**](RemoteProcessGroupStatusDTO.md) | The status of the remote process group. | [optional] 15 | **inputPortCount** | **Integer** | The number of remote input ports currently available on the target. | [optional] 16 | **outputPortCount** | **Integer** | The number of remote output ports currently available on the target. | [optional] 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /docs/RemoteProcessGroupStatusDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # RemoteProcessGroupStatusDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **groupId** | **String** | The unique ID of the process group that the Processor belongs to | [optional] 8 | **id** | **String** | The unique ID of the Processor | [optional] 9 | **name** | **String** | The name of the remote process group. | [optional] 10 | **targetUri** | **String** | The URI of the target system. | [optional] 11 | **transmissionStatus** | **String** | The transmission status of the remote process group. | [optional] 12 | **statsLastRefreshed** | [**DateTime**](DateTime.md) | The time the status for the process group was last refreshed. | [optional] 13 | **aggregateSnapshot** | [**RemoteProcessGroupStatusSnapshotDTO**](RemoteProcessGroupStatusSnapshotDTO.md) | A status snapshot that represents the aggregate stats of all nodes in the cluster. If the NiFi instance is a standalone instance, rather than a cluster, this represents the stats of the single instance. | [optional] 14 | **nodeSnapshots** | [**List<NodeRemoteProcessGroupStatusSnapshotDTO>**](NodeRemoteProcessGroupStatusSnapshotDTO.md) | A status snapshot for each node in the cluster. If the NiFi instance is a standalone instance, rather than a cluster, this may be null. | [optional] 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/PortStatusSnapshotDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # PortStatusSnapshotDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **String** | The id of the port. | [optional] 8 | **groupId** | **String** | The id of the parent process group of the port. | [optional] 9 | **name** | **String** | The name of the port. | [optional] 10 | **activeThreadCount** | **Integer** | The active thread count for the port. | [optional] 11 | **flowFilesIn** | **Integer** | The number of FlowFiles that have been accepted in the last 5 minutes. | [optional] 12 | **bytesIn** | **Long** | The size of hte FlowFiles that have been accepted in the last 5 minutes. | [optional] 13 | **input** | **String** | The count/size of flowfiles that have been accepted in the last 5 minutes. | [optional] 14 | **flowFilesOut** | **Integer** | The number of FlowFiles that have been processed in the last 5 minutes. | [optional] 15 | **bytesOut** | **Long** | The number of bytes that have been processed in the last 5 minutes. | [optional] 16 | **output** | **String** | The count/size of flowfiles that have been processed in the last 5 minutes. | [optional] 17 | **transmitting** | **Boolean** | Whether the port has incoming or outgoing connections to a remote NiFi. | [optional] 18 | **runStatus** | **String** | The run status of the port. | [optional] 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /docs/ProcessGroupDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # ProcessGroupDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **String** | The id of the component. | [optional] 8 | **parentGroupId** | **String** | The id of parent process group of this component if applicable. | [optional] 9 | **position** | [**PositionDTO**](PositionDTO.md) | The position of this component in the UI if applicable. | [optional] 10 | **name** | **String** | The name of the process group. | [optional] 11 | **comments** | **String** | The comments for the process group. | [optional] 12 | **runningCount** | **Integer** | The number of running componetns in this process group. | [optional] 13 | **stoppedCount** | **Integer** | The number of stopped components in the process group. | [optional] 14 | **invalidCount** | **Integer** | The number of invalid components in the process group. | [optional] 15 | **disabledCount** | **Integer** | The number of disabled components in the process group. | [optional] 16 | **activeRemotePortCount** | **Integer** | The number of active remote ports in the process group. | [optional] 17 | **inactiveRemotePortCount** | **Integer** | The number of inactive remote ports in the process group. | [optional] 18 | **inputPortCount** | **Integer** | The number of input ports in the process group. | [optional] 19 | **outputPortCount** | **Integer** | The number of output ports in the process group. | [optional] 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /docs/ListingRequestDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # ListingRequestDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **String** | The id for this listing request. | [optional] 8 | **uri** | **String** | The URI for future requests to this listing request. | [optional] 9 | **submissionTime** | [**DateTime**](DateTime.md) | The timestamp when the query was submitted. | [optional] 10 | **lastUpdated** | [**DateTime**](DateTime.md) | The last time this listing request was updated. | [optional] 11 | **percentCompleted** | **Integer** | The current percent complete. | [optional] 12 | **finished** | **Boolean** | Whether the query has finished. | [optional] 13 | **failureReason** | **String** | The reason, if any, that this listing request failed. | [optional] 14 | **maxResults** | **Integer** | The maximum number of FlowFileSummary objects to return | [optional] 15 | **state** | **String** | The current state of the listing request. | [optional] 16 | **queueSize** | [**QueueSizeDTO**](QueueSizeDTO.md) | The size of the queue | [optional] 17 | **flowFileSummaries** | [**List<FlowFileSummaryDTO>**](FlowFileSummaryDTO.md) | The FlowFile summaries. The summaries will be populated once the request has completed. | [optional] 18 | **sourceRunning** | **Boolean** | Whether the source of the connection is running | [optional] 19 | **destinationRunning** | **Boolean** | Whether the destination of the connection is running | [optional] 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /src/main/java/io/swagger/client/auth/OAuthFlow.java: -------------------------------------------------------------------------------- 1 | /* 2 | * NiFi Rest Api 3 | * The Rest Api provides programmatic access to command and control a NiFi instance in real time. Start and stop processors, monitor queues, query provenance data, and more. Each endpoint below includes a description, definitions of the expected input and output, potential response codes, and the authorizations required to invoke each service. 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: dev@nifi.apache.org 7 | * 8 | * NOTE: This class is auto generated by the swagger code generator program. 9 | * https://github.com/swagger-api/swagger-codegen.git 10 | * Do not edit the class manually. 11 | * 12 | * Licensed under the Apache License, Version 2.0 (the "License"); 13 | * you may not use this file except in compliance with the License. 14 | * You may obtain a copy of the License at 15 | * 16 | * http://www.apache.org/licenses/LICENSE-2.0 17 | * 18 | * Unless required by applicable law or agreed to in writing, software 19 | * distributed under the License is distributed on an "AS IS" BASIS, 20 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 21 | * See the License for the specific language governing permissions and 22 | * limitations under the License. 23 | */ 24 | 25 | 26 | package io.swagger.client.auth; 27 | 28 | public enum OAuthFlow { 29 | accessCode, implicit, password, application 30 | } 31 | -------------------------------------------------------------------------------- /docs/RemoteProcessGroupStatusSnapshotDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # RemoteProcessGroupStatusSnapshotDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **String** | The id of the remote process group. | [optional] 8 | **groupId** | **String** | The id of the parent process group the remote process group resides in. | [optional] 9 | **name** | **String** | The name of the remote process group. | [optional] 10 | **targetUri** | **String** | The URI of the target system. | [optional] 11 | **transmissionStatus** | **String** | The transmission status of the remote process group. | [optional] 12 | **activeThreadCount** | **Integer** | The number of active threads for the remote process group. | [optional] 13 | **flowFilesSent** | **Integer** | The number of FlowFiles sent to the remote process group in the last 5 minutes. | [optional] 14 | **bytesSent** | **Long** | The size of the FlowFiles sent to the remote process group in the last 5 minutes. | [optional] 15 | **sent** | **String** | The count/size of the flowfiles sent to the remote process group in the last 5 minutes. | [optional] 16 | **flowFilesReceived** | **Integer** | The number of FlowFiles received from the remote process group in the last 5 minutes. | [optional] 17 | **bytesReceived** | **Long** | The size of the FlowFiles received from the remote process group in the last 5 minutes. | [optional] 18 | **received** | **String** | The count/size of the flowfiles received from the remote process group in the last 5 minutes. | [optional] 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /docs/DropRequestDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # DropRequestDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **String** | The id for this drop request. | [optional] 8 | **uri** | **String** | The URI for future requests to this drop request. | [optional] 9 | **submissionTime** | [**DateTime**](DateTime.md) | The timestamp when the query was submitted. | [optional] 10 | **lastUpdated** | [**DateTime**](DateTime.md) | The last time this drop request was updated. | [optional] 11 | **percentCompleted** | **Integer** | The current percent complete. | [optional] 12 | **finished** | **Boolean** | Whether the query has finished. | [optional] 13 | **failureReason** | **String** | The reason, if any, that this drop request failed. | [optional] 14 | **currentCount** | **Integer** | The number of flow files currently queued. | [optional] 15 | **currentSize** | **Long** | The size of flow files currently queued in bytes. | [optional] 16 | **current** | **String** | The count and size of flow files currently queued. | [optional] 17 | **originalCount** | **Integer** | The number of flow files to be dropped as a result of this request. | [optional] 18 | **originalSize** | **Long** | The size of flow files to be dropped as a result of this request in bytes. | [optional] 19 | **original** | **String** | The count and size of flow files to be dropped as a result of this request. | [optional] 20 | **droppedCount** | **Integer** | The number of flow files that have been dropped thus far. | [optional] 21 | **droppedSize** | **Long** | The size of flow files that have been dropped thus far in bytes. | [optional] 22 | **dropped** | **String** | The count and size of flow files that have been dropped thus far. | [optional] 23 | **state** | **String** | The current state of the drop request. | [optional] 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /git_push.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/ 3 | # 4 | # Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update" 5 | 6 | git_user_id=$1 7 | git_repo_id=$2 8 | release_note=$3 9 | 10 | if [ "$git_user_id" = "" ]; then 11 | git_user_id="simplesteph" 12 | echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id" 13 | fi 14 | 15 | if [ "$git_repo_id" = "" ]; then 16 | git_repo_id="nifi-api-client-java" 17 | echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id" 18 | fi 19 | 20 | if [ "$release_note" = "" ]; then 21 | release_note="First release Apache NiFi 1.0.0" 22 | echo "[INFO] No command line input provided. Set \$release_note to $release_note" 23 | fi 24 | 25 | # Initialize the local directory as a Git repository 26 | git init 27 | 28 | # Adds the files in the local repository and stages them for commit. 29 | git add . 30 | 31 | # Commits the tracked changes and prepares them to be pushed to a remote repository. 32 | git commit -m "$release_note" 33 | 34 | # Sets the new remote 35 | git_remote=`git remote` 36 | if [ "$git_remote" = "" ]; then # git remote not defined 37 | 38 | if [ "$GIT_TOKEN" = "" ]; then 39 | echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git crediential in your environment." 40 | git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git 41 | else 42 | git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git 43 | fi 44 | 45 | fi 46 | 47 | git pull origin master 48 | 49 | # Pushes (Forces) the changes in the local repository up to the remote repository 50 | echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git" 51 | git push origin master 2>&1 | grep -v 'To https' 52 | 53 | -------------------------------------------------------------------------------- /docs/PortDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # PortDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **String** | The id of the component. | [optional] 8 | **parentGroupId** | **String** | The id of parent process group of this component if applicable. | [optional] 9 | **position** | [**PositionDTO**](PositionDTO.md) | The position of this component in the UI if applicable. | [optional] 10 | **name** | **String** | The name of the port. | [optional] 11 | **comments** | **String** | The comments for the port. | [optional] 12 | **state** | [**StateEnum**](#StateEnum) | The state of the port. | [optional] 13 | **type** | [**TypeEnum**](#TypeEnum) | The type of port. | [optional] 14 | **transmitting** | **Boolean** | Whether the port has incoming or output connections to a remote NiFi. This is only applicable when the port is running in the root group. | [optional] 15 | **concurrentlySchedulableTaskCount** | **Integer** | The number of tasks that should be concurrently scheduled for the port. | [optional] 16 | **userAccessControl** | **List<String>** | The users that are allowed to access the port. | [optional] 17 | **groupAccessControl** | **List<String>** | The user groups that are allowed to access the port. | [optional] 18 | **validationErrors** | **List<String>** | Gets the validation errors from this port. These validation errors represent the problems with the port that must be resolved before it can be started. | [optional] 19 | 20 | 21 | 22 | ## Enum: StateEnum 23 | Name | Value 24 | ---- | ----- 25 | RUNNING | "RUNNING" 26 | STOPPED | "STOPPED" 27 | DISABLED | "DISABLED" 28 | 29 | 30 | 31 | ## Enum: TypeEnum 32 | Name | Value 33 | ---- | ----- 34 | INPUT_PORT | "INPUT_PORT" 35 | OUTPUT_PORT | "OUTPUT_PORT" 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /src/main/java/io/swagger/client/auth/Authentication.java: -------------------------------------------------------------------------------- 1 | /* 2 | * NiFi Rest Api 3 | * The Rest Api provides programmatic access to command and control a NiFi instance in real time. Start and stop processors, monitor queues, query provenance data, and more. Each endpoint below includes a description, definitions of the expected input and output, potential response codes, and the authorizations required to invoke each service. 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: dev@nifi.apache.org 7 | * 8 | * NOTE: This class is auto generated by the swagger code generator program. 9 | * https://github.com/swagger-api/swagger-codegen.git 10 | * Do not edit the class manually. 11 | * 12 | * Licensed under the Apache License, Version 2.0 (the "License"); 13 | * you may not use this file except in compliance with the License. 14 | * You may obtain a copy of the License at 15 | * 16 | * http://www.apache.org/licenses/LICENSE-2.0 17 | * 18 | * Unless required by applicable law or agreed to in writing, software 19 | * distributed under the License is distributed on an "AS IS" BASIS, 20 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 21 | * See the License for the specific language governing permissions and 22 | * limitations under the License. 23 | */ 24 | 25 | 26 | package io.swagger.client.auth; 27 | 28 | import io.swagger.client.Pair; 29 | 30 | import java.util.Map; 31 | import java.util.List; 32 | 33 | public interface Authentication { 34 | /** 35 | * Apply authentication settings to header and query params. 36 | * 37 | * @param queryParams List of query parameters 38 | * @param headerParams Map of header parameters 39 | */ 40 | void applyToParams(List queryParams, Map headerParams); 41 | } 42 | -------------------------------------------------------------------------------- /docs/ProcessGroupEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # ProcessGroupEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **revision** | [**RevisionDTO**](RevisionDTO.md) | The revision for this request/response. The revision is required for any mutable flow requests and is included in all responses. | [optional] 8 | **id** | **String** | The id of the component. | [optional] 9 | **uri** | **String** | The URI for futures requests to the component. | [optional] 10 | **position** | [**PositionDTO**](PositionDTO.md) | The position of this component in the UI if applicable. | [optional] 11 | **permissions** | [**PermissionsDTO**](PermissionsDTO.md) | The permissions for this component. | [optional] 12 | **bulletins** | [**List<BulletinEntity>**](BulletinEntity.md) | The bulletins for this component. | [optional] 13 | **component** | [**ProcessGroupDTO**](ProcessGroupDTO.md) | | [optional] 14 | **status** | [**ProcessGroupStatusDTO**](ProcessGroupStatusDTO.md) | The status of the process group. | [optional] 15 | **runningCount** | **Integer** | The number of running componetns in this process group. | [optional] 16 | **stoppedCount** | **Integer** | The number of stopped components in the process group. | [optional] 17 | **invalidCount** | **Integer** | The number of invalid components in the process group. | [optional] 18 | **disabledCount** | **Integer** | The number of disabled components in the process group. | [optional] 19 | **activeRemotePortCount** | **Integer** | The number of active remote ports in the process group. | [optional] 20 | **inactiveRemotePortCount** | **Integer** | The number of inactive remote ports in the process group. | [optional] 21 | **inputPortCount** | **Integer** | The number of input ports in the process group. | [optional] 22 | **outputPortCount** | **Integer** | The number of output ports in the process group. | [optional] 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /docs/SystemdiagnosticsApi.md: -------------------------------------------------------------------------------- 1 | # SystemdiagnosticsApi 2 | 3 | All URIs are relative to *http://localhost/nifi-api* 4 | 5 | Method | HTTP request | Description 6 | ------------- | ------------- | ------------- 7 | [**getSystemDiagnostics**](SystemdiagnosticsApi.md#getSystemDiagnostics) | **GET** /system-diagnostics | Gets the diagnostics for the system NiFi is running on 8 | 9 | 10 | 11 | # **getSystemDiagnostics** 12 | > SystemDiagnosticsEntity getSystemDiagnostics(nodewise, clusterNodeId) 13 | 14 | Gets the diagnostics for the system NiFi is running on 15 | 16 | 17 | 18 | ### Example 19 | ```java 20 | // Import classes: 21 | //import io.swagger.client.ApiException; 22 | //import io.swagger.client.api.SystemdiagnosticsApi; 23 | 24 | 25 | SystemdiagnosticsApi apiInstance = new SystemdiagnosticsApi(); 26 | Boolean nodewise = true; // Boolean | Whether or not to include the breakdown per node. Optional, defaults to false 27 | String clusterNodeId = "clusterNodeId_example"; // String | The id of the node where to get the status. 28 | try { 29 | SystemDiagnosticsEntity result = apiInstance.getSystemDiagnostics(nodewise, clusterNodeId); 30 | System.out.println(result); 31 | } catch (ApiException e) { 32 | System.err.println("Exception when calling SystemdiagnosticsApi#getSystemDiagnostics"); 33 | e.printStackTrace(); 34 | } 35 | ``` 36 | 37 | ### Parameters 38 | 39 | Name | Type | Description | Notes 40 | ------------- | ------------- | ------------- | ------------- 41 | **nodewise** | **Boolean**| Whether or not to include the breakdown per node. Optional, defaults to false | [optional] 42 | **clusterNodeId** | **String**| The id of the node where to get the status. | [optional] 43 | 44 | ### Return type 45 | 46 | [**SystemDiagnosticsEntity**](SystemDiagnosticsEntity.md) 47 | 48 | ### Authorization 49 | 50 | No authorization required 51 | 52 | ### HTTP request headers 53 | 54 | - **Content-Type**: *_/_* 55 | - **Accept**: application/json 56 | 57 | -------------------------------------------------------------------------------- /docs/ConnectionStatusSnapshotDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # ConnectionStatusSnapshotDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **String** | The id of the connection. | [optional] 8 | **groupId** | **String** | The id of the process group the connection belongs to. | [optional] 9 | **name** | **String** | The name of the connection. | [optional] 10 | **sourceId** | **String** | The id of the source of the connection. | [optional] 11 | **sourceName** | **String** | The name of the source of the connection. | [optional] 12 | **destinationId** | **String** | The id of the destination of the connection. | [optional] 13 | **destinationName** | **String** | The name of the destination of the connection. | [optional] 14 | **flowFilesIn** | **Integer** | The number of FlowFiles that have come into the connection in the last 5 minutes. | [optional] 15 | **bytesIn** | **Long** | The size of the FlowFiles that have come into the connection in the last 5 minutes. | [optional] 16 | **input** | **String** | The input count/size for the connection in the last 5 minutes, pretty printed. | [optional] 17 | **flowFilesOut** | **Integer** | The number of FlowFiles that have left the connection in the last 5 minutes. | [optional] 18 | **bytesOut** | **Long** | The number of bytes that have left the connection in the last 5 minutes. | [optional] 19 | **output** | **String** | The output count/sie for the connection in the last 5 minutes, pretty printed. | [optional] 20 | **flowFilesQueued** | **Integer** | The number of FlowFiles that are currently queued in the connection. | [optional] 21 | **bytesQueued** | **Long** | The size of the FlowFiles that are currently queued in the connection. | [optional] 22 | **queued** | **String** | The total count and size of queued flowfiles formatted. | [optional] 23 | **queuedSize** | **String** | The total size of flowfiles that are queued formatted. | [optional] 24 | **queuedCount** | **String** | The number of flowfiles that are queued, pretty printed. | [optional] 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /docs/ControllerServiceReferencingComponentDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # ControllerServiceReferencingComponentDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **groupId** | **String** | The group id for the component referencing a controller service. If this component is another controller service or a reporting task, this field is blank. | [optional] 8 | **id** | **String** | The id of the component referencing a controller service. | [optional] 9 | **name** | **String** | The name of the component referencing a controller service. | [optional] 10 | **type** | **String** | The type of the component referencing a controller service. | [optional] 11 | **state** | **String** | The state of a processor or reporting task referencing a controller service. If this component is another controller service, this field is blank. | [optional] 12 | **properties** | **Map<String, String>** | The properties for the component. | [optional] 13 | **descriptors** | [**Map<String, PropertyDescriptorDTO>**](PropertyDescriptorDTO.md) | The descriptors for the componet properties. | [optional] 14 | **validationErrors** | **List<String>** | The validation errors for the component. | [optional] 15 | **referenceType** | [**ReferenceTypeEnum**](#ReferenceTypeEnum) | The type of reference this is. | [optional] 16 | **activeThreadCount** | **Integer** | The number of active threads for the referencing component. | [optional] 17 | **referenceCycle** | **Boolean** | If the referencing component represents a controller service, this indicates whether it has already been represented in this hierarchy. | [optional] 18 | **referencingComponents** | [**Set**](Set.md) | If the referencing component represents a controller service, these are the components that referenc it. | [optional] 19 | 20 | 21 | 22 | ## Enum: ReferenceTypeEnum 23 | Name | Value 24 | ---- | ----- 25 | PROCESSOR | "Processor" 26 | CONTROLLERSERVICE | "ControllerService" 27 | OR_REPORTINGTASK | "or ReportingTask" 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /docs/ControllerServiceDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # ControllerServiceDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **String** | The id of the component. | [optional] 8 | **parentGroupId** | **String** | The id of parent process group of this component if applicable. | [optional] 9 | **position** | [**PositionDTO**](PositionDTO.md) | The position of this component in the UI if applicable. | [optional] 10 | **name** | **String** | The name of the controller service. | [optional] 11 | **type** | **String** | The type of the controller service. | [optional] 12 | **comments** | **String** | The comments for the controller service. | [optional] 13 | **state** | [**StateEnum**](#StateEnum) | The state of the controller service. | [optional] 14 | **persistsState** | **Boolean** | Whether the controller service persists state. | [optional] 15 | **properties** | **Map<String, String>** | The properties of the controller service. | [optional] 16 | **descriptors** | [**Map<String, PropertyDescriptorDTO>**](PropertyDescriptorDTO.md) | The descriptors for the controller service properties. | [optional] 17 | **customUiUrl** | **String** | The URL for the controller services custom configuration UI if applicable. | [optional] 18 | **annotationData** | **String** | The annontation for the controller service. This is how the custom UI relays configuration to the controller service. | [optional] 19 | **referencingComponents** | [**List<ControllerServiceReferencingComponentEntity>**](ControllerServiceReferencingComponentEntity.md) | All components referencing this controller service. | [optional] 20 | **validationErrors** | **List<String>** | The validation errors from the controller service. These validation errors represent the problems with the controller service that must be resolved before it can be enabled. | [optional] 21 | 22 | 23 | 24 | ## Enum: StateEnum 25 | Name | Value 26 | ---- | ----- 27 | ENABLED | "ENABLED" 28 | ENABLING | "ENABLING" 29 | DISABLED | "DISABLED" 30 | DISABLING | "DISABLING" 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /src/main/java/io/swagger/client/auth/OAuth.java: -------------------------------------------------------------------------------- 1 | /* 2 | * NiFi Rest Api 3 | * The Rest Api provides programmatic access to command and control a NiFi instance in real time. Start and stop processors, monitor queues, query provenance data, and more. Each endpoint below includes a description, definitions of the expected input and output, potential response codes, and the authorizations required to invoke each service. 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: dev@nifi.apache.org 7 | * 8 | * NOTE: This class is auto generated by the swagger code generator program. 9 | * https://github.com/swagger-api/swagger-codegen.git 10 | * Do not edit the class manually. 11 | * 12 | * Licensed under the Apache License, Version 2.0 (the "License"); 13 | * you may not use this file except in compliance with the License. 14 | * You may obtain a copy of the License at 15 | * 16 | * http://www.apache.org/licenses/LICENSE-2.0 17 | * 18 | * Unless required by applicable law or agreed to in writing, software 19 | * distributed under the License is distributed on an "AS IS" BASIS, 20 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 21 | * See the License for the specific language governing permissions and 22 | * limitations under the License. 23 | */ 24 | 25 | 26 | package io.swagger.client.auth; 27 | 28 | import io.swagger.client.Pair; 29 | 30 | import java.util.Map; 31 | import java.util.List; 32 | 33 | @javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaClientCodegen", date = "2016-10-14T11:52:34.905+11:00") 34 | public class OAuth implements Authentication { 35 | private String accessToken; 36 | 37 | public String getAccessToken() { 38 | return accessToken; 39 | } 40 | 41 | public void setAccessToken(String accessToken) { 42 | this.accessToken = accessToken; 43 | } 44 | 45 | @Override 46 | public void applyToParams(List queryParams, Map headerParams) { 47 | if (accessToken != null) { 48 | headerParams.put("Authorization", "Bearer " + accessToken); 49 | } 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /docs/ControllerDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # ControllerDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **String** | The id of the NiFi. | [optional] 8 | **name** | **String** | The name of the NiFi. | [optional] 9 | **comments** | **String** | The comments for the NiFi. | [optional] 10 | **runningCount** | **Integer** | The number of running components in the NiFi. | [optional] 11 | **stoppedCount** | **Integer** | The number of stopped components in the NiFi. | [optional] 12 | **invalidCount** | **Integer** | The number of invalid components in the NiFi. | [optional] 13 | **disabledCount** | **Integer** | The number of disabled components in the NiFi. | [optional] 14 | **activeRemotePortCount** | **Integer** | The number of active remote ports contained in the NiFi. | [optional] 15 | **inactiveRemotePortCount** | **Integer** | The number of inactive remote porst contained in the NiFi. | [optional] 16 | **inputPortCount** | **Integer** | The number of input ports contained in the NiFi. | [optional] 17 | **outputPortCount** | **Integer** | The number of output ports in the NiFi. | [optional] 18 | **remoteSiteListeningPort** | **Integer** | The Socket Port on which this instance is listening for Remote Transfers of Flow Files. If this instance is not configured to receive Flow Files from remote instances, this will be null. | [optional] 19 | **remoteSiteHttpListeningPort** | **Integer** | The HTTP(S) Port on which this instance is listening for Remote Transfers of Flow Files. If this instance is not configured to receive Flow Files from remote instances, this will be null. | [optional] 20 | **siteToSiteSecure** | **Boolean** | Indicates whether or not Site-to-Site communications with this instance is secure (2-way authentication). | [optional] 21 | **instanceId** | **String** | If clustered, the id of the Cluster Manager, otherwise the id of the NiFi. | [optional] 22 | **inputPorts** | [**List<PortDTO>**](PortDTO.md) | The input ports available to send data to for the NiFi. | [optional] 23 | **outputPorts** | [**List<PortDTO>**](PortDTO.md) | The output ports available to received data from the NiFi. | [optional] 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /docs/ProcessorDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # ProcessorDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **String** | The id of the component. | [optional] 8 | **parentGroupId** | **String** | The id of parent process group of this component if applicable. | [optional] 9 | **position** | [**PositionDTO**](PositionDTO.md) | The position of this component in the UI if applicable. | [optional] 10 | **name** | **String** | The name of the processor. | [optional] 11 | **type** | **String** | The type of the processor. | [optional] 12 | **state** | [**StateEnum**](#StateEnum) | The state of the processor | [optional] 13 | **style** | **Map<String, String>** | Styles for the processor (background-color => #eee). | [optional] 14 | **relationships** | [**List<RelationshipDTO>**](RelationshipDTO.md) | The available relationships that the processor currently supports. | [optional] 15 | **description** | **String** | The description of the processor. | [optional] 16 | **supportsParallelProcessing** | **Boolean** | Whether the processor supports parallel processing. | [optional] 17 | **supportsEventDriven** | **Boolean** | Whether the processor supports event driven scheduling. | [optional] 18 | **supportsBatching** | **Boolean** | Whether the processor supports batching. This makes the run duration settings available. | [optional] 19 | **persistsState** | **Boolean** | Whether the processor persists state. | [optional] 20 | **inputRequirement** | **String** | The input requirement for this processor. | [optional] 21 | **config** | [**ProcessorConfigDTO**](ProcessorConfigDTO.md) | The configuration details for the processor. These details will be included in a resopnse if the verbose flag is included in a request. | [optional] 22 | **validationErrors** | **List<String>** | The validation errors for the processor. These validation errors represent the problems with the processor that must be resolved before it can be started. | [optional] 23 | 24 | 25 | 26 | ## Enum: StateEnum 27 | Name | Value 28 | ---- | ----- 29 | RUNNING | "RUNNING" 30 | STOPPED | "STOPPED" 31 | DISABLED | "DISABLED" 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /src/test/java/io/swagger/client/api/ResourcesApiTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * NiFi Rest Api 3 | * The Rest Api provides programmatic access to command and control a NiFi instance in real time. Start and stop processors, monitor queues, query provenance data, and more. Each endpoint below includes a description, definitions of the expected input and output, potential response codes, and the authorizations required to invoke each service. 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: dev@nifi.apache.org 7 | * 8 | * NOTE: This class is auto generated by the swagger code generator program. 9 | * https://github.com/swagger-api/swagger-codegen.git 10 | * Do not edit the class manually. 11 | * 12 | * Licensed under the Apache License, Version 2.0 (the "License"); 13 | * you may not use this file except in compliance with the License. 14 | * You may obtain a copy of the License at 15 | * 16 | * http://www.apache.org/licenses/LICENSE-2.0 17 | * 18 | * Unless required by applicable law or agreed to in writing, software 19 | * distributed under the License is distributed on an "AS IS" BASIS, 20 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 21 | * See the License for the specific language governing permissions and 22 | * limitations under the License. 23 | */ 24 | 25 | 26 | package io.swagger.client.api; 27 | 28 | import io.swagger.client.ApiException; 29 | import io.swagger.client.model.ResourcesEntity; 30 | import org.junit.Test; 31 | 32 | import java.util.ArrayList; 33 | import java.util.HashMap; 34 | import java.util.List; 35 | import java.util.Map; 36 | 37 | /** 38 | * API tests for ResourcesApi 39 | */ 40 | public class ResourcesApiTest { 41 | 42 | private final ResourcesApi api = new ResourcesApi(); 43 | 44 | 45 | /** 46 | * Gets the available resources that support access/authorization policies 47 | * 48 | * 49 | * 50 | * @throws ApiException 51 | * if the Api call fails 52 | */ 53 | @Test 54 | public void getResourcesTest() throws ApiException { 55 | // ResourcesEntity response = api.getResources(); 56 | 57 | // TODO: test validations 58 | } 59 | 60 | } 61 | -------------------------------------------------------------------------------- /src/main/java/io/swagger/client/Configuration.java: -------------------------------------------------------------------------------- 1 | /* 2 | * NiFi Rest Api 3 | * The Rest Api provides programmatic access to command and control a NiFi instance in real time. Start and stop processors, monitor queues, query provenance data, and more. Each endpoint below includes a description, definitions of the expected input and output, potential response codes, and the authorizations required to invoke each service. 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: dev@nifi.apache.org 7 | * 8 | * NOTE: This class is auto generated by the swagger code generator program. 9 | * https://github.com/swagger-api/swagger-codegen.git 10 | * Do not edit the class manually. 11 | * 12 | * Licensed under the Apache License, Version 2.0 (the "License"); 13 | * you may not use this file except in compliance with the License. 14 | * You may obtain a copy of the License at 15 | * 16 | * http://www.apache.org/licenses/LICENSE-2.0 17 | * 18 | * Unless required by applicable law or agreed to in writing, software 19 | * distributed under the License is distributed on an "AS IS" BASIS, 20 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 21 | * See the License for the specific language governing permissions and 22 | * limitations under the License. 23 | */ 24 | 25 | 26 | package io.swagger.client; 27 | 28 | @javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaClientCodegen", date = "2016-10-14T11:52:34.905+11:00") 29 | public class Configuration { 30 | private static ApiClient defaultApiClient = new ApiClient(); 31 | 32 | /** 33 | * Get the default API client, which would be used when creating API 34 | * instances without providing an API client. 35 | * 36 | * @return Default API client 37 | */ 38 | public static ApiClient getDefaultApiClient() { 39 | return defaultApiClient; 40 | } 41 | 42 | /** 43 | * Set the default API client, which would be used when creating API 44 | * instances without providing an API client. 45 | * 46 | * @param apiClient API client 47 | */ 48 | public static void setDefaultApiClient(ApiClient apiClient) { 49 | defaultApiClient = apiClient; 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /docs/ConnectionDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # ConnectionDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **String** | The id of the component. | [optional] 8 | **parentGroupId** | **String** | The id of parent process group of this component if applicable. | [optional] 9 | **position** | [**PositionDTO**](PositionDTO.md) | The position of this component in the UI if applicable. | [optional] 10 | **source** | [**ConnectableDTO**](ConnectableDTO.md) | The source of the connection. | [optional] 11 | **destination** | [**ConnectableDTO**](ConnectableDTO.md) | The destination of the connection. | [optional] 12 | **name** | **String** | The name of the connection. | [optional] 13 | **labelIndex** | **Integer** | The index of the bend point where to place the connection label. | [optional] 14 | **getzIndex** | **Long** | The z index of the connection. | [optional] 15 | **selectedRelationships** | **List<String>** | The selected relationship that comprise the connection. | [optional] 16 | **availableRelationships** | **List<String>** | The relationships that the source of the connection currently supports. | [optional] 17 | **backPressureObjectThreshold** | **Long** | The object count threshold for determining when back pressure is applied. Updating this value is a passive change in the sense that it won't impact whether existing files over the limit are affected but it does help feeder processors to stop pushing too much into this work queue. | [optional] 18 | **backPressureDataSizeThreshold** | **String** | The object data size threshold for determining when back pressure is applied. Updating this value is a passive change in the sense that it won't impact whether existing files over the limit are affected but it does help feeder processors to stop pushing too much into this work queue. | [optional] 19 | **flowFileExpiration** | **String** | The amount of time a flow file may be in the flow before it will be automatically aged out of the flow. Once a flow file reaches this age it will be terminated from the flow the next time a processor attempts to start work on it. | [optional] 20 | **prioritizers** | **List<String>** | The comparators used to prioritize the queue. | [optional] 21 | **bends** | [**List<PositionDTO>**](PositionDTO.md) | The bend points on the connection. | [optional] 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /src/main/java/io/swagger/client/Pair.java: -------------------------------------------------------------------------------- 1 | /* 2 | * NiFi Rest Api 3 | * The Rest Api provides programmatic access to command and control a NiFi instance in real time. Start and stop processors, monitor queues, query provenance data, and more. Each endpoint below includes a description, definitions of the expected input and output, potential response codes, and the authorizations required to invoke each service. 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: dev@nifi.apache.org 7 | * 8 | * NOTE: This class is auto generated by the swagger code generator program. 9 | * https://github.com/swagger-api/swagger-codegen.git 10 | * Do not edit the class manually. 11 | * 12 | * Licensed under the Apache License, Version 2.0 (the "License"); 13 | * you may not use this file except in compliance with the License. 14 | * You may obtain a copy of the License at 15 | * 16 | * http://www.apache.org/licenses/LICENSE-2.0 17 | * 18 | * Unless required by applicable law or agreed to in writing, software 19 | * distributed under the License is distributed on an "AS IS" BASIS, 20 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 21 | * See the License for the specific language governing permissions and 22 | * limitations under the License. 23 | */ 24 | 25 | 26 | package io.swagger.client; 27 | 28 | @javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaClientCodegen", date = "2016-10-14T11:52:34.905+11:00") 29 | public class Pair { 30 | private String name = ""; 31 | private String value = ""; 32 | 33 | public Pair (String name, String value) { 34 | setName(name); 35 | setValue(value); 36 | } 37 | 38 | private void setName(String name) { 39 | if (!isValidString(name)) return; 40 | 41 | this.name = name; 42 | } 43 | 44 | private void setValue(String value) { 45 | if (!isValidString(value)) return; 46 | 47 | this.value = value; 48 | } 49 | 50 | public String getName() { 51 | return this.name; 52 | } 53 | 54 | public String getValue() { 55 | return this.value; 56 | } 57 | 58 | private boolean isValidString(String arg) { 59 | if (arg == null) return false; 60 | if (arg.trim().isEmpty()) return false; 61 | 62 | return true; 63 | } 64 | } 65 | -------------------------------------------------------------------------------- /src/test/java/io/swagger/client/api/SystemdiagnosticsApiTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * NiFi Rest Api 3 | * The Rest Api provides programmatic access to command and control a NiFi instance in real time. Start and stop processors, monitor queues, query provenance data, and more. Each endpoint below includes a description, definitions of the expected input and output, potential response codes, and the authorizations required to invoke each service. 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: dev@nifi.apache.org 7 | * 8 | * NOTE: This class is auto generated by the swagger code generator program. 9 | * https://github.com/swagger-api/swagger-codegen.git 10 | * Do not edit the class manually. 11 | * 12 | * Licensed under the Apache License, Version 2.0 (the "License"); 13 | * you may not use this file except in compliance with the License. 14 | * You may obtain a copy of the License at 15 | * 16 | * http://www.apache.org/licenses/LICENSE-2.0 17 | * 18 | * Unless required by applicable law or agreed to in writing, software 19 | * distributed under the License is distributed on an "AS IS" BASIS, 20 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 21 | * See the License for the specific language governing permissions and 22 | * limitations under the License. 23 | */ 24 | 25 | 26 | package io.swagger.client.api; 27 | 28 | import io.swagger.client.ApiException; 29 | import io.swagger.client.model.SystemDiagnosticsEntity; 30 | import org.junit.Test; 31 | 32 | import java.util.ArrayList; 33 | import java.util.HashMap; 34 | import java.util.List; 35 | import java.util.Map; 36 | 37 | /** 38 | * API tests for SystemdiagnosticsApi 39 | */ 40 | public class SystemdiagnosticsApiTest { 41 | 42 | private final SystemdiagnosticsApi api = new SystemdiagnosticsApi(); 43 | 44 | 45 | /** 46 | * Gets the diagnostics for the system NiFi is running on 47 | * 48 | * 49 | * 50 | * @throws ApiException 51 | * if the Api call fails 52 | */ 53 | @Test 54 | public void getSystemDiagnosticsTest() throws ApiException { 55 | Boolean nodewise = null; 56 | String clusterNodeId = null; 57 | // SystemDiagnosticsEntity response = api.getSystemDiagnostics(nodewise, clusterNodeId); 58 | 59 | // TODO: test validations 60 | } 61 | 62 | } 63 | -------------------------------------------------------------------------------- /docs/ReportingTaskDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # ReportingTaskDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **String** | The id of the component. | [optional] 8 | **parentGroupId** | **String** | The id of parent process group of this component if applicable. | [optional] 9 | **position** | [**PositionDTO**](PositionDTO.md) | The position of this component in the UI if applicable. | [optional] 10 | **name** | **String** | The name of the reporting task. | [optional] 11 | **type** | **String** | The fully qualified type of the reporting task. | [optional] 12 | **state** | [**StateEnum**](#StateEnum) | The state of the reporting task. | [optional] 13 | **comments** | **String** | The comments of the reporting task. | [optional] 14 | **persistsState** | **Boolean** | Whether the reporting task persists state. | [optional] 15 | **schedulingPeriod** | **String** | The frequency with which to schedule the reporting task. The format of the value willd epend on the valud of the schedulingStrategy. | [optional] 16 | **schedulingStrategy** | **String** | The scheduling strategy that determines how the schedulingPeriod value should be interpreted. | [optional] 17 | **defaultSchedulingPeriod** | **Map<String, String>** | The default scheduling period for the different scheduling strategies. | [optional] 18 | **properties** | **Map<String, String>** | The properties of the reporting task. | [optional] 19 | **descriptors** | [**Map<String, PropertyDescriptorDTO>**](PropertyDescriptorDTO.md) | The descriptors for the reporting tasks properties. | [optional] 20 | **customUiUrl** | **String** | The URL for the custom configuration UI for the reporting task. | [optional] 21 | **annotationData** | **String** | The anntation data for the repoting task. This is how the custom UI relays configuration to the reporting task. | [optional] 22 | **validationErrors** | **List<String>** | Gets the validation errors from the reporting task. These validation errors represent the problems with the reporting task that must be resolved before it can be scheduled to run. | [optional] 23 | **activeThreadCount** | **Integer** | The number of active threads for the reporting task. | [optional] 24 | 25 | 26 | 27 | ## Enum: StateEnum 28 | Name | Value 29 | ---- | ----- 30 | RUNNING | "RUNNING" 31 | STOPPED | "STOPPED" 32 | DISABLED | "DISABLED" 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /docs/SitetositeApi.md: -------------------------------------------------------------------------------- 1 | # SitetositeApi 2 | 3 | All URIs are relative to *http://localhost/nifi-api* 4 | 5 | Method | HTTP request | Description 6 | ------------- | ------------- | ------------- 7 | [**getPeers**](SitetositeApi.md#getPeers) | **GET** /site-to-site/peers | Returns the available Peers and its status of this NiFi 8 | [**getSiteToSiteDetails**](SitetositeApi.md#getSiteToSiteDetails) | **GET** /site-to-site | Returns the details about this NiFi necessary to communicate via site to site 9 | 10 | 11 | 12 | # **getPeers** 13 | > PeersEntity getPeers() 14 | 15 | Returns the available Peers and its status of this NiFi 16 | 17 | 18 | 19 | ### Example 20 | ```java 21 | // Import classes: 22 | //import io.swagger.client.ApiException; 23 | //import io.swagger.client.api.SitetositeApi; 24 | 25 | 26 | SitetositeApi apiInstance = new SitetositeApi(); 27 | try { 28 | PeersEntity result = apiInstance.getPeers(); 29 | System.out.println(result); 30 | } catch (ApiException e) { 31 | System.err.println("Exception when calling SitetositeApi#getPeers"); 32 | e.printStackTrace(); 33 | } 34 | ``` 35 | 36 | ### Parameters 37 | This endpoint does not need any parameter. 38 | 39 | ### Return type 40 | 41 | [**PeersEntity**](PeersEntity.md) 42 | 43 | ### Authorization 44 | 45 | No authorization required 46 | 47 | ### HTTP request headers 48 | 49 | - **Content-Type**: *_/_* 50 | - **Accept**: application/json, application/xml 51 | 52 | 53 | # **getSiteToSiteDetails** 54 | > ControllerEntity getSiteToSiteDetails() 55 | 56 | Returns the details about this NiFi necessary to communicate via site to site 57 | 58 | 59 | 60 | ### Example 61 | ```java 62 | // Import classes: 63 | //import io.swagger.client.ApiException; 64 | //import io.swagger.client.api.SitetositeApi; 65 | 66 | 67 | SitetositeApi apiInstance = new SitetositeApi(); 68 | try { 69 | ControllerEntity result = apiInstance.getSiteToSiteDetails(); 70 | System.out.println(result); 71 | } catch (ApiException e) { 72 | System.err.println("Exception when calling SitetositeApi#getSiteToSiteDetails"); 73 | e.printStackTrace(); 74 | } 75 | ``` 76 | 77 | ### Parameters 78 | This endpoint does not need any parameter. 79 | 80 | ### Return type 81 | 82 | [**ControllerEntity**](ControllerEntity.md) 83 | 84 | ### Authorization 85 | 86 | No authorization required 87 | 88 | ### HTTP request headers 89 | 90 | - **Content-Type**: *_/_* 91 | - **Accept**: application/json 92 | 93 | -------------------------------------------------------------------------------- /src/main/java/io/swagger/client/auth/HttpBasicAuth.java: -------------------------------------------------------------------------------- 1 | /* 2 | * NiFi Rest Api 3 | * The Rest Api provides programmatic access to command and control a NiFi instance in real time. Start and stop processors, monitor queues, query provenance data, and more. Each endpoint below includes a description, definitions of the expected input and output, potential response codes, and the authorizations required to invoke each service. 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: dev@nifi.apache.org 7 | * 8 | * NOTE: This class is auto generated by the swagger code generator program. 9 | * https://github.com/swagger-api/swagger-codegen.git 10 | * Do not edit the class manually. 11 | * 12 | * Licensed under the Apache License, Version 2.0 (the "License"); 13 | * you may not use this file except in compliance with the License. 14 | * You may obtain a copy of the License at 15 | * 16 | * http://www.apache.org/licenses/LICENSE-2.0 17 | * 18 | * Unless required by applicable law or agreed to in writing, software 19 | * distributed under the License is distributed on an "AS IS" BASIS, 20 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 21 | * See the License for the specific language governing permissions and 22 | * limitations under the License. 23 | */ 24 | 25 | 26 | package io.swagger.client.auth; 27 | 28 | import io.swagger.client.Pair; 29 | 30 | import com.squareup.okhttp.Credentials; 31 | 32 | import java.util.Map; 33 | import java.util.List; 34 | 35 | import java.io.UnsupportedEncodingException; 36 | 37 | public class HttpBasicAuth implements Authentication { 38 | private String username; 39 | private String password; 40 | 41 | public String getUsername() { 42 | return username; 43 | } 44 | 45 | public void setUsername(String username) { 46 | this.username = username; 47 | } 48 | 49 | public String getPassword() { 50 | return password; 51 | } 52 | 53 | public void setPassword(String password) { 54 | this.password = password; 55 | } 56 | 57 | @Override 58 | public void applyToParams(List queryParams, Map headerParams) { 59 | if (username == null && password == null) { 60 | return; 61 | } 62 | headerParams.put("Authorization", Credentials.basic( 63 | username == null ? "" : username, 64 | password == null ? "" : password)); 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /docs/ProcessorStatusSnapshotDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # ProcessorStatusSnapshotDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **String** | The id of the processor. | [optional] 8 | **groupId** | **String** | The id of the parent process group to which the processor belongs. | [optional] 9 | **name** | **String** | The name of the prcessor. | [optional] 10 | **type** | **String** | The type of the processor. | [optional] 11 | **runStatus** | [**RunStatusEnum**](#RunStatusEnum) | The state of the processor. | [optional] 12 | **bytesRead** | **Long** | The number of bytes read by this Processor in the last 5 mintues | [optional] 13 | **bytesWritten** | **Long** | The number of bytes written by this Processor in the last 5 minutes | [optional] 14 | **read** | **String** | The number of bytes read in the last 5 minutes. | [optional] 15 | **written** | **String** | The number of bytes written in the last 5 minutes. | [optional] 16 | **flowFilesIn** | **Integer** | The number of FlowFiles that have been accepted in the last 5 minutes | [optional] 17 | **bytesIn** | **Long** | The size of the FlowFiles that have been accepted in the last 5 minutes | [optional] 18 | **input** | **String** | The count/size of flowfiles that have been accepted in the last 5 minutes. | [optional] 19 | **flowFilesOut** | **Integer** | The number of FlowFiles transferred to a Connection in the last 5 minutes | [optional] 20 | **bytesOut** | **Long** | The size of the FlowFiles transferred to a Connection in the last 5 minutes | [optional] 21 | **output** | **String** | The count/size of flowfiles that have been processed in the last 5 minutes. | [optional] 22 | **taskCount** | **Integer** | The number of times this Processor has run in the last 5 minutes | [optional] 23 | **tasksDurationNanos** | **Long** | The number of nanoseconds that this Processor has spent running in the last 5 minutes | [optional] 24 | **tasks** | **String** | The total number of task this connectable has completed over the last 5 minutes. | [optional] 25 | **tasksDuration** | **String** | The total duration of all tasks for this connectable over the last 5 minutes. | [optional] 26 | **activeThreadCount** | **Integer** | The number of threads currently executing in the processor. | [optional] 27 | 28 | 29 | 30 | ## Enum: RunStatusEnum 31 | Name | Value 32 | ---- | ----- 33 | RUNNING | "RUNNING" 34 | STOPPED | "STOPPED" 35 | DISABLED | "DISABLED" 36 | INVALID | "INVALID" 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /docs/RemoteProcessGroupDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # RemoteProcessGroupDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **String** | The id of the component. | [optional] 8 | **parentGroupId** | **String** | The id of parent process group of this component if applicable. | [optional] 9 | **position** | [**PositionDTO**](PositionDTO.md) | The position of this component in the UI if applicable. | [optional] 10 | **targetUri** | **String** | The target URI of the remote process group. | [optional] 11 | **targetSecure** | **Boolean** | Whether the target is running securely. | [optional] 12 | **name** | **String** | The name of the remote process group. | [optional] 13 | **comments** | **String** | The comments for the remote process group. | [optional] 14 | **communicationsTimeout** | **String** | The time period used for the timeout when commicating with the target. | [optional] 15 | **yieldDuration** | **String** | When yielding, this amount of time must elapse before the remote process group is scheduled again. | [optional] 16 | **transportProtocol** | **String** | | [optional] 17 | **proxyHost** | **String** | | [optional] 18 | **proxyPort** | **Integer** | | [optional] 19 | **proxyUser** | **String** | | [optional] 20 | **proxyPassword** | **String** | | [optional] 21 | **authorizationIssues** | **List<String>** | Any remote authorization issues for the remote process group. | [optional] 22 | **transmitting** | **Boolean** | Whether the remote process group is actively transmitting. | [optional] 23 | **inputPortCount** | **Integer** | The number of remote input ports currently available on the target. | [optional] 24 | **outputPortCount** | **Integer** | The number of remote output ports currently available on the target. | [optional] 25 | **activeRemoteInputPortCount** | **Integer** | The number of active remote input ports. | [optional] 26 | **inactiveRemoteInputPortCount** | **Integer** | The number of inactive remote input ports. | [optional] 27 | **activeRemoteOutputPortCount** | **Integer** | The number of acitve remote output ports. | [optional] 28 | **inactiveRemoteOutputPortCount** | **Integer** | The number of inactive remote output ports. | [optional] 29 | **flowRefreshed** | [**DateTime**](DateTime.md) | The timestamp when this remote process group was last refreshed. | [optional] 30 | **contents** | [**RemoteProcessGroupContentsDTO**](RemoteProcessGroupContentsDTO.md) | The contents of the remote process group. Will contain available input/output ports. | [optional] 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /src/main/java/io/swagger/client/model/ActionDetailsDTO.java: -------------------------------------------------------------------------------- 1 | /* 2 | * NiFi Rest Api 3 | * The Rest Api provides programmatic access to command and control a NiFi instance in real time. Start and stop processors, monitor queues, query provenance data, and more. Each endpoint below includes a description, definitions of the expected input and output, potential response codes, and the authorizations required to invoke each service. 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: dev@nifi.apache.org 7 | * 8 | * NOTE: This class is auto generated by the swagger code generator program. 9 | * https://github.com/swagger-api/swagger-codegen.git 10 | * Do not edit the class manually. 11 | * 12 | * Licensed under the Apache License, Version 2.0 (the "License"); 13 | * you may not use this file except in compliance with the License. 14 | * You may obtain a copy of the License at 15 | * 16 | * http://www.apache.org/licenses/LICENSE-2.0 17 | * 18 | * Unless required by applicable law or agreed to in writing, software 19 | * distributed under the License is distributed on an "AS IS" BASIS, 20 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 21 | * See the License for the specific language governing permissions and 22 | * limitations under the License. 23 | */ 24 | 25 | 26 | package io.swagger.client.model; 27 | 28 | import java.util.Objects; 29 | 30 | /** 31 | * ActionDetailsDTO 32 | */ 33 | @javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaClientCodegen", date = "2016-10-14T11:52:34.905+11:00") 34 | public class ActionDetailsDTO { 35 | 36 | @Override 37 | public boolean equals(java.lang.Object o) { 38 | if (this == o) { 39 | return true; 40 | } 41 | if (o == null || getClass() != o.getClass()) { 42 | return false; 43 | } 44 | return true; 45 | } 46 | 47 | @Override 48 | public int hashCode() { 49 | return Objects.hash(); 50 | } 51 | 52 | @Override 53 | public String toString() { 54 | StringBuilder sb = new StringBuilder(); 55 | sb.append("class ActionDetailsDTO {\n"); 56 | 57 | sb.append("}"); 58 | return sb.toString(); 59 | } 60 | 61 | /** 62 | * Convert the given object to string with each line indented by 4 spaces 63 | * (except the first line). 64 | */ 65 | private String toIndentedString(java.lang.Object o) { 66 | if (o == null) { 67 | return "null"; 68 | } 69 | return o.toString().replace("\n", "\n "); 70 | } 71 | 72 | } 73 | 74 | -------------------------------------------------------------------------------- /src/main/java/io/swagger/client/model/StreamingOutput.java: -------------------------------------------------------------------------------- 1 | /* 2 | * NiFi Rest Api 3 | * The Rest Api provides programmatic access to command and control a NiFi instance in real time. Start and stop processors, monitor queues, query provenance data, and more. Each endpoint below includes a description, definitions of the expected input and output, potential response codes, and the authorizations required to invoke each service. 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: dev@nifi.apache.org 7 | * 8 | * NOTE: This class is auto generated by the swagger code generator program. 9 | * https://github.com/swagger-api/swagger-codegen.git 10 | * Do not edit the class manually. 11 | * 12 | * Licensed under the Apache License, Version 2.0 (the "License"); 13 | * you may not use this file except in compliance with the License. 14 | * You may obtain a copy of the License at 15 | * 16 | * http://www.apache.org/licenses/LICENSE-2.0 17 | * 18 | * Unless required by applicable law or agreed to in writing, software 19 | * distributed under the License is distributed on an "AS IS" BASIS, 20 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 21 | * See the License for the specific language governing permissions and 22 | * limitations under the License. 23 | */ 24 | 25 | 26 | package io.swagger.client.model; 27 | 28 | import java.util.Objects; 29 | 30 | /** 31 | * StreamingOutput 32 | */ 33 | @javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaClientCodegen", date = "2016-10-14T11:52:34.905+11:00") 34 | public class StreamingOutput { 35 | 36 | @Override 37 | public boolean equals(java.lang.Object o) { 38 | if (this == o) { 39 | return true; 40 | } 41 | if (o == null || getClass() != o.getClass()) { 42 | return false; 43 | } 44 | return true; 45 | } 46 | 47 | @Override 48 | public int hashCode() { 49 | return Objects.hash(); 50 | } 51 | 52 | @Override 53 | public String toString() { 54 | StringBuilder sb = new StringBuilder(); 55 | sb.append("class StreamingOutput {\n"); 56 | 57 | sb.append("}"); 58 | return sb.toString(); 59 | } 60 | 61 | /** 62 | * Convert the given object to string with each line indented by 4 spaces 63 | * (except the first line). 64 | */ 65 | private String toIndentedString(java.lang.Object o) { 66 | if (o == null) { 67 | return "null"; 68 | } 69 | return o.toString().replace("\n", "\n "); 70 | } 71 | 72 | } 73 | 74 | -------------------------------------------------------------------------------- /src/main/java/io/swagger/client/model/ComponentDetailsDTO.java: -------------------------------------------------------------------------------- 1 | /* 2 | * NiFi Rest Api 3 | * The Rest Api provides programmatic access to command and control a NiFi instance in real time. Start and stop processors, monitor queues, query provenance data, and more. Each endpoint below includes a description, definitions of the expected input and output, potential response codes, and the authorizations required to invoke each service. 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: dev@nifi.apache.org 7 | * 8 | * NOTE: This class is auto generated by the swagger code generator program. 9 | * https://github.com/swagger-api/swagger-codegen.git 10 | * Do not edit the class manually. 11 | * 12 | * Licensed under the Apache License, Version 2.0 (the "License"); 13 | * you may not use this file except in compliance with the License. 14 | * You may obtain a copy of the License at 15 | * 16 | * http://www.apache.org/licenses/LICENSE-2.0 17 | * 18 | * Unless required by applicable law or agreed to in writing, software 19 | * distributed under the License is distributed on an "AS IS" BASIS, 20 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 21 | * See the License for the specific language governing permissions and 22 | * limitations under the License. 23 | */ 24 | 25 | 26 | package io.swagger.client.model; 27 | 28 | import java.util.Objects; 29 | 30 | /** 31 | * ComponentDetailsDTO 32 | */ 33 | @javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaClientCodegen", date = "2016-10-14T11:52:34.905+11:00") 34 | public class ComponentDetailsDTO { 35 | 36 | @Override 37 | public boolean equals(java.lang.Object o) { 38 | if (this == o) { 39 | return true; 40 | } 41 | if (o == null || getClass() != o.getClass()) { 42 | return false; 43 | } 44 | return true; 45 | } 46 | 47 | @Override 48 | public int hashCode() { 49 | return Objects.hash(); 50 | } 51 | 52 | @Override 53 | public String toString() { 54 | StringBuilder sb = new StringBuilder(); 55 | sb.append("class ComponentDetailsDTO {\n"); 56 | 57 | sb.append("}"); 58 | return sb.toString(); 59 | } 60 | 61 | /** 62 | * Convert the given object to string with each line indented by 4 spaces 63 | * (except the first line). 64 | */ 65 | private String toIndentedString(java.lang.Object o) { 66 | if (o == null) { 67 | return "null"; 68 | } 69 | return o.toString().replace("\n", "\n "); 70 | } 71 | 72 | } 73 | 74 | -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- 1 | @if "%DEBUG%" == "" @echo off 2 | @rem ########################################################################## 3 | @rem 4 | @rem Gradle startup script for Windows 5 | @rem 6 | @rem ########################################################################## 7 | 8 | @rem Set local scope for the variables with windows NT shell 9 | if "%OS%"=="Windows_NT" setlocal 10 | 11 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 12 | set DEFAULT_JVM_OPTS= 13 | 14 | set DIRNAME=%~dp0 15 | if "%DIRNAME%" == "" set DIRNAME=. 16 | set APP_BASE_NAME=%~n0 17 | set APP_HOME=%DIRNAME% 18 | 19 | @rem Find java.exe 20 | if defined JAVA_HOME goto findJavaFromJavaHome 21 | 22 | set JAVA_EXE=java.exe 23 | %JAVA_EXE% -version >NUL 2>&1 24 | if "%ERRORLEVEL%" == "0" goto init 25 | 26 | echo. 27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 28 | echo. 29 | echo Please set the JAVA_HOME variable in your environment to match the 30 | echo location of your Java installation. 31 | 32 | goto fail 33 | 34 | :findJavaFromJavaHome 35 | set JAVA_HOME=%JAVA_HOME:"=% 36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 37 | 38 | if exist "%JAVA_EXE%" goto init 39 | 40 | echo. 41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 42 | echo. 43 | echo Please set the JAVA_HOME variable in your environment to match the 44 | echo location of your Java installation. 45 | 46 | goto fail 47 | 48 | :init 49 | @rem Get command-line arguments, handling Windows variants 50 | 51 | if not "%OS%" == "Windows_NT" goto win9xME_args 52 | if "%@eval[2+2]" == "4" goto 4NT_args 53 | 54 | :win9xME_args 55 | @rem Slurp the command line arguments. 56 | set CMD_LINE_ARGS= 57 | set _SKIP=2 58 | 59 | :win9xME_args_slurp 60 | if "x%~1" == "x" goto execute 61 | 62 | set CMD_LINE_ARGS=%* 63 | goto execute 64 | 65 | :4NT_args 66 | @rem Get arguments from the 4NT Shell from JP Software 67 | set CMD_LINE_ARGS=%$ 68 | 69 | :execute 70 | @rem Setup the command line 71 | 72 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 73 | 74 | @rem Execute Gradle 75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% 76 | 77 | :end 78 | @rem End local scope for the variables with windows NT shell 79 | if "%ERRORLEVEL%"=="0" goto mainEnd 80 | 81 | :fail 82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 83 | rem the _cmd.exe /c_ return code! 84 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 85 | exit /b 1 86 | 87 | :mainEnd 88 | if "%OS%"=="Windows_NT" endlocal 89 | 90 | :omega 91 | -------------------------------------------------------------------------------- /docs/TemplatesApi.md: -------------------------------------------------------------------------------- 1 | # TemplatesApi 2 | 3 | All URIs are relative to *http://localhost/nifi-api* 4 | 5 | Method | HTTP request | Description 6 | ------------- | ------------- | ------------- 7 | [**exportTemplate**](TemplatesApi.md#exportTemplate) | **GET** /templates/{id}/download | Exports a template 8 | [**removeTemplate**](TemplatesApi.md#removeTemplate) | **DELETE** /templates/{id} | Deletes a template 9 | 10 | 11 | 12 | # **exportTemplate** 13 | > TemplateDTO exportTemplate(id) 14 | 15 | Exports a template 16 | 17 | 18 | 19 | ### Example 20 | ```java 21 | // Import classes: 22 | //import io.swagger.client.ApiException; 23 | //import io.swagger.client.api.TemplatesApi; 24 | 25 | 26 | TemplatesApi apiInstance = new TemplatesApi(); 27 | String id = "id_example"; // String | The template id. 28 | try { 29 | TemplateDTO result = apiInstance.exportTemplate(id); 30 | System.out.println(result); 31 | } catch (ApiException e) { 32 | System.err.println("Exception when calling TemplatesApi#exportTemplate"); 33 | e.printStackTrace(); 34 | } 35 | ``` 36 | 37 | ### Parameters 38 | 39 | Name | Type | Description | Notes 40 | ------------- | ------------- | ------------- | ------------- 41 | **id** | **String**| The template id. | 42 | 43 | ### Return type 44 | 45 | [**TemplateDTO**](TemplateDTO.md) 46 | 47 | ### Authorization 48 | 49 | No authorization required 50 | 51 | ### HTTP request headers 52 | 53 | - **Content-Type**: *_/_* 54 | - **Accept**: application/xml 55 | 56 | 57 | # **removeTemplate** 58 | > TemplateEntity removeTemplate(id) 59 | 60 | Deletes a template 61 | 62 | 63 | 64 | ### Example 65 | ```java 66 | // Import classes: 67 | //import io.swagger.client.ApiException; 68 | //import io.swagger.client.api.TemplatesApi; 69 | 70 | 71 | TemplatesApi apiInstance = new TemplatesApi(); 72 | String id = "id_example"; // String | The template id. 73 | try { 74 | TemplateEntity result = apiInstance.removeTemplate(id); 75 | System.out.println(result); 76 | } catch (ApiException e) { 77 | System.err.println("Exception when calling TemplatesApi#removeTemplate"); 78 | e.printStackTrace(); 79 | } 80 | ``` 81 | 82 | ### Parameters 83 | 84 | Name | Type | Description | Notes 85 | ------------- | ------------- | ------------- | ------------- 86 | **id** | **String**| The template id. | 87 | 88 | ### Return type 89 | 90 | [**TemplateEntity**](TemplateEntity.md) 91 | 92 | ### Authorization 93 | 94 | No authorization required 95 | 96 | ### HTTP request headers 97 | 98 | - **Content-Type**: *_/_* 99 | - **Accept**: application/json 100 | 101 | -------------------------------------------------------------------------------- /src/test/java/io/swagger/client/api/TemplatesApiTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * NiFi Rest Api 3 | * The Rest Api provides programmatic access to command and control a NiFi instance in real time. Start and stop processors, monitor queues, query provenance data, and more. Each endpoint below includes a description, definitions of the expected input and output, potential response codes, and the authorizations required to invoke each service. 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: dev@nifi.apache.org 7 | * 8 | * NOTE: This class is auto generated by the swagger code generator program. 9 | * https://github.com/swagger-api/swagger-codegen.git 10 | * Do not edit the class manually. 11 | * 12 | * Licensed under the Apache License, Version 2.0 (the "License"); 13 | * you may not use this file except in compliance with the License. 14 | * You may obtain a copy of the License at 15 | * 16 | * http://www.apache.org/licenses/LICENSE-2.0 17 | * 18 | * Unless required by applicable law or agreed to in writing, software 19 | * distributed under the License is distributed on an "AS IS" BASIS, 20 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 21 | * See the License for the specific language governing permissions and 22 | * limitations under the License. 23 | */ 24 | 25 | 26 | package io.swagger.client.api; 27 | 28 | import io.swagger.client.ApiException; 29 | import io.swagger.client.model.TemplateDTO; 30 | import io.swagger.client.model.TemplateEntity; 31 | import org.junit.Test; 32 | 33 | import java.util.ArrayList; 34 | import java.util.HashMap; 35 | import java.util.List; 36 | import java.util.Map; 37 | 38 | /** 39 | * API tests for TemplatesApi 40 | */ 41 | public class TemplatesApiTest { 42 | 43 | private final TemplatesApi api = new TemplatesApi(); 44 | 45 | 46 | /** 47 | * Exports a template 48 | * 49 | * 50 | * 51 | * @throws ApiException 52 | * if the Api call fails 53 | */ 54 | @Test 55 | public void exportTemplateTest() throws ApiException { 56 | String id = null; 57 | // TemplateDTO response = api.exportTemplate(id); 58 | 59 | // TODO: test validations 60 | } 61 | 62 | /** 63 | * Deletes a template 64 | * 65 | * 66 | * 67 | * @throws ApiException 68 | * if the Api call fails 69 | */ 70 | @Test 71 | public void removeTemplateTest() throws ApiException { 72 | String id = null; 73 | // TemplateEntity response = api.removeTemplate(id); 74 | 75 | // TODO: test validations 76 | } 77 | 78 | } 79 | -------------------------------------------------------------------------------- /docs/SystemDiagnosticsSnapshotDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # SystemDiagnosticsSnapshotDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **totalNonHeap** | **String** | Total size of non heap. | [optional] 8 | **totalNonHeapBytes** | **Long** | Total number of bytes allocated to the JVM not used for heap | [optional] 9 | **usedNonHeap** | **String** | Amount of use non heap. | [optional] 10 | **usedNonHeapBytes** | **Long** | Total number of bytes used by the JVM not in the heap space | [optional] 11 | **freeNonHeap** | **String** | Amount of free non heap. | [optional] 12 | **freeNonHeapBytes** | **Long** | Total number of free non-heap bytes available to the JVM | [optional] 13 | **maxNonHeap** | **String** | Maximum size of non heap. | [optional] 14 | **maxNonHeapBytes** | **Long** | The maximum number of bytes that the JVM can use for non-heap purposes | [optional] 15 | **nonHeapUtilization** | **String** | Utilization of non heap. | [optional] 16 | **totalHeap** | **String** | Total size of heap. | [optional] 17 | **totalHeapBytes** | **Long** | The total number of bytes that are available for the JVM heap to use | [optional] 18 | **usedHeap** | **String** | Amount of used heap. | [optional] 19 | **usedHeapBytes** | **Long** | The number of bytes of JVM heap that are currently being used | [optional] 20 | **freeHeap** | **String** | Amount of free heap. | [optional] 21 | **freeHeapBytes** | **Long** | The number of bytes that are allocated to the JVM heap but not currently being used | [optional] 22 | **maxHeap** | **String** | Maximum size of heap. | [optional] 23 | **maxHeapBytes** | **Long** | The maximum number of bytes that can be used by the JVM | [optional] 24 | **heapUtilization** | **String** | Utilization of heap. | [optional] 25 | **availableProcessors** | **Integer** | Number of available processors if supported by the underlying system. | [optional] 26 | **processorLoadAverage** | **Double** | The processor load average if supported by the underlying system. | [optional] 27 | **totalThreads** | **Integer** | Total number of threads. | [optional] 28 | **daemonThreads** | **Integer** | Number of daemon threads. | [optional] 29 | **flowFileRepositoryStorageUsage** | [**StorageUsageDTO**](StorageUsageDTO.md) | The flowfile repository storage usage. | [optional] 30 | **contentRepositoryStorageUsage** | [**List<StorageUsageDTO>**](StorageUsageDTO.md) | The content repository storage usage. | [optional] 31 | **garbageCollection** | [**List<GarbageCollectionDTO>**](GarbageCollectionDTO.md) | The garbage collection details. | [optional] 32 | **statsLastRefreshed** | [**DateTime**](DateTime.md) | When the diagnostics were generated. | [optional] 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /docs/ProcessorConfigDTO.md: -------------------------------------------------------------------------------- 1 | 2 | # ProcessorConfigDTO 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **properties** | **Map<String, String>** | The properties for the processor. Properties whose value is not set will only contain the property name. | [optional] 8 | **descriptors** | [**Map<String, PropertyDescriptorDTO>**](PropertyDescriptorDTO.md) | Descriptors for the processor's properties. | [optional] 9 | **schedulingPeriod** | **String** | The frequency with which to schedule the processor. The format of the value will depend on th value of schedulingStrategy. | [optional] 10 | **schedulingStrategy** | **String** | Indcates whether the prcessor should be scheduled to run in event or timer driven mode. | [optional] 11 | **penaltyDuration** | **String** | The amout of time that is used when the process penalizes a flowfile. | [optional] 12 | **yieldDuration** | **String** | The amount of time that must elapse before this processor is scheduled again after yielding. | [optional] 13 | **bulletinLevel** | **String** | The level at which the processor will report bulletins. | [optional] 14 | **runDurationMillis** | **Long** | The run duration for the processor in milliseconds. | [optional] 15 | **concurrentlySchedulableTaskCount** | **Integer** | The number of tasks that should be concurrently schedule for the processor. If the processor doesn't allow parallol processing then any positive input will be ignored. | [optional] 16 | **autoTerminatedRelationships** | **List<String>** | The names of all relationships that cause a flow file to be terminated if the relationship is not connected elsewhere. This property differs from the 'isAutoTerminate' property of the RelationshipDTO in that the RelationshipDTO is meant to depict the current configuration, whereas this property can be set in a DTO when updating a Processor in order to change which Relationships should be auto-terminated. | [optional] 17 | **comments** | **String** | The comments for the processor. | [optional] 18 | **customUiUrl** | **String** | The URL for the processor's custom configuration UI if applicable. | [optional] 19 | **lossTolerant** | **Boolean** | Whether the processor is loss tolerant. | [optional] 20 | **annotationData** | **String** | The annotation data for the processor used to relay configuration between a custom UI and the procesosr. | [optional] 21 | **defaultConcurrentTasks** | **Map<String, String>** | Maps default values for concurrent tasks for each applicable scheduling strategy. | [optional] 22 | **defaultSchedulingPeriod** | **Map<String, String>** | Maps default values for scheduling period for each applicable scheduling strategy. | [optional] 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/io/swagger/client/ApiResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * NiFi Rest Api 3 | * The Rest Api provides programmatic access to command and control a NiFi instance in real time. Start and stop processors, monitor queues, query provenance data, and more. Each endpoint below includes a description, definitions of the expected input and output, potential response codes, and the authorizations required to invoke each service. 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: dev@nifi.apache.org 7 | * 8 | * NOTE: This class is auto generated by the swagger code generator program. 9 | * https://github.com/swagger-api/swagger-codegen.git 10 | * Do not edit the class manually. 11 | * 12 | * Licensed under the Apache License, Version 2.0 (the "License"); 13 | * you may not use this file except in compliance with the License. 14 | * You may obtain a copy of the License at 15 | * 16 | * http://www.apache.org/licenses/LICENSE-2.0 17 | * 18 | * Unless required by applicable law or agreed to in writing, software 19 | * distributed under the License is distributed on an "AS IS" BASIS, 20 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 21 | * See the License for the specific language governing permissions and 22 | * limitations under the License. 23 | */ 24 | 25 | 26 | package io.swagger.client; 27 | 28 | import java.util.List; 29 | import java.util.Map; 30 | 31 | /** 32 | * API response returned by API call. 33 | * 34 | * @param The type of data that is deserialized from response body 35 | */ 36 | public class ApiResponse { 37 | final private int statusCode; 38 | final private Map> headers; 39 | final private T data; 40 | 41 | /** 42 | * @param statusCode The status code of HTTP response 43 | * @param headers The headers of HTTP response 44 | */ 45 | public ApiResponse(int statusCode, Map> headers) { 46 | this(statusCode, headers, null); 47 | } 48 | 49 | /** 50 | * @param statusCode The status code of HTTP response 51 | * @param headers The headers of HTTP response 52 | * @param data The object deserialized from response bod 53 | */ 54 | public ApiResponse(int statusCode, Map> headers, T data) { 55 | this.statusCode = statusCode; 56 | this.headers = headers; 57 | this.data = data; 58 | } 59 | 60 | public int getStatusCode() { 61 | return statusCode; 62 | } 63 | 64 | public Map> getHeaders() { 65 | return headers; 66 | } 67 | 68 | public T getData() { 69 | return data; 70 | } 71 | } 72 | -------------------------------------------------------------------------------- /src/test/java/io/swagger/client/api/SitetositeApiTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * NiFi Rest Api 3 | * The Rest Api provides programmatic access to command and control a NiFi instance in real time. Start and stop processors, monitor queues, query provenance data, and more. Each endpoint below includes a description, definitions of the expected input and output, potential response codes, and the authorizations required to invoke each service. 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: dev@nifi.apache.org 7 | * 8 | * NOTE: This class is auto generated by the swagger code generator program. 9 | * https://github.com/swagger-api/swagger-codegen.git 10 | * Do not edit the class manually. 11 | * 12 | * Licensed under the Apache License, Version 2.0 (the "License"); 13 | * you may not use this file except in compliance with the License. 14 | * You may obtain a copy of the License at 15 | * 16 | * http://www.apache.org/licenses/LICENSE-2.0 17 | * 18 | * Unless required by applicable law or agreed to in writing, software 19 | * distributed under the License is distributed on an "AS IS" BASIS, 20 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 21 | * See the License for the specific language governing permissions and 22 | * limitations under the License. 23 | */ 24 | 25 | 26 | package io.swagger.client.api; 27 | 28 | import io.swagger.client.ApiException; 29 | import io.swagger.client.model.PeersEntity; 30 | import io.swagger.client.model.ControllerEntity; 31 | import org.junit.Test; 32 | 33 | import java.util.ArrayList; 34 | import java.util.HashMap; 35 | import java.util.List; 36 | import java.util.Map; 37 | 38 | /** 39 | * API tests for SitetositeApi 40 | */ 41 | public class SitetositeApiTest { 42 | 43 | private final SitetositeApi api = new SitetositeApi(); 44 | 45 | 46 | /** 47 | * Returns the available Peers and its status of this NiFi 48 | * 49 | * 50 | * 51 | * @throws ApiException 52 | * if the Api call fails 53 | */ 54 | @Test 55 | public void getPeersTest() throws ApiException { 56 | // PeersEntity response = api.getPeers(); 57 | 58 | // TODO: test validations 59 | } 60 | 61 | /** 62 | * Returns the details about this NiFi necessary to communicate via site to site 63 | * 64 | * 65 | * 66 | * @throws ApiException 67 | * if the Api call fails 68 | */ 69 | @Test 70 | public void getSiteToSiteDetailsTest() throws ApiException { 71 | // ControllerEntity response = api.getSiteToSiteDetails(); 72 | 73 | // TODO: test validations 74 | } 75 | 76 | } 77 | -------------------------------------------------------------------------------- /docs/ConnectionEntity.md: -------------------------------------------------------------------------------- 1 | 2 | # ConnectionEntity 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **revision** | [**RevisionDTO**](RevisionDTO.md) | The revision for this request/response. The revision is required for any mutable flow requests and is included in all responses. | [optional] 8 | **id** | **String** | The id of the component. | [optional] 9 | **uri** | **String** | The URI for futures requests to the component. | [optional] 10 | **position** | [**PositionDTO**](PositionDTO.md) | The position of this component in the UI if applicable. | [optional] 11 | **permissions** | [**PermissionsDTO**](PermissionsDTO.md) | The permissions for this component. | [optional] 12 | **bulletins** | [**List<BulletinEntity>**](BulletinEntity.md) | The bulletins for this component. | [optional] 13 | **component** | [**ConnectionDTO**](ConnectionDTO.md) | | [optional] 14 | **status** | [**ConnectionStatusDTO**](ConnectionStatusDTO.md) | The status of the connection. | [optional] 15 | **bends** | [**List<PositionDTO>**](PositionDTO.md) | The bend points on the connection. | [optional] 16 | **labelIndex** | **Integer** | The index of the bend point where to place the connection label. | [optional] 17 | **getzIndex** | **Long** | The z index of the connection. | [optional] 18 | **sourceId** | **String** | The identifier of the source of this connection. | [optional] 19 | **sourceGroupId** | **String** | The identifier of the group of the source of this connection. | [optional] 20 | **sourceType** | [**SourceTypeEnum**](#SourceTypeEnum) | The type of component the source connectable is. | 21 | **destinationId** | **String** | The identifier of the destination of this connection. | [optional] 22 | **destinationGroupId** | **String** | The identifier of the group of the destination of this connection. | [optional] 23 | **destinationType** | [**DestinationTypeEnum**](#DestinationTypeEnum) | The type of component the destination connectable is. | 24 | 25 | 26 | 27 | ## Enum: SourceTypeEnum 28 | Name | Value 29 | ---- | ----- 30 | PROCESSOR | "PROCESSOR" 31 | REMOTE_INPUT_PORT | "REMOTE_INPUT_PORT" 32 | REMOTE_OUTPUT_PORT | "REMOTE_OUTPUT_PORT" 33 | INPUT_PORT | "INPUT_PORT" 34 | OUTPUT_PORT | "OUTPUT_PORT" 35 | FUNNEL | "FUNNEL" 36 | 37 | 38 | 39 | ## Enum: DestinationTypeEnum 40 | Name | Value 41 | ---- | ----- 42 | PROCESSOR | "PROCESSOR" 43 | REMOTE_INPUT_PORT | "REMOTE_INPUT_PORT" 44 | REMOTE_OUTPUT_PORT | "REMOTE_OUTPUT_PORT" 45 | INPUT_PORT | "INPUT_PORT" 46 | OUTPUT_PORT | "OUTPUT_PORT" 47 | FUNNEL | "FUNNEL" 48 | 49 | 50 | 51 | -------------------------------------------------------------------------------- /src/main/java/io/swagger/client/StringUtil.java: -------------------------------------------------------------------------------- 1 | /* 2 | * NiFi Rest Api 3 | * The Rest Api provides programmatic access to command and control a NiFi instance in real time. Start and stop processors, monitor queues, query provenance data, and more. Each endpoint below includes a description, definitions of the expected input and output, potential response codes, and the authorizations required to invoke each service. 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: dev@nifi.apache.org 7 | * 8 | * NOTE: This class is auto generated by the swagger code generator program. 9 | * https://github.com/swagger-api/swagger-codegen.git 10 | * Do not edit the class manually. 11 | * 12 | * Licensed under the Apache License, Version 2.0 (the "License"); 13 | * you may not use this file except in compliance with the License. 14 | * You may obtain a copy of the License at 15 | * 16 | * http://www.apache.org/licenses/LICENSE-2.0 17 | * 18 | * Unless required by applicable law or agreed to in writing, software 19 | * distributed under the License is distributed on an "AS IS" BASIS, 20 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 21 | * See the License for the specific language governing permissions and 22 | * limitations under the License. 23 | */ 24 | 25 | 26 | package io.swagger.client; 27 | 28 | @javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaClientCodegen", date = "2016-10-14T11:52:34.905+11:00") 29 | public class StringUtil { 30 | /** 31 | * Check if the given array contains the given value (with case-insensitive comparison). 32 | * 33 | * @param array The array 34 | * @param value The value to search 35 | * @return true if the array contains the value 36 | */ 37 | public static boolean containsIgnoreCase(String[] array, String value) { 38 | for (String str : array) { 39 | if (value == null && str == null) return true; 40 | if (value != null && value.equalsIgnoreCase(str)) return true; 41 | } 42 | return false; 43 | } 44 | 45 | /** 46 | * Join an array of strings with the given separator. 47 | *

48 | * Note: This might be replaced by utility method from commons-lang or guava someday 49 | * if one of those libraries is added as dependency. 50 | *

51 | * 52 | * @param array The array of strings 53 | * @param separator The separator 54 | * @return the resulting string 55 | */ 56 | public static String join(String[] array, String separator) { 57 | int len = array.length; 58 | if (len == 0) return ""; 59 | 60 | StringBuilder out = new StringBuilder(); 61 | out.append(array[0]); 62 | for (int i = 1; i < len; i++) { 63 | out.append(separator).append(array[i]); 64 | } 65 | return out.toString(); 66 | } 67 | } 68 | -------------------------------------------------------------------------------- /src/test/java/io/swagger/client/api/CountersApiTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * NiFi Rest Api 3 | * The Rest Api provides programmatic access to command and control a NiFi instance in real time. Start and stop processors, monitor queues, query provenance data, and more. Each endpoint below includes a description, definitions of the expected input and output, potential response codes, and the authorizations required to invoke each service. 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: dev@nifi.apache.org 7 | * 8 | * NOTE: This class is auto generated by the swagger code generator program. 9 | * https://github.com/swagger-api/swagger-codegen.git 10 | * Do not edit the class manually. 11 | * 12 | * Licensed under the Apache License, Version 2.0 (the "License"); 13 | * you may not use this file except in compliance with the License. 14 | * You may obtain a copy of the License at 15 | * 16 | * http://www.apache.org/licenses/LICENSE-2.0 17 | * 18 | * Unless required by applicable law or agreed to in writing, software 19 | * distributed under the License is distributed on an "AS IS" BASIS, 20 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 21 | * See the License for the specific language governing permissions and 22 | * limitations under the License. 23 | */ 24 | 25 | 26 | package io.swagger.client.api; 27 | 28 | import io.swagger.client.ApiException; 29 | import io.swagger.client.model.CountersEntity; 30 | import io.swagger.client.model.CounterEntity; 31 | import org.junit.Test; 32 | 33 | import java.util.ArrayList; 34 | import java.util.HashMap; 35 | import java.util.List; 36 | import java.util.Map; 37 | 38 | /** 39 | * API tests for CountersApi 40 | */ 41 | public class CountersApiTest { 42 | 43 | private final CountersApi api = new CountersApi(); 44 | 45 | 46 | /** 47 | * Gets the current counters for this NiFi 48 | * 49 | * Note: This endpoint is subject to change as NiFi and it's REST API evolve. 50 | * 51 | * @throws ApiException 52 | * if the Api call fails 53 | */ 54 | @Test 55 | public void getCountersTest() throws ApiException { 56 | Boolean nodewise = null; 57 | String clusterNodeId = null; 58 | // CountersEntity response = api.getCounters(nodewise, clusterNodeId); 59 | 60 | // TODO: test validations 61 | } 62 | 63 | /** 64 | * Updates the specified counter. This will reset the counter value to 0 65 | * 66 | * Note: This endpoint is subject to change as NiFi and it's REST API evolve. 67 | * 68 | * @throws ApiException 69 | * if the Api call fails 70 | */ 71 | @Test 72 | public void updateCounterTest() throws ApiException { 73 | String id = null; 74 | // CounterEntity response = api.updateCounter(id); 75 | 76 | // TODO: test validations 77 | } 78 | 79 | } 80 | -------------------------------------------------------------------------------- /src/main/java/io/swagger/client/auth/ApiKeyAuth.java: -------------------------------------------------------------------------------- 1 | /* 2 | * NiFi Rest Api 3 | * The Rest Api provides programmatic access to command and control a NiFi instance in real time. Start and stop processors, monitor queues, query provenance data, and more. Each endpoint below includes a description, definitions of the expected input and output, potential response codes, and the authorizations required to invoke each service. 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: dev@nifi.apache.org 7 | * 8 | * NOTE: This class is auto generated by the swagger code generator program. 9 | * https://github.com/swagger-api/swagger-codegen.git 10 | * Do not edit the class manually. 11 | * 12 | * Licensed under the Apache License, Version 2.0 (the "License"); 13 | * you may not use this file except in compliance with the License. 14 | * You may obtain a copy of the License at 15 | * 16 | * http://www.apache.org/licenses/LICENSE-2.0 17 | * 18 | * Unless required by applicable law or agreed to in writing, software 19 | * distributed under the License is distributed on an "AS IS" BASIS, 20 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 21 | * See the License for the specific language governing permissions and 22 | * limitations under the License. 23 | */ 24 | 25 | 26 | package io.swagger.client.auth; 27 | 28 | import io.swagger.client.Pair; 29 | 30 | import java.util.Map; 31 | import java.util.List; 32 | 33 | @javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaClientCodegen", date = "2016-10-14T11:52:34.905+11:00") 34 | public class ApiKeyAuth implements Authentication { 35 | private final String location; 36 | private final String paramName; 37 | 38 | private String apiKey; 39 | private String apiKeyPrefix; 40 | 41 | public ApiKeyAuth(String location, String paramName) { 42 | this.location = location; 43 | this.paramName = paramName; 44 | } 45 | 46 | public String getLocation() { 47 | return location; 48 | } 49 | 50 | public String getParamName() { 51 | return paramName; 52 | } 53 | 54 | public String getApiKey() { 55 | return apiKey; 56 | } 57 | 58 | public void setApiKey(String apiKey) { 59 | this.apiKey = apiKey; 60 | } 61 | 62 | public String getApiKeyPrefix() { 63 | return apiKeyPrefix; 64 | } 65 | 66 | public void setApiKeyPrefix(String apiKeyPrefix) { 67 | this.apiKeyPrefix = apiKeyPrefix; 68 | } 69 | 70 | @Override 71 | public void applyToParams(List queryParams, Map headerParams) { 72 | if (apiKey == null) { 73 | return; 74 | } 75 | String value; 76 | if (apiKeyPrefix != null) { 77 | value = apiKeyPrefix + " " + apiKey; 78 | } else { 79 | value = apiKey; 80 | } 81 | if ("query".equals(location)) { 82 | queryParams.add(new Pair(paramName, value)); 83 | } else if ("header".equals(location)) { 84 | headerParams.put(paramName, value); 85 | } 86 | } 87 | } 88 | --------------------------------------------------------------------------------