Skip to content

Commit 9b41603

Browse files
authored
Merge pull request #66 from EMResearch/signal_registration_service
Signal registration service
2 parents 122854e + 09d37a3 commit 9b41603

File tree

343 files changed

+17237
-0
lines changed

Some content is hidden

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

343 files changed

+17237
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@ For simplicity, all schemas are also available as JSON/YML files under the folde
115115

116116
### RPC (Thrift/gRPC): Java
117117

118+
* Signal-Registration (not-known license), [jdk_17_maven/cs/grpc/signal-registration](jdk_17_maven/cs/grpc/signal-registration), from [https://github.com/signalapp/registration-service]()
119+
118120
* NCS (not-known license, artificial numerical examples coming from different sources)
119121

120122
* SCS (not-known license, artificial string examples coming from different sources)

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

0 commit comments

Comments
 (0)