wormhole-explorer/deploy/common
Mariano 175abbb11a
[Issue:1052] Create job for fetching contributor stats and storing in db (#1144)
* [Issue:1052] Create job for fetching contributor stats and storing in db

revert unnecessary changes on api/handlers/stats

revert changes in go.mod and go.sum

revert change in go.work

add schedule for contributors stats job

change response parsing order

changes due to draft-pr review

 move on with contributors activity implementation

change to every hour

fix typo

 change contributor stats implementation to do a single write transaction

 normalize to UTC contributors activity timestamp

 add cronjob schedule for contributors

[Issue:1052][Part 2] Create endpoint to expose contributors stats and activities  (#1123)

* add endpoint for retrieving stats and activity

* remove model.go file and move types to service file

* add unit tests to contributors service

* integrate new contributors controller

* fix more stuff

 fix unit-tests

 changes due to pr review

 fix query

 fix unit-tests

fix total_value_secure

 move constantes to common pkg

remove extra changes

rename contributor to protocols

 finish renames

Changes for deployment

adjust different response types from different protocols contributors

 fix controller test

 big refactor in activty job and stats job since protocols are returning different formats

api responding fine

 remove uneccessary generics

 target dbconsts

 fix

Delete deploy/common/env/staging-mainnet.env

undo unwanted changes

 readd staging-mainnet.env

 fix unit-tests

add missing protocols_stats/activity_version

 remove property protocols_json

fix JOB_ID env var in protocols-activity.yaml

fix typos in env vars configs

 change tu numbers

 changes due to own review

 add new line

* add swagger docs
2024-02-22 14:58:45 -03:00
..
env [Issue:1052] Create job for fetching contributor stats and storing in db (#1144) 2024-02-22 14:58:45 -03:00
.gitignore Add support to sepolia chains (#1001) 2024-01-22 11:01:18 -03:00
blockchain.yaml Add support to sepolia chains (#1001) 2024-01-22 11:01:18 -03:00
configmap.yaml [Issue:1052] Create job for fetching contributor stats and storing in db (#1144) 2024-02-22 14:58:45 -03:00
namespace.yaml add ingress for api in staging and test environments (#169) 2023-02-28 15:44:45 -03:00
secrets.yaml Add deploy alert env var to fly + fix message prefix (#456) 2023-06-26 11:47:23 -03:00