| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent bfc25b7 commit b254665
15 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -143,12 +143,12 @@ Running System Tests | |||
| 143 | 143 | $ nox -s system | |
| 144 | 144 | ||
| 145 | 145 | # Run a single system test | |
| 146 | - $ nox -s system- -- -k <name of test> | ||
| 146 | + $ nox -s system-3.11 -- -k <name of test> | ||
| 147 | 147 | ||
| 148 | 148 | ||
| 149 | 149 | .. note:: | |
| 150 | 150 | ||
| 151 | - System tests are only configured to run under Python. | ||
| 151 | + System tests are only configured to run under Python 3.8, 3.9, 3.10 and 3.11. | ||
| 152 | 152 | For expediency, we do not run them in older versions of Python 3. | |
| 153 | 153 | ||
| 154 | 154 | This alone will not run the tests. You'll need to change some local | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13,4 +13,4 @@ | |||
| 13 | 13 | # See the License for the specific language governing permissions and | |
| 14 | 14 | # limitations under the License. | |
| 15 | 15 | # | |
| 16 | - __version__ = "1.12.1" # {x-release-please-version} | ||
| 16 | + __version__ = "0.0.0" # {x-release-please-version} | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13,4 +13,4 @@ | |||
| 13 | 13 | # See the License for the specific language governing permissions and | |
| 14 | 14 | # limitations under the License. | |
| 15 | 15 | # | |
| 16 | - __version__ = "1.12.1" # {x-release-please-version} | ||
| 16 | + __version__ = "0.0.0" # {x-release-please-version} | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -579,6 +579,8 @@ class AuxiliaryVersionConfig(proto.Message): | |||
| 579 | 579 | class NetworkConfig(proto.Message): | |
| 580 | 580 | r"""Network configuration for the Dataproc Metastore service. | |
| 581 | 581 | ||
| 582 | + Next available ID: 4 | ||
| 583 | + | ||
| 582 | 584 | Attributes: | |
| 583 | 585 | consumers (MutableSequence[google.cloud.metastore_v1.types.NetworkConfig.Consumer]): | |
| 584 | 586 | Immutable. The consumer-side network | |
@@ -589,6 +591,7 @@ class NetworkConfig(proto.Message): | |||
| 589 | 591 | class Consumer(proto.Message): | |
| 590 | 592 | r"""Contains information of the customer's network | |
| 591 | 593 | configurations. | |
| 594 | + Next available ID: 5 | ||
| 592 | 595 | ||
| 593 | 596 | ||
| 594 | 597 | .. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields | |
@@ -609,6 +612,9 @@ class Consumer(proto.Message): | |||
| 609 | 612 | endpoint_uri (str): | |
| 610 | 613 | Output only. The URI of the endpoint used to | |
| 611 | 614 | access the metastore service. | |
| 615 | + endpoint_location (str): | ||
| 616 | + Output only. The location of the endpoint URI. Format: | ||
| 617 | + ``projects/{project}/locations/{location}``. | ||
| 612 | 618 | """ | |
| 613 | 619 | ||
| 614 | 620 | subnetwork: str = proto.Field( | |
@@ -620,6 +626,10 @@ class Consumer(proto.Message): | |||
| 620 | 626 | proto.STRING, | |
| 621 | 627 | number=3, | |
| 622 | 628 | ) | |
| 629 | + endpoint_location: str = proto.Field( | ||
| 630 | + proto.STRING, | ||
| 631 | + number=4, | ||
| 632 | + ) | ||
| 623 | 633 | ||
| 624 | 634 | consumers: MutableSequence[Consumer] = proto.RepeatedField( | |
| 625 | 635 | proto.MESSAGE, | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13,4 +13,4 @@ | |||
| 13 | 13 | # See the License for the specific language governing permissions and | |
| 14 | 14 | # limitations under the License. | |
| 15 | 15 | # | |
| 16 | - __version__ = "1.12.1" # {x-release-please-version} | ||
| 16 | + __version__ = "0.0.0" # {x-release-please-version} | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -672,6 +672,8 @@ class AuxiliaryVersionConfig(proto.Message): | |||
| 672 | 672 | class NetworkConfig(proto.Message): | |
| 673 | 673 | r"""Network configuration for the Dataproc Metastore service. | |
| 674 | 674 | ||
| 675 | + Next available ID: 4 | ||
| 676 | + | ||
| 675 | 677 | Attributes: | |
| 676 | 678 | consumers (MutableSequence[google.cloud.metastore_v1alpha.types.NetworkConfig.Consumer]): | |
| 677 | 679 | Immutable. The consumer-side network | |
@@ -686,6 +688,7 @@ class NetworkConfig(proto.Message): | |||
| 686 | 688 | class Consumer(proto.Message): | |
| 687 | 689 | r"""Contains information of the customer's network | |
| 688 | 690 | configurations. | |
| 691 | + Next available ID: 5 | ||
| 689 | 692 | ||
| 690 | 693 | ||
| 691 | 694 | .. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields | |
@@ -706,6 +709,9 @@ class Consumer(proto.Message): | |||
| 706 | 709 | endpoint_uri (str): | |
| 707 | 710 | Output only. The URI of the endpoint used to | |
| 708 | 711 | access the metastore service. | |
| 712 | + endpoint_location (str): | ||
| 713 | + Output only. The location of the endpoint URI. Format: | ||
| 714 | + ``projects/{project}/locations/{location}``. | ||
| 709 | 715 | """ | |
| 710 | 716 | ||
| 711 | 717 | subnetwork: str = proto.Field( | |
@@ -717,6 +723,10 @@ class Consumer(proto.Message): | |||
| 717 | 723 | proto.STRING, | |
| 718 | 724 | number=3, | |
| 719 | 725 | ) | |
| 726 | + endpoint_location: str = proto.Field( | ||
| 727 | + proto.STRING, | ||
| 728 | + number=4, | ||
| 729 | + ) | ||
| 720 | 730 | ||
| 721 | 731 | consumers: MutableSequence[Consumer] = proto.RepeatedField( | |
| 722 | 732 | proto.MESSAGE, | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13,4 +13,4 @@ | |||
| 13 | 13 | # See the License for the specific language governing permissions and | |
| 14 | 14 | # limitations under the License. | |
| 15 | 15 | # | |
| 16 | - __version__ = "1.12.1" # {x-release-please-version} | ||
| 16 | + __version__ = "0.0.0" # {x-release-please-version} | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -672,6 +672,8 @@ class AuxiliaryVersionConfig(proto.Message): | |||
| 672 | 672 | class NetworkConfig(proto.Message): | |
| 673 | 673 | r"""Network configuration for the Dataproc Metastore service. | |
| 674 | 674 | ||
| 675 | + Next available ID: 4 | ||
| 676 | + | ||
| 675 | 677 | Attributes: | |
| 676 | 678 | consumers (MutableSequence[google.cloud.metastore_v1beta.types.NetworkConfig.Consumer]): | |
| 677 | 679 | Immutable. The consumer-side network | |
@@ -686,6 +688,7 @@ class NetworkConfig(proto.Message): | |||
| 686 | 688 | class Consumer(proto.Message): | |
| 687 | 689 | r"""Contains information of the customer's network | |
| 688 | 690 | configurations. | |
| 691 | + Next available ID: 5 | ||
| 689 | 692 | ||
| 690 | 693 | ||
| 691 | 694 | .. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields | |
@@ -706,6 +709,9 @@ class Consumer(proto.Message): | |||
| 706 | 709 | endpoint_uri (str): | |
| 707 | 710 | Output only. The URI of the endpoint used to | |
| 708 | 711 | access the metastore service. | |
| 712 | + endpoint_location (str): | ||
| 713 | + Output only. The location of the endpoint URI. Format: | ||
| 714 | + ``projects/{project}/locations/{location}``. | ||
| 709 | 715 | """ | |
| 710 | 716 | ||
| 711 | 717 | subnetwork: str = proto.Field( | |
@@ -717,6 +723,10 @@ class Consumer(proto.Message): | |||
| 717 | 723 | proto.STRING, | |
| 718 | 724 | number=3, | |
| 719 | 725 | ) | |
| 726 | + endpoint_location: str = proto.Field( | ||
| 727 | + proto.STRING, | ||
| 728 | + number=4, | ||
| 729 | + ) | ||
| 720 | 730 | ||
| 721 | 731 | consumers: MutableSequence[Consumer] = proto.RepeatedField( | |
| 722 | 732 | proto.MESSAGE, | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -46,7 +46,7 @@ | |||
| 46 | 46 | UNIT_TEST_EXTRAS = [] | |
| 47 | 47 | UNIT_TEST_EXTRAS_BY_PYTHON = {} | |
| 48 | 48 | ||
| 49 | - SYSTEM_TEST_PYTHON_VERSIONS = [] | ||
| 49 | + SYSTEM_TEST_PYTHON_VERSIONS = ["3.8", "3.9", "3.10", "3.11"] | ||
| 50 | 50 | SYSTEM_TEST_STANDARD_DEPENDENCIES = [ | |
| 51 | 51 | "mock", | |
| 52 | 52 | "pytest", | |
@@ -405,24 +405,3 @@ def prerelease_deps(session): | |||
| 405 | 405 | session.run("python", "-c", "import google.auth; print(google.auth.__version__)") | |
| 406 | 406 | ||
| 407 | 407 | session.run("py.test", "tests/unit") | |
| 408 | - | ||
| 409 | - system_test_path = os.path.join("tests", "system.py") | ||
| 410 | - system_test_folder_path = os.path.join("tests", "system") | ||
| 411 | - | ||
| 412 | - # Only run system tests if found. | ||
| 413 | - if os.path.exists(system_test_path): | ||
| 414 | - session.run( | ||
| 415 | - "py.test", | ||
| 416 | - "--verbose", | ||
| 417 | - f"--junitxml=system_{session.python}_sponge_log.xml", | ||
| 418 | - system_test_path, | ||
| 419 | - *session.posargs, | ||
| 420 | - ) | ||
| 421 | - if os.path.exists(system_test_folder_path): | ||
| 422 | - session.run( | ||
| 423 | - "py.test", | ||
| 424 | - "--verbose", | ||
| 425 | - f"--junitxml=system_{session.python}_sponge_log.xml", | ||
| 426 | - system_test_folder_path, | ||
| 427 | - *session.posargs, | ||
| 428 | - ) | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -8,7 +8,7 @@ | |||
| 8 | 8 | ], | |
| 9 | 9 | "language": "PYTHON", | |
| 10 | 10 | "name": "google-cloud-dataproc-metastore", | |
| 11 | - "version": "1.12.1" | ||
| 11 | + "version": "0.1.0" | ||
| 12 | 12 | }, | |
| 13 | 13 | "snippets": [ | |
| 14 | 14 | { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments