Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
606a523
feat: Add support for creating a configmap semaphore config using CLI…
djanjic Aug 1, 2025
e7a9afe
feat: Add support for creating a configmap semaphore config using CLI…
djanjic Aug 1, 2025
ffef115
feat: Add support for creating a configmap semaphore config using CLI…
djanjic Aug 1, 2025
45353f5
feat: Add support for creating a configmap semaphore config using CLI…
djanjic Aug 5, 2025
6bbe065
Merge branch 'main' into configmap-sync-cli
djanjic Aug 5, 2025
4bb278a
feat: Add support for creating a configmap semaphore config using CLI…
djanjic Aug 5, 2025
b4ebd04
feat: Add support for creating a configmap semaphore config using CLI…
djanjic Aug 5, 2025
a80091d
Merge branch 'main' into configmap-sync-cli
djanjic Aug 6, 2025
2c0ff47
feat: Add support for creating a configmap semaphore config using CLI…
djanjic Aug 7, 2025
ae265b1
Merge branch 'main' into configmap-sync-cli
djanjic Aug 7, 2025
218312e
Merge branch 'main' into configmap-sync-cli
djanjic Aug 11, 2025
2b16fbe
Merge branch 'main' into configmap-sync-cli
djanjic Aug 25, 2025
22118a0
feat: Add support for creating a configmap semaphore config using CLI…
djanjic Aug 28, 2025
bb7508c
Merge branch 'main' into configmap-sync-cli
djanjic Aug 28, 2025
5528275
feat: Add support for creating a configmap semaphore config using CLI…
djanjic Aug 28, 2025
6376e72
fix: added code to handle existing
isubasinghe Sep 9, 2025
6a4b120
fix: address feedback
isubasinghe Sep 16, 2025
1f95777
Merge branch 'main' into configmap-sync-cli
djanjic Sep 19, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: Add support for creating a configmap semaphore config using CLI.
…Fixes #14671

Signed-off-by: Darko Janjic <[email protected]>
  • Loading branch information
djanjic committed Aug 7, 2025
commit 2c0ff477f313d9357a0b5620aefae4e07af19fcd
12 changes: 6 additions & 6 deletions api/openapi-spec/swagger.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions pkg/apiclient/http1/sync-service-client.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type SyncServiceClient = Facade

func (h SyncServiceClient) GetSyncLimit(ctx context.Context, in *syncpkg.GetSyncLimitRequest, _ ...grpc.CallOption) (*syncpkg.SyncLimitResponse, error) {
out := &syncpkg.SyncLimitResponse{}
return out, h.Get(ctx, in, out, "/api/v1/sync/{namespace}/{name}")
return out, h.Get(ctx, in, out, "/api/v1/sync/{namespace}/{key}")
}

func (h SyncServiceClient) CreateSyncLimit(ctx context.Context, in *syncpkg.CreateSyncLimitRequest, _ ...grpc.CallOption) (*syncpkg.SyncLimitResponse, error) {
Expand All @@ -22,10 +22,10 @@ func (h SyncServiceClient) CreateSyncLimit(ctx context.Context, in *syncpkg.Crea

func (h SyncServiceClient) DeleteSyncLimit(ctx context.Context, in *syncpkg.DeleteSyncLimitRequest, _ ...grpc.CallOption) (*syncpkg.DeleteSyncLimitResponse, error) {
out := &syncpkg.DeleteSyncLimitResponse{}
return out, h.Delete(ctx, in, out, "/api/v1/sync/{namespace}/{name}")
return out, h.Delete(ctx, in, out, "/api/v1/sync/{namespace}/{key}")
}

func (h SyncServiceClient) UpdateSyncLimit(ctx context.Context, in *syncpkg.UpdateSyncLimitRequest, _ ...grpc.CallOption) (*syncpkg.SyncLimitResponse, error) {
out := &syncpkg.SyncLimitResponse{}
return out, h.Put(ctx, in, out, "/api/v1/sync/{namespace}/{name}")
return out, h.Put(ctx, in, out, "/api/v1/sync/{namespace}/{key}")
}
62 changes: 31 additions & 31 deletions pkg/apiclient/sync/sync.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

58 changes: 29 additions & 29 deletions pkg/apiclient/sync/sync.pb.gw.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions pkg/apiclient/sync/sync.proto
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,15 @@ service SyncService {
};
}
rpc GetSyncLimit(GetSyncLimitRequest) returns (SyncLimitResponse) {
option (google.api.http).get = "/api/v1/sync/{namespace}/{name}";
option (google.api.http).get = "/api/v1/sync/{namespace}/{key}";
};
rpc UpdateSyncLimit(UpdateSyncLimitRequest) returns (SyncLimitResponse) {
option (google.api.http) = {
put : "/api/v1/sync/{namespace}/{name}"
put : "/api/v1/sync/{namespace}/{key}"
body : "*"
};
}
rpc DeleteSyncLimit(DeleteSyncLimitRequest) returns (DeleteSyncLimitResponse) {
option (google.api.http).delete = "/api/v1/sync/{namespace}/{name}";
option (google.api.http).delete = "/api/v1/sync/{namespace}/{key}";
};
}
Loading
Loading