Skip to content

Commit d01210f

Browse files
committed
add pom and some config files
Signed-off-by: Thang PHAM <[email protected]>
1 parent c20cd76 commit d01210f

File tree

4 files changed

+260
-2
lines changed

4 files changed

+260
-2
lines changed

.gitignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# VSCode
2+
/.vscode
3+
/.settings
4+
.classpath
5+
.factorypath
6+
.project
7+
8+
target/
9+
10+
# IntelliJ
11+
/.idea
12+
*.iml

.mvn/lombok-config-copy.marker

Whitespace-only changes.

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,12 @@
1-
# dynamic-margin-calculation-server
2-
Dynamic margin calculation server
1+
# Dynamic margin calculation server
2+
3+
[![Actions Status](https://github.com/gridsuite/dynamic-security-analysis-server/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/gridsuite/dynamic-security-analysis-server/actions)
4+
[![Coverage Status](https://sonarcloud.io/api/project_badges/measure?project=org.gridsuite%3Adynamic-security-analysis-server&metric=coverage)](https://sonarcloud.io/component_measures?id=org.gridsuite%3Adynamic-security-analysis-server&metric=coverage)
5+
[![MPL-2.0 License](https://img.shields.io/badge/license-MPL_2.0-blue.svg)](https://www.mozilla.org/en-US/MPL/2.0/)
6+
7+
Server to manage dynamic margin calculation requests and results.
8+
9+
Please read [liquibase usage](https://github.com/powsybl/powsybl-parent/#liquibase-usage) for instructions to automatically generate changesets.
10+
After you generated a changeset do not forget to add it to git and in src/resource/db/changelog/db.changelog-master.yml
11+
12+

pom.xml

Lines changed: 236 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,236 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
Copyright (c) 2024, RTE (http://www.rte-france.com)
4+
This Source Code Form is subject to the terms of the Mozilla Public
5+
License, v. 2.0. If a copy of the MPL was not distributed with this
6+
file, You can obtain one at http://mozilla.org/MPL/2.0/.
7+
-->
8+
<project xmlns="http://maven.apache.org/POM/4.0.0"
9+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
11+
<modelVersion>4.0.0</modelVersion>
12+
13+
<parent>
14+
<groupId>com.powsybl</groupId>
15+
<artifactId>powsybl-parent-ws</artifactId>
16+
<version>22</version>
17+
<relativePath/>
18+
</parent>
19+
20+
<groupId>org.gridsuite</groupId>
21+
<artifactId>gridsuite-dynamic-margin-calculation-server</artifactId>
22+
<version>2.9.0-SNAPSHOT</version>
23+
24+
<packaging>jar</packaging>
25+
<name>Dynamic Margin Calculation Server</name>
26+
<description>Dynamic Margin Calculation Server</description>
27+
<url>http://www.gridsuite.org/</url>
28+
29+
<scm>
30+
<connection>scm:git:https://github.com/gridsuite/dynamic-margin-calculation-server</connection>
31+
<developerConnection>scm:git:https://github.com/gridsuite/dynamic-margin-calculation-server</developerConnection>
32+
<url>https://github.com/gridsuite/dynamic-margin-calculation-server</url>
33+
</scm>
34+
35+
<developers>
36+
<developer>
37+
<name>Thang PHAM</name>
38+
<email>[email protected]</email>
39+
<organization>RTE</organization>
40+
<organizationUrl>http://www.rte-france.com</organizationUrl>
41+
</developer>
42+
</developers>
43+
44+
<properties>
45+
<gridsuite-dependencies.version>39.0.0</gridsuite-dependencies.version>
46+
<jib.from.image>powsybl/java-dynawo:3.0.0</jib.from.image>
47+
<liquibase-hibernate-package>org.gridsuite.dynamicmargincalculation.server</liquibase-hibernate-package>
48+
<sonar.organization>gridsuite</sonar.organization>
49+
<spring-cloud-aws.version>3.2.0</spring-cloud-aws.version>
50+
<sonar.projectKey>org.gridsuite:dynamic-margin-calculation-server</sonar.projectKey>
51+
<!-- FIXME: powsybl-ws-commons modules'version is overloaded in the dependencies section to be removed at next powsybl-ws-dependencies.version upgrade -->
52+
<powsybl-ws-commons.version>1.26.0-SNAPSHOT</powsybl-ws-commons.version>
53+
</properties>
54+
55+
<build>
56+
<pluginManagement>
57+
<plugins>
58+
<plugin>
59+
<groupId>org.apache.maven.plugins</groupId>
60+
<artifactId>maven-surefire-plugin</artifactId>
61+
<configuration>
62+
<classpathDependencyExcludes>
63+
<classpathDependencyExclude>com.powsybl:powsybl-config-classic</classpathDependencyExclude>
64+
</classpathDependencyExcludes>
65+
</configuration>
66+
</plugin>
67+
</plugins>
68+
</pluginManagement>
69+
<plugins>
70+
<plugin>
71+
<groupId>com.google.cloud.tools</groupId>
72+
<artifactId>jib-maven-plugin</artifactId>
73+
</plugin>
74+
<plugin>
75+
<groupId>org.apache.maven.plugins</groupId>
76+
<artifactId>maven-failsafe-plugin</artifactId>
77+
</plugin>
78+
<plugin>
79+
<groupId>org.springframework.boot</groupId>
80+
<artifactId>spring-boot-maven-plugin</artifactId>
81+
</plugin>
82+
<plugin>
83+
<groupId>io.github.git-commit-id</groupId>
84+
<artifactId>git-commit-id-maven-plugin</artifactId>
85+
</plugin>
86+
</plugins>
87+
</build>
88+
89+
<dependencyManagement>
90+
<dependencies>
91+
<!-- overrides of imports -->
92+
<dependency>
93+
<groupId>com.powsybl</groupId>
94+
<artifactId>powsybl-computation-local</artifactId>
95+
<version>6.8.0-SNAPSHOT</version>
96+
</dependency>
97+
<dependency>
98+
<groupId>com.powsybl</groupId>
99+
<artifactId>powsybl-computation</artifactId>
100+
<version>6.8.0-SNAPSHOT</version>
101+
</dependency>
102+
<dependency>
103+
<groupId>com.powsybl</groupId>
104+
<artifactId>powsybl-iidm-api</artifactId>
105+
<version>6.8.0-SNAPSHOT</version>
106+
</dependency>
107+
<!-- imports -->
108+
<dependency>
109+
<groupId>org.gridsuite</groupId>
110+
<artifactId>gridsuite-dependencies</artifactId>
111+
<version>${gridsuite-dependencies.version}</version>
112+
<type>pom</type>
113+
<scope>import</scope>
114+
</dependency>
115+
116+
<!-- project specific dependencies -->
117+
</dependencies>
118+
</dependencyManagement>
119+
120+
<dependencies>
121+
<!-- Compilation dependencies -->
122+
<dependency>
123+
<groupId>org.springframework.boot</groupId>
124+
<artifactId>spring-boot-starter-web</artifactId>
125+
</dependency>
126+
<dependency>
127+
<groupId>org.springframework.boot</groupId>
128+
<artifactId>spring-boot-starter-data-jpa</artifactId>
129+
</dependency>
130+
<dependency>
131+
<groupId>org.springframework.cloud</groupId>
132+
<artifactId>spring-cloud-stream</artifactId>
133+
</dependency>
134+
<dependency>
135+
<groupId>io.awspring.cloud</groupId>
136+
<artifactId>spring-cloud-aws-starter-s3</artifactId>
137+
<version>${spring-cloud-aws.version}</version>
138+
</dependency>
139+
<dependency>
140+
<groupId>org.springdoc</groupId>
141+
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
142+
</dependency>
143+
<dependency>
144+
<groupId>org.projectlombok</groupId>
145+
<artifactId>lombok</artifactId>
146+
<scope>provided</scope>
147+
</dependency>
148+
<dependency>
149+
<groupId>io.micrometer</groupId>
150+
<artifactId>micrometer-core</artifactId>
151+
</dependency>
152+
<dependency>
153+
<groupId>com.powsybl</groupId>
154+
<artifactId>powsybl-ws-commons</artifactId>
155+
<version>${powsybl-ws-commons.version}</version>
156+
</dependency>
157+
<dependency>
158+
<groupId>com.powsybl</groupId>
159+
<artifactId>powsybl-network-store-client</artifactId>
160+
</dependency>
161+
<dependency>
162+
<groupId>com.powsybl</groupId>
163+
<artifactId>powsybl-dynawo-margin-calculation</artifactId>
164+
<version>2.9.0-SNAPSHOT</version>
165+
</dependency>
166+
167+
<!-- runtime dependencies -->
168+
<dependency>
169+
<groupId>org.springframework.boot</groupId>
170+
<artifactId>spring-boot-starter-actuator</artifactId>
171+
<scope>runtime</scope>
172+
</dependency>
173+
<dependency>
174+
<groupId>org.springframework.cloud</groupId>
175+
<artifactId>spring-cloud-stream-binder-rabbit</artifactId>
176+
<scope>runtime</scope>
177+
</dependency>
178+
<dependency>
179+
<groupId>org.liquibase</groupId>
180+
<artifactId>liquibase-core</artifactId>
181+
<scope>runtime</scope>
182+
</dependency>
183+
<dependency>
184+
<groupId>org.postgresql</groupId>
185+
<artifactId>postgresql</artifactId>
186+
<scope>runtime</scope>
187+
</dependency>
188+
<dependency>
189+
<groupId>io.micrometer</groupId>
190+
<artifactId>micrometer-registry-prometheus</artifactId>
191+
<scope>runtime</scope>
192+
</dependency>
193+
<dependency>
194+
<groupId>com.powsybl</groupId>
195+
<artifactId>powsybl-config-classic</artifactId>
196+
<scope>runtime</scope>
197+
</dependency>
198+
199+
<!-- Test dependencies -->
200+
<dependency>
201+
<groupId>org.springframework.boot</groupId>
202+
<artifactId>spring-boot-starter-test</artifactId>
203+
<scope>test</scope>
204+
</dependency>
205+
<dependency>
206+
<groupId>org.springframework.cloud</groupId>
207+
<artifactId>spring-cloud-stream-test-binder</artifactId>
208+
<scope>test</scope>
209+
</dependency>
210+
<dependency>
211+
<groupId>com.h2database</groupId>
212+
<artifactId>h2</artifactId>
213+
<scope>test</scope>
214+
</dependency>
215+
<dependency>
216+
<groupId>org.wiremock</groupId>
217+
<artifactId>wiremock-jetty12</artifactId>
218+
<scope>test</scope>
219+
</dependency>
220+
<dependency>
221+
<groupId>com.powsybl</groupId>
222+
<artifactId>powsybl-commons-test</artifactId>
223+
<scope>test</scope>
224+
</dependency>
225+
<dependency>
226+
<groupId>com.powsybl</groupId>
227+
<artifactId>powsybl-config-test</artifactId>
228+
<scope>test</scope>
229+
</dependency>
230+
<dependency>
231+
<groupId>com.powsybl</groupId>
232+
<artifactId>powsybl-computation-local-test</artifactId>
233+
</dependency>
234+
</dependencies>
235+
</project>
236+

0 commit comments

Comments
 (0)