- Community Home
- >
- Networking
- >
- Software Defined Networking
- >
- Re: Persistent data store
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2014 02:04 AM
05-15-2014 02:04 AM
Persistent data store
While writing a native application to the SDN controller, we got into a situation where we need to store many entries which needs to be persistent across each instance of the controller, but shouldn't be distributed and replicated across the teams controllers. Moreover, the data itself is absolutly relational and the nosql structure of Cassandra doesn't fit for our case. So we thought maybe we could store our data streight to the underline Postgresql where the controller store it's alerts and internal data.
My question is this: is there an API which make it possible to create a table in the postgresql sdndb schema and store the data there?
Itamar,
Guardicore
Guardicore, LTD
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2014 09:52 AM
06-10-2014 09:52 AM
Re: Persistent data store
Hello Itamar,
You can use the Package com.hp.util.persistence for the data operations , but there is no API to create a table in the postgresql sdndb schema and store the info, you can also use other remote database and access it from your application.
Thanks,
HP SDN Team
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2014 09:30 PM
06-15-2014 09:30 PM
Re: Persistent data store
Hello Itamar,
Doing a follow up to check if you need any further assistance with respect to the query posted.
Please do let us know if your problem is solved.
If you have more questions on the same topic please do reply on the same thread or open a new post if new topic.
Thanks
HP SDN Team
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2014 12:46 AM
06-20-2014 12:46 AM
Re: Persistent data store
Hello Itamar,
There’s no direct API to persist on Postgres DB. According to flare standards the customer has to implement three new bundles: DAO-API, DAO-MODEL and DAO itself.
In the DAO-MODEL he has to create all JPA-annotated classes, that will be his tables and the hibernate xml configuration. In the DAO-API he has to define some persistence Service interface that will be exposed to the business layer of the application and the DAO, extending AbstractDao from Flare, with all the code to convert Objects from/to
Relational DB (that he has to write by himself), implement query api’s and also implement the API’s he has defined in the DAO-API bundle.
Thanks,
HP SDN Team
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2014 10:50 AM
06-30-2014 10:50 AM
Re: Persistent data store
Hello Itamar,
Doing a follow up to check if you need any further assistance with respect to the query posted.
Please do let us know if your problem is solved.
If you have more questions on the same topic please do reply on the same thread or open a new post if new topic.
Thanks
HP SDN Team
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2014 02:40 AM
09-01-2014 02:40 AM
Re: Persistent data store
Any chance you can provide a small demo project for connecting to a postgresql db?
Or point us to one?
Thanks
James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2014 12:34 AM
09-08-2014 12:34 AM
Re: Persistent data store
@sdnindia wrote:Hello Itamar,
There’s no direct API to persist on Postgres DB. According to flare standards the customer has to implement three new bundles: DAO-API, DAO-MODEL and DAO itself.
In the DAO-MODEL he has to create all JPA-annotated classes, that will be his tables and the hibernate xml configuration. In the DAO-API he has to define some persistence Service interface that will be exposed to the business layer of the application and the DAO, extending AbstractDao from Flare, with all the code to convert Objects from/to
Relational DB (that he has to write by himself), implement query api’s and also implement the API’s he has defined in the DAO-API bundle.
Thanks,
HP SDN Team
Hi HP SDN Team,
I generated "persistence" bundles with tool from SDK 2.3.5. The implementation follows patterns as you mentioned, but the app installation failed. Details are in this post.
I will highly appreciate any help.
Thanks,
Lukas