[Feature] A Nginx service to proxy data URL is useful
Closed this issue · 1 comments
Description
Right now, all the metric data are under following URL: https://oss.x-lab.info/open_digger/{platform}/{owner}/{repo}/{metric}.json
, but in some time we can not easily use constructed URL but rather to use a fixed URL with different query params like https://open-digger-data.x-lab.info?platform={platform}&name={name}&metric={metric}
.
This will be very helpful like using OpenDigger data in DataV.
The functionality is working now, we can use http://open-digger-data.x-lab.info/data?platform=github&name=X-lab2017/open-digger&metric=activity or http://open-digger-data.x-lab.info/data?platform=github&name=frank-zsy&metric=openrank to access data.
We use /data
subpath in case there are more path to support in the future.