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

Commit

Permalink
✨Release 1.1 backend (#224)
Browse files Browse the repository at this point in the history
* 👮 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>
  • Loading branch information
5 people authored Nov 25, 2022
1 parent 35b9e99 commit 9af814f
Show file tree
Hide file tree
Showing 437 changed files with 50,727 additions and 3,235 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: 👮‍♂️ Lint

on: [push, pull_request]

concurrency:
group: ${{github.workflow}}-${{github.ref}}
cancel-in-progress: true

jobs:
unit:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
architecture:
- 'x64'
python-version:
- '3.8'

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: ${{ matrix.architecture }}

- name: Check formatting with Black
uses: psf/black@stable
with:
options: "--check --verbose"
src: "./"
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -170,3 +170,11 @@ daita-app/output.txt
/daita-app/.aws-sam/


# key file
*.cer
output.txt
output_daita.txt

output_fe_config.txt
annotation-app/output_anno.txt
output_daita.txt
4 changes: 0 additions & 4 deletions ai_caller_service_v1/AI_service/AI_service/__init__.py

This file was deleted.

16 changes: 0 additions & 16 deletions ai_caller_service_v1/AI_service/AI_service/asgi.py

This file was deleted.

129 changes: 0 additions & 129 deletions ai_caller_service_v1/AI_service/AI_service/settings.py

This file was deleted.

29 changes: 0 additions & 29 deletions ai_caller_service_v1/AI_service/AI_service/urls.py

This file was deleted.

8 changes: 0 additions & 8 deletions ai_caller_service_v1/AI_service/AI_service/worker.py

This file was deleted.

16 changes: 0 additions & 16 deletions ai_caller_service_v1/AI_service/AI_service/wsgi.py

This file was deleted.

1 change: 0 additions & 1 deletion ai_caller_service_v1/AI_service/app/__init__.py

This file was deleted.

3 changes: 0 additions & 3 deletions ai_caller_service_v1/AI_service/app/admin.py

This file was deleted.

6 changes: 0 additions & 6 deletions ai_caller_service_v1/AI_service/app/apps.py

This file was deleted.

28 changes: 0 additions & 28 deletions ai_caller_service_v1/AI_service/app/migrations/0001_initial.py

This file was deleted.

3 changes: 0 additions & 3 deletions ai_caller_service_v1/AI_service/app/models.py

This file was deleted.

63 changes: 0 additions & 63 deletions ai_caller_service_v1/AI_service/app/scripts/check_stop_ec2.py

This file was deleted.

This file was deleted.

Loading

0 comments on commit 9af814f

Please sign in to comment.