Skip to content

Commit cc462ff

Browse files
committed
Deleted unused imports
1 parent 42353cb commit cc462ff

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

samples/springboot3/graphql-pet-store/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Serverless Spring Boot 3 and Spring-graphQl example
1+
# Serverless Spring Boot 3 with GraphQL example
22
A basic pet store written with the [Spring Boot 3 framework](https://projects.spring.io/spring-boot/). Unlike older examples, this example uses the [Spring for GraphQl](https://docs.spring.io/spring-graphql/reference/) library.
33

44

samples/springboot3/graphql-pet-store/src/main/java/com/amazonaws/serverless/sample/springboot3/Application.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,13 @@
55
import org.springframework.beans.factory.annotation.Value;
66
import org.springframework.boot.SpringApplication;
77
import org.springframework.boot.autoconfigure.SpringBootApplication;
8-
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
98
import org.springframework.context.annotation.Bean;
109
import org.springframework.context.annotation.Import;
1110
import org.springframework.web.servlet.HandlerAdapter;
12-
import org.springframework.web.servlet.HandlerExceptionResolver;
1311
import org.springframework.web.servlet.HandlerMapping;
14-
import org.springframework.web.servlet.ModelAndView;
1512
import org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter;
1613
import org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping;
1714

18-
import jakarta.servlet.http.HttpServletRequest;
19-
import jakarta.servlet.http.HttpServletResponse;
20-
2115

2216
@SpringBootApplication
2317
@Import({ PetsController.class })

samples/springboot3/graphql-pet-store/template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Resources:
1414
Handler: com.amazonaws.serverless.sample.springboot3.StreamLambdaHandler::handleRequest
1515
Runtime: java21
1616
CodeUri: .
17-
MemorySize: 1512
17+
MemorySize: 1024
1818
Policies: AWSLambdaBasicExecutionRole
1919
Timeout: 60
2020
Events:

0 commit comments

Comments
 (0)