Skip to content

Commit 88795ac

Browse files
committed
[Feature] Authorization Service V0
1 parent a3ee668 commit 88795ac

14 files changed

+758
-6
lines changed

.golangci.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ linters-settings:
5757
alias: pbAuthenticationV1
5858
- pkg: github.com/arangodb/kube-arangodb/integrations/authentication/v1
5959
alias: pbImplAuthenticationV1
60+
- pkg: github.com/arangodb/kube-arangodb/integrations/authorization/v0/definition
61+
alias: pbAuthorizationV0
62+
- pkg: github.com/arangodb/kube-arangodb/integrations/authorization/v0
63+
alias: pbImplAuthorizationV0
6064
- pkg: github.com/arangodb/kube-arangodb/integrations/shared/v1/definition
6165
alias: pbSharedV1
6266
- pkg: github.com/arangodb/kube-arangodb/integrations/shared/v1

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
- (Feature) Extract GRPC Server
55
- (Feature) Extract Integration Service
66
- (Documentation) Move ML Extension example under "CRD overview"
7+
- (Feature) Authentication Service V1
8+
- (Feature) Authorization Service V0
79

810
## [1.2.37](https://github.com/arangodb/kube-arangodb/tree/1.2.37) (2024-01-22)
911
- (Documentation) Improve documentation rendering for GitHub Pages
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
//
2+
// DISCLAIMER
3+
//
4+
// Copyright 2024 ArangoDB GmbH, Cologne, Germany
5+
//
6+
// Licensed under the Apache License, Version 2.0 (the "License");
7+
// you may not use this file except in compliance with the License.
8+
// You may obtain a copy of the License at
9+
//
10+
// http://www.apache.org/licenses/LICENSE-2.0
11+
//
12+
// Unless required by applicable law or agreed to in writing, software
13+
// distributed under the License is distributed on an "AS IS" BASIS,
14+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
// See the License for the specific language governing permissions and
16+
// limitations under the License.
17+
//
18+
// Copyright holder is ArangoDB GmbH, Cologne, Germany
19+
//
20+
21+
package definition
22+
23+
const (
24+
Name = "authentication.v1"
25+
)

integrations/authentication/v1/definition/definition.pb.go

+4-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

integrations/authentication/v1/definition/definition.proto

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ syntax = "proto3";
2222

2323
import "google/protobuf/duration.proto";
2424

25-
option go_package = "github.com/arangodb/kube-arangodb/integrations/v1/definition";
25+
option go_package = "github.com/arangodb/kube-arangodb/integrations/authentication/v1/definition";
2626

2727
package authentication;
2828

integrations/authentication/v1/implementation.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ type implementation struct {
6868
}
6969

7070
func (i *implementation) Name() string {
71-
return "authentication.v1"
71+
return pbAuthenticationV1.Name
7272
}
7373

7474
func (i *implementation) Health() svc.HealthState {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
//
2+
// DISCLAIMER
3+
//
4+
// Copyright 2024 ArangoDB GmbH, Cologne, Germany
5+
//
6+
// Licensed under the Apache License, Version 2.0 (the "License");
7+
// you may not use this file except in compliance with the License.
8+
// You may obtain a copy of the License at
9+
//
10+
// http://www.apache.org/licenses/LICENSE-2.0
11+
//
12+
// Unless required by applicable law or agreed to in writing, software
13+
// distributed under the License is distributed on an "AS IS" BASIS,
14+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
// See the License for the specific language governing permissions and
16+
// limitations under the License.
17+
//
18+
// Copyright holder is ArangoDB GmbH, Cologne, Germany
19+
//
20+
21+
package definition
22+
23+
const (
24+
Name = "authorization.v0"
25+
)

0 commit comments

Comments
 (0)