Skip to content
Snippets Groups Projects
Commit ecf01675 authored by OZGCloud's avatar OZGCloud
Browse files

Rename FrontendEnvironment into Environment

parent e4e02f35
Branches
Tags
No related merge requests found
......@@ -30,7 +30,7 @@ import lombok.Getter;
@Getter
@Builder
public class FrontendEnvironment {
public class Environment {
private boolean production;
private String remoteHost;
......
......@@ -48,8 +48,8 @@ public class EnvironmentController {
private VorgangProcessorProperties vorgangProcessorProperties;
@GetMapping
public FrontendEnvironment getFrontendEnvironment() {
return FrontendEnvironment.builder()
public Environment getEnvironment() {
return Environment.builder()
.production(productionProperties.isProduction())
.remoteHost(linkTo(RootController.class).toUri().toString())
.authServer(oAuth2Properties.getAuthServerUrl())
......
......@@ -64,7 +64,7 @@ class EnvironmentControllerTest {
@DisplayName("Get frontend environment")
@Nested
class TestGetFrontendEnvironment {
class TestGetEnvironment {
private static final String CLIENT = LoremIpsum.getInstance().getFirstName() + "Client";
private static final boolean PRODUCTION = true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment