Go to file
2024-07-17 17:44:40 +07:00
api-cronjob Fix: partial #62 2024-03-15 08:46:06 +07:00
cope2n-ai-fi Add: Logging to AI services 2024-07-05 20:14:47 +07:00
cope2n-api Add: semi automation API 2024-07-17 17:44:40 +07:00
cope2n-fe Merge pull request #152 from SDSRV-IDP/factory/review 2024-07-05 10:55:19 +07:00
junk_tests Apply changes 2024-02-05 12:56:51 +07:00
scripts Add: sub to API 2024-03-29 18:34:02 +07:00
test_samples Update: Testcases 2024-06-28 14:26:24 +07:00
tests Update: testcases 2024-06-28 13:44:30 +07:00
.dockerignore Update: new deploy flow for AWS 2023-12-22 10:54:04 +07:00
.env_dev Add logging 2024-06-26 14:58:24 +07:00
.env_sample Update: testcases 2024-06-28 13:44:30 +07:00
.gitignore Add logging 2024-06-26 14:58:24 +07:00
.gitmodules Update: table design 2024-01-24 14:14:33 +07:00
deploy_images.py Add: filebeat 2024-07-05 15:22:49 +07:00
deploy_images.sh Fix: #61 2024-03-04 15:38:38 +07:00
Deploy.md Remove: secret host 2024-07-05 15:25:54 +07:00
docker-compose-dev.yml Add: Logging to AI services 2024-07-05 20:14:47 +07:00
docker-compose-filebeat.yml Add: filebeat 2024-07-05 15:22:49 +07:00
docker-compose-prod.yml Add: Logging to AI services 2024-07-05 20:14:47 +07:00
docker-compose.yml Update: build flow 2023-12-26 10:42:21 +07:00
filebeat.yml Add: filebeat 2024-07-05 15:22:49 +07:00
pull.sh Add: filebeat 2024-07-05 15:22:49 +07:00
push.sh Add: filebeat 2024-07-05 15:22:49 +07:00
README.md Add logging 2024-06-26 14:58:24 +07:00
unset_env.sh Update: request_list API 2024-02-21 12:46:41 +07:00

SBT Project

Local development

  • Prepare .env file.
  • Run for local development:
docker compose --profile local up -d

Run tests

pip install pytest requests deepdiff
IDP_HOST=http://ocrnlb-stagging-671b98778cba8a08.elb.ap-southeast-1.amazonaws.com IDP_USERNAME=sbt IDP_PASSWORD=7Eg4AbWIXDnufgn python3 -m pytest --log-cli-level=DEBUG --capture=sys tests

IDP_HOST=http://ec2-54-169-227-39.ap-southeast-1.compute.amazonaws.com:9881 IDP_USERNAME=sbt IDP_PASSWORD=abc python3 -m pytest --log-cli-level=DEBUG --capture=sys tests