-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf($ReactiveStarter): abstract project property
[skip ci]
- Loading branch information
Johnny Miller (锺俊)
committed
Dec 29, 2020
1 parent
b6996c8
commit aafac56
Showing
10 changed files
with
133 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 0 additions & 40 deletions
40
.../src/main/java/com/jmsoftware/maf/apigateway/universal/configuration/ProjectProperty.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
api-gateway/src/main/java/com/jmsoftware/maf/apigateway/universal/package-info.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
93 changes: 93 additions & 0 deletions
93
...n/java/com/jmsoftware/maf/reactivespringbootstarter/configuration/MafProjectProperty.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
package com.jmsoftware.maf.reactivespringbootstarter.configuration; | ||
|
||
import lombok.Data; | ||
import org.springframework.boot.context.properties.ConfigurationProperties; | ||
import org.springframework.stereotype.Component; | ||
import org.springframework.validation.annotation.Validated; | ||
|
||
/** | ||
* <h1>MafProjectProperty</h1> | ||
* <p> | ||
* M&F project property, containing the basic constants of the project. | ||
* | ||
* @author Johnny Miller (锺俊), email: johnnysviva@outlook.com, date: 12/29/2020 1:21 PM | ||
*/ | ||
@Data | ||
@Validated | ||
@Component | ||
@SuppressWarnings("jol") | ||
@ConfigurationProperties(prefix = "maf.project-property") | ||
public class MafProjectProperty { | ||
/** | ||
* The Base package. | ||
*/ | ||
private String basePackage; | ||
/** | ||
* The Context path. | ||
*/ | ||
private String contextPath; | ||
/** | ||
* The Group id. | ||
*/ | ||
private String groupId; | ||
/** | ||
* The Project parent artifact id. | ||
*/ | ||
private String projectParentArtifactId; | ||
/** | ||
* The Project artifact id. | ||
*/ | ||
private String projectArtifactId; | ||
/** | ||
* The Version. | ||
*/ | ||
private String version; | ||
/** | ||
* The Description. | ||
*/ | ||
private String description; | ||
/** | ||
* The Jdk version. | ||
*/ | ||
private String jdkVersion; | ||
/** | ||
* The Environment. | ||
*/ | ||
private String environment; | ||
/** | ||
* The Url. | ||
*/ | ||
private String url; | ||
/** | ||
* The Inception year. | ||
*/ | ||
private String inceptionYear; | ||
/** | ||
* The Organization name. | ||
*/ | ||
private String organizationName; | ||
/** | ||
* The Organization url. | ||
*/ | ||
private String organizationUrl; | ||
/** | ||
* The Issue management system. | ||
*/ | ||
private String issueManagementSystem; | ||
/** | ||
* The Issue management url. | ||
*/ | ||
private String issueManagementUrl; | ||
/** | ||
* The Developer name. | ||
*/ | ||
private String developerName; | ||
/** | ||
* The Developer email. | ||
*/ | ||
private String developerEmail; | ||
/** | ||
* The Developer url. | ||
*/ | ||
private String developerUrl; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters