Skip to content

Commit 28415f1

Browse files
committed
WIP multi-container support reworking the onboarding service to split
tenant provisioning into 2 steps. Also removing compute details from the tenant that are now owned by the app config from the settings service. Renaming the Lambda that listens to CloudFormation events via SNS.
1 parent a0412b3 commit 28415f1

File tree

35 files changed

+2912
-2609
lines changed

35 files changed

+2912
-2609
lines changed

functions/onboarding-notification/pom.xml renamed to functions/onboarding-listener/pom.xml

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ limitations under the License.
2323
<version>1.0.0</version>
2424
<relativePath>../</relativePath>
2525
</parent>
26-
<artifactId>OnboardingNotification</artifactId>
26+
<artifactId>OnboardingListener</artifactId>
2727
<version>1.0.0</version>
2828
<packaging>jar</packaging>
2929
<licenses>
@@ -34,7 +34,7 @@ limitations under the License.
3434
</licenses>
3535

3636
<properties>
37-
<checkstyle.maxAllowedViolations>16</checkstyle.maxAllowedViolations>
37+
<checkstyle.maxAllowedViolations>20</checkstyle.maxAllowedViolations>
3838
</properties>
3939

4040
<build>
@@ -114,11 +114,6 @@ limitations under the License.
114114
<artifactId>log4j-slf4j-impl</artifactId>
115115
<version>2.13.3</version>
116116
</dependency>
117-
<dependency>
118-
<groupId>com.fasterxml.jackson.datatype</groupId>
119-
<artifactId>jackson-datatype-joda</artifactId>
120-
<version>2.11.0</version>
121-
</dependency>
122117
<dependency>
123118
<groupId>software.amazon.awssdk</groupId>
124119
<artifactId>cloudformation</artifactId>
@@ -134,21 +129,6 @@ limitations under the License.
134129
</exclusion>
135130
</exclusions>
136131
</dependency>
137-
<dependency>
138-
<groupId>software.amazon.awssdk</groupId>
139-
<artifactId>lambda</artifactId>
140-
<version>2.14.26</version>
141-
<exclusions>
142-
<exclusion>
143-
<groupId>software.amazon.awssdk</groupId>
144-
<artifactId>netty-nio-client</artifactId>
145-
</exclusion>
146-
<exclusion>
147-
<groupId>software.amazon.awssdk</groupId>
148-
<artifactId>apache-client</artifactId>
149-
</exclusion>
150-
</exclusions>
151-
</dependency>
152132
<dependency>
153133
<groupId>software.amazon.awssdk</groupId>
154134
<artifactId>eventbridge</artifactId>

functions/onboarding-listener/src/main/java/com/amazon/aws/partners/saasfactory/saasboost/OnboardingListener.java

Lines changed: 481 additions & 0 deletions
Large diffs are not rendered by default.

functions/onboarding-notification/update_service.sh renamed to functions/onboarding-listener/update_service.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ if [ "X$LAMBDA_STAGE_FOLDER" = "X" ]; then
2626
LAMBDA_STAGE_FOLDER="lambdas"
2727
fi
2828

29-
LAMBDA_CODE=OnboardingNotification-lambda.zip
29+
LAMBDA_CODE=OnboardingListener-lambda.zip
3030

3131
#set this for V2 AWS CLI to disable paging
3232
export AWS_PAGER=""
@@ -48,7 +48,7 @@ fi
4848

4949
aws s3 cp target/$LAMBDA_CODE s3://$SAAS_BOOST_BUCKET/$LAMBDA_STAGE_FOLDER/
5050

51-
FUNCTIONS=("sb-${ENVIRONMENT}-notify"
51+
FUNCTIONS=("sb-${ENVIRONMENT}-onboarding-listener"
5252
)
5353

5454
for FUNCTION in ${FUNCTIONS[@]}; do

functions/onboarding-notification/buildspec.yml

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

0 commit comments

Comments
 (0)