Skip to content

Commit cfe341f

Browse files
change logic domain
1 parent 20beb90 commit cfe341f

File tree

88 files changed

+216
-217
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+216
-217
lines changed

src/main/java/smartpot/com/api/Cache/RedisConfig.java renamed to src/main/java/app/smartpot/api/Cache/RedisConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package smartpot.com.api.Cache;
1+
package app.smartpot.api.Cache;
22

33
import io.lettuce.core.api.StatefulConnection;
44
import org.apache.commons.pool2.impl.GenericObjectPoolConfig;

src/main/java/smartpot/com/api/Commands/Controller/CommandController.java renamed to src/main/java/app/smartpot/api/Commands/Controller/CommandController.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package smartpot.com.api.Commands.Controller;
1+
package app.smartpot.api.Commands.Controller;
22

33
import io.swagger.v3.oas.annotations.Operation;
44
import io.swagger.v3.oas.annotations.Parameter;
@@ -10,11 +10,11 @@
1010
import org.springframework.http.HttpStatus;
1111
import org.springframework.http.ResponseEntity;
1212
import org.springframework.web.bind.annotation.*;
13-
import smartpot.com.api.Commands.Model.DTO.CommandDTO;
14-
import smartpot.com.api.Commands.Service.SCommandI;
15-
import smartpot.com.api.Crops.Model.DTO.CropDTO;
16-
import smartpot.com.api.Responses.DeleteResponse;
17-
import smartpot.com.api.Responses.ErrorResponse;
13+
import app.smartpot.api.Commands.Model.DTO.CommandDTO;
14+
import app.smartpot.api.Commands.Service.SCommandI;
15+
import app.smartpot.api.Crops.Model.DTO.CropDTO;
16+
import app.smartpot.api.Responses.DeleteResponse;
17+
import app.smartpot.api.Responses.ErrorResponse;
1818

1919
@RestController
2020
@RequestMapping("/Comandos")

src/main/java/smartpot/com/api/Commands/Mapper/MCommand.java renamed to src/main/java/app/smartpot/api/Commands/Mapper/MCommand.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
package smartpot.com.api.Commands.Mapper;
1+
package app.smartpot.api.Commands.Mapper;
22

33
import org.bson.types.ObjectId;
44
import org.mapstruct.Mapper;
55
import org.mapstruct.Mapping;
66
import org.mapstruct.factory.Mappers;
7-
import smartpot.com.api.Commands.Model.DTO.CommandDTO;
8-
import smartpot.com.api.Commands.Model.Entity.Command;
7+
import app.smartpot.api.Commands.Model.DTO.CommandDTO;
8+
import app.smartpot.api.Commands.Model.Entity.Command;
99

