Skip to content

Commit fc4464d

Browse files
committed
Merge branch 'main' into 1580_create_daemon_threads
Signed-off-by: jarebudev <23311805+jarebudev@users.noreply.github.com>
2 parents 5478575 + d4c7907 commit fc4464d

File tree

7 files changed

+25
-20
lines changed

7 files changed

+25
-20
lines changed

.github/workflows/merge.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ jobs:
2121
runs-on: ubuntu-latest
2222

2323
steps:
24-
- uses: actions/checkout@71cf2267d89c5cb81562390fa70a37fa40b1305e
24+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
2525
with:
2626
fetch-depth: 0
2727
submodules: recursive
2828
- name: Set up JDK 17
29-
uses: actions/setup-java@de5a937a1dc73fbc1a67d7d1aa4bebc1082f3190
29+
uses: actions/setup-java@46c56d6f92c88cf540acf95a12a4a41197499222
3030
with:
3131
java-version: '17'
3232
distribution: 'temurin'

.github/workflows/pullrequest.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,20 @@ jobs:
1919
runs-on: ${{ matrix.os}}
2020
steps:
2121
- name: Check out the code
22-
uses: actions/checkout@71cf2267d89c5cb81562390fa70a37fa40b1305e
22+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
2323
with:
2424
fetch-depth: 0
2525
submodules: recursive
2626

2727
- name: Set up JDK ${{ matrix.build.java }}
28-
uses: actions/setup-java@de5a937a1dc73fbc1a67d7d1aa4bebc1082f3190
28+
uses: actions/setup-java@46c56d6f92c88cf540acf95a12a4a41197499222
2929
with:
3030
java-version: ${{ matrix.build.java }}
3131
distribution: 'temurin'
3232
cache: maven
3333

3434
- name: Initialize CodeQL
35-
uses: github/codeql-action/init@1d9f357d018e5801d9d25e32220badc298aa1c17
35+
uses: github/codeql-action/init@ce729e4d353d580e6cacd6a8cf2921b72e5e310a
3636
with:
3737
languages: java
3838

@@ -58,4 +58,4 @@ jobs:
5858
verbose: true # optional (default = false)
5959

6060
- name: Perform CodeQL Analysis
61-
uses: github/codeql-action/analyze@1d9f357d018e5801d9d25e32220badc298aa1c17
61+
uses: github/codeql-action/analyze@ce729e4d353d580e6cacd6a8cf2921b72e5e310a

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ jobs:
3737

3838
steps:
3939
- name: Checkout Repository
40-
uses: actions/checkout@71cf2267d89c5cb81562390fa70a37fa40b1305e
40+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
4141
with:
4242
fetch-depth: 0
4343
submodules: recursive
4444

4545
- name: Set up JDK 17
46-
uses: actions/setup-java@de5a937a1dc73fbc1a67d7d1aa4bebc1082f3190
46+
uses: actions/setup-java@46c56d6f92c88cf540acf95a12a4a41197499222
4747
with:
4848
java-version: '17'
4949
distribution: 'temurin'

.github/workflows/static-code-scanning.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,16 @@ jobs:
2929

3030
steps:
3131
- name: Checkout repository
32-
uses: actions/checkout@71cf2267d89c5cb81562390fa70a37fa40b1305e
32+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
3333

3434
# Initializes the CodeQL tools for scanning.
3535
- name: Initialize CodeQL
36-
uses: github/codeql-action/init@1d9f357d018e5801d9d25e32220badc298aa1c17
36+
uses: github/codeql-action/init@ce729e4d353d580e6cacd6a8cf2921b72e5e310a
3737
with:
3838
languages: java
3939

4040
- name: Autobuild
41-
uses: github/codeql-action/autobuild@1d9f357d018e5801d9d25e32220badc298aa1c17
41+
uses: github/codeql-action/autobuild@ce729e4d353d580e6cacd6a8cf2921b72e5e310a
4242

4343
- name: Perform CodeQL Analysis
44-
uses: github/codeql-action/analyze@1d9f357d018e5801d9d25e32220badc298aa1c17
44+
uses: github/codeql-action/analyze@ce729e4d353d580e6cacd6a8cf2921b72e5e310a

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ target
1010

1111
# vscode stuff - we may want to use a more specific pattern later if we'd like to suggest editor configurations
1212
.vscode/
13+
.cursor
1314

1415
# used for spec compliance tooling
1516
java-report.json

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright [yyyy] [name of copyright owner]
189+
Copyright OpenFeature Maintainers
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

pom.xml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
<skip.tests>false</skip.tests>
2121
<!-- this will throw an error if we use wrong apis -->
2222
<maven.compiler.release>11</maven.compiler.release>
23+
<org.mockito.jar>${settings.localRepository}/org/mockito/mockito-core/${org.mockito.version}/mockito-core-${org.mockito.version}.jar</org.mockito.jar>
24+
<org.mockito.agent.argline>-javaagent:${org.mockito.jar}</org.mockito.agent.argline>
2325
</properties>
2426

2527
<name>OpenFeature Java SDK</name>
@@ -212,14 +214,14 @@
212214
<dependency>
213215
<groupId>net.bytebuddy</groupId>
214216
<artifactId>byte-buddy</artifactId>
215-
<version>1.18.0</version>
217+
<version>1.18.1</version>
216218
<scope>test</scope>
217219
</dependency>
218220

219221
<dependency>
220222
<groupId>net.bytebuddy</groupId>
221223
<artifactId>byte-buddy-agent</artifactId>
222-
<version>1.18.0</version>
224+
<version>1.18.1</version>
223225
<scope>test</scope>
224226
</dependency>
225227
<!-- End mockito workaround-->
@@ -300,10 +302,9 @@
300302
<artifactId>maven-surefire-plugin</artifactId>
301303
<version>3.5.4</version>
302304
<configuration>
303-
<forkCount>1</forkCount>
304-
<reuseForks>false</reuseForks>
305305
<argLine>
306306
${surefireArgLine}
307+
${org.mockito.agent.argline}
307308
--add-opens java.base/java.util=ALL-UNNAMED
308309
--add-opens java.base/java.lang=ALL-UNNAMED
309310
</argLine>
@@ -321,6 +322,7 @@
321322
<configuration>
322323
<argLine>
323324
${surefireArgLine}
325+
${org.mockito.agent.argline}
324326
</argLine>
325327
</configuration>
326328
</plugin>
@@ -329,7 +331,7 @@
329331
<plugin>
330332
<groupId>org.apache.maven.plugins</groupId>
331333
<artifactId>maven-jar-plugin</artifactId>
332-
<version>3.4.2</version>
334+
<version>3.5.0</version>
333335
<configuration>
334336
<archive>
335337
<manifestEntries>
@@ -364,6 +366,7 @@
364366
<include>**/*CT.java</include>
365367
</includes>
366368
<failIfNoTests>true</failIfNoTests>
369+
<argLine>${org.mockito.agent.argline}</argLine>
367370
</configuration>
368371
</execution>
369372
</executions>
@@ -505,7 +508,7 @@
505508
<dependency>
506509
<groupId>com.puppycrawl.tools</groupId>
507510
<artifactId>checkstyle</artifactId>
508-
<version>12.1.1</version>
511+
<version>12.1.2</version>
509512
</dependency>
510513
</dependencies>
511514
<executions>
@@ -521,7 +524,7 @@
521524
<plugin>
522525
<groupId>com.diffplug.spotless</groupId>
523526
<artifactId>spotless-maven-plugin</artifactId>
524-
<version>3.0.0</version>
527+
<version>3.1.0</version>
525528
<configuration>
526529
<!-- optional: limit format enforcement to just the files changed by this feature branch -->
527530
<!-- <ratchetFrom>origin/main</ratchetFrom>-->
@@ -740,6 +743,7 @@
740743
<version>3.5.4</version>
741744
<configuration>
742745
<argLine>
746+
${org.mockito.agent.argline}
743747
${surefireArgLine}
744748
</argLine>
745749
</configuration>

0 commit comments

Comments
 (0)