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

Add BE for routing billing status #38153

Merged
merged 18 commits into from Feb 9, 2024
Merged

Add BE for routing billing status #38153

merged 18 commits into from Feb 9, 2024

Conversation

qwef
Copy link
Contributor

@qwef qwef commented Jan 25, 2024

Closes #38197

For #36367

Description

BE used for routing information from the client to harbormaster.

@metabase-bot metabase-bot bot added the .Team/AdminWebapp Admin and Webapp team label Jan 25, 2024
@qwef qwef added the no-backport Do not backport this PR to any branch label Jan 26, 2024
@qwef qwef marked this pull request as ready for review January 31, 2024 15:32
@qwef qwef requested a review from camsaul as a code owner January 31, 2024 15:32
Copy link

replay-io bot commented Jan 31, 2024

Status Complete ↗︎
Commit 26e2dfe
Results
⚠️ 3 Flaky
2297 Passed

@qwef qwef requested a review from a team February 5, 2024 16:22
@@ -28,6 +29,9 @@
;; and follow the convention.
(compojure/context
"/ee" []
(compojure/context
"/billing" []
billing/routes)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Should I add a premium feature here? Unsure because it seems like anyone with a token should access this, but no other route is like this.

Copy link
Member

Choose a reason for hiding this comment

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

This seems fine

Copy link
Member

@noahmoss noahmoss left a comment

Choose a reason for hiding this comment

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

lgtm

@@ -28,6 +29,9 @@
;; and follow the convention.
(compojure/context
"/ee" []
(compojure/context
"/billing" []
billing/routes)
Copy link
Member

Choose a reason for hiding this comment

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

This seems fine

[cheshire.core :as json]
[clj-http.client :as http]
[clojure.core.memoize :as memoize]
[compojure.core :as compojure :refer [GET PUT]]
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
[compojure.core :as compojure :refer [GET PUT]]
[compojure.core :as compojure :refer [GET]]

[metabase.util :as u]
[metabase.util.i18n :as i18n]
[toucan2.core :as t2])
(:import [com.fasterxml.jackson.core JsonParseException]))
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
(:import [com.fasterxml.jackson.core JsonParseException]))
(:import
(com.fasterxml.jackson.core JsonParseException)))

@qwef qwef enabled auto-merge (squash) February 7, 2024 17:15
@qwef qwef disabled auto-merge February 8, 2024 19:01
@qwef qwef enabled auto-merge (squash) February 9, 2024 13:37
@qwef qwef merged commit cc28ee6 into master Feb 9, 2024
106 checks passed
@qwef qwef deleted the jh-billing-status branch February 9, 2024 23:19
Copy link

github-actions bot commented Feb 9, 2024

@qwef Did you forget to add a milestone to the issue for this PR? When and where should I add a milestone?

@qwef qwef added this to the 0.49 milestone Feb 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-backport Do not backport this PR to any branch .Team/AdminWebapp Admin and Webapp team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add backend ee route to hit HM
4 participants