mirror of
https://github.com/Febbweiss/springboot-react-webpack.git
synced 2026-03-05 06:35:36 +00:00
Refactoring: project and java package
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
package com.opengroupe.cloud.saas;
|
||||
package fr.pavnay.demo.springboot.react;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.opengroupe.cloud.saas.domain;
|
||||
package fr.pavnay.demo.springboot.react.domain;
|
||||
|
||||
public class Comment {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.opengroupe.cloud.saas.rest;
|
||||
package fr.pavnay.demo.springboot.react.rest;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@@ -9,8 +9,8 @@ import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.bind.annotation.ResponseBody;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import com.opengroupe.cloud.saas.domain.Comment;
|
||||
import com.opengroupe.cloud.saas.service.CommentService;
|
||||
import fr.pavnay.demo.springboot.react.domain.Comment;
|
||||
import fr.pavnay.demo.springboot.react.service.CommentService;
|
||||
|
||||
@RestController
|
||||
public class CommentController {
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.opengroupe.cloud.saas.service;
|
||||
package fr.pavnay.demo.springboot.react.service;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
@@ -8,7 +8,7 @@ import javax.annotation.PostConstruct;
|
||||
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import com.opengroupe.cloud.saas.domain.Comment;
|
||||
import fr.pavnay.demo.springboot.react.domain.Comment;
|
||||
|
||||
@Component
|
||||
public class CommentService {
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.opengroupe.cloud.saas.util;
|
||||
package fr.pavnay.demo.springboot.react.util;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.opengroupe.cloud.saas.web;
|
||||
package fr.pavnay.demo.springboot.react.web;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@@ -11,9 +11,10 @@ import org.springframework.web.bind.annotation.RequestParam;
|
||||
|
||||
import com.fasterxml.jackson.core.JsonProcessingException;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import com.opengroupe.cloud.saas.domain.Comment;
|
||||
import com.opengroupe.cloud.saas.service.CommentService;
|
||||
import com.opengroupe.cloud.saas.util.JavaScriptEngine;
|
||||
|
||||
import fr.pavnay.demo.springboot.react.domain.Comment;
|
||||
import fr.pavnay.demo.springboot.react.service.CommentService;
|
||||
import fr.pavnay.demo.springboot.react.util.JavaScriptEngine;
|
||||
|
||||
@Controller
|
||||
public class ViewController {
|
||||
Reference in New Issue
Block a user