[
https://issues.apache.org/jira/browse/NIFI-8260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17294464#comment-17294464
]
ASF subversion and git services commented on NIFI-8260:
-------------------------------------------------------
Commit b9a0991157ec8bb6b1d5f8d9c8335b5a1a481a72 in nifi's branch
refs/heads/main from mtien
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=b9a0991 ]
NIFI-8260 [WIP] Created Upload File front end and server side logic.
NIFI-8260 [WIP] Fixed server side logic to upload a flow file. Cleaned up the
front end logic.
NIFI-8260 [WIP] Finished the server side upload logic.
Added a client ID parameter to the endpoint.
Added JSON parsing error response.
Fixed the client side file form to reset after submit.
Fixed the canvas to instantly update and show the process group after
submitting the file.
Changed the Add Processor Group dialog UI based on design notes.
Changed the Upload File link to an icon and moved to the process group name
input.
Changed the Registry Import link to say 'Import from Registry' and moved to the
bottom of the dialog.
Display the filename when a file is selected.
NIFI-8260 [WIP] Added a cancel file button to the Process Group dialog.
Fixed some CSS styles.
NIFI-8260 - Removed accessing the snapshot metadata to avoid an NPE.
Added a title attribute to the html of the dialog file cancel button.
NIFI-8260 - Disabled the dialog 'Add' button.
Revised based on PR feedback.
Refactored the upload file endpoint and client side filename extraction methods.
Fixed some CSS.
Reverted some unnecessary changes.
NIFI-8260 - Revised based on PR feedback.
Refactored uploadProcessGroup.
Fixed some exception handling.
Hid the Upload File button when grouping components.
Refactored nf-ng-group-component.js replacing jquery selectors with variables.
Extracted the resetValues function to clear dialog values.
NIFI-8260 - Fixed the cluster replicate request.
Created a new endpoint to handle the cluster replicate request.
Created ProcessGroupUploadEntity.
Renamed positionX and positionY parameters.
NIFI-8260 - Fixed a checkstyle error.
Removed unnecessary httpServletRequest parameter.
Reverted some re-ordering of imports.
NIFI-8260 - Changed the ProcessGroupUploadEntity to be consistent with other
Entity and DTO models.
Signed-off-by: Pierre Villard <[email protected]>
This closes #4846.
> Process Group Import JSON file
> ------------------------------
>
> Key: NIFI-8260
> URL: https://issues.apache.org/jira/browse/NIFI-8260
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Core UI, Flow Versioning
> Affects Versions: 1.13.0
> Reporter: M Tien
> Assignee: M Tien
> Priority: Minor
> Labels: UI
> Time Spent: 6h 20m
> Remaining Estimate: 0h
>
> Right now when drag-dropping a process group, it's possible to click "import"
> to checkout a versioned flow from the NiFi Registry. We should also provide
> an option where someone can provide a json file that has been previously
> exported using the "save flow definition" feature in the NiFi UI.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)