-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(csi-16): added proxy caching logic #484
Conversation
* feat(csi-263): implemented getPartiesByTypeAndID proxy changes * feat(csi-263): implemented getPartiesByTypeAndID proxy changes * feat(csi-263): update npm test:... scripts * feat(csi-263): added networks to redis in d-c * feat(csi-263): added proxyCache logic for success PUT /parties * feat(csi-263): added proxyCache logic for error PUT /parties * feat(csi-263): updated proxyConfig format * feat(csi-263): added jest-unit.config.js * feat(csi-215): updated test-harness version to use fx * chore(snapshot): 15.4.0-snapshot.0 * chore(snapshot): 15.4.0-snapshot.1 * chore(snapshot): 15.4.0-snapshot.2 * chore(snapshot): 15.4.0-snapshot.3 * chore(snapshot): 15.4.0-snapshot.4 * chore(snapshot): 15.4.0-snapshot.5 * chore(snapshot): 15.4.0-snapshot.6 * chore(snapshot): 15.4.0-snapshot.7 * chore(snapshot): 15.4.0-snapshot.8 * chore(snapshot): 15.4.0-snapshot.9 * chore(snapshot): 15.4.0-snapshot.10 * chore(snapshot): 15.4.0-snapshot.11 * feat: make proxy routing optional & update health check (#486) * chore(csi-16): updated central-services-shared version * chore(snapshot): 15.4.0-snapshot.12 * chore(snapshot): 15.4.0-snapshot.13 * chore(snapshot): 15.4.0-snapshot.14 * chore(csi-16): inited proxies cache * chore(snapshot): 15.4.0-snapshot.15 * chore(snapshot): 15.4.0-snapshot.16 * feat(csi-263): added proxy int-test from parties handler * feat(csi-263): added proxy int-test from parties handler * feat(csi-263): added --runInBand to unit tests * feat(csi-16): proxyCacheTtlSec = 40 * chore(snapshot): 15.4.0-snapshot.17 * feat(csi-16): proxyCacheTtlSec = 40 * feat(csi-16): proxyCacheTtlSec = 40 * chore(snapshot): 15.4.0-snapshot.18 * Update docker/account-lookup-service/default.json Co-authored-by: Steven Oderayi <oderayi@gmail.com> * Update test/integration-config.json Co-authored-by: Steven Oderayi <oderayi@gmail.com> --------- Co-authored-by: Steven Oderayi <oderayi@gmail.com>
* feat(csi-263): implemented getPartiesByTypeAndID proxy changes * feat(csi-263): implemented getPartiesByTypeAndID proxy changes * feat(csi-263): update npm test:... scripts * feat(csi-263): added networks to redis in d-c * feat(csi-263): added proxyCache logic for success PUT /parties * feat(csi-263): added proxyCache logic for error PUT /parties * feat(csi-263): updated proxyConfig format * feat(csi-263): added jest-unit.config.js * feat(csi-215): updated test-harness version to use fx * chore(snapshot): 15.4.0-snapshot.0 * chore(snapshot): 15.4.0-snapshot.1 * chore(snapshot): 15.4.0-snapshot.2 * chore(snapshot): 15.4.0-snapshot.3 * chore(snapshot): 15.4.0-snapshot.4 * chore(snapshot): 15.4.0-snapshot.5 * chore(snapshot): 15.4.0-snapshot.6 * chore(snapshot): 15.4.0-snapshot.7 * chore(snapshot): 15.4.0-snapshot.8 * chore(snapshot): 15.4.0-snapshot.9 * chore(snapshot): 15.4.0-snapshot.10 * chore(snapshot): 15.4.0-snapshot.11 * feat: make proxy routing optional & update health check (#486) * chore(csi-16): updated central-services-shared version * chore(snapshot): 15.4.0-snapshot.12 * chore(snapshot): 15.4.0-snapshot.13 * chore(snapshot): 15.4.0-snapshot.14 * chore(csi-16): inited proxies cache * chore(snapshot): 15.4.0-snapshot.15 * chore(snapshot): 15.4.0-snapshot.16 * feat(csi-263): added proxy int-test from parties handler * feat(csi-263): added proxy int-test from parties handler * feat(csi-263): added --runInBand to unit tests * feat(csi-16): proxyCacheTtlSec = 40 * chore(snapshot): 15.4.0-snapshot.17 * feat(csi-16): proxyCacheTtlSec = 40 * feat(csi-16): proxyCacheTtlSec = 40 * chore(snapshot): 15.4.0-snapshot.18 * Update docker/account-lookup-service/default.json Co-authored-by: Steven Oderayi <oderayi@gmail.com> * Update test/integration-config.json Co-authored-by: Steven Oderayi <oderayi@gmail.com> * feat(csi-334): added source to proxyCache for payee case * chore(snapshot): 15.4.0-snapshot.19 * feat(csi-334): added axios-retry * chore(snapshot): 15.4.0-snapshot.20 * fix(csi-321): fixed failed GP tests * chore(snapshot): 15.4.0-snapshot.21 * fix(csi-321): fixed case of sendCallback to requester * chore(snapshot): 15.4.0-snapshot.22 * fix(csi-321): added contextLogger * fix(csi-334): add proxyLib with redis-cluster * chore(snapshot): 15.4.0-snapshot.23 * fix(csi-334): add proxyLib with redis-cluster * chore(snapshot): 15.4.0-snapshot.24 * fix(csi-334): fixed config * chore(snapshot): 15.4.0-snapshot.25 * fix(csi-334): used new proxyLib --------- Co-authored-by: Steven Oderayi <oderayi@gmail.com>
…ice into feat/csi-16
* fix(csi-418): fixed oracle update logic; added tests * chore(snapshot): 15.4.0-snapshot.27 * fix(csi-418): fixed oracle update logic; added tests * chore(snapshot): 15.4.0-snapshot.28
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation. |
WORKDIR /opt/app | ||
|
||
RUN apk --no-cache add git | ||
RUN apk add --no-cache -t build-dependencies make gcc g++ python3 libtool openssl-dev autoconf automake bash \ | ||
RUN apk add --no-cache -t build-dependencies make gcc g++ python3 py3-setuptools libtool openssl-dev autoconf automake bash \ |
Check notice
Code scanning / SonarCloud
Arguments in long RUN instructions should be sorted Low
Quality Gate failedFailed conditions |
* feat(csi-164): parameterize 'switch' id (#482) * fix(csi-241): fixed unit-tests (#483) * fix(csi-241): fixed unit-tests * fix(csi-241): fixed unit-tests * fix(csi-241): fixed unit-tests * fix(csi-241): fixed unit-tests * test: temporarily disable int test shutdown * fix: update parameters for sendRequest and update tests * chore: update deps, re-enable int test shutdown --------- Co-authored-by: Steven Oderayi <oderayi@gmail.com> * chore(snapshot): 15.4.0-snapshot.0 * chore(snapshot): 15.4.0-snapshot.1 * chore(snapshot): 15.4.0-snapshot.2 * chore(snapshot): 15.4.0-snapshot.3 * chore(snapshot): 15.4.0-snapshot.4 * chore(snapshot): 15.4.0-snapshot.5 * chore(snapshot): 15.4.0-snapshot.6 * chore(snapshot): 15.4.0-snapshot.7 * chore(snapshot): 15.4.0-snapshot.8 * chore(snapshot): 15.4.0-snapshot.9 * chore(snapshot): 15.4.0-snapshot.10 * chore(snapshot): 15.4.0-snapshot.11 * chore(snapshot): 15.4.0-snapshot.12 * chore(csi-16): updated deps * chore(snapshot): 15.4.0-snapshot.13 * feat(csi-16): added proxy caching logic (#484) * fix(csi-241): fixed unit-tests * fix(csi-241): fixed unit-tests * fix(csi-241): fixed unit-tests * fix(csi-241): fixed unit-tests * feat(csi-16): refactoring - moved getPartiesByTypeAndID to a separate file * ci: fix docker build * feat(csi-263): implemented getPartiesByTypeAndID proxy changes (#485) * feat(csi-263): implemented getPartiesByTypeAndID proxy changes * feat(csi-263): implemented getPartiesByTypeAndID proxy changes * feat(csi-263): update npm test:... scripts * feat(csi-263): added networks to redis in d-c * feat(csi-263): added proxyCache logic for success PUT /parties * feat(csi-263): added proxyCache logic for error PUT /parties * feat(csi-263): updated proxyConfig format * feat(csi-263): added jest-unit.config.js * feat(csi-215): updated test-harness version to use fx * chore(snapshot): 15.4.0-snapshot.0 * chore(snapshot): 15.4.0-snapshot.1 * chore(snapshot): 15.4.0-snapshot.2 * chore(snapshot): 15.4.0-snapshot.3 * chore(snapshot): 15.4.0-snapshot.4 * chore(snapshot): 15.4.0-snapshot.5 * chore(snapshot): 15.4.0-snapshot.6 * chore(snapshot): 15.4.0-snapshot.7 * chore(snapshot): 15.4.0-snapshot.8 * chore(snapshot): 15.4.0-snapshot.9 * chore(snapshot): 15.4.0-snapshot.10 * chore(snapshot): 15.4.0-snapshot.11 * feat: make proxy routing optional & update health check (#486) * chore(csi-16): updated central-services-shared version * chore(snapshot): 15.4.0-snapshot.12 * chore(snapshot): 15.4.0-snapshot.13 * chore(snapshot): 15.4.0-snapshot.14 * chore(csi-16): inited proxies cache * chore(snapshot): 15.4.0-snapshot.15 * chore(snapshot): 15.4.0-snapshot.16 * feat(csi-263): added proxy int-test from parties handler * feat(csi-263): added proxy int-test from parties handler * feat(csi-263): added --runInBand to unit tests * feat(csi-16): proxyCacheTtlSec = 40 * chore(snapshot): 15.4.0-snapshot.17 * feat(csi-16): proxyCacheTtlSec = 40 * feat(csi-16): proxyCacheTtlSec = 40 * chore(snapshot): 15.4.0-snapshot.18 * Update docker/account-lookup-service/default.json Co-authored-by: Steven Oderayi <oderayi@gmail.com> * Update test/integration-config.json Co-authored-by: Steven Oderayi <oderayi@gmail.com> --------- Co-authored-by: Steven Oderayi <oderayi@gmail.com> * feat(csi-334): e2e als-proxy flow validation (#487) * feat(csi-263): implemented getPartiesByTypeAndID proxy changes * feat(csi-263): implemented getPartiesByTypeAndID proxy changes * feat(csi-263): update npm test:... scripts * feat(csi-263): added networks to redis in d-c * feat(csi-263): added proxyCache logic for success PUT /parties * feat(csi-263): added proxyCache logic for error PUT /parties * feat(csi-263): updated proxyConfig format * feat(csi-263): added jest-unit.config.js * feat(csi-215): updated test-harness version to use fx * chore(snapshot): 15.4.0-snapshot.0 * chore(snapshot): 15.4.0-snapshot.1 * chore(snapshot): 15.4.0-snapshot.2 * chore(snapshot): 15.4.0-snapshot.3 * chore(snapshot): 15.4.0-snapshot.4 * chore(snapshot): 15.4.0-snapshot.5 * chore(snapshot): 15.4.0-snapshot.6 * chore(snapshot): 15.4.0-snapshot.7 * chore(snapshot): 15.4.0-snapshot.8 * chore(snapshot): 15.4.0-snapshot.9 * chore(snapshot): 15.4.0-snapshot.10 * chore(snapshot): 15.4.0-snapshot.11 * feat: make proxy routing optional & update health check (#486) * chore(csi-16): updated central-services-shared version * chore(snapshot): 15.4.0-snapshot.12 * chore(snapshot): 15.4.0-snapshot.13 * chore(snapshot): 15.4.0-snapshot.14 * chore(csi-16): inited proxies cache * chore(snapshot): 15.4.0-snapshot.15 * chore(snapshot): 15.4.0-snapshot.16 * feat(csi-263): added proxy int-test from parties handler * feat(csi-263): added proxy int-test from parties handler * feat(csi-263): added --runInBand to unit tests * feat(csi-16): proxyCacheTtlSec = 40 * chore(snapshot): 15.4.0-snapshot.17 * feat(csi-16): proxyCacheTtlSec = 40 * feat(csi-16): proxyCacheTtlSec = 40 * chore(snapshot): 15.4.0-snapshot.18 * Update docker/account-lookup-service/default.json Co-authored-by: Steven Oderayi <oderayi@gmail.com> * Update test/integration-config.json Co-authored-by: Steven Oderayi <oderayi@gmail.com> * feat(csi-334): added source to proxyCache for payee case * chore(snapshot): 15.4.0-snapshot.19 * feat(csi-334): added axios-retry * chore(snapshot): 15.4.0-snapshot.20 * fix(csi-321): fixed failed GP tests * chore(snapshot): 15.4.0-snapshot.21 * fix(csi-321): fixed case of sendCallback to requester * chore(snapshot): 15.4.0-snapshot.22 * fix(csi-321): added contextLogger * fix(csi-334): add proxyLib with redis-cluster * chore(snapshot): 15.4.0-snapshot.23 * fix(csi-334): add proxyLib with redis-cluster * chore(snapshot): 15.4.0-snapshot.24 * fix(csi-334): fixed config * chore(snapshot): 15.4.0-snapshot.25 * fix(csi-334): used new proxyLib --------- Co-authored-by: Steven Oderayi <oderayi@gmail.com> * fix(csi-334): switched to redis standalone; improved logging; added int-test * fix(csi-334): improved logging * chore(snapshot): 15.4.0-snapshot.26 * fix(csi-418): fixed oracle update logic; added tests (#490) * fix(csi-418): fixed oracle update logic; added tests * chore(snapshot): 15.4.0-snapshot.27 * fix(csi-418): fixed oracle update logic; added tests * chore(snapshot): 15.4.0-snapshot.28 * feat: PROXY_MAP * chore(snapshot): 15.4.0-snapshot.29 * feat(mojaloop/#4000): timeout handler (#489) --------- Co-authored-by: Steven Oderayi <oderayi@gmail.com> Co-authored-by: Kalin Krustev <kalin.krustev@gmail.com> * chore: deps * chore(snapshot): 15.4.0-snapshot.32 * chore(snapshot): 15.4.0-snapshot.33 * chore(snapshot): 15.4.0-snapshot.34 * fix: jws signing (#497) * fix: config * chore(snapshot): 15.4.0-snapshot.35 * fix: github-advanced-security alerts * chore: addressed PR comments * chore: added audit:check to pre-commit * chore: added docs/Proxy * chore: added Timeout flow docs * Update docs/Proxy/P2P.md Co-authored-by: Sam <10507686+elnyry-sam-k@users.noreply.github.com> * chore: updated license --------- Co-authored-by: Steven Oderayi <oderayi@gmail.com> Co-authored-by: Eugen Klymniuk <keramet.kh@gmail.com> Co-authored-by: geka.evk <geka.evk@gmail.com> Co-authored-by: Kalin Krustev <kalin.krustev@gmail.com> Co-authored-by: Sam <10507686+elnyry-sam-k@users.noreply.github.com>
No description provided.