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

feat: public APIs #904

Open
cre8ivejp opened this issue Apr 4, 2024 · 4 comments
Open

feat: public APIs #904

cre8ivejp opened this issue Apr 4, 2024 · 4 comments
Assignees

Comments

@cre8ivejp
Copy link
Member

To be able to manage the flags and other features outside of the console.

@cre8ivejp cre8ivejp moved this to Q4-2024 (Oct-Dec) in Bucketeer Roadmap Apr 4, 2024
@cre8ivejp cre8ivejp moved this from Q4-2024 (Oct-Dec) to Q3-2024 (Jul-Sep) in Bucketeer Roadmap Apr 4, 2024
@kentakozuka kentakozuka self-assigned this Jun 5, 2024
@kentakozuka
Copy link
Contributor

kentakozuka commented Jun 5, 2024

What we want

  • Giving up command
  • Diff b/w versions
  • We can still go with gRPC
    • Simplifying APIs is necessary in any case (OpenAPI/gRPC).
  • Start from Feature object

milestones

  1. Design auth
  • API Token
  1. Simplify gRPC API
    1. Start from Feature
      1. Create new APIs
        1. Create/Get/Update/Delete
    2. Give up commands

--- Phase 2

  1. (if necessary) implement HTTP with OpenAPI
  2. Do the same for all entities

@kentakozuka
Copy link
Contributor

kentakozuka commented Jun 10, 2024

System design

(Updated 2024-06-17)

sequenceDiagram
    3rdParty->>+APIGateway: GetFeature (gPRC)
    APIGateway->>+Backend (Feature service): GetFeature (gRPC)
Loading

@kentakozuka
Copy link
Contributor

todos

  1. Create a new API w/o command
  2. Create a new API in GTW
  3. Replace an old API with a new API in UI
  4. Deprecate/Remove an old API

@cre8ivejp cre8ivejp assigned hvn2k1 and unassigned kentakozuka Oct 18, 2024
@cre8ivejp cre8ivejp moved this to In Progress in Bucketeer Tasks Oct 18, 2024
hvn2k1 added a commit that referenced this issue Nov 11, 2024
…ment for push (#1292)

Part of #904

- These Push APIs are implemented with documentation:
  - CreatePush
  - ListPush
  - GetPush
  - UpdatePush
- Refactor publish feature apis to another file
hvn2k1 added a commit that referenced this issue Nov 15, 2024
…untV2 with no command support (#1321)

part of #904

- Implement CreateAccountV2 and Update/Disable/Enable/Delete AccountV2 with no command support
- Implement Unit test in API level
- Implement Unit test in domain level
- Implement e2e test case
hvn2k1 added a commit that referenced this issue Nov 20, 2024
…PIs (#1333)

Part of #904

- Init route and API docs for AccountV2 public API
- Implement read only APIs for AccountV2:
  - GetAccountV2
  - GetAccountV2ByEnvironment
  - GetMe
  - ListAccounts
- Implement unit test suite
hvn2k1 added a commit that referenced this issue Nov 22, 2024
…nd maintainer column (#1344)

To resolve #1331 and part of #904

- Save maintainer and APIKey
- No command support
hvn2k1 added a commit that referenced this issue Dec 19, 2024
…xpose http (#1387)

Part of #904

* Add organization_id in input param
* Define open api route and definition
hvn2k1 added a commit that referenced this issue Dec 19, 2024
Part of #904

* Implement public API create and update account
* Allow disable account via update
hvn2k1 added a commit that referenced this issue Dec 20, 2024
Part of #904

Expose http protocol for push APIs: create, update, get, list
hvn2k1 added a commit that referenced this issue Dec 26, 2024
… patterns from create and delete apis (#1394)

Part of #904

* Implement http get and create subscription
* Remove command pattern from create and delete subscription
* Return notification environment name
* Refactor: move all validate functions in notification pkg to validator.go in the same pkg
@hvn2k1
Copy link
Contributor

hvn2k1 commented Jan 9, 2025

Check list:

  • push
  • notification
  • account
  • api key
  • tag
  • feature
  • user segment
  • auto ops
  • flag trigger
  • audit log
  • environment
  • event counter
  • experiment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress Q2-2024 (Apr-Jun)
Development

No branches or pull requests

4 participants