nifi/nifi-extension-bundles/nifi-jolt-bundle/nifi-jolt-transform-json-ui/pom.xml

141 lines
6.0 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for additional
information regarding copyright ownership. The ASF licenses this file to
You under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of
the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
by applicable law or agreed to in writing, software distributed under the
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
OF ANY KIND, either express or implied. See the License for the specific
language governing permissions and limitations under the License. -->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>nifi-jolt-bundle</artifactId>
<groupId>org.apache.nifi</groupId>
2023-02-09 17:32:53 -05:00
<version>2.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>nifi-jolt-transform-json-ui</artifactId>
<packaging>war</packaging>
<properties>
<nifi.jolt.ui.working.dir>${project.build.directory}/nifi-jolt-transform-json-ui-working-directory</nifi.jolt.ui.working.dir>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-framework-api</artifactId>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-utils</artifactId>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
NIFI-13632: Updating content access. (#9221) * NIFI-13632: Updating content access. - Removing existing content viewer application. - Introduced new front end based content viewer applicaiton. - Introduced new bundled content viewers for hex and images. - Deleted previous image content viewer. - Migrated existing standard content viewer (which handles json, xml, yaml, csv, and text) to utilize new content access interface. - Moved standard content viewer into its own NAR. - Moved and renamed custom ui utils and content viewer utils into nifi-common. - Added mime type to FlowFileSummary response payload to help drive the initially opened content viewer. * NIFI-13632: Fixing rat issue. * NIFI-13632: Fixing CI issue. * NIFI-13632: Removing standard content viewer war from code coverage. * NIFI-13632: Addressing review feedback. * NIFI-13632: Fixing import. * NIFI-13632: Further simplification of content viewer state. * NIFI-13632: Removing unneeded code. * NIFI-13632: Adding a min height around codemirror. * NIFI-13632: Addressing review feedback. - Rendering mime type in the content viewer. - Preventing additions to the browser history as the user changes how the content is viewed. - Appending forward slash to content viewer UIs to prevent unnecessary redirect. - Removing Standard Content Viewer title based on review feedback. - Fixing double scroll bar in the Standard Content Viewer on small browser heights. - Removed unnecessary application.yml. - Bumping spring boot version. This closes #9221
2024-09-06 09:12:38 -04:00
<artifactId>nifi-custom-ui-utils</artifactId>
2023-02-09 17:32:53 -05:00
<version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-expression-language</artifactId>
2023-02-09 17:32:53 -05:00
<version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-jolt-utils</artifactId>
2023-02-09 17:32:53 -05:00
<version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
NIFI-11703 Upgraded to Spring Framework 6 and Jetty 12 - Upgraded Spring Framework from 5.3.31 to 6.0.15 - Upgraded Spring Security from 5.8.7 to 6.2.0 - Upgraded Spring Vault from 2.3.4 to 3.1.0 - Upgraded Jetty from 10.0.18 to 12.0.5 with EE 10 - Upgraded Jersey from 2.41 to 3.1.4 - Upgraded JAXB from 2.3.9 to 4.0.4 - Upgraded AspectJ from 1.9.20.1 to 1.9.21 - Upgraded JMS API from 2.0.1 to 3.1.0 - Upgraded ActiveMQ Broker from 5.18.2 to 6.0.1 for JMS 3 - Upgraded JJWT from 0.9.1 to 0.12.3 - Replaced jackson-module-jaxb-annotations with jackson-module-jakarta-xmlbind-annotations - Replaced maven-jaxb2-plugin with hisrc-higherjaxb40-maven-plugin 2.1.1 - Replaced kongchen swagger-maven-plugin with swagger-codegen-maven-plugin from Swagger 3 - Replaced com.nickwongdev AspectJ Plugin with Codehaus 1.14.0 for newer Java versions - Removed unused cglib-nodep - Removed references to javax.validation - Removed custom Jetty ALPN Processor not required for Java 21 - Removed several tests depending on older Jetty and Jakarta libraries - Removed unnecessary webdefault.xml configurations - Replaced unsupported cross-context servlet forwarding with HTTP forwarding - Replaced javax.servlet references with jakarta.servlet - Replaced javax.xml.bind references with jakarta.xml.bind - Replaced javax.ws references with jakarata.ws - Updated Spring Security CSRF implementation for Spring Security 6 - Updated web.xml versions to 6.0 - Updated REST API templates using new swagger-codegen variables - Removed VALIDATE_DATA property from ParseCEF based on library compatibility issue with javax.validation - Added application URL logging to NiFi JettyServer Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com> This closes #8197.
2023-12-29 22:11:47 -05:00
<groupId>jakarta.ws.rs</groupId>
<artifactId>jakarta.ws.rs-api</artifactId>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.containers</groupId>
<artifactId>jersey-container-servlet-core</artifactId>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.media</groupId>
<artifactId>jersey-media-json-jackson</artifactId>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.inject</groupId>
<artifactId>jersey-hk2</artifactId>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.test-framework.providers</groupId>
<artifactId>jersey-test-framework-provider-inmemory</artifactId>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-web-servlet-shared</artifactId>
<version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-frontend</artifactId>
<version>2.0.0-SNAPSHOT</version>
</dependency>
</dependencies>
<build>
<plugins>
<!--
NIFI-13632: Updating content access. (#9221) * NIFI-13632: Updating content access. - Removing existing content viewer application. - Introduced new front end based content viewer applicaiton. - Introduced new bundled content viewers for hex and images. - Deleted previous image content viewer. - Migrated existing standard content viewer (which handles json, xml, yaml, csv, and text) to utilize new content access interface. - Moved standard content viewer into its own NAR. - Moved and renamed custom ui utils and content viewer utils into nifi-common. - Added mime type to FlowFileSummary response payload to help drive the initially opened content viewer. * NIFI-13632: Fixing rat issue. * NIFI-13632: Fixing CI issue. * NIFI-13632: Removing standard content viewer war from code coverage. * NIFI-13632: Addressing review feedback. * NIFI-13632: Fixing import. * NIFI-13632: Further simplification of content viewer state. * NIFI-13632: Removing unneeded code. * NIFI-13632: Adding a min height around codemirror. * NIFI-13632: Addressing review feedback. - Rendering mime type in the content viewer. - Preventing additions to the browser history as the user changes how the content is viewed. - Appending forward slash to content viewer UIs to prevent unnecessary redirect. - Removing Standard Content Viewer title based on review feedback. - Fixing double scroll bar in the Standard Content Viewer on small browser heights. - Removed unnecessary application.yml. - Bumping spring boot version. This closes #9221
2024-09-06 09:12:38 -04:00
Unpack the built jolt front end application
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack-nifi-jolt-transform-json-ui</id>
<phase>generate-resources</phase>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<configuration>
<includeGroupIds>org.apache.nifi</includeGroupIds>
<includeArtifactIds>nifi-frontend</includeArtifactIds>
<excludeTransitive>true</excludeTransitive>
<silent>false</silent>
<outputDirectory>${nifi.jolt.ui.working.dir}</outputDirectory>
<includes>nifi-jolt-transform-ui/**/*</includes>
</configuration>
</execution>
</executions>
</plugin>
<!--
NIFI-13632: Updating content access. (#9221) * NIFI-13632: Updating content access. - Removing existing content viewer application. - Introduced new front end based content viewer applicaiton. - Introduced new bundled content viewers for hex and images. - Deleted previous image content viewer. - Migrated existing standard content viewer (which handles json, xml, yaml, csv, and text) to utilize new content access interface. - Moved standard content viewer into its own NAR. - Moved and renamed custom ui utils and content viewer utils into nifi-common. - Added mime type to FlowFileSummary response payload to help drive the initially opened content viewer. * NIFI-13632: Fixing rat issue. * NIFI-13632: Fixing CI issue. * NIFI-13632: Removing standard content viewer war from code coverage. * NIFI-13632: Addressing review feedback. * NIFI-13632: Fixing import. * NIFI-13632: Further simplification of content viewer state. * NIFI-13632: Removing unneeded code. * NIFI-13632: Adding a min height around codemirror. * NIFI-13632: Addressing review feedback. - Rendering mime type in the content viewer. - Preventing additions to the browser history as the user changes how the content is viewed. - Appending forward slash to content viewer UIs to prevent unnecessary redirect. - Removing Standard Content Viewer title based on review feedback. - Fixing double scroll bar in the Standard Content Viewer on small browser heights. - Removed unnecessary application.yml. - Bumping spring boot version. This closes #9221
2024-09-06 09:12:38 -04:00
Include the Jolt UI and exclude the JAR dependency
-->
NIFI-3380 Bumping NAR plugin to 1.2.0-SNAPSHOT development to leverage changes from master, adding buildnumber-maven-plugin to nifi-nar-bundles to properly set build info in MANIFEST of NARs - Refactoring NarDetails to include all info from MANIFEST - Adding the concept of a Bundle and refactoring NarClassLoaders to pass Bundles to ExtensionManager - Adding logic to fail start-up when multiple NARs with same coordinates exist, moving Bundle classes to framework API - Refactoring bundle API to classes and creating BundleCoordinate - Updating FlowController to use BundleCoordinate - Updating the UI and DTO model to support showing bundle details that loaded an extension type. - Adding bundle details for processor canvas node, processor dialogs, controller service dialogs, and reporting task dialogs. - Updating the formating of the bundle coordinates. - Addressing text overflow in the configuration/details dialog. - Fixing self referencing functions. - Updating extension UI mapping to incorporate bundle coordinates. - Discovering custom UIs through the supplied bundles. - Adding verification methods for creating extensions through the rest api. - Only returning extensions that are common amongst all nodes. - Rendering the ghost processors using a dotted border. - Adding bundle details to the flow.xml. - Loading NiFi build and version details from the framework NAR. - Removing properties for build and version details. - Wiring together front end and back end changes. - Including bundle coordinates in the component data model. - Wiring together component data model and flow.xml. - Addressing issue when resolve unvesioned dependent NARs. Updating unit tests to pass based on framework changes - Fixing logging of extension types during start up - Allowing the application to start if there is a compatible bundle found. - Reporting missing bundle when the a compatible bundle is not found. - Fixing table height in new component dialogs. Fixing chechstyle error and increasing test timeout for TestStandardControllerServiceProvider - Adding ability to change processor type at runtime - Adding backend code to change type for controller services - Cleaning up instance classloaders for temp components. - Creating a dialog for changing the version of a component. - Updating the formatting of the component type and bundle throughout. - Updating the new component dialogs to support selecting source group. - Cleaning up new component dialogs. - Cleaning up documentation in the cluster node endpoint. Adding missing include in nifi-web-ui pom compressor plugin - Refactoring so ConfigurableComponent provides getLogger() and so the nodes provide the ConfigurableComponent - Creating LoggableComponent to pass around the component, logger, and coordinate with in the framework - Finishing clean up following rebase. Calling lifecycle methods for add and remove when changing versions of a component - Introducing verifyCanUpdateBundle(coordinate) to ConfiguredComponent, and adding unit tests - Ensuring documentation is available for all components. Including those of the same type that are loaded from different bundles. Adding lookup from ClassLoader to Bundle, adding fix for instance class loading to include all parent NARs, and adding additional unit tests for FlowController - Adding validation to ensure referenced controller services implement the required API - Fixing template instantiation to look up compatible bundle - Requiring services/reporting tasks to be disabled/stopped. - Only supporting a change version option when the item has multiple versions available. - Limiting the possible new controller services to the applicable API version. - Showing the implemented API versions for Controller Services. - Updating the property descriptor tooltip to indicate the required service requirements. - Introducing version based sorting in the new component dialog, change version dialog, and new controller service dialog. - Addressing remainder of the issues from recent rebase. Ensuring bundles have been added to the flow before proposing a flow, and incorporating bundle information into flow fingerprinting - Refactoring the way missing bundles work to retain the desired bundle if available - Fixing logger.isDebugEnabled to be logger.isTraceEnabled - Auditing when user changes the bundle. - Ensuring bundle details are present in templates. Moving standard prioritizers to framework NAR and refactoring ExtensionManager logic to handle cases where an extension is in a JAR directly in the lib directory - Ensuring all nodes attempt to instantiate the same template instance when the available bundles may differ. - Fixing the auditing of copy/paste and template instantiation. - Running addtional verification methods when running standalone. Refactoring controller service invocation handler to allow updating the node used by the invocation handler - Ensuring the bundles in a proposed flow are compatible with the current instance when the current instance has no flow is going to accept the proposed flow - Merging whether multiple versions of the component are available - Setting NAR plugin back to current released version - Cleaning up DocGenerator to not process multiple times Addressing incorrect usage of nf.Common. - Using formatType in the new component type dialogs. Improving error messages when looking for bundles Addressing comments from PR. - Fixing references to global nf namespace. - Fixing injection of nfProcessGroupConfiguration in nfComponentVersion. - Fixing web api integration tests. Not rendering unversioned in help documentation. - Ensuring the isExtentionMissing flag is correct after changing the component type. Adding synchronization in node classes to ensure changing component can't occur when component is running, introducing MissingBundleException for better reporting when a node can't join cluster due to a missing bundle, and bumping NAR plugin to released version 1.2.0 Adding concept of missing components to fingerprinting to ensure nodes agree on missing components when joining a cluster NIFI-3380: NIFI-3520: - Fixing hive nar dependency. - Marking DBCPService as provided. - Skipping services that require instance classloading and are cobundled with their service API. - Skipping components that require instance classloading and reference service APIs that are cobundled. - Addressing UI issues in the new component dialogs when re-opening with a filter applied. Fixing checkstyles issue and adding back assume checks to distributed cache server test Ensuring new component types are sorted correctly when shown initially. This closes #1585.
2017-01-23 10:33:12 -05:00
<plugin>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<webResources>
<resource>
<directory>${nifi.jolt.ui.working.dir}/nifi-jolt-transform-ui</directory>
<includes>**/*</includes>
</resource>
NIFI-3380 Bumping NAR plugin to 1.2.0-SNAPSHOT development to leverage changes from master, adding buildnumber-maven-plugin to nifi-nar-bundles to properly set build info in MANIFEST of NARs - Refactoring NarDetails to include all info from MANIFEST - Adding the concept of a Bundle and refactoring NarClassLoaders to pass Bundles to ExtensionManager - Adding logic to fail start-up when multiple NARs with same coordinates exist, moving Bundle classes to framework API - Refactoring bundle API to classes and creating BundleCoordinate - Updating FlowController to use BundleCoordinate - Updating the UI and DTO model to support showing bundle details that loaded an extension type. - Adding bundle details for processor canvas node, processor dialogs, controller service dialogs, and reporting task dialogs. - Updating the formating of the bundle coordinates. - Addressing text overflow in the configuration/details dialog. - Fixing self referencing functions. - Updating extension UI mapping to incorporate bundle coordinates. - Discovering custom UIs through the supplied bundles. - Adding verification methods for creating extensions through the rest api. - Only returning extensions that are common amongst all nodes. - Rendering the ghost processors using a dotted border. - Adding bundle details to the flow.xml. - Loading NiFi build and version details from the framework NAR. - Removing properties for build and version details. - Wiring together front end and back end changes. - Including bundle coordinates in the component data model. - Wiring together component data model and flow.xml. - Addressing issue when resolve unvesioned dependent NARs. Updating unit tests to pass based on framework changes - Fixing logging of extension types during start up - Allowing the application to start if there is a compatible bundle found. - Reporting missing bundle when the a compatible bundle is not found. - Fixing table height in new component dialogs. Fixing chechstyle error and increasing test timeout for TestStandardControllerServiceProvider - Adding ability to change processor type at runtime - Adding backend code to change type for controller services - Cleaning up instance classloaders for temp components. - Creating a dialog for changing the version of a component. - Updating the formatting of the component type and bundle throughout. - Updating the new component dialogs to support selecting source group. - Cleaning up new component dialogs. - Cleaning up documentation in the cluster node endpoint. Adding missing include in nifi-web-ui pom compressor plugin - Refactoring so ConfigurableComponent provides getLogger() and so the nodes provide the ConfigurableComponent - Creating LoggableComponent to pass around the component, logger, and coordinate with in the framework - Finishing clean up following rebase. Calling lifecycle methods for add and remove when changing versions of a component - Introducing verifyCanUpdateBundle(coordinate) to ConfiguredComponent, and adding unit tests - Ensuring documentation is available for all components. Including those of the same type that are loaded from different bundles. Adding lookup from ClassLoader to Bundle, adding fix for instance class loading to include all parent NARs, and adding additional unit tests for FlowController - Adding validation to ensure referenced controller services implement the required API - Fixing template instantiation to look up compatible bundle - Requiring services/reporting tasks to be disabled/stopped. - Only supporting a change version option when the item has multiple versions available. - Limiting the possible new controller services to the applicable API version. - Showing the implemented API versions for Controller Services. - Updating the property descriptor tooltip to indicate the required service requirements. - Introducing version based sorting in the new component dialog, change version dialog, and new controller service dialog. - Addressing remainder of the issues from recent rebase. Ensuring bundles have been added to the flow before proposing a flow, and incorporating bundle information into flow fingerprinting - Refactoring the way missing bundles work to retain the desired bundle if available - Fixing logger.isDebugEnabled to be logger.isTraceEnabled - Auditing when user changes the bundle. - Ensuring bundle details are present in templates. Moving standard prioritizers to framework NAR and refactoring ExtensionManager logic to handle cases where an extension is in a JAR directly in the lib directory - Ensuring all nodes attempt to instantiate the same template instance when the available bundles may differ. - Fixing the auditing of copy/paste and template instantiation. - Running addtional verification methods when running standalone. Refactoring controller service invocation handler to allow updating the node used by the invocation handler - Ensuring the bundles in a proposed flow are compatible with the current instance when the current instance has no flow is going to accept the proposed flow - Merging whether multiple versions of the component are available - Setting NAR plugin back to current released version - Cleaning up DocGenerator to not process multiple times Addressing incorrect usage of nf.Common. - Using formatType in the new component type dialogs. Improving error messages when looking for bundles Addressing comments from PR. - Fixing references to global nf namespace. - Fixing injection of nfProcessGroupConfiguration in nfComponentVersion. - Fixing web api integration tests. Not rendering unversioned in help documentation. - Ensuring the isExtentionMissing flag is correct after changing the component type. Adding synchronization in node classes to ensure changing component can't occur when component is running, introducing MissingBundleException for better reporting when a node can't join cluster due to a missing bundle, and bumping NAR plugin to released version 1.2.0 Adding concept of missing components to fingerprinting to ensure nodes agree on missing components when joining a cluster NIFI-3380: NIFI-3520: - Fixing hive nar dependency. - Marking DBCPService as provided. - Skipping services that require instance classloading and are cobundled with their service API. - Skipping components that require instance classloading and reference service APIs that are cobundled. - Addressing UI issues in the new component dialogs when re-opening with a filter applied. Fixing checkstyles issue and adding back assume checks to distributed cache server test Ensuring new component types are sorted correctly when shown initially. This closes #1585.
2017-01-23 10:33:12 -05:00
<resource>
<directory>src/main/webapp/META-INF</directory>
<targetPath>META-INF</targetPath>
<includes>
<include>nifi-processor-configuration</include>
</includes>
<filtering>true</filtering>
</resource>
</webResources>
<packagingExcludes>WEB-INF/lib/nifi-frontend*.jar</packagingExcludes>
</configuration>
</plugin>
</plugins>
</build>
</project>