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

Some minor changes/fixes to ux backend #2345

Merged

Conversation

nb-ohad
Copy link
Contributor

@nb-ohad nb-ohad commented Dec 24, 2023

  • Move content of services/types package to the services package
  • Move onboading_tokens content into its own sub-package
  • Separate msg handling into Distinct functions based on HTTP method
  • fix onboarding_tokens invalid content type

Signed-off-by: nb-ohad [email protected]

@nb-ohad nb-ohad requested a review from leelavg December 24, 2023 13:34
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 24, 2023
@nb-ohad nb-ohad force-pushed the ux-backend-pkg-structure branch 2 times, most recently from 9a2576f to 10b1f3c Compare December 24, 2023 13:49

var err error
func HandleMessage(w http.ResponseWriter, r *http.Request, tokenLifetimeInHours int) {
Copy link
Contributor

Choose a reason for hiding this comment

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

HandleRequest might sound and suit better for what we are doing 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

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

For me, Request is the vehicle, Message is the content we want to handle.

@leelavg
Copy link
Contributor

leelavg commented Dec 26, 2023

/hold

refer #2352

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Dec 26, 2023
@nb-ohad nb-ohad force-pushed the ux-backend-pkg-structure branch 2 times, most recently from b7779bb to 29fc004 Compare January 4, 2024 09:36
@rchikatw
Copy link
Contributor

rchikatw commented Jan 4, 2024

LGTM, Please fix the commit lint check

@nb-ohad nb-ohad force-pushed the ux-backend-pkg-structure branch 2 times, most recently from 365afca to 982ca02 Compare January 4, 2024 09:48
@leelavg
Copy link
Contributor

leelavg commented Jan 4, 2024

/unhold

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 4, 2024
@nb-ohad
Copy link
Contributor Author

nb-ohad commented Jan 4, 2024

/retest

@nb-ohad
Copy link
Contributor Author

nb-ohad commented Jan 4, 2024

/lgtm

Copy link
Contributor

openshift-ci bot commented Jan 4, 2024

@nb-ohad: you cannot LGTM your own PR.

In response to this:

/lgtm

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@leelavg
Copy link
Contributor

leelavg commented Jan 4, 2024

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 4, 2024
- Move content of services/types package to the services package
- Move onboading_tokens content into its own sub-package
- Separate msg handling into Distinct functions based on HTTP method
- fix onboarding_tokens invalid content type

Signed-off-by: nb-ohad <[email protected]>
@nb-ohad nb-ohad force-pushed the ux-backend-pkg-structure branch from 982ca02 to d1b45c0 Compare January 4, 2024 14:05
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Jan 4, 2024
@agarwal-mudit
Copy link
Member

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 4, 2024
Copy link
Contributor

openshift-ci bot commented Jan 4, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: agarwal-mudit, leelavg, nb-ohad

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [agarwal-mudit,nb-ohad]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit fba0390 into red-hat-storage:main Jan 4, 2024
11 checks passed
@leelavg
Copy link
Contributor

leelavg commented Jan 4, 2024

/cherry-pick fusion-hci-4.14

@openshift-cherrypick-robot

@leelavg: new pull request created: #2367

In response to this:

/cherry-pick fusion-hci-4.14

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@leelavg
Copy link
Contributor

leelavg commented Jan 5, 2024

/cherrypick release-4.15

@openshift-cherrypick-robot

@leelavg: new pull request created: #2376

In response to this:

/cherrypick release-4.15

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants