Skip to content

Commit f8ee68e

Browse files
authored
Revert "Revert "Remove the playground Lambda""
1 parent b4a64f8 commit f8ee68e

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

api-gateway-routes/api_gateway_proxy_function.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,6 @@ def on_connect(event, context)
7979
function_name = ENV['BUILD_AND_RUN_CONSOLE_PROJECT_LAMBDA_ARN']
8080
elsif authorizer['mini_app_type'] == 'theater'
8181
function_name = ENV['BUILD_AND_RUN_THEATER_PROJECT_LAMBDA_ARN']
82-
elsif authorizer['mini_app_type'] == 'playground'
83-
function_name = ENV['BUILD_AND_RUN_PLAYGROUND_PROJECT_LAMBDA_ARN']
8482
else
8583
return { statusCode: 400, body: "invalid mini-app" }
8684
end

template.yml.erb

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ JAVALAB_APP_TYPES = %w(
5353
Theater
5454
Neighborhood
5555
Console
56-
Playground
5756
)
5857
-%>
5958
Globals:
@@ -436,8 +435,7 @@ Resources:
436435
<%{
437436
Theater: {MemorySize: 1769, Timeout: 90},
438437
Neighborhood: {MemorySize: 512, Timeout: 90},
439-
Console: {MemorySize: 512, Timeout: 90},
440-
Playground: {MemorySize: 512, Timeout: 300}
438+
Console: {MemorySize: 512, Timeout: 90}
441439
}.each do |name, config| -%>
442440
BuildAndRunJava<%=name%>ProjectFunction:
443441
Type: AWS::Serverless::Function
@@ -574,7 +572,7 @@ Resources:
574572
Label: Concurrent Executions Across All Lambdas
575573
ReturnData: true
576574
Expression: SUM(METRICS())
577-
<%{Theater: "m2", Neighborhood: "m3", Console: "m4", Playground: "m5"}.each do |name, id| -%>
575+
<%{Theater: "m2", Neighborhood: "m3", Console: "m4"}.each do |name, id| -%>
578576
- Id: <%=id%>
579577
ReturnData: false
580578
MetricStat:
@@ -657,7 +655,6 @@ Resources:
657655
- HighWebsocketConnectionsAlarm
658656
- NeighborhoodHighInvocationsAlarm
659657
- TheaterHighInvocationsAlarm
660-
- PlaygroundHighInvocationsAlarm
661658
Properties:
662659
ActionsEnabled: true
663660
AlarmActions:
@@ -670,7 +667,6 @@ Resources:
670667
ALARM(${SubDomainName}_high_http_requests) OR
671668
ALARM(${SubDomainName}_high_websocket_connections) OR
672669
ALARM(${SubDomainName}_neighborhood_high_invocations) OR
673-
ALARM(${SubDomainName}_playground_high_invocations) OR
674670
ALARM(${SubDomainName}_theater_high_invocations)"
675671
InsufficientDataActions: []
676672
OKActions: []

0 commit comments

Comments
 (0)