Skip to content

Commit

Permalink
package and app renames
Browse files Browse the repository at this point in the history
  • Loading branch information
pcalouche committed Sep 4, 2024
1 parent 5c32003 commit 6327f22
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 11 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/runConfigurations/java_in_spring_forge_skeleton.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package com.pcalouche.springskeleton;
package dev.pcalouche.springforgeservicetemplate;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class SpringSkeleton {
public class SpringForgeServiceTemplateApplication {

public static void main(String[] args) {
SpringApplication.run(SpringSkeleton.class, args);
SpringApplication.run(SpringForgeServiceTemplateApplication.class, args);
}

}
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
package com.pcalouche.springskeleton.controller;
package dev.pcalouche.springforgeservicetemplate.controller;

import dev.pcalouche.springforge.libs.exceptions.ResourceForbiddenException;
import dev.pcalouche.springforge.libs.exceptions.ResourceNotFoundException;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Slf4j
public class TestController {

@GetMapping("not-found-endpoint")
Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
spring:
application:
name: spring-forge-service-template
springforge:
logging:
json-format: true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.pcalouche.springskeleton;
package dev.pcalouche.springforgeservicetemplate;

import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
Expand All @@ -7,7 +7,7 @@

@ExtendWith(SpringExtension.class)
@SpringBootTest
public class SpringSkeletonTests {
public class SpringForgeServiceTemplateApplicationIT {

@Test
public void contextLoads() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.pcalouche.springskeleton.controller;
package dev.pcalouche.springforgeservicetemplate.controller;

import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;
Expand Down

0 comments on commit 6327f22

Please sign in to comment.