Skip to content

Commit c4999e3

Browse files
authored
Merge pull request #7 from russcam/russcam-java-client
Contribute qdrant java client
2 parents 7f26bd5 + 0f6b68b commit c4999e3

Some content is hidden

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

64 files changed

+5508
-5524
lines changed

.editorconfig

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
indent_style = tab
6+
indent_size = 4
7+
8+
[*.{md,markdown,json,js,xml,yml}]
9+
indent_style = space
10+
indent_size = 2
11+
12+
[*.{md,markdown}]
13+
trim_trailing_whitespace = false
14+
max_line_length = 80
15+
16+
[*.{sh,bat,ps1}]
17+
trim_trailing_whitespace = true
18+
insert_final_newline = true

.gitattributes

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto eol=lf
3+
4+
# Set default behavior for command prompt diff.
5+
# This gives output on command line taking java language constructs into consideration (e.g showing class name)
6+
*.java text diff=java
7+
8+
# Set windows specific files explicitly to crlf line ending
9+
*.cmd eol=crlf
10+
*.bat eol=crlf
11+
*.ps1 eol=crlf

.github/workflows/build.yml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request_target:
7+
branches: [ "master" ]
8+
9+
permissions:
10+
contents: read
11+
checks: write
12+
13+
jobs:
14+
build:
15+
name: Build
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v4
21+
22+
- name: Set up JDK 17
23+
uses: actions/setup-java@v3
24+
with:
25+
java-version: '17'
26+
distribution: 'temurin'
27+
28+
- name: Build
29+
uses: gradle/gradle-build-action@v2
30+
with:
31+
gradle-version: 8.5
32+
arguments: build
33+
34+
- name: Test
35+
uses: gradle/gradle-build-action@v2
36+
with:
37+
gradle-version: 8.5
38+
arguments: test
39+
40+
- name: Test Results
41+
uses: mikepenz/action-junit-report@v4
42+
if: always()
43+
with:
44+
fail_on_failure: true
45+
require_tests: true
46+
report_paths: '**/build/test-results/test/TEST-*.xml'
47+
48+
- name: Upload Jars
49+
uses: actions/upload-artifact@v3
50+
with:
51+
name: QdrantJava
52+
path: build/libs
53+
54+
publish:
55+
runs-on: ubuntu-latest
56+
needs: test
57+
steps:
58+
- name: Deploy javadoc to Github Pages
59+
uses: dev-vince/[email protected]
60+
with:
61+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
62+
java-version: "8"
63+
java-distribution: "adopt" # The distributor of the target JDK. See https://github.com/actions/setup-java for more information.
64+
project: maven # The project type.
65+
branch: "gh-pages" # The branch for the javadoc contents.

.github/workflows/cd.yml

Lines changed: 0 additions & 42 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

.gitignore

Lines changed: 43 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,47 @@
1-
target/
2-
pom.xml.tag
3-
pom.xml.releaseBackup
4-
pom.xml.versionsBackup
5-
pom.xml.next
6-
release.properties
7-
dependency-reduced-pom.xml
8-
buildNumber.properties
9-
.mvn/timing.properties
10-
# https://github.com/takari/maven-wrapper#usage-without-binary-jar
11-
.mvn/wrapper/maven-wrapper.jar
1+
.gradle
2+
build/
3+
!gradle/wrapper/gradle-wrapper.jar
4+
!**/src/main/**/build/
5+
!**/src/test/**/build/
126

13-
# Eclipse m2e generated files
14-
# Eclipse Core
15-
.project
16-
# JDT-specific (Eclipse Java Development Tools)
7+
### IntelliJ IDEA ###
8+
.idea/modules.xml
9+
.idea/jarRepositories.xml
10+
.idea/compiler.xml
11+
.idea/libraries/
12+
.idea/uiDesigner.xml
13+
.idea/codeStyles/codeStyleConfig.xml
14+
*.iws
15+
*.iml
16+
*.ipr
17+
out/
18+
!**/src/main/**/out/
19+
!**/src/test/**/out/
20+
21+
### Eclipse ###
22+
.apt_generated
1723
.classpath
24+
.factorypath
25+
.project
26+
.settings
27+
.springBeans
28+
.sts4-cache
29+
bin/
30+
!**/src/main/**/bin/
31+
!**/src/test/**/bin/
32+
33+
### NetBeans ###
34+
/nbproject/private/
35+
/nbbuild/
36+
/dist/
37+
/nbdist/
38+
/.nb-gradle/
39+
40+
### VS Code ###
41+
.vscode/
1842

19-
# VS Code
20-
.vscode/*
43+
### Mac OS ###
44+
.DS_Store
2145

22-
# Others
23-
.DS_Store
46+
### Project specific ###
47+
protos

.idea/.gitignore

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/.name

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/gradle.xml

Lines changed: 29 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 58 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)