Skip to content

Commit f64b661

Browse files
committed
adding original signal-registration
1 parent 4bdde72 commit f64b661

333 files changed

Lines changed: 16991 additions & 1 deletion

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

jdk_17_maven/cs/grpc/pom.xml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
5+
<parent>
6+
<groupId>org.evomaster</groupId>
7+
<artifactId>evomaster-benchmark-jdk17-cs</artifactId>
8+
<version>1.6.2-SNAPSHOT</version>
9+
</parent>
10+
11+
<artifactId>evomaster-benchmark-jdk17-cs-grpc</artifactId>
12+
<packaging>pom</packaging>
13+
14+
15+
<modules>
16+
<module>signal-registration</module>
17+
</modules>
18+
19+
20+
</project>

jdk_17_maven/cs/grpc/signal-registration/README.md

Lines changed: 154 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
applicationType: grpc
2+
defaultPackage: org.signal.registration
3+
testFramework: junit
4+
sourceLanguage: java
5+
buildTool: maven
6+
features: [annotation-api, app-name, grpc, jackson-databind, java, java-application, junit, logback, maven, readme, shade, yaml]
Lines changed: 358 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,358 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
~ Copyright 2022 Signal Messenger, LLC
4+
~ SPDX-License-Identifier: AGPL-3.0-only
5+
-->
6+
7+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
9+
<modelVersion>4.0.0</modelVersion>
10+
<groupId>org.signal.registration</groupId>
11+
<artifactId>registration-service</artifactId>
12+
<version>JGITVER</version>
13+
<packaging>${packaging}</packaging>
14+
15+
<parent>
16+
<groupId>io.micronaut</groupId>
17+
<artifactId>micronaut-parent</artifactId>
18+
<version>3.8.0</version>
19+
</parent>
20+
21+
<properties>
22+
<packaging>jar</packaging>
23+
24+
<jdk.version>17</jdk.version>
25+
<release.version>17</release.version>
26+
<exec.mainClass>org.signal.registration.Application</exec.mainClass>
27+
28+
<firestore.emulator.version>416.0.0-emulators</firestore.emulator.version>
29+
<micronaut.picocli.version>4.3.0</micronaut.picocli.version>
30+
<testcontainers.version>1.17.5</testcontainers.version>
31+
</properties>
32+
33+
<repositories>
34+
<repository>
35+
<id>central</id>
36+
<url>https://repo.maven.apache.org/maven2</url>
37+
</repository>
38+
</repositories>
39+
40+
<dependencyManagement>
41+
<dependencies>
42+
<dependency>
43+
<groupId>com.google.cloud</groupId>
44+
<artifactId>libraries-bom</artifactId>
45+
<version>26.1.3</version>
46+
<type>pom</type>
47+
<scope>import</scope>
48+
</dependency>
49+
50+
<dependency>
51+
<groupId>io.projectreactor</groupId>
52+
<artifactId>reactor-bom</artifactId>
53+
<version>2022.0.5</version>
54+
<type>pom</type>
55+
<scope>import</scope>
56+
</dependency>
57+
58+
<dependency>
59+
<groupId>org.testcontainers</groupId>
60+
<artifactId>testcontainers-bom</artifactId>
61+
<version>1.17.3</version>
62+
<type>pom</type>
63+
<scope>import</scope>
64+
</dependency>
65+
</dependencies>
66+
</dependencyManagement>
67+
68+
<dependencies>
69+
<dependency>
70+
<groupId>ch.qos.logback</groupId>
71+
<artifactId>logback-classic</artifactId>
72+
<scope>runtime</scope>
73+
</dependency>
74+
75+
<dependency>
76+
<groupId>ch.qos.logback</groupId>
77+
<artifactId>logback-core</artifactId>
78+
<version>${logback.version}</version>
79+
</dependency>
80+
81+
<dependency>
82+
<groupId>net.logstash.logback</groupId>
83+
<artifactId>logstash-logback-encoder</artifactId>
84+
<version>7.2</version>
85+
</dependency>
86+
87+
<dependency>
88+
<groupId>com.google.cloud</groupId>
89+
<artifactId>google-cloud-bigtable</artifactId>
90+
</dependency>
91+
92+
<dependency>
93+
<groupId>com.google.cloud</groupId>
94+
<artifactId>google-cloud-firestore</artifactId>
95+
<version>3.6.0</version>
96+
</dependency>
97+
98+
<dependency>
99+
<groupId>com.googlecode.libphonenumber</groupId>
100+
<artifactId>libphonenumber</artifactId>
101+
<version>8.12.57</version>
102+
</dependency>
103+
104+
<dependency>
105+
<groupId>com.messagebird</groupId>
106+
<artifactId>messagebird-api</artifactId>
107+
<version>5.3.4</version>
108+
</dependency>
109+
110+
<dependency>
111+
<groupId>com.twilio.sdk</groupId>
112+
<artifactId>twilio</artifactId>
113+
<version>9.4.0</version>
114+
115+
<exclusions>
116+
<exclusion>
117+
<groupId>org.apache.httpcomponents</groupId>
118+
<artifactId>httpcore</artifactId>
119+
</exclusion>
120+
</exclusions>
121+
</dependency>
122+
123+
<dependency>
124+
<groupId>io.micronaut.gcp</groupId>
125+
<artifactId>micronaut-gcp-common</artifactId>
126+
</dependency>
127+
<dependency>
128+
<groupId>io.micronaut.gcp</groupId>
129+
<artifactId>micronaut-gcp-pubsub</artifactId>
130+
</dependency>
131+
<dependency>
132+
<groupId>io.micronaut.grpc</groupId>
133+
<artifactId>micronaut-grpc-runtime</artifactId>
134+
135+
<exclusions>
136+
<!-- The version of these annotations from Micronaut conflicts with the version(s) from various Google libraries
137+
(like Firestore); we're excluding this declaration from Micronaut in favor of the newer one from Google. -->
138+
<exclusion>
139+
<groupId>com.google.errorprone</groupId>
140+
<artifactId>error_prone_annotations</artifactId>
141+
</exclusion>
142+
</exclusions>
143+
</dependency>
144+
<dependency>
145+
<groupId>io.micronaut</groupId>
146+
<artifactId>micronaut-inject</artifactId>
147+
</dependency>
148+
<dependency>
149+
<groupId>io.micronaut.micrometer</groupId>
150+
<artifactId>micronaut-micrometer-core</artifactId>
151+
</dependency>
152+
<dependency>
153+
<groupId>io.micronaut.micrometer</groupId>
154+
<artifactId>micronaut-micrometer-registry-datadog</artifactId>
155+
</dependency>
156+
<dependency>
157+
<groupId>io.micronaut.picocli</groupId>
158+
<artifactId>micronaut-picocli</artifactId>
159+
<version>${micronaut.picocli.version}</version>
160+
</dependency>
161+
<dependency>
162+
<groupId>io.micronaut.redis</groupId>
163+
<artifactId>micronaut-redis-lettuce</artifactId>
164+
</dependency>
165+
<dependency>
166+
<groupId>io.micronaut</groupId>
167+
<artifactId>micronaut-validation</artifactId>
168+
</dependency>
169+
170+
<dependency>
171+
<groupId>io.projectreactor</groupId>
172+
<artifactId>reactor-core</artifactId>
173+
</dependency>
174+
175+
<dependency>
176+
<groupId>jakarta.annotation</groupId>
177+
<artifactId>jakarta.annotation-api</artifactId>
178+
</dependency>
179+
180+
<dependency>
181+
<groupId>org.apache.commons</groupId>
182+
<artifactId>commons-lang3</artifactId>
183+
<version>3.12.0</version>
184+
</dependency>
185+
186+
<dependency>
187+
<groupId>org.apache.commons</groupId>
188+
<artifactId>commons-math3</artifactId>
189+
<version>3.6.1</version>
190+
</dependency>
191+
192+
<!-- Test dependencies -->
193+
194+
<dependency>
195+
<groupId>com.google.cloud</groupId>
196+
<artifactId>google-cloud-bigtable-emulator</artifactId>
197+
<scope>test</scope>
198+
</dependency>
199+
200+
<dependency>
201+
<groupId>com.github.brake.threegpp</groupId>
202+
<artifactId>telecom-charsets</artifactId>
203+
<version>1.0.1</version>
204+
<scope>test</scope>
205+
</dependency>
206+
207+
<dependency>
208+
<groupId>io.micronaut.test</groupId>
209+
<artifactId>micronaut-test-junit5</artifactId>
210+
<scope>test</scope>
211+
</dependency>
212+
213+
<dependency>
214+
<groupId>org.junit.jupiter</groupId>
215+
<artifactId>junit-jupiter</artifactId>
216+
<scope>test</scope>
217+
</dependency>
218+
219+
<dependency>
220+
<groupId>org.mockito</groupId>
221+
<artifactId>mockito-core</artifactId>
222+
<scope>test</scope>
223+
</dependency>
224+
225+
<dependency>
226+
<groupId>org.signal</groupId>
227+
<artifactId>embedded-redis</artifactId>
228+
<version>0.8.3</version>
229+
<scope>test</scope>
230+
</dependency>
231+
232+
<dependency>
233+
<groupId>org.testcontainers</groupId>
234+
<artifactId>junit-jupiter</artifactId>
235+
<version>${testcontainers.version}</version>
236+
<scope>test</scope>
237+
</dependency>
238+
239+
<dependency>
240+
<groupId>org.testcontainers</groupId>
241+
<artifactId>gcloud</artifactId>
242+
<version>${testcontainers.version}</version>
243+
<scope>test</scope>
244+
</dependency>
245+
</dependencies>
246+
247+
<build>
248+
<extensions>
249+
<extension>
250+
<groupId>kr.motd.maven</groupId>
251+
<artifactId>os-maven-plugin</artifactId>
252+
<version>1.7.0</version>
253+
</extension>
254+
</extensions>
255+
256+
<plugins>
257+
<plugin>
258+
<groupId>io.micronaut.build</groupId>
259+
<artifactId>micronaut-maven-plugin</artifactId>
260+
</plugin>
261+
262+
<plugin>
263+
<groupId>org.apache.maven.plugins</groupId>
264+
<artifactId>maven-compiler-plugin</artifactId>
265+
<configuration>
266+
<!-- Uncomment to enable incremental compilation -->
267+
<!-- <useIncrementalCompilation>false</useIncrementalCompilation> -->
268+
269+
<annotationProcessorPaths combine.children="append">
270+
</annotationProcessorPaths>
271+
<compilerArgs>
272+
<arg>-Amicronaut.processing.group=org.signal.registration</arg>
273+
<arg>-Amicronaut.processing.module=registration-service</arg>
274+
</compilerArgs>
275+
</configuration>
276+
</plugin>
277+
278+
<plugin>
279+
<groupId>org.xolstice.maven.plugins</groupId>
280+
<artifactId>protobuf-maven-plugin</artifactId>
281+
<version>0.6.1</version>
282+
283+
<configuration>
284+
<checkStaleness>false</checkStaleness>
285+
<clearOutputDirectory>false</clearOutputDirectory>
286+
<outputDirectory>${project.build.directory}/generated-sources/java</outputDirectory>
287+
<protocArtifact>com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier}</protocArtifact>
288+
<pluginId>grpc</pluginId>
289+
<pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}</pluginArtifact>
290+
</configuration>
291+
292+
<executions>
293+
<execution>
294+
<goals>
295+
<goal>compile</goal>
296+
<goal>compile-custom</goal>
297+
</goals>
298+
</execution>
299+
</executions>
300+
</plugin>
301+
302+
<plugin>
303+
<groupId>org.apache.maven.plugins</groupId>
304+
<artifactId>maven-enforcer-plugin</artifactId>
305+
<version>3.1.0</version>
306+
307+
<executions>
308+
<execution>
309+
<goals>
310+
<goal>enforce</goal>
311+
</goals>
312+
313+
<configuration>
314+
<rules>
315+
<dependencyConvergence/>
316+
<requireMavenVersion>
317+
<version>3.8.6</version>
318+
</requireMavenVersion>
319+
</rules>
320+
</configuration>
321+
</execution>
322+
</executions>
323+
</plugin>
324+
325+
<plugin>
326+
<groupId>org.apache.maven.plugins</groupId>
327+
<artifactId>maven-surefire-plugin</artifactId>
328+
329+
<configuration>
330+
<systemPropertyVariables combine.children="append">
331+
<firestore.emulator.version>${firestore.emulator.version}</firestore.emulator.version>
332+
</systemPropertyVariables>
333+
</configuration>
334+
</plugin>
335+
336+
<plugin>
337+
<groupId>com.google.cloud.tools</groupId>
338+
<artifactId>jib-maven-plugin</artifactId>
339+
<version>${jib-maven-plugin.version}</version>
340+
<configuration>
341+
<from>
342+
<image>eclipse-temurin:17-alpine</image>
343+
</from>
344+
345+
<container>
346+
<jvmFlags>
347+
<jvmFlag>-XX:MaxRAMPercentage=75</jvmFlag>
348+
</jvmFlags>
349+
350+
<!-- Because we have two executable classes (the service itself and the CLI), we need to specify which
351+
should be the entrypoint for Docker images -->
352+
<mainClass>org.signal.registration.Application</mainClass>
353+
</container>
354+
</configuration>
355+
</plugin>
356+
</plugins>
357+
</build>
358+
</project>

0 commit comments

Comments
 (0)