Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All workflows #1

Open
binchoo opened this issue Apr 1, 2022 · 4 comments
Open

All workflows #1

binchoo opened this issue Apr 1, 2022 · 4 comments
Labels
doc Improvements or additions to documentation

Comments

@binchoo
Copy link
Owner

binchoo commented Apr 1, 2022

PaimonGanyu's all workflows (2022-04-01)

image

Hoyopass

Every user must securely register his or her Hoyolab credentials(ltuid and ltoken) when first using our system.
Hoyopass Crud Workflow

Code redeem

If a user is newly added, the system will try to redeem all known codes for him or her.
Code Redeem New User Event Workflow

If a new redeem code is registered to the code bucket, this code will soon be redeemed for all users.
Code Redeem New Redeem Code Workflow

Daily check-in

If a user is newly added, he or she will soon be checked in to Hoyolab's daily check.
Daily Check New User Event Workflow

The system will try to check in all system users three times a day.
Daily Check Batch Workflow

Knowing responsibilities among components

To implement and deploy services on the AWS components, relationships among those components must be identified and be configured with the SAM's template.yaml file.

image

@binchoo binchoo added the doc Improvements or additions to documentation label Apr 1, 2022
@binchoo binchoo pinned this issue Apr 1, 2022
@binchoo
Copy link
Owner Author

binchoo commented Apr 4, 2022

PaimonGanyu's all workflows (2022-04-04)

All Workflow drawio (1)

Changes

  • CodeRedeem::CodeRedeemRequester must handle two event sources of SNS and S3.
  • DailyCheck::DailyCheckRequester must handle two event sources of SNS and CloudWatch.
  • CodeRedeem::CodeRedeemWorker and DailyCheck::DailyCheckWorker now only receive messages from their queues.
  • Removed redundant user registration flow describe in the diagrams of *::*NewUserWorkflow.
  • Added Fanout domain.
  • Some changes in the names of components.

Hoyopass

image

Code redeem

image

image

Daily check-in

image

image

Knowing responsibilities

image

@binchoo
Copy link
Owner Author

binchoo commented May 17, 2022

Splitting Requester Lambdas per Event Sources (2022-04-08)

image

  • Lambda implementations that can simultaneously handle two or more different event sources are bullshit with Java.
    • Declaring an Object argument is not a usable choice, because ...Event types have more complicated structures that ObjectMapper cannot simply map the json to those types.

Changes

  • CodeRedeem::CodeRedeemRequester => ① RedeemCodeDelivery ② RedeemUserDelivery
  • DailyCheck::DailyCheckRequester => ① DailyCheckBatchRequester ② DailyCheckHitoriRequester

@binchoo
Copy link
Owner Author

binchoo commented Jun 23, 2022

Beanstalkfying the Chatbot Skill Server (2022-06-23 #10)

image

Changes

  • Hoyopass::SpringBootCrudApp is now on AWS Elastic Beanstalk.
  • Other resources like Hoyopass::UserHoyopassTable are not managed by Beanstalk but by SAM as current.
  • Current single stack is split into two stacks of paimonganyu-skill and paimonganyu.

image

@binchoo
Copy link
Owner Author

binchoo commented Oct 3, 2022

Removing API Gateway and improving ALB security group rules (22-09-04 #16)

image

Changes
Avoid using a private integration /w VPC Link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant