Skip to content

Commit

Permalink
feat: Add support to generate client certificate and get connection i…
Browse files Browse the repository at this point in the history
…nfo for auth proxy in AlloyDB v1 (#11764)

- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 569333566

Source-Link:
googleapis/googleapis@bc4a508

Source-Link:
googleapis/googleapis-gen@5512615
Copy-Tag:
eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFsbG95ZGIvLk93bEJvdC55YW1sIiwiaCI6IjU1MTI2MTU5NWE4Y2EyMmM4YWFmNzJlYjdjZDUxM2I3NTEzZjljZWMifQ==

BEGIN_NESTED_COMMIT
feat: Add support to generate client certificate and get connection info
for auth proxy in AlloyDB v1
PiperOrigin-RevId: 568860878

Source-Link:
googleapis/googleapis@5601ad3

Source-Link:
googleapis/googleapis-gen@a1f1322
Copy-Tag:
eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFsbG95ZGIvLk93bEJvdC55YW1sIiwiaCI6ImExZjEzMjI2MGFmMjhhMzM2ZjQzZDVhN2E1M2JmM2U2NmE0Yjc1ZTgifQ==
END_NESTED_COMMIT

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
  • Loading branch information
3 people committed Sep 30, 2023
1 parent 4cf708c commit 0f72d58
Show file tree
Hide file tree
Showing 28 changed files with 6,009 additions and 3,259 deletions.
3 changes: 3 additions & 0 deletions packages/google-cloud-alloydb/.OwlBot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.

deep-preserve-regex:
- /owl-bot-staging/google-cloud-alloydb/connectors

deep-copy-regex:
- source: /google/cloud/alloydb/(.*)/.*-py
dest: /owl-bot-staging/google-cloud-alloydb/$1
4 changes: 2 additions & 2 deletions packages/google-cloud-alloydb/CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,12 @@ Running System Tests
$ nox -s system

# Run a single system test
$ nox -s system- -- -k <name of test>
$ nox -s system-3.11 -- -k <name of test>


.. note::

System tests are only configured to run under Python.
System tests are only configured to run under Python 3.8, 3.9, 3.10 and 3.11.
For expediency, we do not run them in older versions of Python 3.

This alone will not run the tests. You'll need to change some local
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
BackupSource,
Cluster,
ClusterView,
ConnectionInfo,
ContinuousBackupConfig,
ContinuousBackupInfo,
ContinuousBackupSource,
Expand Down Expand Up @@ -59,8 +60,11 @@
DeleteInstanceRequest,
DeleteUserRequest,
FailoverInstanceRequest,
GenerateClientCertificateRequest,
GenerateClientCertificateResponse,
GetBackupRequest,
GetClusterRequest,
GetConnectionInfoRequest,
GetInstanceRequest,
GetUserRequest,
InjectFaultRequest,
Expand Down Expand Up @@ -91,6 +95,7 @@
"Backup",
"BackupSource",
"Cluster",
"ConnectionInfo",
"ContinuousBackupConfig",
"ContinuousBackupInfo",
"ContinuousBackupSource",
Expand Down Expand Up @@ -121,8 +126,11 @@
"DeleteInstanceRequest",
"DeleteUserRequest",
"FailoverInstanceRequest",
"GenerateClientCertificateRequest",
"GenerateClientCertificateResponse",
"GetBackupRequest",
"GetClusterRequest",
"GetConnectionInfoRequest",
"GetInstanceRequest",
"GetUserRequest",
"InjectFaultRequest",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "0.3.2" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
BackupSource,
Cluster,
ClusterView,
ConnectionInfo,
ContinuousBackupConfig,
ContinuousBackupInfo,
ContinuousBackupSource,
Expand Down Expand Up @@ -56,8 +57,11 @@
DeleteInstanceRequest,
DeleteUserRequest,
FailoverInstanceRequest,
GenerateClientCertificateRequest,
GenerateClientCertificateResponse,
GetBackupRequest,
GetClusterRequest,
GetConnectionInfoRequest,
GetInstanceRequest,
GetUserRequest,
InjectFaultRequest,
Expand Down Expand Up @@ -93,6 +97,7 @@
"BatchCreateInstancesResponse",
"Cluster",
"ClusterView",
"ConnectionInfo",
"ContinuousBackupConfig",
"ContinuousBackupInfo",
"ContinuousBackupSource",
Expand All @@ -111,8 +116,11 @@
"EncryptionConfig",
"EncryptionInfo",
"FailoverInstanceRequest",
"GenerateClientCertificateRequest",
"GenerateClientCertificateResponse",
"GetBackupRequest",
"GetClusterRequest",
"GetConnectionInfoRequest",
"GetInstanceRequest",
"GetUserRequest",
"InjectFaultRequest",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@
"failover_instance"
]
},
"GenerateClientCertificate": {
"methods": [
"generate_client_certificate"
]
},
"GetBackup": {
"methods": [
"get_backup"
Expand All @@ -80,6 +85,11 @@
"get_cluster"
]
},
"GetConnectionInfo": {
"methods": [
"get_connection_info"
]
},
"GetInstance": {
"methods": [
"get_instance"
Expand Down Expand Up @@ -220,6 +230,11 @@
"failover_instance"
]
},
"GenerateClientCertificate": {
"methods": [
"generate_client_certificate"
]
},
"GetBackup": {
"methods": [
"get_backup"
Expand All @@ -230,6 +245,11 @@
"get_cluster"
]
},
"GetConnectionInfo": {
"methods": [
"get_connection_info"
]
},
"GetInstance": {
"methods": [
"get_instance"
Expand Down Expand Up @@ -370,6 +390,11 @@
"failover_instance"
]
},
"GenerateClientCertificate": {
"methods": [
"generate_client_certificate"
]
},
"GetBackup": {
"methods": [
"get_backup"
Expand All @@ -380,6 +405,11 @@
"get_cluster"
]
},
"GetConnectionInfo": {
"methods": [
"get_connection_info"
]
},
"GetInstance": {
"methods": [
"get_instance"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "0.3.2" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Loading

0 comments on commit 0f72d58

Please sign in to comment.