This will refactor the route routing/default/profile
Previously the output for this route was the default fallback connectors from all the profiles,
After this refactor it will have the fallback connectors only for the mentioned profile. If the profile_id is provided by the authentication layer, if not it will behave as previous by taking the merchant_id from auth layer.
Moreover we have removed 2 routes from backed as these were not being used(Dahboard as well as internal apis), hence were redundant.
GET routing/default
POST routing/default
Additional Changes
[x] This PR modifies the API contract
[ ] This PR modifies the database schema
[ ] This PR modifies application configuration/environment variables
Motivation and Context
Required by our Dashboard to move the api's under profile level
Type of Change
Description
This will refactor the route
routing/default/profile
Previously the output for this route was the default fallback connectors from all the profiles, After this refactor it will have the fallback connectors only for the mentioned profile. If theprofile_id
is provided by the authentication layer, if not it will behave as previous by taking themerchant_id
from auth layer.Moreover we have removed 2 routes from backed as these were not being used(Dahboard as well as internal apis), hence were redundant. GET
routing/default
POSTrouting/default
Additional Changes
Motivation and Context
Required by our Dashboard to move the api's under profile level
How did you test it?
This should have the connectors from the mentioned profile only.
Checklist
cargo +nightly fmt --all
cargo clippy