Skip to content
Discussion options

You must be logged in to vote

Sorry for previously missing this. Now that you closed it, it popped up in my feed again, so here's the response:

I think you could take some inspiration from how we did it in an older Hyades version: https://github.com/DependencyTrack/hyades-apiserver/blob/5.6.0/apiserver/src/test/java/org/dependencytrack/PersistenceCapableTest.java

Here is the most relevant part: https://github.com/DependencyTrack/hyades-apiserver/blob/5bba0d2acd517171e7eced942ae6f8ddcf948cc7/apiserver/src/test/java/org/dependencytrack/PersistenceCapableTest.java#L94-L113

Note that Hyades uses Liquibase to create the database schema so you'll need to change these lines to: https://github.com/stevespringett/Alpine/blob/0…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jonbally
Comment options

Answer selected by jonbally
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants