why there are two duplicate metadata requests

简介: Created by Jerry Wang, last modified on Mar 03, 2015

Created by Jerry Wang, last modified on Mar 03, 2015

ODataModel

image.png

Actually they are not duplicated:

the first one has accept type as xml, while the second one pure text.

the prefix of the two are different: /sap and /1sap.

First request:

Trigger point: main view constructor is called:

image.png

sap.ca.scfld.md.Startup.init is called in our application code:

image.png

ConnectionManager.getNewInstance is called with configuration data maintained in file Configuration.js:image.pngimage.png

 OData model instance is created based on this relative url:  image.png

 first request is sent out with relative url:  image.png

 second request:  image.png

 The application code is triggering the second request sent: image.png

 The configuration comes from component metadata:  

image.png

相关文章
|
并行计算 PyTorch 算法框架/工具
Importing the numpy C-extensions failed.
Importing the numpy C-extensions failed.
1258 0
Importing the numpy C-extensions failed.
|
NoSQL Redis
Redis 之 WRONGTYPE Operation against a key holding the wrong kind of value【bug解决】
Redis 之 WRONGTYPE Operation against a key holding the wrong kind of value【bug解决】
7706 0
|
4月前
|
NoSQL Redis
蓝易云 - redis报错WRONGTYPE Operation against a key holding the wrong kind of value
解决这个问题的方法是检查你的代码,确保你对每个键使用的命令与该键的类型匹配。你可以使用 `TYPE`命令来确定一个键的类型。例如,`TYPE mykey`将返回 `mykey`的类型。
83 3
|
5月前
|
Kubernetes 容器 Perl
error: unable to retrieve the complete list of server APIs: metrics.k8s.io/v1beta1: the server is cu
error: unable to retrieve the complete list of server APIs: metrics.k8s.io/v1beta1: the server is cu
90 0
|
5月前
|
存储
Build desc failed:Fetch table group shards failed on meta proxy:Loading cached shard 1ocation value for table group[dwhg_scm.dwhg_prd_tg_default] failed
Build desc failed:Fetch table group shards failed on meta proxy:Loading cached shard 1ocation value for table group[dwhg_scm.dwhg_prd_tg_default] failed
182 2
|
XML 数据格式
why there are two duplicate metadata requests
Created by Jerry Wang, last modified on Mar 03, 2015 ODataModel
why there are two duplicate metadata requests
How is note created - backend implementation
Created by Wang, Jerry, last modified on Jan 15, 2015
How is note created - backend implementation
get metadata in QHD - still has cache logic
Created by Wang, Jerry, last modified on Dec 26, 2014
get metadata in QHD - still has cache logic