Package org.apache.nifi.gitlab
Class GitLabFlowRegistryClient
java.lang.Object
org.apache.nifi.components.AbstractConfigurableComponent
org.apache.nifi.registry.flow.AbstractFlowRegistryClient
org.apache.nifi.registry.flow.git.AbstractGitFlowRegistryClient
org.apache.nifi.gitlab.GitLabFlowRegistryClient
- All Implemented Interfaces:
org.apache.nifi.components.ConfigurableComponent,org.apache.nifi.registry.flow.FlowRegistryClient
@Tags({"git","gitlab","registry","flow"})
@CapabilityDescription("Flow Registry Client that uses the GitLab REST API to version control flows in a GitLab Project.")
public class GitLabFlowRegistryClient
extends AbstractGitFlowRegistryClient
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final org.apache.nifi.components.PropertyDescriptor(package private) static final org.apache.nifi.components.PropertyDescriptor(package private) static final org.apache.nifi.components.PropertyDescriptor(package private) static final org.apache.nifi.components.PropertyDescriptor(package private) static final org.apache.nifi.components.PropertyDescriptor(package private) static final List<org.apache.nifi.components.PropertyDescriptor> (package private) static final org.apache.nifi.components.PropertyDescriptor(package private) static final org.apache.nifi.components.PropertyDescriptor(package private) static final org.apache.nifi.components.PropertyDescriptor(package private) static final String(package private) static final StringFields inherited from class org.apache.nifi.registry.flow.git.AbstractGitFlowRegistryClient
DIRECTORY_FILTER_EXCLUDE, REPOSITORY_BRANCH, REPOSITORY_PATHFields inherited from interface org.apache.nifi.registry.flow.FlowRegistryClient
DEFAULT_BRANCH_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected List<org.apache.nifi.components.PropertyDescriptor> protected GitRepositoryClientcreateRepositoryClient(org.apache.nifi.registry.flow.FlowRegistryClientConfigurationContext context) protected StringgetStorageLocation(GitRepositoryClient repositoryClient) booleanisStorageLocationApplicable(org.apache.nifi.registry.flow.FlowRegistryClientConfigurationContext context, String location) Methods inherited from class org.apache.nifi.registry.flow.git.AbstractGitFlowRegistryClient
createFlowSnapshotSerializer, customValidate, deregisterFlow, generateFlowId, getBranches, getBucket, getBuckets, getDefaultBranch, getFlow, getFlowContents, getFlows, getFlowVersions, getLatestVersion, getRepositoryClient, getSupportedPropertyDescriptors, initialize, invalidateClient, isBranchingSupported, onPropertyModified, registerFlow, registerFlowSnapshotMethods inherited from class org.apache.nifi.registry.flow.AbstractFlowRegistryClient
getIdentifier, getLogger, getSystemSslContextMethods inherited from class org.apache.nifi.components.AbstractConfigurableComponent
equals, getPropertyDescriptor, getPropertyDescriptors, getSupportedDynamicPropertyDescriptor, hashCode, toString, validateMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.nifi.components.ConfigurableComponent
getPropertyDescriptor, getPropertyDescriptors, validate
-
Field Details
-
GITLAB_API_URL
static final org.apache.nifi.components.PropertyDescriptor GITLAB_API_URL -
GITLAB_API_VERSION
static final org.apache.nifi.components.PropertyDescriptor GITLAB_API_VERSION -
REPOSITORY_NAMESPACE
static final org.apache.nifi.components.PropertyDescriptor REPOSITORY_NAMESPACE -
REPOSITORY_NAME
static final org.apache.nifi.components.PropertyDescriptor REPOSITORY_NAME -
AUTHENTICATION_TYPE
static final org.apache.nifi.components.PropertyDescriptor AUTHENTICATION_TYPE -
ACCESS_TOKEN
static final org.apache.nifi.components.PropertyDescriptor ACCESS_TOKEN -
CONNECT_TIMEOUT
static final org.apache.nifi.components.PropertyDescriptor CONNECT_TIMEOUT -
READ_TIMEOUT
static final org.apache.nifi.components.PropertyDescriptor READ_TIMEOUT -
PROPERTY_DESCRIPTORS
-
STORAGE_LOCATION_PREFIX
- See Also:
-
STORAGE_LOCATION_FORMAT
- See Also:
-
-
Constructor Details
-
GitLabFlowRegistryClient
public GitLabFlowRegistryClient()
-
-
Method Details
-
createPropertyDescriptors
- Specified by:
createPropertyDescriptorsin classAbstractGitFlowRegistryClient
-
getStorageLocation
- Specified by:
getStorageLocationin classAbstractGitFlowRegistryClient
-
isStorageLocationApplicable
public boolean isStorageLocationApplicable(org.apache.nifi.registry.flow.FlowRegistryClientConfigurationContext context, String location) -
createRepositoryClient
protected GitRepositoryClient createRepositoryClient(org.apache.nifi.registry.flow.FlowRegistryClientConfigurationContext context) throws org.apache.nifi.registry.flow.FlowRegistryException - Specified by:
createRepositoryClientin classAbstractGitFlowRegistryClient- Throws:
org.apache.nifi.registry.flow.FlowRegistryException
-