Beapi-io / spring-boot-starter-beapi

Springboot 'convention over config' starter for API Automation
Other
1 stars 1 forks source link

SDK : Hook Exchange Service #40

Closed orubel closed 1 year ago

orubel commented 1 year ago

Need to add a HookExchangeService for handling CRUD functionality for all endpoints.

Have already added routing so just have to make sure an exchange is there to process it.

orubel commented 1 year ago

ok... sooooo. Long story short. Tried using a cache service for storage of data but that relies on the email being passed through the JWT (which is a HORRIBLE idea).

So now we are delaying this indefinitely until we move to an SDK. End user can set RDBMS through JDBC

orubel commented 1 year ago

User ID for webhooks needs to be hash of User UUID; reason is UUID's can be resalted and reissued thus changing all external associations. Thus if we are passing ID/NAME through principle/JWT, the association will be impossible to determine without backend.

Do not do hash through RDBMS as functionality should be separate from RDBMS; regardless of DB, should be able to hash/compare the same way.

orubel commented 1 year ago

MOVING TO BEAPI-JAVA-SDK