Skip to content

Commit d02dd34

Browse files
authored
Rename notification-server into study-notification-server (#48)
Signed-off-by: Florent MILLOT <[email protected]>
1 parent 63a2aa0 commit d02dd34

File tree

11 files changed

+21
-22
lines changed

11 files changed

+21
-22
lines changed

.github/workflows/maven.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
mvn --batch-mode -DskipTests sonar:sonar
3131
-Dsonar.host.url=https://sonarcloud.io
3232
-Dsonar.organization=gridsuite
33-
-Dsonar.projectKey=org.gridsuite:notification-server
33+
-Dsonar.projectKey=org.gridsuite:study-notification-server
3434
env:
3535
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3636
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
@@ -40,7 +40,7 @@ jobs:
4040
run: >
4141
mvn --batch-mode deploy -DskipTests -Dmaven.install.skip -Dmaven.deploy.skip -Dpowsybl.docker.deploy
4242
-Djib.httpTimeout=60000
43-
-Djib.to.image=docker.io/gridsuite/notification-server
43+
-Djib.to.image=docker.io/gridsuite/study-notification-server
4444
-Djib.to.auth.username=gridsuiteci
4545
-Djib.to.auth.password=${{ secrets.DOCKERHUB_TOKEN }}
4646
@@ -49,7 +49,7 @@ jobs:
4949
run: >
5050
mvn --batch-mode deploy -DskipTests -Dmaven.install.skip -Dmaven.deploy.skip -Dpowsybl.docker.deploy
5151
-Djib.httpTimeout=60000
52-
-Djib.to.image=docker.io/gridsuite/notification-server:${GITHUB_REF_NAME#v}
52+
-Djib.to.image=docker.io/gridsuite/study-notification-server:${GITHUB_REF_NAME#v}
5353
-Djib.to.auth.username=gridsuiteci
5454
-Djib.to.auth.password=${{ secrets.DOCKERHUB_TOKEN }}
5555
@@ -58,4 +58,4 @@ jobs:
5858
uses: gridsuite/broadcast-event@main
5959
with:
6060
token: ${{ secrets.REPO_ACCESS_TOKEN }}
61-
event-type: notification_server_updated
61+
event-type: study_notification_server_updated

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Study Notification Server
22

3-
[![Actions Status](https://github.com/gridsuite/notification-server/workflows/CI/badge.svg)](https://github.com/gridsuite/notification-server/actions)
4-
[![Coverage Status](https://sonarcloud.io/api/project_badges/measure?project=org.gridsuite%3Anotification-server&metric=coverage)](https://sonarcloud.io/component_measures?id=org.gridsuite%3Anotification-server&metric=coverage)
3+
[![Actions Status](https://github.com/gridsuite/study-notification-server/workflows/CI/badge.svg)](https://github.com/gridsuite/study-notification-server/actions)
4+
[![Coverage Status](https://sonarcloud.io/api/project_badges/measure?project=org.gridsuite%3Astudy-notification-server&metric=coverage)](https://sonarcloud.io/component_measures?id=org.gridsuite%3Astudy-notification-server&metric=coverage)
55
[![MPL-2.0 License](https://img.shields.io/badge/license-MPL_2.0-blue.svg)](https://www.mozilla.org/en-US/MPL/2.0/)

pom.xml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,18 @@
2020
</parent>
2121

2222
<groupId>org.gridsuite</groupId>
23-
<artifactId>gridsuite-notification-server</artifactId>
23+
<artifactId>gridsuite-study-notification-server</artifactId>
2424
<version>1.0.0-SNAPSHOT</version>
2525

2626
<packaging>jar</packaging>
27-
<name>Notification server</name>
28-
<description>Notification service</description>
27+
<name>Study notification server</name>
28+
<description>Study notification service</description>
2929
<url>http://www.gridsuite.org/</url>
3030

3131
<scm>
32-
<connection>scm:git:https://github.com/gridsuite/notification-server.git</connection>
33-
<developerConnection>scm:git:https://github.com/gridsuite/notification-server.git</developerConnection>
34-
<url>https://github.com/gridsuite/notification-server</url>
32+
<connection>scm:git:https://github.com/gridsuite/study-notification-server.git</connection>
33+
<developerConnection>scm:git:https://github.com/gridsuite/study-notification-server.git</developerConnection>
34+
<url>https://github.com/gridsuite/study-notification-server</url>
3535
</scm>
3636

3737
<developers>
@@ -45,7 +45,6 @@
4545

4646
<properties>
4747
<java.version>11</java.version>
48-
4948
<gridsuite-dependencies.version>20</gridsuite-dependencies.version>
5049
</properties>
5150

src/main/java/org/gridsuite/notification/server/NotificationApplication.java renamed to src/main/java/org/gridsuite/study/notification/server/NotificationApplication.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* License, v. 2.0. If a copy of the MPL was not distributed with this
55
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
66
*/
7-
package org.gridsuite.notification.server;
7+
package org.gridsuite.study.notification.server;
88

99
import com.powsybl.ws.commons.Utils;
1010
import org.springframework.boot.SpringApplication;

src/main/java/org/gridsuite/notification/server/NotificationServerRuntimeException.java renamed to src/main/java/org/gridsuite/study/notification/server/NotificationServerRuntimeException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
66
*/
77

8-
package org.gridsuite.notification.server;
8+
package org.gridsuite.study.notification.server;
99

1010
public class NotificationServerRuntimeException extends RuntimeException {
1111
public NotificationServerRuntimeException(String message) {

src/main/java/org/gridsuite/notification/server/NotificationWebSocketConfiguration.java renamed to src/main/java/org/gridsuite/study/notification/server/NotificationWebSocketConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* License, v. 2.0. If a copy of the MPL was not distributed with this
55
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
66
*/
7-
package org.gridsuite.notification.server;
7+
package org.gridsuite.study.notification.server;
88

99
import java.util.HashMap;
1010
import java.util.Map;

src/main/java/org/gridsuite/notification/server/NotificationWebSocketHandler.java renamed to src/main/java/org/gridsuite/study/notification/server/NotificationWebSocketHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* License, v. 2.0. If a copy of the MPL was not distributed with this
55
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
66
*/
7-
package org.gridsuite.notification.server;
7+
package org.gridsuite.study.notification.server;
88

99
import java.io.UnsupportedEncodingException;
1010
import java.net.URLDecoder;

src/main/resources/config/application.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
spring:
22
application:
3-
name: notification-server
3+
name: study-notification-server
44

55
cloud:
66
function:

src/test/java/org/gridsuite/notification/server/NotificationWebSocketHandlerTest.java renamed to src/test/java/org/gridsuite/study/notification/server/NotificationWebSocketHandlerTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* License, v. 2.0. If a copy of the MPL was not distributed with this
55
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
66
*/
7-
package org.gridsuite.notification.server;
7+
package org.gridsuite.study.notification.server;
88

99
import java.time.Duration;
1010
import java.util.ArrayList;
@@ -38,7 +38,7 @@
3838
import reactor.core.publisher.FluxSink;
3939
import reactor.core.publisher.Mono;
4040

41-
import static org.gridsuite.notification.server.NotificationWebSocketHandler.*;
41+
import static org.gridsuite.study.notification.server.NotificationWebSocketHandler.*;
4242
import static org.junit.Assert.assertEquals;
4343
import static org.junit.Assert.assertNotEquals;
4444
import static org.mockito.ArgumentMatchers.any;

src/test/java/org/gridsuite/notification/server/NotificationWebSocketIT.java renamed to src/test/java/org/gridsuite/study/notification/server/NotificationWebSocketIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* License, v. 2.0. If a copy of the MPL was not distributed with this
55
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
66
*/
7-
package org.gridsuite.notification.server;
7+
package org.gridsuite.study.notification.server;
88

99
import java.net.URI;
1010

0 commit comments

Comments
 (0)