- Setup AWS extensions and add S3BundlePersistenceProvider
- Refactor BundlePersistenceProvider API and updated implementations accordingly
- Include AWS extensions by default
- Changing JaxbLink params map to be strings to better align with swagger code-gen, and fixing overloaded method names
This closes#167.
Signed-off-by: Kevin Doran <kdoran@apache.org>
- Removing values from @ApiModel so all models use default name from Java class
- Standardizing all @ApiOperation annotations to have a short value + notes, fixing problem with two models named Bundle
This closes#164.
Signed-off-by: Kevin Doran <kdoran@apache.org>
- Added end-point to retrieve additional details content
- Added links to docs from extension metadata and extension repo
- Added client methods to retrieve docs
This closes#163.
Signed-off-by: Kevin Doran <kdoran@apache.org>
- Incorporating BuildInfo into DB and appropriate entity/model classes
- Added ProvidedServiceAPI to DB schema, entities, and metadata service
- Added Restrictions to DB, entity classes, and metadata service
- Refactored DataModelMapper into separate classes
- Updated StandardExtensionService to persist Extensions to DB
- Added link to extension-metadata from extension repo API
- Updated NarBundleExtractor to extract additionalDetails and added additionalDetails to DB schema and entities
- Added REST end-points to access extension metadata by bundle version
- Refactored NarBundleExtractor to unmarshall extension-manifest.xml using Jackson XML
- Refactored how extensions are stored in the DB to store a serialized version of the content
- Removed extension prefix from bundle and bundle version class and tables
- Added ExtensionResource to get all extensions
- Creating links from ExtensionMetadata to Extension
- Added swagger and validation annotations to extension model objects
- Added filter params for retrieving extensions
- Added ExtensionClient and JerseyExtensionClient
- Added REST end-point to search by provided service API
- Added display name to extensions
- Added versioned serializer for the Extension entity
- Added comment to default providers.xml about ordering of providers
This closes#160.
Signed-off-by: Kevin Doran <kdoran@apache.org>
The README.md file in the dockerhub directory suggests that the NiFi
Registry image is tagged as 'apache/nifi:latest' instead of
'apache/nifi-registry:latest'. This seems to be a typo.
This closes#158.
Signed-off-by: Andy LoPresto <alopresto@apache.org>
- Catch thrown errors and exceptions in background ldap sync task to prevent killing the thread
- Improve logging by moving some warns to debug for potentially valid configurations and add more debug output.
This closes#157
The script which maps env to flow provider properties is currently not overwriting the file, but instead sending to stdout.
This should fix the issue in the Docker update_flow_provider script.
Note: This replicates a fix also made in pull requests #132 and #150 on github.
This closes#152.
This closes#150.
This closes#132.
Co-authored-by: Joao C Costa <joaocc@users.noreply.github.com>
Co-authored-by: silver2k <colin@findlay.geek.nz>
Signed-off-by: Kevin Doran <kdoran@apache.org>
The mapping from env to registry properties for the database user, pass, and max connections are referencing the incorrect property names.
This should fix the issue in the Docker update_database.sh script, and correct other references in the documentation.
This closes#151.
Signed-off-by: Kevin Doran <kdoran@apache.org>
Replacing the test TLS certs in the source code repository
with new certs that were signed by a tracked CA key. Also
adding instructions for generating additional keys in the
future if needed.
Corrections to README based on peer-review feedback
Updated shell script in README to create uniq working dir
This closes#153.
Signed-off-by: Andy LoPresto <alopresto@apache.org>
- Adding content size field extension bundle version
- Adding optional filters to the get all bundles end-point
- Bumping minor versions of spring boot and spring security
- Adding /bundles/versions with filter params
- Added new client method to return an optional checksum for a given group, artifact, and version
- Adding support for SNAPSHOT versions
- Adding flag on buckets to indicate if redeploying extension bundle versions is allowed
This closes#149.
Signed-off-by: Kevin Doran <kdoran@apache.org>
- Setting up DB tables and entities for extensions
- Updated MetadataService and DatabaseMetadataService with new methods for extension entities
- Added ON DELETE CASCADE to existing tables and simplified delete logic for buckets and flows
- Created data model for extension bundles and mapping to/from DB entities
- Created ExtensionBundleExtractor with an implemenetation for NARs
- Setup LinkService and LinkBuilder for extension bundles
- Setup pluggable persistence provider for extension bundles and implemented a local file-system provider.
- Refactored LinkService and add links for all extension related items
- Changed extension service to write out bundles to a temp directory before extracting and passing to persistence provider
- Implemented multi-part form upload for extensions bundles
- Upgraded to spring-boot 2.1.0
- Added SHA-256 checksums for bundle versions
- Initial client methods for uploading and retrieving bundles
- Configuring NiFi Registry Jersey client to use chunked entity processing so we don't load the entire bundle content into memory during an upload
- Added event publishing for extension bundles
- Add an adapter for serializing ExtensionBundleType enum
- Remove capitalize class from droplet grid item
- Add ability for clients to optionally specify the SHA-256 when uploading a bundle
This closes#148.
Signed-off-by: Kevin Doran <kdoran@apache.org>
- Update Jetty to version 9.4.11.v20180605
- Update Spring Boot to version 2.0.4.RELEASE
- Update Spring Security to version 5.0.7.RELEASE
- Update Jackson to version 2.9.6
- Remove Guava dependency (unused) from nifi-registry-web-api
This closes#142.
Signed-off-by: Bryan Bende <bbende@apache.org>
- Ranger Authorizer is deployed as Registry extension.
- Added /config REST endpoint to expose Registry configuration for UI to
determine if user, group and policies can be edited.
- Added 'include-ranger' maven build profile and refactored project
structure to control ranger extension build.
- Added README.md to illustrate how to use this extension.
- Added default configuration files.
- Remove javax.ws.rs package in jersey-bundle jar to avoid rs version conflict.
- Added example conf to audit to Kerberized Solr.
- Updated hadoop version to 3.0.0
- Added ExtensionCloseable to use extension class loader when
configuring authorizer. Without this, Hadoop Configuration class uses
WebApp class loader that is set to current thread context class loader
which does not have extension classes.
- Refactored anonymous inner classes at AuthorizerFactory to expose
underlying authorizer instance, to use its extension class loader.
- Confirmed NiFi Registry can:
- download policies from Kerbelized Ranger
- send audit logs to Kerbelized Solr
- send audit logs to Kerbelized HDFS
- Refactored project structures and updated L&N.
This closes#131.
Signed-off-by: Kevin Doran <kdoran@apache.org>
NIFIREG-194: Added allowableValues to annotation for the getLoadBalanceCompression() method of VersionedConnection
This closes#136.
Signed-off-by: Bryan Bende <bbende@apache.org>