Jamal, In order to modify the markup that is returned to the browser, you'll need to update the front-end resources in the NiFi sources and rebuild a new assembly. The files you reference in nifi-current/work directory are in a working directory that may be (re)generated at runtime. By updating the resources and building a new assembly, your changes will be included in the basis for the generated markup. If you need to update something on every page in the NiFi UI, you'd need to update each file here [1].
Hope this helps! Matt [1] https://github.com/apache/nifi/tree/main/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/pages On Wed, Jan 5, 2022 at 1:32 PM Jamal Wills <[email protected]> wrote: > I'm trying to modify a NiFi instance (NiagaraFiles Community 4.14.0 with > Apache Nifi 0.7.1.c) to instrument the user interface using AppDynamics. It > requires that I insert a code snippet for the JavaScript end user > monitoring agent. I have found that it has .jsp files where I would expect > to insert the code, but it looks like the code gets replaced each time I > make a modification. > > > https://docs.appdynamics.com/21.4/en/end-user-monitoring/browser-monitoring/browser-real-user-monitoring/inject-the-javascript-agent/manual-injection-of-the-javascript-agent > Manual Injection of the JavaScript Agent< > https://docs.appdynamics.com/21.4/en/end-user-monitoring/browser-monitoring/browser-real-user-monitoring/inject-the-javascript-agent/manual-injection-of-the-javascript-agent > > > This page describes how to instrument a browser application by manually > injecting the JavaScript Agent. To configure the JavaScript Agent before > injection, see Configure the JavaScript Agent.. Manually Inject the > JavaScript Agent > docs.appdynamics.com > The files, I found are under the nifi-current/work directory. I'm > assuming the files are replaced by the files in the lib and lib_community > directories which appear to be unfamiliar archive files. Would the > modifications have to be made to those files? > > Thanks, > Jamal Wills > >
