File tree Expand file tree Collapse file tree 3 files changed +21
-12
lines changed
examples/src/main/java/com/datastax/astra/client/collection/vectorize Expand file tree Collapse file tree 3 files changed +21
-12
lines changed Original file line number Diff line number Diff line change 8
8
workflow_dispatch :
9
9
10
10
jobs :
11
+ BUILD :
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - name : Checkout Code
15
+ uses : actions/checkout@v2
16
+ - name : Set up JDK 11
17
+ uses : actions/setup-java@v2
18
+ with :
19
+ distribution : ' adopt'
20
+ java-version : 11
21
+ - name : Build with Maven
22
+ run : |
23
+ mvn install -Dmaven.test.skip=true
24
+
11
25
AWS_US_WEST2 :
26
+ needs : BUILD
12
27
runs-on : ubuntu-latest
13
28
steps :
14
29
- name : Checkout repository
18
33
with :
19
34
distribution : ' adopt'
20
35
java-version : 11
21
- - name : Build with Maven
22
- run : |
23
- mvn install
24
- - name : Run test for DEV
36
+ - name : Maven Test
25
37
env :
26
38
ASTRA_DB_APPLICATION_TOKEN_DEV : ${{ secrets.ASTRA_DB_APPLICATION_TOKEN_DEV }}
27
39
ASTRA_CLOUD_PROVIDER_DEV : AWS
31
43
mvn test -Dtest=com.datastax.astra.test.integration.dev.*Test
32
44
33
45
GCP_EUROPE_WEST4 :
46
+ needs : BUILD
34
47
runs-on : ubuntu-latest
35
48
steps :
36
49
- name : Checkout repository
40
53
with :
41
54
distribution : ' adopt'
42
55
java-version : 11
43
- - name : Build with Maven
44
- run : |
45
- mvn install
46
56
- name : Run test for DEV
47
57
env :
48
58
ASTRA_DB_APPLICATION_TOKEN_DEV : ${{ secrets.ASTRA_DB_APPLICATION_TOKEN_DEV }}
53
63
mvn test -Dtest=com.datastax.astra.test.integration.dev.*Test
54
64
55
65
GCP_US_CENTRAL1 :
66
+ needs : BUILD
56
67
runs-on : ubuntu-latest
57
68
steps :
58
69
- name : Checkout repository
62
73
with :
63
74
distribution : ' adopt'
64
75
java-version : 11
65
- - name : Build with Maven
66
- run : |
67
- mvn install
76
+
68
77
- name : Run test for DEV
69
78
env :
70
79
ASTRA_DB_APPLICATION_TOKEN_DEV : ${{ secrets.ASTRA_DB_APPLICATION_TOKEN_DEV }}
Original file line number Diff line number Diff line change 29
29
<uuid-generator .version>5.0.0</uuid-generator .version>
30
30
31
31
<!-- Test -->
32
- <test .skipped>true </test .skipped>
32
+ <test .skipped>false </test .skipped>
33
33
<assertj .version>3.25.3</assertj .version>
34
34
<junit-jupiter .version>5.10.2</junit-jupiter .version>
35
35
Original file line number Diff line number Diff line change 8
8
import com .datastax .astra .client .model .Document ;
9
9
import com .datastax .astra .client .model .FindOneOptions ;
10
10
import com .datastax .astra .client .model .SimilarityMetric ;
11
- import com .datastax .astra .internal .auth .UsernamePasswordTokenProvider ;
11
+ import com .datastax .astra .client .auth .UsernamePasswordTokenProvider ;
12
12
import com .datastax .astra .internal .command .LoggingCommandObserver ;
13
13
import lombok .extern .slf4j .Slf4j ;
14
14
You can’t perform that action at this time.
0 commit comments