-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add http api for fetching accounts (#1015)
* Add http api for fetching accounts * Replace ObjectNode with Account type in HttpAccountResponse model * Fixes after review
- Loading branch information
1 parent
7e85714
commit dc27cf1
Showing
4 changed files
with
165 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
src/main/java/org/prebid/server/settings/proto/response/HttpAccountsResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package org.prebid.server.settings.proto.response; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Value; | ||
import org.prebid.server.settings.model.Account; | ||
|
||
import java.util.Map; | ||
|
||
@AllArgsConstructor(staticName = "of") | ||
@Value | ||
public class HttpAccountsResponse { | ||
|
||
Map<String, Account> accounts; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters