Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
64be800
chore: [wip] PQC POC 2
diegomarquezp May 14, 2026
7c915c7
chore: update CI workflow to use googleapis/google-http-java-client b…
diegomarquezp May 14, 2026
f0478ae
chore: fix CI workflow setup order and step numbers
diegomarquezp May 14, 2026
408496f
chore: address Gemini review comments for PQC POC
diegomarquezp May 19, 2026
ae47748
Merge branch 'main' into chore/pqc-poc-2
diegomarquezp May 19, 2026
a61bd9d
test(bigquery): include bigquery for testing
diegomarquezp May 20, 2026
6b8816b
Merge remote-tracking branch 'origin/main' into chore/pqc-poc-2
diegomarquezp May 20, 2026
5be6b97
Merge branch 'chore/pqc-poc-2' of https://github.com/googleapis/googl…
diegomarquezp May 20, 2026
4d9e72c
refactor: zero-config programmatic PQC auto-upgrades using http-clien…
diegomarquezp May 20, 2026
6bbb7fc
test: Resolve Java 17 SSLParameters namedGroups compatibility with Bo…
diegomarquezp May 20, 2026
a472a87
fix(gax-grpc): use out of the box behavior for PQC
diegomarquezp May 21, 2026
2d59672
chore: revert changes in instantiating channel providers
diegomarquezp May 21, 2026
498bbb2
test: use vanilla client approach
diegomarquezp May 22, 2026
a50066c
test: use vanilla clients
diegomarquezp May 22, 2026
30acb1a
test: fix tests
diegomarquezp May 22, 2026
0225fac
test: partial implemnetation of programatically enabled PQC in local …
diegomarquezp May 23, 2026
5bff2c4
test: simplify tests
diegomarquezp May 23, 2026
f0e9e46
build: move test yaml to relevant folder
diegomarquezp May 23, 2026
35606e2
chore: simplify poms
diegomarquezp May 23, 2026
bf1afbe
fix: restore unwanted changes
diegomarquezp May 23, 2026
d536c3d
chore: format
diegomarquezp May 23, 2026
c38b4c9
Revert "build: move test yaml to relevant folder"
diegomarquezp May 23, 2026
99cf802
build: update pqc-tests.yml
diegomarquezp May 23, 2026
e290225
ci: explicitly install sdk-platform-java and snapshot bigquery/transl…
diegomarquezp May 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
73 changes: 73 additions & 0 deletions .github/workflows/pqc-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
name: PQC Connectivity Integration Tests

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
pqc-tests:
runs-on: ubuntu-latest

steps:
# 1. Checkout sibling HTTP Client repository
- name: Checkout google-http-java-client
uses: actions/checkout@v4
with:
repository: googleapis/google-http-java-client
ref: chore/pqc-poc-2
path: google-http-java-client

# 2. Checkout this monorepo
- name: Checkout google-cloud-java-pqc
uses: actions/checkout@v4
with:
path: google-cloud-java-pqc

# 3. Set up JDK 17
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: 'maven'
cache-dependency-path: 'google-cloud-java-pqc/pom.xml'

# 4. Build and install modified google-http-client SNAPSHOT locally
- name: Build and Install google-http-java-client
run: |
cd google-http-java-client
mvn clean install -DskipTests=true -Dcheckstyle.skip -Dclirr.skip -Denforcer.skip -Dfmt.skip

# 5. Build and Install sdk-platform-java core libraries first (establishes JCA dependencies in local Maven cache)
- name: Build and Install sdk-platform-java Core
run: |
cd google-cloud-java-pqc/sdk-platform-java
mvn clean install -T 1.5C -Dcheckstyle.skip -Dclirr.skip -Denforcer.skip -Dfmt.skip -DskipTests=true

# 6. Build and Install snapshot bigquery, java-translate, and pqc-test targets
- name: Build and Install Client Snapshot Libraries and Test Modules
run: |
cd google-cloud-java-pqc
mvn clean install -pl java-bigquery,java-translate,sdk-platform-java/pqc-test/pqc-test-snapshot,sdk-platform-java/pqc-test/pqc-test-release -am -T 1.5C -Dcheckstyle.skip -Dclirr.skip -Denforcer.skip -Dfmt.skip -DskipTests=true

# 7. Run Snapshot PQC Tests (EXPECT PASS)
- name: Run Snapshot PQC Connectivity Tests (Expect PASS)
run: |
cd google-cloud-java-pqc/sdk-platform-java/pqc-test/pqc-test-snapshot
mvn install -Dcheckstyle.skip -Dclirr.skip -Denforcer.skip -Dfmt.skip -Dtest=RunPqcTest

# 8. Run Release PQC Tests (EXPECT FAIL)
- name: Run Release PQC Connectivity Tests (Expect FAIL)
# We expect this step to fail. If it passes, it means release libraries are negotiating PQC (which is incorrect).
# Thus we run it and assert that the maven command fails (exit code != 0).
run: |
cd google-cloud-java-pqc/sdk-platform-java/pqc-test/pqc-test-release
if mvn install -Dcheckstyle.skip -Dclirr.skip -Denforcer.skip -Dfmt.skip -Dtest=RunPqcTest; then
echo "Error: Release tests passed but they were expected to fail!"
exit 1
else
echo "Success: Release tests failed-fast as expected."
exit 0
fi
1 change: 1 addition & 0 deletions sdk-platform-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
<module>gapic-generator-java-bom</module>
<module>java-shared-dependencies</module>
<module>sdk-platform-java-config</module>
<module>pqc-test</module>
</modules>
<!-- Do not deploy the aggregator POM -->
<build>
Expand Down
23 changes: 23 additions & 0 deletions sdk-platform-java/pqc-test/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-shared-config</artifactId>
<version>1.17.0</version>
</parent>

<groupId>com.google.api</groupId>
<artifactId>pqc-test-parent</artifactId>
<packaging>pom</packaging>
<version>2.81.0-SNAPSHOT</version>

<modules>
<module>pqc-test-common</module>
<module>pqc-test-snapshot</module>
<module>pqc-test-release</module>
</modules>
</project>
43 changes: 43 additions & 0 deletions sdk-platform-java/pqc-test/pqc-test-common/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>com.google.api</groupId>
<artifactId>pqc-test-parent</artifactId>
<version>2.81.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>pqc-test-common</artifactId>

<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>5.10.2</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-netty</artifactId>
<version>1.81.0</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-stub</artifactId>
<version>1.81.0</version>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk18on</artifactId>
<version>1.84</version>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bctls-jdk18on</artifactId>
<version>1.84</version>
</dependency>
</dependencies>
</project>
Loading
Loading