这里的云指FaaS,Fiori-as-a-Service
After I log on HCP via my own user, I could see many tiles:
我很好奇这些tile的数据源是什么,于是研究了一下。
Here below is my research result.
The tile information is fetched via restful service observed in network tab:
It is a json stream, use list a small part of it here:
The restful service is implemented via consumption_service, whose source code could be found in HANA studio.
The call will delegate to FIORI_DAO:
FIORI_DAO is a subclass of WORKSPACE_DAO:
And workspace DAO just issue the query to HANA database via call getResultSet():
Finally the HANA procedure GET_APPSITE will be called:
Inside the procedure we can know the tile information in HANA HCP is retrieved based on the union of the two HANA tables below: