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

Suma payg part1 #7174

Merged
merged 62 commits into from
Jul 25, 2023
Merged

Suma payg part1 #7174

merged 62 commits into from
Jul 25, 2023

Conversation

mcalmer
Copy link
Contributor

@mcalmer mcalmer commented Jun 21, 2023

What does this PR change?

First part of SUMA PAYG feature.

Port of SUSE/spacewalk#21819
Obsolete #7173

Changelogs

Make sure the changelogs entries you are adding are compliant with https://github.com/uyuni-project/uyuni/wiki/Contributing#changelogs and https://github.com/uyuni-project/uyuni/wiki/Contributing#uyuni-projectuyuni-repository

If you don't need a changelog check, please mark this checkbox:

  • No changelog needed

If you uncheck the checkbox after the PR is created, you will need to re-run changelog_test (see below)

Re-run a test

If you need to re-run a test, please mark the related checkbox, it will be unchecked automatically once it has re-run:

  • Re-run test "changelog_test"
  • Re-run test "backend_unittests_pgsql"
  • Re-run test "java_pgsql_tests"
  • Re-run test "schema_migration_test_pgsql"
  • Re-run test "susemanager_unittests"
  • Re-run test "javascript_lint"
  • Re-run test "spacecmd_unittests"

@github-actions
Copy link
Contributor

github-actions bot commented Jun 21, 2023

Suggested tests to cover this Pull Request
  • srv_monitoring
  • proxy_cobbler_pxeboot
  • srv_rename_hostname
  • proxy_branch_network
  • allcli_sanity
  • srv_handle_software_channels_with_ISS_v2
  • srv_create_activationkey
  • srv_sync_products
  • srv_menu
  • srv_power_management_redfish
  • srv_notifications
  • allcli_software_channels_dependencies
  • srv_payg_ssh_connection
  • min_change_software_channel
  • srv_distro_cobbler
  • allcli_reboot
  • min_timezone
  • minssh_action_chain
  • min_rhlike_remote_command
  • srv_security
  • allcli_overview_systems_details
  • srv_delete_channel_with_tool
  • min_rhlike_openscap_audit
  • srv_docker
  • allcli_action_chain
  • srv_check_reposync
  • min_deblike_salt_install_package
  • min_config_state_channel_api
  • srv_clone_channel_npn
  • srv_reportdb
  • buildhost_docker_build_image
  • min_config_state_channel_subscriptions
  • proxy_register_as_minion_with_script
  • min_bootstrap_ssh_key
  • srv_restart
  • allcli_software_channels
  • min_salt_minions_page
  • min_salt_mgrcompat_state
  • srv_create_repository
  • srv_advanced_search
  • srv_patches_page
  • min_deblike_remote_command
  • minssh_ansible_control_node
  • srv_disable_local_repos_off
  • srv_channel_api
  • srv_menu_filter
  • srv_change_password
  • proxy_retail_pxeboot_and_mass_import
  • srv_osimage
  • buildhost_docker_auth_registry
  • srv_push_package
  • srv_power_management
  • srv_docker_cve_audit
  • srv_dist_channel_mapping
  • srv_datepicker
  • min_salt_formulas_advanced
  • srv_change_task_schedule
  • srv_first_settings
  • srv_custom_system_info
  • min_bootstrap_negative
  • minssh_bootstrap_api
  • srv_task_status_engine
  • srv_activationkey_api
  • min_empty_system_profiles
  • srv_logfile
  • min_salt_pkgset_beacon
  • srv_salt
  • srv_maintenance_windows
  • srv_virtual_host_manager
  • srv_users
  • min_cve_audit
  • min_salt_formulas
  • min_deblike_ssh
  • min_ssh_tunnel
  • min_salt_migration
  • minssh_salt_install_package
  • srv_wait_for_reposync
  • srv_user_preferences
  • min_monitoring
  • srv_handle_config_channels_with_ISS_v2
  • srv_power_management_api
  • min_action_chain
  • srv_delete_channel_from_ui
  • min_deblike_salt
  • srv_content_lifecycle
  • min_salt_minion_details
  • min_bootstrap_script
  • sle_ssh_minion
  • sle_minion
  • srv_check_sync_source_packages
  • min_cve_id_new_syntax
  • srv_check_channels_page
  • min_move_from_and_to_proxy
  • min_rhlike_monitoring
  • srv_group_union_intersection
  • srv_scc_user_credentials
  • min_bootstrap_reactivation
  • srv_cobbler_profile
  • min_salt_install_package
  • min_check_patches_install
  • min_rhlike_salt
  • srv_salt_download_endpoint
  • srv_add_rocky8_repositories
  • min_bootstrap_api
  • min_rhlike_ssh
  • min_salt_openscap_audit
  • min_deblike_openscap_audit
  • min_recurring_action
  • min_deblike_salt_install_with_staging
  • min_rhlike_salt_install_package_and_patch
  • min_project_lotus
  • srv_channels_add
  • srv_manage_activationkey
  • minkvm_guests
  • min_activationkey
  • srv_enable_sync_products
  • srv_cobbler_distro
  • proxy_as_pod_basic_tests
  • srv_sync_channels
  • min_deblike_monitoring
  • min_salt_user_states
  • allcli_update_activationkeys
  • minssh_move_from_and_to_proxy
  • buildhost_bootstrap
  • srv_user_configuration_salt_states
  • allcli_config_channel
  • min_salt_lock_packages
  • min_salt_install_with_staging
  • srv_user_api
  • min_virthost
  • srv_organization_credentials
  • srv_cobbler_buildiso
  • srv_cobbler_sync
  • min_ansible_control_node
  • srv_docker_advanced_content_management
  • srv_mainpage
  • min_config_state_channel
  • allcli_system_group
  • min_retracted_patches
  • min_docker_api
  • buildhost_osimage_build_image
  • srv_manage_channels_page
  • min_custom_pkg_download_endpoint
  • min_salt_software_states

@jordimassaguerpla
Copy link
Contributor

Hi! Sorry there was an issue with podman. The issue is fixed in master. Could you please rebase your PR? Sorry for any inconvenience.

@@ -46,6 +46,7 @@ const PaygInfoEdit = (props: Props) => {
setItem(props.payg);
setErrors(null);
}}
disableEditing={!props.editing}
Copy link
Member

Choose a reason for hiding this comment

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

Here and elsewhere where this name is used, I would recommend making the prop name consistent across the board. payg.renderer.tsx uses the name readOnly which seems to have the same purpose, I think that name is better.

Copy link
Contributor

Choose a reason for hiding this comment

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

Fixed. Could please double check that I haven't missed any places where the property needs to be updated?

@mackdk
Copy link
Contributor

mackdk commented Jun 26, 2023

Something went wrong with the rebase

@juliogonzalez
Copy link
Member

juliogonzalez commented Jun 26, 2023

I am removing @uyuni-project/release-engineering from this PR as reviewers. Please add us again only when the PR is ready to review, as we are getting a lot of notifications and it seems you still need to rebase.

@juliogonzalez juliogonzalez removed the request for review from a team June 26, 2023 10:23
@jordimassaguerpla
Copy link
Contributor

@mcalmer Hi! You need to rebase to be able to run the acceptance tests. They are failing now because of wrong podman version. Sorry for any inconvenience.

mcalmer and others added 26 commits July 25, 2023 10:36
change also storing of credentials while processing auth data
…om Cloud RMT

Cloud RMT returns always empty results for subscriptions and repos.
But we need to run refreshRepositories to correctly enable free products
and repos
@mackdk mackdk merged commit ee1e120 into master Jul 25, 2023
13 of 18 checks passed
@mackdk mackdk deleted the suma-payg-part1 branch July 25, 2023 11:13
@github-actions
Copy link
Contributor

⚠️ No changelog entry has been added. @mcalmer, please add necessary changelog entries with an additional PR.

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

Successfully merging this pull request may close these issues.

6 participants