Skip to content

Commit

Permalink
feat(aws-q2-2024): add the package in replacement of aws-q1-2024
Browse files Browse the repository at this point in the history
  • Loading branch information
tmorin committed Sep 28, 2024
1 parent bf3b5e7 commit cd6bdb2
Show file tree
Hide file tree
Showing 13 changed files with 33 additions and 32 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ It provides a _search engine_ which should improve the discovery process ;).

The available packages:

- [AWS (q1-2024)](distribution/aws-q1-2024/README.md)
- [AWS (q2-2024)](distribution/aws-q2-2024/README.md)
- [Azure (v17)](distribution/azure-17/README.md)
- [C4 Model](distribution/c4model/README.md)
- [C4 Model + Nord Theme](distribution/c4nord/README.md)
Expand Down
2 changes: 1 addition & 1 deletion distribution/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

The library provides 13 packages.

- [aws-q1-2024](aws-q1-2024/README.md)
- [aws-q2-2024](aws-q2-2024/README.md)
- [azure-17](azure-17/README.md)
- [c4model](c4model/README.md)
- [c4nord](c4nord/README.md)
Expand Down
2 changes: 1 addition & 1 deletion source/generator/website/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const argv = yargs
default: [
"**/*.{Local,Remote}.puml",
/*
"aws-q1-2024/!**",
"aws-q2-2024/!**",
"azure-11/!**",
"gcp/!**",
"fontawesome-6/!**",
Expand Down
4 changes: 2 additions & 2 deletions source/library/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AwsQ12024Factory } from "./packages/aws-q1-2024"
import { AwsQ22024Factory } from "./packages/aws-q2-2024"
import { AzureV17Factory } from "./packages/azure-17"
import { C4modelFactory } from "./packages/c4model"
import { C4nordFactory } from "./packages/c4nord"
Expand All @@ -18,7 +18,7 @@ import { Material4Factory } from "./packages/material-4"
import { Simpleicons8Factory } from "./packages/simpleicons-8"

const PACKAGE_FACTORIES = [
new AwsQ12024Factory(),
new AwsQ22024Factory(),
new AzureV17Factory(),
new C4modelFactory(),
new C4nordFactory(),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
name,front_color,background_color,border_thick,border_style,border_color,icon_reference
Cloud,$AWS_COLOR_DARK_BLUE,transparent,1,solid,$AWS_COLOR_DARK_BLUE,aws-q1-2024/Resource/GroupIcons/Cloud
AWS Cloud,$AWS_COLOR_DARK_BLUE,transparent,1,solid,$AWS_COLOR_DARK_BLUE,aws-q1-2024/Resource/GroupIcons/AwsCloud
Region,$AWS_COLOR_LIGHT_BLUE,transparent,1,dotted,$AWS_COLOR_LIGHT_BLUE,aws-q1-2024/Resource/GroupIcons/Region
Cloud,$AWS_COLOR_DARK_BLUE,transparent,1,solid,$AWS_COLOR_DARK_BLUE,aws-q2-2024/Resource/GroupIcons/Cloud
AWS Cloud,$AWS_COLOR_DARK_BLUE,transparent,1,solid,$AWS_COLOR_DARK_BLUE,aws-q2-2024/Resource/GroupIcons/AwsCloud
Region,$AWS_COLOR_LIGHT_BLUE,transparent,1,dotted,$AWS_COLOR_LIGHT_BLUE,aws-q2-2024/Resource/GroupIcons/Region
Availability Zone,$AWS_COLOR_LIGHT_BLUE,transparent,1,dashed,$AWS_COLOR_LIGHT_BLUE,
Security,$AWS_COLOR_RED,transparent,1,solid,$AWS_COLOR_RED,
Auto Scaling,$AWS_COLOR_ORANGE,transparent,1,dashed,$AWS_COLOR_ORANGE,aws-q1-2024/Resource/GroupIcons/AutoScalingGroup
VPC,$AWS_COLOR_GREEN,transparent,1,solid,$AWS_COLOR_GREEN,aws-q1-2024/Resource/GroupIcons/VirtualPrivateCloudVpc
Private Subnet,$AWS_COLOR_LIGHT_BLUE,$AWS_COLOR_LIGHT_BLUE_BG,0,solid,transparent,aws-q1-2024/Resource/GroupIcons/PrivateSubnet
Public Subnet,$AWS_COLOR_GREEN,$AWS_COLOR_LIGHT_BLUE_BG,0,solid,transparent,aws-q1-2024/Resource/GroupIcons/PublicSubnet
Server Contents,$AWS_COLOR_GREY,transparent,1,solid,$AWS_COLOR_GREY,aws-q1-2024/Resource/GroupIcons/ServerContents
Corporate Data Center,$AWS_COLOR_GREY,transparent,1,solid,$AWS_COLOR_GREY,aws-q1-2024/Resource/GroupIcons/CorporateDataCenter
Elastic Beanstalk Container,$AWS_COLOR_ORANGE,transparent,1,solid,$AWS_COLOR_ORANGE,aws-q1-2024/Resource/GroupIcons/ElasticBeanstalkContainer
EC2 Instance Contents,$AWS_COLOR_ORANGE,transparent,1,solid,$AWS_COLOR_ORANGE,aws-q1-2024/Resource/GroupIcons/Ec2InstanceContents
Spot Fleet,$AWS_COLOR_ORANGE,transparent,1,solid,$AWS_COLOR_ORANGE,aws-q1-2024/Resource/GroupIcons/SpotFleet
AWS Step Functions workflow,$AWS_COLOR_VIOLET,transparent,1,solid,$AWS_COLOR_VIOLET,aws-q1-2024/Architecture/AppIntegration/AwsStepFunctions
Auto Scaling,$AWS_COLOR_ORANGE,transparent,1,dashed,$AWS_COLOR_ORANGE,aws-q2-2024/Resource/GroupIcons/AutoScalingGroup
VPC,$AWS_COLOR_GREEN,transparent,1,solid,$AWS_COLOR_GREEN,aws-q2-2024/Resource/GroupIcons/VirtualPrivateCloudVpc
Private Subnet,$AWS_COLOR_LIGHT_BLUE,$AWS_COLOR_LIGHT_BLUE_BG,0,solid,transparent,aws-q2-2024/Resource/GroupIcons/PrivateSubnet
Public Subnet,$AWS_COLOR_GREEN,$AWS_COLOR_LIGHT_BLUE_BG,0,solid,transparent,aws-q2-2024/Resource/GroupIcons/PublicSubnet
Server Contents,$AWS_COLOR_GREY,transparent,1,solid,$AWS_COLOR_GREY,aws-q2-2024/Resource/GroupIcons/ServerContents
Corporate Data Center,$AWS_COLOR_GREY,transparent,1,solid,$AWS_COLOR_GREY,aws-q2-2024/Resource/GroupIcons/CorporateDataCenter
Elastic Beanstalk Container,$AWS_COLOR_ORANGE,transparent,1,solid,$AWS_COLOR_ORANGE,aws-q2-2024/Resource/GroupIcons/ElasticBeanstalkContainer
EC2 Instance Contents,$AWS_COLOR_ORANGE,transparent,1,solid,$AWS_COLOR_ORANGE,aws-q2-2024/Resource/GroupIcons/Ec2InstanceContents
Spot Fleet,$AWS_COLOR_ORANGE,transparent,1,solid,$AWS_COLOR_ORANGE,aws-q2-2024/Resource/GroupIcons/SpotFleet
AWS Step Functions workflow,$AWS_COLOR_VIOLET,transparent,1,solid,$AWS_COLOR_VIOLET,aws-q2-2024/Architecture/AppIntegration/AwsStepFunctions
Dashed,$AWS_COLOR_GREY,transparent,1,dashed,$AWS_COLOR_GREY,
Plain,$AWS_COLOR_DARK_BLUE,$AWS_COLOR_GREY_BG,0,solid,transparent,
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,17 @@ import {
} from "../../../generator/workdir/discovery"

const FOLDER_DATE = "01312024"
// https://d1.awsstatic.com/webteam/architecture-icons/q2-2024/Asset-Package_06072024.b5d9f0b1179c4a995a3f1e42042defabb0ba0fd2.zip
const ICONS_URL = `https://d1.awsstatic.com/webteam/architecture-icons/q1-2024/Asset-Package_02062024.c893ec2a2df5a0b881da3ad9a3213e5f6c8664d4.zip`

type FamiliesCsvRow = {
name: string
color: string
}

export class AwsQ12024Factory implements PackageFactory {
export class AwsQ22024Factory implements PackageFactory {
getUrn(): string {
return "aws-q1-2024"
return "aws-q2-2024"
}

private getItemUrn(imageSrcPath: string) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{% extends "package_example.tera" %}

{% block content %}
include("aws-q1-2024/Group/GroupAwsCloud")
include("aws-q1-2024/Group/GroupAvailabilityZone")
include("aws-q1-2024/Group/GroupVpc")
include("aws-q1-2024/Group/GroupPublicSubnet")
include("aws-q1-2024/Resource/Compute/AmazonEc2Instance")
include("aws-q1-2024/Resource/NetworkingContentDelivery/AmazonVpcInternetGateway")
include("aws-q2-2024/Group/GroupAwsCloud")
include("aws-q2-2024/Group/GroupAvailabilityZone")
include("aws-q2-2024/Group/GroupVpc")
include("aws-q2-2024/Group/GroupPublicSubnet")
include("aws-q2-2024/Resource/Compute/AmazonEc2Instance")
include("aws-q2-2024/Resource/NetworkingContentDelivery/AmazonVpcInternetGateway")

GroupAwsCloud('aws') {
GroupAvailabilityZone('az') {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{% extends "package_example.tera" %}

{% block content %}
include("aws-q1-2024/Resource/GeneralIcons/User")
include("aws-q1-2024/Resource/GeneralIcons/Server")
include("aws-q1-2024/Architecture/Compute/AwsLambda")
include("aws-q1-2024/Resource/Storage/AmazonSimpleStorageServiceBucketWithObjects")
include("aws-q1-2024/Resource/SecurityIdentityCompliance/AwsIdentityAccessManagementAddOn")
include("aws-q1-2024/Group/GroupAwsCloud")
include("aws-q2-2024/Resource/GeneralIcons/User")
include("aws-q2-2024/Resource/GeneralIcons/Server")
include("aws-q2-2024/Architecture/Compute/AwsLambda")
include("aws-q2-2024/Resource/Storage/AmazonSimpleStorageServiceBucketWithObjects")
include("aws-q2-2024/Resource/SecurityIdentityCompliance/AwsIdentityAccessManagementAddOn")
include("aws-q2-2024/Group/GroupAwsCloud")

left to right direction

Expand Down

0 comments on commit cd6bdb2

Please sign in to comment.