Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
11 changes: 0 additions & 11 deletions NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,3 @@ at The Apache Software Foundation (http://dubbo.apache.org/).

For additional information about the Apache Software Foundation, please see
<http://www.apache.org/>.

Portions of this file are based on code from the Istio project
(https://github.com/istio/istio), licensed under the Apache License, Version 2.0.

The following files contain code derived from Istio:
- pkg/env/var.go (derived from istio/pkg/env/var.go)
- pkg/features/security.go (derived from istio/pkg/features/security.go)
- pkg/filewatcher/filewatcher.go (derived from istio/pkg/filewatcher/filewatcher.go)
- pkg/filewatcher/worker.go (derived from istio/pkg/filewatcher/worker.go)
- pkg/h2c/wrapper.go (derived from istio/pkg/h2c/wrapper.go)
- pkg/keepalive/options.go (derived from istio/pkg/keepalive/options.go)
19 changes: 19 additions & 0 deletions api/fix_import.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/usr/bin/env bash

set -e

TARGET_PATH='github.com/apache/dubbo-kubernetes/api/type/v1alpha3'

find . -name "*.go" -type f | while read -r file; do
sed -i.bak \
-e 's|v1alpha3[[:space:]]*"/api/type/v1alpha3"|v1alpha3 "'"$TARGET_PATH"'"|g' \
"$file"

sed -i.bak \
-e 's|"/api/type/v1alpha3"|"'"$TARGET_PATH"'"|g' \
"$file"

rm -f "${file}.bak"
done

echo "Fixed Success:/api/type/v1alpha3 -> ${TARGET_PATH}"
211 changes: 211 additions & 0 deletions api/security/v1alpha3/ca.pb.go

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

24 changes: 23 additions & 1 deletion api/security/v1alpha3/ca.proto
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,26 @@
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// limitations under the License.

syntax = "proto3";

package dubbo.v1.auth;

import "google/protobuf/struct.proto";

option go_package = "/api/security/v1alpha3";

message DubboCertificateRequest {
string csr = 1;
int64 validity_duration = 2;
google.protobuf.Struct metadata = 3;
}

message DubboCertificateResponse {
repeated string cert_chain = 1;
}

service DubboCertificateService {
rpc CreateCertificate(DubboCertificateRequest) returns (DubboCertificateResponse) {}
}
48 changes: 48 additions & 0 deletions api/security/v1alpha3/ca_deepcopy.gen.go

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

Loading
Loading