Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(release): Update SDK to support VPC API generated on 2022-07-20 #21

Merged
merged 1 commit into from
Feb 27, 2023

Conversation

deepaksibm
Copy link
Member



$ make test-example

Finished tests in 1.073874s, 26.0738 tests/s, 44.6980 assertions/s.


Slowest tests:

0.118778s test_load_balancer_example#VpcV1Test
0.101293s test_security_group_example#VpcV1Test
0.094084s test_vpn_gateways_example#VpcV1Test
0.089218s test_instance_example#VpcV1Test
0.074379s test_vpn_servers#VpcV1Test
0.066959s test_instance_group_example#VpcV1Test
0.059296s test_bare_metal_servers#VpcV1Test
0.053077s test_subnets_example#VpcV1Test
0.047544s test_instance_template_example#VpcV1Test
0.046548s test_dedicated_host_example#VpcV1Test

28 tests, 48 assertions, 0 failures, 0 errors, 0 skips

Finished in 1.07451s
28 tests, 48 assertions, 0 failures, 0 errors, 0 skips

$ make test-unit


Finished tests in 0.359556s, 826.0188 tests/s, 667.4899 assertions/s.


Slowest tests:

0.003837s test_list_load_balancer_listeners#VpcV1Test
0.003505s test_create_vpc_route#VpcV1Test
0.003409s test_create_security_group#VpcV1Test
0.003402s test_delete_vpn_gateway#VpcV1Test
0.003316s test_list_floating_ips#VpcV1Test
0.003298s test_list_placement_groups#VpcV1Test
0.003286s test_create_network_acl_rule#VpcV1Test
0.003277s test_get_subnet_public_gateway#VpcV1Test
0.003167s test_get_placement_group#VpcV1Test
0.002958s test_delete_vpc_route#VpcV1Test

297 tests, 240 assertions, 0 failures, 0 errors, 0 skips

Finished in 0.35978s
297 tests, 240 assertions, 0 failures, 0 errors, 0 skips

@deepaksibm deepaksibm force-pushed the release-2023-02-14 branch 2 times, most recently from faa4f6c to e13898d Compare February 23, 2023 12:45
@deepaksibm
Copy link
Member Author

New features:

route_internet_ingress in vpc routing table
backup policy jobs
clone_policy for backup policy plan
enable_secure_boot, trusted_platform_module for  baremetal server
reserved ips listing for baremetal server network interface
clones support for snapshot
datapath for create_load_balancer


Copy link

@BShrivastav BShrivastav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unit tests:

Slowest tests:

0.078733s test_disconnect_vpn_client#VpcV1Test
0.045644s test_add_vpn_gateway_connection_local_cidr#VpcV1Test
0.033515s test_delete_public_gateway#VpcV1Test
0.033360s test_update_vpc_address_prefix#VpcV1Test
0.032007s test_get_subnet_public_gateway#VpcV1Test
0.023211s test_create_instance_console_access_token#VpcV1Test
0.018258s test_update_load_balancer_listener_policy_rule#VpcV1Test
0.015318s test_get_subnet_routing_table#VpcV1Test
0.015276s test_get_vpc_routing_table_route#VpcV1Test
0.013978s test_update_instance#VpcV1Test

297 tests, 240 assertions, 0 failures, 0 errors, 0 skips

Finished in 1.63655s
297 tests, 240 assertions, 0 failures, 0 errors, 0 skips

Example test with mock:

Slowest tests:

0.416015s test_load_balancer_example#VpcV1Test
0.377402s test_security_group_example#VpcV1Test
0.329037s test_vpn_gateways_example#VpcV1Test
0.275190s test_vpn_servers#VpcV1Test
0.250763s test_instance_example#VpcV1Test
0.226949s test_dedicated_host_example#VpcV1Test
0.225759s test_instance_group_example#VpcV1Test
0.225254s test_subnets_example#VpcV1Test
0.127899s test_bare_metal_servers#VpcV1Test
0.126404s test_back_up_policies#VpcV1Test

28 tests, 48 assertions, 0 failures, 0 errors, 0 skips

Finished in 3.42555s
28 tests, 48 assertions, 0 failures, 0 errors, 0 skips

@deepaksibm deepaksibm merged commit fde7a38 into master Feb 27, 2023
@deepaksibm deepaksibm deleted the release-2023-02-14 branch February 27, 2023 09:48
@ibm-vpc
Copy link
Collaborator

ibm-vpc commented Mar 14, 2023

🎉 This PR is included in version 0.6.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants