-
Notifications
You must be signed in to change notification settings - Fork 80
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
Fixes #26335: Port RestApiAccount api endpoint to zio-json #6173
base: branches/rudder/8.3
Are you sure you want to change the base?
Fixes #26335: Port RestApiAccount api endpoint to zio-json #6173
Conversation
45f1299
to
8260a11
Compare
@@ -72,10 +72,10 @@ class RestApiAccounts( | |||
|
|||
// used in ApiAccounts snippet to get the context path | |||
// of that service | |||
val relativePath: List[String] = "secure" :: "apiaccounts" :: Nil |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this file need to be deleted once we have checked the different use cases
@@ -1766,68 +1765,6 @@ object RudderConfigInit { | |||
) | |||
} | |||
|
|||
lazy val directiveApiService14 = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need to move them inline to avoid dreaded Platform restriction: a parameter list's length cannot exceed 254.
@@ -58,7 +60,7 @@ object DateFormaterService { | |||
ZonedDateTime.ofInstant(java.time.Instant.ofEpochMilli(d.getMillis), ZoneId.of(d.getZone.getID, ZoneId.SHORT_IDS)) | |||
} | |||
|
|||
object json { | |||
trait DateTimeCodecs { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make it a trait to ease composition with other codes
https://issues.rudder.io/issues/26335
WIP status at 2025-02-14
RestApiAccounts
must be deleted (butI did clean-up things related to the old format)On the backend side, the most notable change are that we have different data structures for different action and return values.
In particular:
ClearTextSecret
and theApiToken
(hashed).