Skip to content

Commit d892820

Browse files
committed
Data API
0 parents  commit d892820

File tree

87 files changed

+8756
-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.

87 files changed

+8756
-0
lines changed

.gitignore

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
astra-sdk-java.wiki/
2+
.env
3+
.astrarc
4+
sec
5+
6+
# eclipse conf file
7+
.settings
8+
.classpath
9+
.project
10+
.cache
11+
12+
# idea conf files
13+
.idea
14+
*.ipr
15+
*.iws
16+
*.iml
17+
18+
# building
19+
target
20+
build
21+
tmp
22+
dist
23+
24+
# misc
25+
.DS_Store
26+
27+
.factorypath
28+
.sts4-cache
29+
*.log
30+
31+
release.properties
32+
pom.xml.releaseBackup

README.MD

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
# Java Client for Stargate Data API
3+
4+
`astra-db-java` is the java libraries use to interact with Astra, the Data API with vector support.
5+
6+
- `astra-db-ts` is the equivalent in typescript
7+
- `astrapy` is the equivalent in python

pom.xml

Lines changed: 303 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,303 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
<groupId>com.datastax.astra</groupId>
7+
<artifactId>astra-db-java</artifactId>
8+
<name>+ astra-db-java</name>
9+
<version>1.0.0-SNAPSHOT</version>
10+
<description>Java Client for Data API JAVA </description>
11+
12+
<properties>
13+
14+
<!-- Third Party Libraries -->
15+
<slf4j.version>2.0.9</slf4j.version>
16+
<logback.version>1.5.0</logback.version>
17+
<jackson.version>2.16.1</jackson.version>
18+
<lombok.version>1.18.32</lombok.version>
19+
<assertj.version>3.25.3</assertj.version>
20+
<devops-sdk.version>1.2.7</devops-sdk.version>
21+
<junit-jupiter.version>5.10.2</junit-jupiter.version>
22+
23+
<!-- Maven -->
24+
<maven.plugin.compiler.source>11</maven.plugin.compiler.source>
25+
<maven.plugin.compiler.target>11</maven.plugin.compiler.target>
26+
<version.maven.plugin.compiler>3.11.0</version.maven.plugin.compiler>
27+
<version.maven.plugin.coveralls>4.3.0</version.maven.plugin.coveralls>
28+
<version.maven.plugin.dependency>3.6.0</version.maven.plugin.dependency>
29+
<version.maven.plugin.gpg>3.1.0</version.maven.plugin.gpg>
30+
<version.maven.plugin.jacoco>0.8.11</version.maven.plugin.jacoco>
31+
<version.maven.plugin.javadoc>3.5.0</version.maven.plugin.javadoc>
32+
<version.maven.plugin.jar>3.3.0</version.maven.plugin.jar>
33+
<version.maven.plugin.nexus>1.6.13</version.maven.plugin.nexus>
34+
<version.maven.plugin.release>3.0.1</version.maven.plugin.release>
35+
<version.maven.plugin.resources>3.3.1</version.maven.plugin.resources>
36+
<version.maven.plugin.source>3.3.0</version.maven.plugin.source>
37+
<version.maven.plugin.surefire>3.1.2</version.maven.plugin.surefire>
38+
39+
</properties>
40+
41+
<dependencies>
42+
43+
<!-- Dependency to Devops API -->
44+
<dependency>
45+
<groupId>com.datastax.astra</groupId>
46+
<artifactId>astra-sdk-devops</artifactId>
47+
<version>${devops-sdk.version}</version>
48+
</dependency>
49+
50+
<!-- Core -->
51+
<dependency>
52+
<groupId>org.slf4j</groupId>
53+
<artifactId>slf4j-api</artifactId>
54+
<version>${slf4j.version}</version>
55+
</dependency>
56+
<dependency>
57+
<groupId>org.projectlombok</groupId>
58+
<artifactId>lombok</artifactId>
59+
<version>${lombok.version}</version>
60+
</dependency>
61+
62+
<!-- TEST -->
63+
<dependency>
64+
<groupId>org.junit.jupiter</groupId>
65+
<artifactId>junit-jupiter-engine</artifactId>
66+
<version>${junit-jupiter.version}</version>
67+
<scope>test</scope>
68+
</dependency>
69+
<dependency>
70+
<groupId>ch.qos.logback</groupId>
71+
<artifactId>logback-classic</artifactId>
72+
<version>${logback.version}</version>
73+
<scope>test</scope>
74+
</dependency>
75+
<dependency>
76+
<groupId>org.assertj</groupId>
77+
<artifactId>assertj-core</artifactId>
78+
<version>${assertj.version}</version>
79+
<scope>test</scope>
80+
</dependency>
81+
82+
</dependencies>
83+
84+
<!-- Client is JDK11+ -->
85+
<build>
86+
<plugins>
87+
<plugin>
88+
<groupId>org.sonatype.plugins</groupId>
89+
<artifactId>nexus-staging-maven-plugin</artifactId>
90+
<version>${version.maven.plugin.nexus}</version>
91+
<extensions>true</extensions>
92+
<configuration>
93+
<serverId>ossrh</serverId>
94+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
95+
<autoReleaseAfterClose>false</autoReleaseAfterClose>
96+
<skipLocalStaging>true</skipLocalStaging>
97+
</configuration>
98+
</plugin>
99+
<plugin>
100+
<groupId>org.apache.maven.plugins</groupId>
101+
<artifactId>maven-gpg-plugin</artifactId>
102+
<version>${version.maven.plugin.gpg}</version>
103+
</plugin>
104+
<plugin>
105+
<groupId>org.apache.maven.plugins</groupId>
106+
<artifactId>maven-source-plugin</artifactId>
107+
<version>${version.maven.plugin.source}</version>
108+
<executions>
109+
<execution>
110+
<id>attach-sources</id>
111+
112+
<goals>
113+
114+
<goal>jar-no-fork</goal>
115+
116+
</goals>
117+
118+
</execution>
119+
120+
</executions>
121+
122+
</plugin>
123+
<plugin>
124+
<groupId>org.apache.maven.plugins</groupId>
125+
<artifactId>maven-release-plugin</artifactId>
126+
<version>${version.maven.plugin.release}</version>
127+
<configuration>
128+
<tagNameFormat>@{project.version}</tagNameFormat>
129+
<autoVersionSubmodules>true</autoVersionSubmodules>
130+
<useReleaseProfile>false</useReleaseProfile>
131+
<releaseProfiles>release</releaseProfiles>
132+
<goals>deploy</goals>
133+
</configuration>
134+
</plugin>
135+
<plugin>
136+
<groupId>org.apache.maven.plugins</groupId>
137+
<artifactId>maven-compiler-plugin</artifactId>
138+
<version>${version.maven.plugin.compiler}</version>
139+
<configuration>
140+
<source>${maven.plugin.compiler.source}</source>
141+
<target>${maven.plugin.compiler.target}</target>
142+
<showWarnings>false</showWarnings>
143+
</configuration>
144+
</plugin>
145+
<plugin>
146+
<groupId>org.apache.maven.plugins</groupId>
147+
<artifactId>maven-surefire-plugin</artifactId>
148+
<version>${version.maven.plugin.surefire}</version>
149+
<configuration>
150+
<skipTests>true</skipTests>
151+
</configuration>
152+
<dependencies>
153+
<dependency>
154+
<groupId>org.junit.jupiter</groupId>
155+
<artifactId>junit-jupiter-engine</artifactId>
156+
<version>${junit-jupiter.version}</version>
157+
</dependency>
158+
</dependencies>
159+
</plugin>
160+
<plugin>
161+
<groupId>org.apache.maven.plugins</groupId>
162+
<artifactId>maven-javadoc-plugin</artifactId>
163+
<version>${version.maven.plugin.javadoc}</version>
164+
<executions>
165+
<execution>
166+
<id>attach-javadocs</id>
167+
<goals>
168+
<goal>jar</goal>
169+
</goals>
170+
</execution>
171+
</executions>
172+
<configuration>
173+
<source>${maven.plugin.compiler.source}</source>
174+
</configuration>
175+
</plugin>
176+
<plugin>
177+
<groupId>org.apache.maven.plugins</groupId>
178+
<artifactId>maven-dependency-plugin</artifactId>
179+
<version>${version.maven.plugin.dependency}</version>
180+
</plugin>
181+
<plugin>
182+
<groupId>org.apache.maven.plugins</groupId>
183+
<artifactId>maven-jar-plugin</artifactId>
184+
<version>${version.maven.plugin.jar}</version>
185+
<configuration>
186+
<archive>
187+
<manifest>
188+
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
189+
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
190+
</manifest>
191+
</archive>
192+
</configuration>
193+
</plugin>
194+
<plugin>
195+
<groupId>org.apache.maven.plugins</groupId>
196+
<artifactId>maven-resources-plugin</artifactId>
197+
<version>${version.maven.plugin.resources}</version>
198+
<configuration>
199+
<escapeString>\</escapeString>
200+
<encoding>UTF-8</encoding>
201+
</configuration>
202+
</plugin>
203+
204+
<plugin>
205+
<groupId>org.jacoco</groupId>
206+
<artifactId>jacoco-maven-plugin</artifactId>
207+
<version>${version.maven.plugin.jacoco}</version>
208+
<executions>
209+
<execution>
210+
<id>default-prepare-agent</id>
211+
<goals>
212+
<goal>prepare-agent</goal>
213+
</goals>
214+
</execution>
215+
<execution>
216+
<id>default-prepare-agent-integration</id>
217+
<goals>
218+
<goal>prepare-agent-integration</goal>
219+
</goals>
220+
</execution>
221+
<execution>
222+
<id>default-report</id>
223+
<goals>
224+
<goal>report</goal>
225+
</goals>
226+
</execution>
227+
<execution>
228+
<id>default-report-integration</id>
229+
<goals>
230+
<goal>report-integration</goal>
231+
</goals>
232+
</execution>
233+
</executions>
234+
</plugin>
235+
236+
</plugins>
237+
</build>
238+
239+
<repositories>
240+
<repository>
241+
<id>jitpack.io</id>
242+
<url>https://jitpack.io</url>
243+
</repository>
244+
</repositories>
245+
246+
<distributionManagement>
247+
<repository>
248+
<id>ossrh</id>
249+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
250+
</repository>
251+
</distributionManagement>
252+
253+
<scm>
254+
<connection>scm:git:[email protected]:datastax/astra-db-java.git</connection>
255+
<developerConnection>scm:git:[email protected]:datastax/astra-db-java.git</developerConnection>
256+
<url>https://github.com/datastax/astra-db-java</url>
257+
<tag>1.2.6</tag>
258+
</scm>
259+
260+
<developers>
261+
<developer>
262+
<id>clunven</id>
263+
<name>Cedrick Lunven</name>
264+
<email>[email protected]</email>
265+
<url>https://github.com/clun</url>
266+
</developer>
267+
</developers>
268+
269+
<profiles>
270+
<profile>
271+
<id>release</id>
272+
<build>
273+
<plugins>
274+
<plugin>
275+
<groupId>org.apache.maven.plugins</groupId>
276+
<artifactId>maven-gpg-plugin</artifactId>
277+
<executions>
278+
<execution>
279+
<id>sign-artifacts</id>
280+
<phase>verify</phase>
281+
<goals>
282+
<goal>sign</goal>
283+
</goals>
284+
</execution>
285+
</executions>
286+
</plugin>
287+
</plugins>
288+
</build>
289+
</profile>
290+
</profiles>
291+
292+
293+
<!-- Release the client with Apache License -->
294+
<licenses>
295+
<license>
296+
<name>Apache-2.0</name>
297+
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
298+
<distribution>repo</distribution>
299+
<comments>A business-friendly OSS license</comments>
300+
</license>
301+
</licenses>
302+
303+
</project>

0 commit comments

Comments
 (0)