Skip to content

Commit

Permalink
Refactor package
Browse files Browse the repository at this point in the history
  • Loading branch information
susaurabh-git committed Aug 27, 2021
1 parent e5da6f3 commit ac9f114
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>

<groupId>us.innodea</groupId>
<artifactId>aws-serverless-springboot-crud</artifactId>
<artifactId>aws-springboot-crud</artifactId>
<version>1.0.0-SNAPSHOT</version>
<parent>
<artifactId>spring-boot-parent</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ package:
functions:
crud-api:
package:
artifact: target/aws-serverless-springboot-crud-1.0.0-SNAPSHOT-lambda-package.zip
handler: us.innodea.aws.serverless.springboot.crud.StreamLambdaHandler::handleRequest
artifact: target/aws-springboot-crud-1.0.0-SNAPSHOT-lambda-package.zip
handler: us.innodea.aws.springboot.crud.StreamLambdaHandler::handleRequest
events:
- http:
path: /{proxy+}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package us.innodea.aws.serverless.springboot.crud;
package us.innodea.aws.springboot.crud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package us.innodea.aws.serverless.springboot.crud;
package us.innodea.aws.springboot.crud;

import com.amazonaws.serverless.exceptions.ContainerInitializationException;
import com.amazonaws.serverless.proxy.model.AwsProxyRequest;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package us.innodea.aws.serverless.springboot.crud.controller;
package us.innodea.aws.springboot.crud.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import us.innodea.aws.serverless.springboot.crud.model.CreateUserRequest;
import us.innodea.aws.serverless.springboot.crud.model.User;
import us.innodea.aws.serverless.springboot.crud.service.UserService;
import us.innodea.aws.springboot.crud.model.CreateUserRequest;
import us.innodea.aws.springboot.crud.model.User;
import us.innodea.aws.springboot.crud.service.UserService;

import java.util.*;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package us.innodea.aws.serverless.springboot.crud.filter;
package us.innodea.aws.springboot.crud.filter;

import com.amazonaws.serverless.proxy.RequestReader;
import com.amazonaws.serverless.proxy.model.AwsProxyRequestContext;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package us.innodea.aws.serverless.springboot.crud.model;
package us.innodea.aws.springboot.crud.model;

import lombok.Getter;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package us.innodea.aws.serverless.springboot.crud.model;
package us.innodea.aws.springboot.crud.model;

import lombok.Builder;
import lombok.Data;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package us.innodea.aws.serverless.springboot.crud.service;
package us.innodea.aws.springboot.crud.service;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import us.innodea.aws.serverless.springboot.crud.model.CreateUserRequest;
import us.innodea.aws.serverless.springboot.crud.model.User;
import us.innodea.aws.springboot.crud.model.CreateUserRequest;
import us.innodea.aws.springboot.crud.model.User;

import java.util.*;
@Slf4j
Expand Down

0 comments on commit ac9f114

Please sign in to comment.