Freedom9339 commented on code in PR #8965:
URL: https://github.com/apache/nifi/pull/8965#discussion_r1819459199


##########
nifi-frontend/src/main/frontend/apps/nifi/src/app/pages/flow-designer/service/flow.service.ts:
##########
@@ -118,6 +118,11 @@ export class FlowService implements 
PropertyDescriptorRetriever {
         return this.httpClient.get(`${FlowService.API}/process-groups/${id}`);
     }
 
+    getProcessGroupWithContent(id: string): Observable<any> {
+        const params = new HttpParams().set('includeContent', true);
+        return this.httpClient.get(`${FlowService.API}/process-groups/${id}`, 
{ params: params });
+    }

Review Comment:
   I've created a new API endpoint, move-options, to get the information needed 
for the process groups. This shifts all the logic to the API, and greatly 
simplifies the UI form.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to