Skip to content
This repository was archived by the owner on May 30, 2023. It is now read-only.

Commit 9af814f

Browse files
ttattlpcaversaccioBEdaitadachanh
authored
✨Release 1.1 backend (#224)
* 👮 add Python linter CI Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch> * renovate.json for pip Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch> * increase setup-python gh actions version Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch> * Feat/refactor auth service sam app (#165) * Update:set dev env * Update: add role gateway * Update endpoint for dev environment * Update: Divide config prod and dev * Create prod and dev mode for sam app * update: refactor dev env * donwload reference image * Update: auth service sam app * Update: tempplate auth * fix: change datatype of template * Update: auth services sam app * Transport layyer for auth service * Update: apigateway for auth service * Add: forgotpassword lambda * Auth Transport layer: Update lambda invoke * Update: Google IdentityProvider * Update: change CognitoUserpoolIdentityProvider of google * Update: reafactor project services * Add: const file * Update: create project service discovery * Update: Api Gateway for project services * Update: Projects Service Transport layer * Add ses policy on auth service * delete unused comment and add try except * Add: emplate mail * pdate: Api gateway for template-invite-mail * Fix: typos * Update : auth service Co-authored-by: teppialy <52909563+ttattl@users.noreply.github.com> * refactor: + fix env dev + add requirements + remove unused code * refactor: remove old logic of ai_caller * refactor: remove key * Feat/refactor sam app (#169) * Refactor: webhoodbot and invitemail * update: login social Co-authored-by: teppialy <52909563+ttattl@users.noreply.github.com> * Feat/refactor sam app (#170) * Refactor: webhoodbot and invitemail * update: login social * Update Identity pool * Create: identity permission * Delete unused feature * Resolved merge conflict * Add Policy authenticated S3 Co-authored-by: teppialy <52909563+ttattl@users.noreply.github.com> * feat: list prebuild dataset * fix: named with stage param * Feat/refactor sam app (#171) * Refactor: webhoodbot and invitemail * update: login social * Update Identity pool * Create: identity permission * Delete unused feature * Resolved merge conflict * Add Policy authenticated S3 * refactor project * refactor api gw of project service and Add thumbnail feat * resoveled merge conflict Co-authored-by: teppialy <52909563+ttattl@users.noreply.github.com> * feat: init create project from prebuild dataset * fix: role name * fix: auth env variable (#174) * feat: update create sample project * Fix/refactor sam app (#175) * fix: auth env variable * Update: refactor database * fix: env paramter * fix: conflict * fix api gateway * refactor: update named convention * fix: mirror * Feat/thumbnail (#176) * update database project * Update output database * fix: minor Bugs * add eventbridge for thumbnail * Update: eventbridge thumbnail * fix: auth role identity pass value * Feat/thumbnail (#178) * update database project * Update output database * fix: minor Bugs * add eventbridge for thumbnail * Update: eventbridge thumbnail * fix: typos * Update: increase memory * fix: wrong named * intergation: data model (#179) * fix: wrong named * fix: (prebuild dataset) random images * fix: exception message return * fix: (prebuild dataset) check limit max project quantity * Feat/refactor/minior bug (#183) * cognito: update custom domain * feedback sam * change name custom domain * add thumbnail key * change domain * fix: (create prebuild project) parse Decimal field * fix: minor bug (#184) * fix: minor bug * fix minor bug * feat: init for annotation structure * feat: update confing and build script for both application * feat: (annotation)(project) clone project from daita to annotation * Merge branch 'feat/update_build_flow' * feat: add build instruction * feat: auto export config for FE * fix: data-flow subnet join, fix const db * update: move certificate arn to outside * fix: response github oauth2 (#190) * update certificate * Update (#191) * Feat/fix minor bug (#192) * Update * Update: parameter redirect url * fix: wrong assign upload update * Update recaptcha (#193) * update: flow ai caller use ec2 * update: enable thumnail code * fix: circle update sam template for thumnail * feat: api for annotation app * doc: add doc for url endpoint of annotation app * fix: (clone project) mirro bug field name * feat: add class of category, create default category and class when clone project * feat: (anno project info) add class list return in response body * feat: add API for add class * fix: return gen_status when get project info * feat: grant permission to annotation s3 bucket for cognito user * update: get label info * Feat/ecs segmentation (#201) * add template ecs task * feat: fix run ecs task with private subnet * Update: ecs-segmentation app * Update: ecs trigger * supdate: env variable * ecs app * change name sample image * update: ecs-segmentation * move ecs-app to annototation project * update : storage layer * add ec2 role * Update * Update * fix typos * delete unused file * update : connect efs to container * fix: typos * sqs trigger upload image * Update :ecs segmentation * devide batch on dynamodb Co-authored-by: teppialy <trantuananh2006@gmail.com> * feat: integrate ecs segmentation to dev * delete project anno (#204) Co-authored-by: teppialy <52909563+ttattl@users.noreply.github.com> * feat: (annotation) delete project api * feat: (annotation) api upload data to project * fix: (annotation api) upload check, upload update * feat: check AI segementation progress * feat: update infra for ecs fix: hardcode in preprocessing * Add: info id_token (#216) * fix: add catch error on StartECSDecompressTask step (#213) Co-authored-by: dachanh <ghostcodert7@gmail.com> * feat: init infra for ecs_ai_caller * fix: typo fix: decrease max ec2 of ecs from 4->2 * feat: add parameter table user from daita to annotation * feat: split config build dev and prod * Feature : Notify complete AI segmentation task (#217) * update * update * fix Co-authored-by: teppialy <52909563+ttattl@users.noreply.github.com> * feat: check limit number image when creatiing project from prebuild project * fix: hardcode table list ec2 const * fix mirror bugs * feat: move send email to core function * feat: remove hardcode for token slack feedback * feat: remove hardcode secret key * refactor: clean config, code for prod * refactor: move Image_AI_segmentation URL to main config * fix: add output config for FE s3 annotation * fix (#220) Co-authored-by: teppialy <52909563+ttattl@users.noreply.github.com> * update: config maximum character of project description * fix: grammar refactor: const MAX_NUM_IMAGES_IN_ORIGINAL * fix: duplicate config sam s3 for dev * fix: (update project info) mirror bugs * refactor: hardcode in config for captcha * fix api log out (#222) * fix * update Signed-off-by: teppialy <52909563+ttattl@users.noreply.github.com> Co-authored-by: teppialy <52909563+ttattl@users.noreply.github.com> * refactor: move to config max size of ec2 autoscalling created * fix: mirror bug * fix: mirror bug * fix (#223) * fix: mirror bug * fix: mirror bug * fix: link to reference image * refactor: remove hardcode ai caller calculate reference image * fix (#225) * Update (#226) Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch> Signed-off-by: teppialy <52909563+ttattl@users.noreply.github.com> Co-authored-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch> Co-authored-by: Pascal Marco Caversaccio <pcaversaccio@users.noreply.github.com> Co-authored-by: BEdaita <102169046+BEdaita@users.noreply.github.com> Co-authored-by: dachanh <ghostcodert7@gmail.com>
1 parent 35b9e99 commit 9af814f

437 files changed

Lines changed: 50727 additions & 3235 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/lint.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: 👮‍♂️ Lint
2+
3+
on: [push, pull_request]
4+
5+
concurrency:
6+
group: ${{github.workflow}}-${{github.ref}}
7+
cancel-in-progress: true
8+
9+
jobs:
10+
unit:
11+
runs-on: ${{ matrix.os }}
12+
strategy:
13+
matrix:
14+
os:
15+
- ubuntu-latest
16+
architecture:
17+
- 'x64'
18+
python-version:
19+
- '3.8'
20+
21+
steps:
22+
- name: Checkout
23+
uses: actions/checkout@v3
24+
25+
- name: Setup Python
26+
uses: actions/setup-python@v4
27+
with:
28+
python-version: ${{ matrix.python-version }}
29+
architecture: ${{ matrix.architecture }}
30+
31+
- name: Check formatting with Black
32+
uses: psf/black@stable
33+
with:
34+
options: "--check --verbose"
35+
src: "./"

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,3 +170,11 @@ daita-app/output.txt
170170
/daita-app/.aws-sam/
171171

172172

173+
# key file
174+
*.cer
175+
output.txt
176+
output_daita.txt
177+
178+
output_fe_config.txt
179+
annotation-app/output_anno.txt
180+
output_daita.txt

ai_caller_service_v1/AI_service/AI_service/__init__.py

Lines changed: 0 additions & 4 deletions
This file was deleted.

ai_caller_service_v1/AI_service/AI_service/asgi.py

Lines changed: 0 additions & 16 deletions
This file was deleted.

ai_caller_service_v1/AI_service/AI_service/settings.py

Lines changed: 0 additions & 129 deletions
This file was deleted.

ai_caller_service_v1/AI_service/AI_service/urls.py

Lines changed: 0 additions & 29 deletions
This file was deleted.

ai_caller_service_v1/AI_service/AI_service/worker.py

Lines changed: 0 additions & 8 deletions
This file was deleted.

ai_caller_service_v1/AI_service/AI_service/wsgi.py

Lines changed: 0 additions & 16 deletions
This file was deleted.

ai_caller_service_v1/AI_service/app/__init__.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

ai_caller_service_v1/AI_service/app/admin.py

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)