Comments (5)
Two things. First, 1.1.6.Final actually has a bug in the postgresql DDL. However it seems you're just letting hibernate do its thing (which is fine). That said, you can get the corrected DDL here if you wanted:
More importantly, there has been a change to the DB support which is probably tripping you up. Some hibernate/db settings have been moved here:
In particular the JNDI location is now:
java:jboss/datasources/apiman-manager
I hope that helps!
from apiman.
Thanks for the rapid reply!
I changed the JNDI name, and set up the apiman.properties file as you indicated. The Hibernate schema update then failed on the svc_gateways table.
I ended up just creating an empty database, switching Hibernate to validate mode, and running the DDL you provided. Now I have 1.1.6 up and running. We are still in the evaluation phase, so there wasn't anything in that db that I couldn't recreate quickly anyway.
Lesson learned: Don't assume I can just upgrade ApiMan and let Hibernate handle the DB updates. There probably needs to be some sort of migration guide (if there isn't already and I missed it) on how to move between point releases and retain the database.
from apiman.
Yes - we need to create a comprehensive upgrade guide, but that doesn't exist yet. Interestingly this is the second time today that upgrades have come up. I guess it's time to escalate the task. :)
from apiman.
@jason-d-hobbs if you set those two lines in apiman.properties:
apiman.hibernate.connection.datasource=java:jboss/datasources/apiman-manager
apiman.hibernate.dialect=io.apiman.manager.api.jpa.ApimanH2Dialect
does this mean you are no longer using postgres database, but h2 instead?
from apiman.
Yeah you definitely need to use the appropriate hibernate dialect for the database you want to use.
from apiman.
Related Issues (20)
- Problems with allowedIssuers HOT 6
- Support for specifying muliple elasticsearch hosts HOT 1
- Portal does not display Cyrillic characters when adding translations to i18n HOT 3
- The Extended API Description goes beyond the boundaries if the text is too long
- The Extended API Description code syntax highlighting
- Add DNS filtering to Blacklist and Whitelist Policies
- Apiman 3.1.2.Final and Tomcat 9 HOT 1
- Loops with at Most One Iteration
- Issuer build Error in KeycloakOAuthFactory.buildIssuerWithRealm HOT 1
- APIMAN with client auth HOT 3
- Failed to publish API
- Plugins: "TypeError: Cannot read properties of undefined (reading 'indexOf')" HOT 6
- JSON plugin forms sometimes render multiple times HOT 1
- Vert.x: Allow finer configuration of HTTP Client settings between Apiman Gateway and API Backend HOT 1
- APIMAN Gateway encodes even the reserve characters from query parameter value HOT 3
- Authorization Policy - No roles have been extracted during authentication HOT 1
- `apiman.manager` vs `apiman-manager` config inconsistency
- Incorrect implementation of key handling in KeycloakOAuth2 Plugin
- Incorrect implementation of key handling in JWT Plugin HOT 1
- Cache remotely downloaded plugins when non-snapshot
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apiman.