Skip to content

Commit 5431c85

Browse files
committed
- renamed default server logile
- cleaned up dependencies in pom - using @link instead of @see for javadoc
1 parent 5b03f1b commit 5431c85

File tree

6 files changed

+6
-24
lines changed

6 files changed

+6
-24
lines changed

sampling-message-client/src/main/java/de/dhbw/ravensburg/verteiltesysteme/client/CommandLineClient.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,6 @@ private void deleteSamplingMessage(CommandLine commandLine, SamplingMessageGrpc.
195195
log.info("getSamplingMessageStatusResponse Status Code: " + response.getStatusCode().name());
196196
}
197197

198-
199-
200198
private void exitWithError(String errorMessage) {
201199
log.debug("ParsingError: ", errorMessage);
202200
log.error(errorMessage);

sampling-message-server/pom.xml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -117,28 +117,12 @@
117117
<artifactId>log4j-slf4j-impl</artifactId>
118118
<version>${org.apache.logging.log4j.version}</version>
119119
</dependency>
120-
<dependency>
121-
<groupId>org.mapstruct</groupId>
122-
<artifactId>mapstruct-jdk8</artifactId> <!-- use mapstruct-jdk8 for Java 8 or higher -->
123-
<version>${org.mapstruct.version}</version>
124-
</dependency>
125-
<dependency>
126-
<groupId>org.mapstruct</groupId>
127-
<artifactId>mapstruct-processor</artifactId>
128-
<version>${org.mapstruct.version}</version>
129-
</dependency>
130120
<dependency>
131121
<groupId>commons-cli</groupId>
132122
<artifactId>commons-cli</artifactId>
133123
<version>1.4</version>
134124
</dependency>
135125

136-
<!-- https://mvnrepository.com/artifact/org.jboss.weld.se/weld-se-core -->
137-
<dependency>
138-
<groupId>org.jboss.weld.se</groupId>
139-
<artifactId>weld-se-core</artifactId>
140-
<version>3.0.4.Final</version>
141-
</dependency>
142126

143127
<dependency>
144128
<groupId>org.testng</groupId>

sampling-message-server/src/main/java/de/dhbw/ravensburg/verteiltesysteme/server/Main.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public class Main {
1111

1212
/**
1313
* Application Entry Point
14-
* Parsing the CLI arguments and initializing a {@see service.ServiceEndpoint}
14+
* Parsing the CLI arguments and initializing a {@link ServiceEndpoint}
1515
*
1616
* @param args CLI arguments
1717
*/

sampling-message-server/src/main/java/de/dhbw/ravensburg/verteiltesysteme/server/ServiceEndpoint.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public class ServiceEndpoint {
2525

2626

2727
/**
28-
* Instantiate a ServiceEndpoint object with the given {@see service.ServiceConfig}
28+
* Instantiate a ServiceEndpoint object with the given {@link ServiceConfig}
2929
* Prepares the gRPC server to be initialized afterwards.
3030
*
3131
* @param serviceConfig Basic service configuration

sampling-message-server/src/main/java/de/dhbw/ravensburg/verteiltesysteme/server/persistence/DatabaseAccessObject.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
*/
1313
public interface DatabaseAccessObject {
1414
/**
15-
* Gets an already existing {@see DatabaseSamplingMessage}
15+
* Gets an already existing {@link DatabaseSamplingMessage}
1616
*
1717
* @param messageName the desired sampling message name
18-
* @return returns a {@see java.util.Optional} eventually containing a {@see DatabaseSamplingMessage}, if there was already an existing one. An empty {@see java.util.Optional} is beeing returned, if none was existing.
18+
* @return returns a {@link Optional} eventually containing a {@link DatabaseSamplingMessage}, if there was already an existing one. An empty {@link java.util.Optional} is beeing returned, if none was existing.
1919
*/
2020
Optional<DatabaseSamplingMessage> getSamplingMessage(@NonNull String messageName);
2121

@@ -24,7 +24,7 @@ public interface DatabaseAccessObject {
2424
*
2525
* @param messageName the unique identifier of the object to be stored
2626
* @param databaseSamplingMessage the object to be stored
27-
* @return true if there was no previous {@see DatabaseSamplingMessage} with the same unique identifier. false if the desired messageName is already taken.
27+
* @return true if there was no previous {@link DatabaseSamplingMessage} with the same unique identifier. false if the desired messageName is already taken.
2828
*/
2929
boolean createSamplingMessage(@NonNull String messageName, @NonNull DatabaseSamplingMessage databaseSamplingMessage);
3030

sampling-message-server/src/main/resources/log4j2.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<Console name="Console" target="SYSTEM_OUT">
55
<PatternLayout pattern="%d{yyy-MM-dd HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/>
66
</Console>
7-
<File name="MainLogFile" fileName="all.log" immediateFlush="false" append="false">
7+
<File name="MainLogFile" fileName="server.log" immediateFlush="false" append="false">
88
<PatternLayout pattern="%d{yyy-MM-dd HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/>
99
</File>
1010
</Appenders>

0 commit comments

Comments
 (0)