I’m relatively new to Plugin Framework of IIQ.
I want to create plugin to get data from different database schema(other than IIQ , let’s call it IIQX) and perform some CRUD operations.
Things I have tried:
Created Spring Boot API for rest endpoints , needed to connect to IIQX . If I test it as standalone application from my IDE, I’m able to perform all operation. But when I package it as jar and store that in /lib folder of Plugin and then zip the plugin to install it in IIQ instance ,
I’m getting “method not allowed” error.(Also nothing in logs to check what went wrong)
If I remove the jar component from Plugin , and only deploy frontend part, it’s getting installed successfully.
I have check in compass for various free plugins they use jakarta restful webservices , so do I need to convert to this to jakarta restful webservices?
If we want to use Jakarta restful webservices , how can we use properties files to getConnection to DB ?
To reach out to an external database, you can use standard Java methods to open a JDBC connection. See for example: https://www.baeldung.com/java-jdbc.