1010
@Mapper(componentModel = "spring")
1111
public interface MCommand {

src/main/java/smartpot/com/api/Commands/Model/DTO/CommandDTO.java renamed to src/main/java/app/smartpot/api/Commands/Model/DTO/CommandDTO.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package smartpot.com.api.Commands.Model.DTO;
1+
package app.smartpot.api.Commands.Model.DTO;
22

33
import lombok.Data;
44

src/main/java/smartpot/com/api/Commands/Model/Entity/Command.java renamed to src/main/java/app/smartpot/api/Commands/Model/Entity/Command.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package smartpot.com.api.Commands.Model.Entity;
1+
package app.smartpot.api.Commands.Model.Entity;
22

33
import com.fasterxml.jackson.annotation.JsonFormat;
44
import jakarta.validation.constraints.NotNull;

src/main/java/smartpot/com/api/Commands/Repository/RCommand.java renamed to src/main/java/app/smartpot/api/Commands/Repository/RCommand.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
package smartpot.com.api.Commands.Repository;
1+
package app.smartpot.api.Commands.Repository;
22

33
import org.bson.types.ObjectId;
44
import org.springframework.data.mongodb.repository.MongoRepository;
55
import org.springframework.data.mongodb.repository.Query;
66
import org.springframework.stereotype.Repository;
77
import org.springframework.transaction.annotation.Transactional;
8-
import smartpot.com.api.Commands.Model.Entity.Command;
8+
import app.smartpot.api.Commands.Model.Entity.Command;
99

1010
import java.util.Date;
1111
import java.util.List;

src/main/java/smartpot/com/api/Commands/Service/SCommand.java renamed to src/main/java/app/smartpot/api/Commands/Service/SCommand.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package smartpot.com.api.Commands.Service;
1+
package app.smartpot.api.Commands.Service;
22

33
import lombok.Builder;
44
import lombok.Data;
@@ -9,10 +9,10 @@
99
import org.springframework.cache.annotation.Cacheable;
1010
import org.springframework.stereotype.Service;
1111
import org.springframework.transaction.annotation.Transactional;
12-
import smartpot.com.api.Commands.Mapper.MCommand;
13-
import smartpot.com.api.Commands.Model.DTO.CommandDTO;
14-
import smartpot.com.api.Commands.Repository.RCommand;
15-
import smartpot.com.api.Crops.Service.SCropI;
12+
import app.smartpot.api.Commands.Mapper.MCommand;
13+
import app.smartpot.api.Commands.Model.DTO.CommandDTO;
14+
import app.smartpot.api.Commands.Repository.RCommand;
15+
import app.smartpot.api.Crops.Service.SCropI;
1616

1717
import java.text.SimpleDateFormat;
1818
import java.util.Date;

src/main/java/smartpot/com/api/Commands/Service/SCommandI.java renamed to src/main/java/app/smartpot/api/Commands/Service/SCommandI.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
package smartpot.com.api.Commands.Service;
1+
package app.smartpot.api.Commands.Service;
22

3-
import smartpot.com.api.Commands.Model.DTO.CommandDTO;
3+
import app.smartpot.api.Commands.Model.DTO.CommandDTO;
44

55
import java.util.List;
66

src/main/java/smartpot/com/api/Crops/Controller/CropController.java renamed to src/main/java/app/smartpot/api/Crops/Controller/CropController.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package smartpot.com.api.Crops.Controller;
1+
package app.smartpot.api.Crops.Controller;
22

33
import io.swagger.v3.oas.annotations.Operation;
44
import io.swagger.v3.oas.annotations.Parameter;
@@ -11,10 +11,10 @@
1111
import org.springframework.http.HttpStatus;
1212
import org.springframework.http.ResponseEntity;
1313
import org.springframework.web.bind.annotation.*;
14-
import smartpot.com.api.Crops.Model.DTO.CropDTO;
15-
import smartpot.com.api.Crops.Service.SCropI;
16-
import smartpot.com.api.Responses.ErrorResponse;
17-
import smartpot.com.api.users.model.dto.UserDTO;
14+
import app.smartpot.api.Crops.Model.DTO.CropDTO;
15+
import app.smartpot.api.Crops.Service.SCropI;
16+
import app.smartpot.api.Responses.ErrorResponse;
17+
import app.smartpot.api.users.model.dto.UserDTO;
1818

1919
@RestController
2020
@RequestMapping("/Crops")

src/main/java/smartpot/com/api/Crops/Mapper/MCrop.java renamed to src/main/java/app/smartpot/api/Crops/Mapper/MCrop.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
package smartpot.com.api.Crops.Mapper;
1+
package app.smartpot.api.Crops.Mapper;
22

33
import org.bson.types.ObjectId;
44
import org.mapstruct.Mapper;
55
import org.mapstruct.Mapping;
6-
import smartpot.com.api.Crops.Model.DTO.CropDTO;
7-
import smartpot.com.api.Crops.Model.Entity.Crop;
6+
import app.smartpot.api.Crops.Model.DTO.CropDTO;
7+
import app.smartpot.api.Crops.Model.Entity.Crop;
88

99
@Mapper(componentModel = "spring")
1010
public interface MCrop {

0 commit comments

Comments
 (0)