Skip to content

Commit

Permalink
chore: release v0.6.0 (#74)
Browse files Browse the repository at this point in the history
This PR updates package version to v0.6.0.

When I run `make generate`, a lot of test files were generated. Those
files were not generated by the sync GHA, not sure if it's intentional.

In the sync GHA, there's `make generate -o patch-spec -o clean`, which
doesn't generate the test scripts. On the other hand `make generate`
WILL generate the test scripts.
  • Loading branch information
ctreatma authored Jan 19, 2024
2 parents 838aaea + 4d52389 commit cdef172
Show file tree
Hide file tree
Showing 40 changed files with 1,747 additions and 578 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PACKAGE_VERSION=0.5.0
PACKAGE_VERSION=0.6.0

SPEC_PATCHED_FILE=./metal_openapi.fixed.yaml
OPENAPI_CODEGEN_TAG=v7.0.0
Expand Down
279 changes: 279 additions & 0 deletions equinix_metal/.openapi-generator/FILES
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.github/workflows/python.yml
.gitignore
.gitlab-ci.yml
.openapi-generator-ignore
.travis.yml
README.md
docs/ActivateHardwareReservationRequest.md
Expand Down Expand Up @@ -577,5 +578,283 @@ setup.cfg
setup.py
test-requirements.txt
test/__init__.py
test/test_activate_hardware_reservation_request.py
test/test_address.py
test/test_attribute.py
test/test_attribute_data.py
test/test_auth_token.py
test/test_auth_token_input.py
test/test_auth_token_list.py
test/test_auth_token_project.py
test/test_auth_token_user.py
test/test_authentication_api.py
test/test_batch.py
test/test_batches_api.py
test/test_batches_list.py
test/test_bgp_api.py
test/test_bgp_config.py
test/test_bgp_config_request_input.py
test/test_bgp_dynamic_neighbor.py
test/test_bgp_dynamic_neighbor_create_input.py
test/test_bgp_dynamic_neighbor_list.py
test/test_bgp_neighbor_data.py
test/test_bgp_route.py
test/test_bgp_session.py
test/test_bgp_session_input.py
test/test_bgp_session_list.py
test/test_bgp_session_neighbors.py
test/test_bond_port_data.py
test/test_capacity_api.py
test/test_capacity_check_per_facility_info.py
test/test_capacity_check_per_facility_list.py
test/test_capacity_check_per_metro_info.py
test/test_capacity_check_per_metro_list.py
test/test_capacity_input.py
test/test_capacity_level_per_baremetal.py
test/test_capacity_list.py
test/test_component.py
test/test_console_log_details_api.py
test/test_coordinates.py
test/test_create_device_request.py
test/test_create_email_input.py
test/test_create_metal_gateway_request.py
test/test_create_organization_interconnection_request.py
test/test_create_self_service_reservation_request.py
test/test_create_self_service_reservation_request_period.py
test/test_dedicated_port_create_input.py
test/test_device.py
test/test_device_action_input.py
test/test_device_actions_inner.py
test/test_device_create_in_facility_input.py
test/test_device_create_in_metro_input.py
test/test_device_create_input.py
test/test_device_created_by.py
test/test_device_health_rollup.py
test/test_device_list.py
test/test_device_metro.py
test/test_device_project_lite.py
test/test_device_update_input.py
test/test_device_usage.py
test/test_device_usage_list.py
test/test_devices_api.py
test/test_disk.py
test/test_email.py
test/test_email_input.py
test/test_emails_api.py
test/test_entitlement.py
test/test_error.py
test/test_event.py
test/test_event_list.py
test/test_events_api.py
test/test_fabric_service_token.py
test/test_facilities_api.py
test/test_facility.py
test/test_facility_input.py
test/test_facility_input_facility.py
test/test_facility_list.py
test/test_filesystem.py
test/test_find_ip_address_by_id200_response.py
test/test_find_metal_gateway_by_id200_response.py
test/test_find_traffic_timeframe_parameter.py
test/test_firmware_set.py
test/test_firmware_set_list_response.py
test/test_firmware_set_response.py
test/test_firmware_sets_api.py
test/test_global_bgp_range.py
test/test_global_bgp_range_list.py
test/test_hardware_reservation.py
test/test_hardware_reservation_list.py
test/test_hardware_reservations_api.py
test/test_href.py
test/test_incidents_api.py
test/test_instances_batch_create_input.py
test/test_instances_batch_create_input_batches_inner.py
test/test_interconnection.py
test/test_interconnection_list.py
test/test_interconnection_port.py
test/test_interconnection_port_list.py
test/test_interconnection_update_input.py
test/test_interconnections_api.py
test/test_invitation.py
test/test_invitation_input.py
test/test_invitation_list.py
test/test_invitations_api.py
test/test_invoice.py
test/test_invoice_list.py
test/test_invoices_api.py
test/test_ip_address.py
test/test_ip_addresses_api.py
test/test_ip_assignment.py
test/test_ip_assignment_input.py
test/test_ip_assignment_list.py
test/test_ip_assignment_metro.py
test/test_ip_assignment_update_input.py
test/test_ip_availabilities_list.py
test/test_ip_reservation.py
test/test_ip_reservation_facility.py
test/test_ip_reservation_list.py
test/test_ip_reservation_list_ip_addresses_inner.py
test/test_ip_reservation_metro.py
test/test_ip_reservation_request_input.py
test/test_license.py
test/test_license_create_input.py
test/test_license_list.py
test/test_license_update_input.py
test/test_licenses_api.py
test/test_line_item.py
test/test_membership.py
test/test_membership_input.py
test/test_membership_list.py
test/test_memberships_api.py
test/test_meta.py
test/test_metadata.py
test/test_metadata_network.py
test/test_metadata_network_network.py
test/test_metadata_network_network_bonding.py
test/test_metal_gateway.py
test/test_metal_gateway_create_input.py
test/test_metal_gateway_elastic_ip_create_input.py
test/test_metal_gateway_list.py
test/test_metal_gateway_list_metal_gateways_inner.py
test/test_metal_gateway_lite.py
test/test_metal_gateways_api.py
test/test_metro.py
test/test_metro_input.py
test/test_metro_list.py
test/test_metros_api.py
test/test_mount.py
test/test_move_hardware_reservation_request.py
test/test_new_password.py
test/test_operating_system.py
test/test_operating_system_list.py
test/test_operating_systems_api.py
test/test_organization.py
test/test_organization_input.py
test/test_organization_list.py
test/test_organizations_api.py
test/test_otps_api.py
test/test_parent_block.py
test/test_partition.py
test/test_password_reset_tokens_api.py
test/test_payment_method.py
test/test_payment_method_billing_address.py
test/test_payment_method_create_input.py
test/test_payment_method_list.py
test/test_payment_method_update_input.py
test/test_payment_methods_api.py
test/test_plan.py
test/test_plan_available_in_inner.py
test/test_plan_available_in_inner_price.py
test/test_plan_available_in_metros_inner.py
test/test_plan_list.py
test/test_plan_specs.py
test/test_plan_specs_cpus_inner.py
test/test_plan_specs_drives_inner.py
test/test_plan_specs_features.py
test/test_plan_specs_memory.py
test/test_plan_specs_nics_inner.py
test/test_plans_api.py
test/test_port.py
test/test_port_assign_input.py
test/test_port_convert_layer3_input.py
test/test_port_convert_layer3_input_request_ips_inner.py
test/test_port_data.py
test/test_port_vlan_assignment.py
test/test_port_vlan_assignment_batch.py
test/test_port_vlan_assignment_batch_create_input.py
test/test_port_vlan_assignment_batch_create_input_vlan_assignments_inner.py
test/test_port_vlan_assignment_batch_list.py
test/test_port_vlan_assignment_batch_vlan_assignments_inner.py
test/test_port_vlan_assignment_list.py
test/test_ports_api.py
test/test_project.py
test/test_project_create_from_root_input.py
test/test_project_create_input.py
test/test_project_id_name.py
test/test_project_list.py
test/test_project_update_input.py
test/test_project_usage.py
test/test_project_usage_list.py
test/test_projects_api.py
test/test_raid.py
test/test_recovery_code_list.py
test/test_request_ip_reservation201_response.py
test/test_request_ip_reservation_request.py
test/test_self_service_reservation_item_request.py
test/test_self_service_reservation_item_response.py
test/test_self_service_reservation_list.py
test/test_self_service_reservation_response.py
test/test_self_service_reservations_api.py
test/test_server_info.py
test/test_spot_market_api.py
test/test_spot_market_prices_list.py
test/test_spot_market_prices_per_metro_list.py
test/test_spot_market_prices_per_metro_report.py
test/test_spot_market_request.py
test/test_spot_market_request_create_input.py
test/test_spot_market_request_create_input_instance_parameters.py
test/test_spot_market_request_list.py
test/test_spot_market_request_metro.py
test/test_spot_prices_datapoints.py
test/test_spot_prices_history_report.py
test/test_spot_prices_per_baremetal.py
test/test_spot_prices_per_facility.py
test/test_spot_prices_per_new_facility.py
test/test_spot_prices_report.py
test/test_ssh_key.py
test/test_ssh_key_create_input.py
test/test_ssh_key_input.py
test/test_ssh_key_list.py
test/test_ssh_keys_api.py
test/test_storage.py
test/test_support_request_api.py
test/test_support_request_input.py
test/test_transfer_request.py
test/test_transfer_request_input.py
test/test_transfer_request_list.py
test/test_transfer_requests_api.py
test/test_two_factor_auth_api.py
test/test_update_email_input.py
test/test_usages_api.py
test/test_user.py
test/test_user_create_input.py
test/test_user_limited.py
test/test_user_list.py
test/test_user_lite.py
test/test_user_update_input.py
test/test_user_verification_tokens_api.py
test/test_userdata.py
test/test_userdata_api.py
test/test_users_api.py
test/test_verify_email.py
test/test_virtual_circuit.py
test/test_virtual_circuit_create_input.py
test/test_virtual_circuit_list.py
test/test_virtual_circuit_update_input.py
test/test_virtual_network.py
test/test_virtual_network_create_input.py
test/test_virtual_network_list.py
test/test_vlan_fabric_vc_create_input.py
test/test_vlan_virtual_circuit.py
test/test_vlan_virtual_circuit_create_input.py
test/test_vlan_virtual_circuit_update_input.py
test/test_vlans_api.py
test/test_vrf.py
test/test_vrf_create_input.py
test/test_vrf_fabric_vc_create_input.py
test/test_vrf_ip_reservation.py
test/test_vrf_ip_reservation_create_input.py
test/test_vrf_ip_reservation_list.py
test/test_vrf_list.py
test/test_vrf_metal_gateway.py
test/test_vrf_metal_gateway_create_input.py
test/test_vrf_route.py
test/test_vrf_route_create_input.py
test/test_vrf_route_list.py
test/test_vrf_route_update_input.py
test/test_vrf_update_input.py
test/test_vrf_virtual_circuit.py
test/test_vrf_virtual_circuit_create_input.py
test/test_vrf_virtual_circuit_update_input.py
test/test_vrfs_api.py
tox.ini
2 changes: 1 addition & 1 deletion equinix_metal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ To exclude resources, and optimize response delivery, use the `exclude` query pa
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 1.0.0
- Package version: 0.5.0
- Package version: 0.6.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen

## Requirements.
Expand Down
28 changes: 0 additions & 28 deletions equinix_metal/docs/DeviceProject.md

This file was deleted.

2 changes: 1 addition & 1 deletion equinix_metal/equinix_metal/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
""" # noqa: E501


__version__ = "0.5.0"
__version__ = "0.6.0"

# import apis into sdk package
from equinix_metal.api.authentication_api import AuthenticationApi
Expand Down
2 changes: 1 addition & 1 deletion equinix_metal/equinix_metal/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'metal-python/0.5.0'
self.user_agent = 'metal-python/0.6.0'
self.client_side_validation = configuration.client_side_validation

def __enter__(self):
Expand Down
2 changes: 1 addition & 1 deletion equinix_metal/equinix_metal/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ def to_debug_report(self):
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 1.0.0\n"\
"SDK Package Version: 0.5.0".\
"SDK Package Version: 0.6.0".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self):
Expand Down
Loading

0 comments on commit cdef172

Please sign in to comment.