Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.
Custom Module Configuration
-
Re: New Developer Documentation
Hello Terry,I'm currently following the example in the 4.0 documentation to crate the sample custom module and I ran into a problem. The com.infiniteautomation.mango.spring.db.AbstractTableDefinition file does not show up in my list of Dependencies and I'm wondering is this an old file because I do not see it in the Mango Core package.

What could I be missing?
-
@Curtis it looks like you ran into the same problem mentioned in a comment the original post. The docs are out of date so I suggest you look at the public modules repository for some examples.
A good example of a module with additional SQL tables would be the Maintenance Events module here:
https://github.com/MangoAutomation/ma-modules-public/tree/4.3.x/Maintenance Events
Above is a link to the code that would be compatible with Mango 4.3.x
By placing a create-Tables-H2.sql file with the table definitions into the resources folder JOOQ will generate the necessary Table and Record classes during the build for you to use your DAO implementation. See the MaintenanceEventDao class for how that works.
Its sort of a chicken-egg problem where you first create the schema, perform a generate phase of the build and then have the generated source to continue your implementation.
-
@terrypacker
Thank you
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login