Skip to Main Content

General Development Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to configure OJET custom namespace

Philip SommerApr 18 2024

Hi community,

I am trying to clean up my codebase using the Oracle JET Audit Framework (ojaf). I am getting an error related to my custom web component “ego-revenue-chart”:

** Audit for C:/local/va-dashboard/src/js/views/dashboard/revenue-charts.html
[1, 2] major : 'ego-revenue-chart' : use of unknown web component namespace

I have tried adding a nameSpaces property to my oraclejafconfig.json as per https://docs.oracle.com/en/middleware/developer-tools/jet/14/audit/run-audits-oracle-jet-applications.html#GUID-0F8301EB-A744-4DC4-8EBA-09E7DFC089CC but the namespace is not listed when I run ojaf --nslist:

Miscellaneous Non-OJ Registered Namespaces
-------------------------------------------
app
demo
my
ns
ns-ui
oj

I can see the config file is loaded with the nameSpace property when I run ojaf in --debug mode.

My config: oraclejafconfig.json.txt

Any ideas?

Kind Regards,

Philip

Comments
Post Details
Added on Apr 18 2024
1 comment
541 views