ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

This topic contains 1 reply, has 2 voices, and was last updated by  Alexandr Smaga 2 years, 10 months ago.

  • Creator
    Topic
  • #4544

    Jowo
    Participant

    Does anyone have pointers/hints on how/if possible to achieve this without too much headache.

    Scenario:

    1. Data source for the entire application is a rest API

    2. We want Oro GUI to interact with this API as if it was a databse

    Basically instead of a SQL database, all the data is GET/POST/PUT/DELETE etc. to this API.

    What approach would you use to talk and interact with this setup?

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #4551

    Alexandr Smaga
    Participant

    Hello.

    For grids you have to implement your own datasource and for filters — filter adapter needs to be implemented. All CRUD operations performed in controllers, so there you can just change call of entity Manager#persist and entity Manager#flush by call of REST service.

    I think that it’s not too complicated to do.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.