-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AI-1561] Split server and client in different packages. (#28)
* Fixed local environment. Added container to run the API locally and run tests. Fixed makefile * Decouple Server/Client tests * Bootstrap all Server folder. Moved CMD, main and common packages * Moved all server files and test to server/ folder * Moved test getConfig to test suite file * Fixed client side tests * Removed unused client cmd * Removed all server packages from client package * Moved client load-test and producer modules to testing module * Fix cross ref import * Moved load-test and producer to tools package * Updated Spark Script and added server README * Updated Spark Script and added server README * Improve client tests and cover output messages * Remove server conf from flient files * Fixing CI * Fixing Ci * Remove docker image cache * Build dev server img with build client image * Fix server tests * Test docker command with tty * Fix server tests CI * Fix Ci docker push * Remove unecessary Client Requests Metrics from server * Remove Server metrics from client
- Loading branch information
1 parent
668d1e8
commit 5930965
Showing
48 changed files
with
1,866 additions
and
1,026 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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
bin | ||
vendor | ||
vendor |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,19 @@ | ||
name: Run tests | ||
on: | ||
push: | ||
on: push | ||
jobs: | ||
tests: | ||
name: Run unit and integration tests | ||
client-tests: | ||
name: Run client tests | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Set up Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: '1.17' | ||
- name: Check out the repo | ||
uses: actions/checkout@v2 | ||
- name: Set up ci | ||
run: make setup-ci | ||
- name: Test | ||
run: GOPATH=/home/runner/go make test | ||
uses: actions/checkout@v4 | ||
- run: make build-dev | ||
- run: make test | ||
server-tests: | ||
name: Run server tests | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out the repo | ||
uses: actions/checkout@v4 | ||
- run: cd server && make build-dev | ||
- run: cd server && make test |
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.