bbende opened a new pull request #160: NIFIREG-213 Implementing parser for extension-docs.xml file and integ… URL: https://github.com/apache/nifi-registry/pull/160 …rating into the NarBundleExtractor - 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 To test this PR you can do the following... 1) Build the latest NiFi NAR Maven plugin (1.2.1-SNAPSHOT) https://github.com/apache/nifi-maven 2) Change your NiFi root pom to use the 1.2.1-SNAPSHOT version of the NAR plugin and build NiFi master 3) Build this PR and start registry 4) Create a new bucket and get the id of the bucket 5) Use the REST API to POST one of the NiFi NARs to registry POST to _/buckets/{bucketId}/bundles/{bundleType}_ Where bundleType is the value 'nifi-nar' and the body of the request is the binary content of the NAR. 6) Test navigating the extension repository links, you should be able to navigate the hierarchy from buckets -> groups -> artifacts -> versions -> extensions http://localhost:18080/nifi-registry-api/extension-repository 7) Test retrieving and filtering extensions, some examples: http://localhost:18080/nifi-registry-api/extensions/ http://localhost:18080/nifi-registry-api/extensions?tag=kafka http://localhost:18080/nifi-registry-api/extensions?extensionType=CONTROLLER_SERVICE
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
