-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: Implement a configuration parser * test: Add Tests for Uniqueness * Create pull_request_template.md * chore: Add Sample config.yaml * feat: init bin and api crate * feat: LinearRegressionEstimator * feat: storage and api updates * chore: Refactor mongodb and user apis * feat: RouteSource Implementation for BungeeClient * test: BungeeClient * feat: Token Price Provider and Utils * fix: Replace BigInt by Ruint * test: Fix Bungee Tests * feat: Build Estimators in Routes Indexer * fix: Add BUNGEE_API_KEY in github action * feat: refactor engine * fix: add display in all structs * feat: added chainning instead of options * Update test.yml * Update test.yml * feat: Estimator Flow * feat: Redis Model Store * chore: refactor of storage and AAS * fix: conflict resolve * temp: fix build * chore: remove code * edit readme * feat: Redis Publish Subscribe * fix: Migrate to thiserror * feat: Token Price Provider Integration * fix: Indexer * fix: Tests * temp: broken indexer * fix: abolish scheduler * fix: tests * chore: Enhance Logging * feat: Command Line Config Parser * feat: Dockerfile * fix: Dockerfile * fix: Github Tests * fix: Github Tests * fix: Github Tests * fix: Github Tests * fix: Make Config::test private --------- Co-authored-by: amanraj1608 <[email protected]> Co-authored-by: Aman Raj <[email protected]>
- Loading branch information
1 parent
bd0f44f
commit d6c93a6
Showing
24 changed files
with
890 additions
and
537 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,3 +23,6 @@ | |
|
||
# include example files | ||
!/examples | ||
|
||
*.yaml | ||
*.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,30 @@ | ||
name: Test Suite | ||
on: [pull_request, push] | ||
on: [ pull_request ] | ||
|
||
jobs: | ||
test: | ||
name: cargo test | ||
runs-on: ubuntu-latest | ||
|
||
services: | ||
mongodb: | ||
image: mongo:6 | ||
image: mongo:latest | ||
ports: | ||
- 27017:27017 | ||
options: >- | ||
--health-cmd="mongosh --eval 'db.adminCommand({ ping: 1 })'" | ||
--health-interval=30s | ||
--health-timeout=10s | ||
--health-retries=10 | ||
redis: | ||
image: redis:latest | ||
ports: | ||
- 6379:6379 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up Rust | ||
uses: dtolnay/rust-toolchain@stable | ||
|
||
- uses: dtolnay/rust-toolchain@stable | ||
- uses: Swatinem/rust-cache@v2 | ||
- run: cargo test --all-features | ||
env: | ||
BUNGEE_API_KEY: ${{ secrets.BUNGEE_API_KEY }} | ||
COINGECKO_API_KEY: ${{ secrets.COINGECKO_API_KEY }} | ||
environment: Testing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,4 +22,4 @@ Cargo.lock | |
|
||
*.env | ||
*.swp | ||
config.yaml | ||
*.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
FROM rust:latest as builder | ||
WORKDIR /reflux | ||
COPY . . | ||
RUN cargo install --path bin/reflux --profile release | ||
|
||
FROM debian:latest | ||
RUN apt-get update | ||
RUN apt-get upgrade -y | ||
RUN apt-get install -y libssl-dev ca-certificates | ||
COPY --from=builder /usr/local/cargo/bin/reflux /app/reflux | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.