且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

how does gateway framework treat default system flag in customizing

更新时间:2022-06-16 19:08:51

Suppose we have maintain multiple backend system as “default” in customizing:


how does gateway framework treat default system flag in customizing

in the runtime, for a given service, ONLY exactly one system alias will be chosen.


how does gateway framework treat default system flag in customizing

The logic is, firstly all configured system alias will be retrieved together:

how does gateway framework treat default system flag in customizing

And if none of those alias is marked as default, exception will be raised;

If multiple have default maintained, only THE FIRST one will be returned ( line 29~31 )


how does gateway framework treat default system flag in customizing

This is the reason if I try to search one Opp with description QHD ( which is actually created in system QHD ) in gateway system which have configured both QHA and QHD as default but QHA is the first one, no result will be returned.


how does gateway framework treat default system flag in customizing

Just simply because gateway only issues a backend request to QHA, but not for QHD.

how does gateway framework treat default system flag in customizing