From 4483251b28cd310cabba058e10e3d559eedb11df Mon Sep 17 00:00:00 2001 From: mfordjody <11638005@qq.com> Date: Sun, 22 Sep 2024 13:16:38 +0800 Subject: [PATCH] [chore] Changing the control surface directory location ci check --- {conf => app/dubbo-cp}/dubbo-cp.yaml | 0 generated/{ => templates}/generated.go | 4 ++-- mk/run.mk | 2 +- {test => tests}/app/consumer/deployment.yaml | 0 {test => tests}/app/consumer/service.yaml | 0 {test => tests}/app/provider/deployment.yaml | 0 {test => tests}/app/provider/service.yaml | 0 ...dubbo.apache.org_authenticationpolicies.yaml | 0 .../dubbo.apache.org_authorizationpolicies.yaml | 0 {test => tests}/cert/tls.crt | 17 +++++++++++++++++ {test => tests}/cert/tls.key | 17 +++++++++++++++++ {test => tests}/cp/cp.yaml | 0 .../cp/crds/dubbo.io_conditionroutes.yaml | 15 +++++++++++++++ .../cp/crds/dubbo.io_dataplaneinsights.yaml | 15 +++++++++++++++ .../cp/crds/dubbo.io_dataplanes.yaml | 15 +++++++++++++++ .../cp/crds/dubbo.io_datasources.yaml | 15 +++++++++++++++ .../cp/crds/dubbo.io_dynamicconfigs.yaml | 15 +++++++++++++++ {test => tests}/cp/crds/dubbo.io_mappings.yaml | 15 +++++++++++++++ {test => tests}/cp/crds/dubbo.io_meshes.yaml | 15 +++++++++++++++ .../cp/crds/dubbo.io_meshinsights.yaml | 15 +++++++++++++++ {test => tests}/cp/crds/dubbo.io_metadata.yaml | 15 +++++++++++++++ {test => tests}/cp/crds/dubbo.io_secrets.yaml | 15 +++++++++++++++ .../cp/crds/dubbo.io_servicenamemappings.yaml | 15 +++++++++++++++ {test => tests}/cp/crds/dubbo.io_tagroutes.yaml | 15 +++++++++++++++ .../cp/crds/dubbo.io_zoneegresses.yaml | 15 +++++++++++++++ .../cp/crds/dubbo.io_zoneegressinsights.yaml | 15 +++++++++++++++ .../cp/crds/dubbo.io_zoneingresses.yaml | 15 +++++++++++++++ .../cp/crds/dubbo.io_zoneingressinsights.yaml | 15 +++++++++++++++ .../cp/crds/dubbo.io_zoneinsights.yaml | 15 +++++++++++++++ {test => tests}/cp/crds/dubbo.io_zones.yaml | 15 +++++++++++++++ {test => tests}/dp/dp-bootstrap.yaml | 0 {test => tests}/dp/dp.Dockerfile | 0 {test => tests}/dp/dp/ingress.yaml | 0 .../dubbo.apache.org_conditionroutes.yaml | 0 .../dubbo.apache.org_dynamicconfigs.yaml | 0 .../dubbo.apache.org_servicenamemappings.yaml | 0 .../traffic/dubbo.apache.org_tagroutes.yaml | 0 37 files changed, 307 insertions(+), 3 deletions(-) rename {conf => app/dubbo-cp}/dubbo-cp.yaml (100%) rename generated/{ => templates}/generated.go (98%) rename {test => tests}/app/consumer/deployment.yaml (100%) rename {test => tests}/app/consumer/service.yaml (100%) rename {test => tests}/app/provider/deployment.yaml (100%) rename {test => tests}/app/provider/service.yaml (100%) rename {test => tests}/auth/dubbo.apache.org_authenticationpolicies.yaml (100%) rename {test => tests}/auth/dubbo.apache.org_authorizationpolicies.yaml (100%) rename {test => tests}/cert/tls.crt (62%) rename {test => tests}/cert/tls.key (68%) rename {test => tests}/cp/cp.yaml (100%) rename {test => tests}/cp/crds/dubbo.io_conditionroutes.yaml (69%) rename {test => tests}/cp/crds/dubbo.io_dataplaneinsights.yaml (69%) rename {test => tests}/cp/crds/dubbo.io_dataplanes.yaml (69%) rename {test => tests}/cp/crds/dubbo.io_datasources.yaml (69%) rename {test => tests}/cp/crds/dubbo.io_dynamicconfigs.yaml (69%) rename {test => tests}/cp/crds/dubbo.io_mappings.yaml (68%) rename {test => tests}/cp/crds/dubbo.io_meshes.yaml (68%) rename {test => tests}/cp/crds/dubbo.io_meshinsights.yaml (69%) rename {test => tests}/cp/crds/dubbo.io_metadata.yaml (68%) rename {test => tests}/cp/crds/dubbo.io_secrets.yaml (68%) rename {test => tests}/cp/crds/dubbo.io_servicenamemappings.yaml (71%) rename {test => tests}/cp/crds/dubbo.io_tagroutes.yaml (69%) rename {test => tests}/cp/crds/dubbo.io_zoneegresses.yaml (69%) rename {test => tests}/cp/crds/dubbo.io_zoneegressinsights.yaml (69%) rename {test => tests}/cp/crds/dubbo.io_zoneingresses.yaml (69%) rename {test => tests}/cp/crds/dubbo.io_zoneingressinsights.yaml (69%) rename {test => tests}/cp/crds/dubbo.io_zoneinsights.yaml (69%) rename {test => tests}/cp/crds/dubbo.io_zones.yaml (68%) rename {test => tests}/dp/dp-bootstrap.yaml (100%) rename {test => tests}/dp/dp.Dockerfile (100%) rename {test => tests}/dp/dp/ingress.yaml (100%) rename {test => tests}/traffic/dubbo.apache.org_conditionroutes.yaml (100%) rename {test => tests}/traffic/dubbo.apache.org_dynamicconfigs.yaml (100%) rename {test => tests}/traffic/dubbo.apache.org_servicenamemappings.yaml (100%) rename {test => tests}/traffic/dubbo.apache.org_tagroutes.yaml (100%) diff --git a/conf/dubbo-cp.yaml b/app/dubbo-cp/dubbo-cp.yaml similarity index 100% rename from conf/dubbo-cp.yaml rename to app/dubbo-cp/dubbo-cp.yaml diff --git a/generated/generated.go b/generated/templates/generated.go similarity index 98% rename from generated/generated.go rename to generated/templates/generated.go index 1e33d08a2..692e0945c 100644 --- a/generated/generated.go +++ b/generated/templates/generated.go @@ -15,7 +15,7 @@ * limitations under the License. */ -package generated +package templates import ( "archive/zip" @@ -36,7 +36,7 @@ var templatesPath = filepath.Join(relativePathToRoot, "templates") // This program generates zz_filesystem_generated.go file containing byte array variable named TemplatesZip. // The variable contains zip of "/templates" directory. func main() { - f, err := os.OpenFile(filepath.Join(relativePathToRoot, "generate/zz_filesystem_generated.go"), os.O_TRUNC|os.O_CREATE|os.O_WRONLY, 0o644) + f, err := os.OpenFile(filepath.Join(relativePathToRoot, "generated/zz_filesystem_generated.go"), os.O_TRUNC|os.O_CREATE|os.O_WRONLY, 0o644) if err != nil { log.Fatal(err) } diff --git a/mk/run.mk b/mk/run.mk index 20a405560..3e4e17038 100644 --- a/mk/run.mk +++ b/mk/run.mk @@ -13,4 +13,4 @@ run/xds-client: .PHONY: run/dubbo-cp run/dubbo-cp: - go run ./app/dubbo-cp/... run --log-level=debug -c conf/dubbo-cp.yaml + go run ./app/dubbo-cp/... run --log-level=debug -c app/dubbo-cp/dubbo-cp.yaml diff --git a/test/app/consumer/deployment.yaml b/tests/app/consumer/deployment.yaml similarity index 100% rename from test/app/consumer/deployment.yaml rename to tests/app/consumer/deployment.yaml diff --git a/test/app/consumer/service.yaml b/tests/app/consumer/service.yaml similarity index 100% rename from test/app/consumer/service.yaml rename to tests/app/consumer/service.yaml diff --git a/test/app/provider/deployment.yaml b/tests/app/provider/deployment.yaml similarity index 100% rename from test/app/provider/deployment.yaml rename to tests/app/provider/deployment.yaml diff --git a/test/app/provider/service.yaml b/tests/app/provider/service.yaml similarity index 100% rename from test/app/provider/service.yaml rename to tests/app/provider/service.yaml diff --git a/test/auth/dubbo.apache.org_authenticationpolicies.yaml b/tests/auth/dubbo.apache.org_authenticationpolicies.yaml similarity index 100% rename from test/auth/dubbo.apache.org_authenticationpolicies.yaml rename to tests/auth/dubbo.apache.org_authenticationpolicies.yaml diff --git a/test/auth/dubbo.apache.org_authorizationpolicies.yaml b/tests/auth/dubbo.apache.org_authorizationpolicies.yaml similarity index 100% rename from test/auth/dubbo.apache.org_authorizationpolicies.yaml rename to tests/auth/dubbo.apache.org_authorizationpolicies.yaml diff --git a/test/cert/tls.crt b/tests/cert/tls.crt similarity index 62% rename from test/cert/tls.crt rename to tests/cert/tls.crt index a01c40cad..ee8ec6bd2 100644 --- a/test/cert/tls.crt +++ b/tests/cert/tls.crt @@ -1,3 +1,20 @@ + + -----BEGIN CERTIFICATE----- MIIDkDCCAnigAwIBAgIURE5tI2W9BDoq160jOjvGBJ72xvcwDQYJKoZIhvcNAQEL BQAwSTELMAkGA1UEBhMCemgxCzAJBgNVBAcTAmJqMQswCQYDVQQKEwJiajELMAkG diff --git a/test/cert/tls.key b/tests/cert/tls.key similarity index 68% rename from test/cert/tls.key rename to tests/cert/tls.key index 087f566bd..96ebac5cf 100644 --- a/test/cert/tls.key +++ b/tests/cert/tls.key @@ -1,3 +1,20 @@ + + -----BEGIN RSA PRIVATE KEY----- MIIEpAIBAAKCAQEAtfa7oJmrKICO8z+xseSFAi73+xoT1QwYbxEXHghk8ztoKHqc 3sMY7g5q/rFu1cduFQd1BkC0P5gaJ4fVZx1+Unn2Yt2aPXRIJCVdghldcBtYvvoT diff --git a/test/cp/cp.yaml b/tests/cp/cp.yaml similarity index 100% rename from test/cp/cp.yaml rename to tests/cp/cp.yaml diff --git a/test/cp/crds/dubbo.io_conditionroutes.yaml b/tests/cp/crds/dubbo.io_conditionroutes.yaml similarity index 69% rename from test/cp/crds/dubbo.io_conditionroutes.yaml rename to tests/cp/crds/dubbo.io_conditionroutes.yaml index 053bce02d..a3aa558bf 100644 --- a/test/cp/crds/dubbo.io_conditionroutes.yaml +++ b/tests/cp/crds/dubbo.io_conditionroutes.yaml @@ -1,3 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# 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. + --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition diff --git a/test/cp/crds/dubbo.io_dataplaneinsights.yaml b/tests/cp/crds/dubbo.io_dataplaneinsights.yaml similarity index 69% rename from test/cp/crds/dubbo.io_dataplaneinsights.yaml rename to tests/cp/crds/dubbo.io_dataplaneinsights.yaml index 9bca9f470..8312537b2 100644 --- a/test/cp/crds/dubbo.io_dataplaneinsights.yaml +++ b/tests/cp/crds/dubbo.io_dataplaneinsights.yaml @@ -1,3 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# 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. + --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition diff --git a/test/cp/crds/dubbo.io_dataplanes.yaml b/tests/cp/crds/dubbo.io_dataplanes.yaml similarity index 69% rename from test/cp/crds/dubbo.io_dataplanes.yaml rename to tests/cp/crds/dubbo.io_dataplanes.yaml index 8c22bdd61..7d19bbefb 100644 --- a/test/cp/crds/dubbo.io_dataplanes.yaml +++ b/tests/cp/crds/dubbo.io_dataplanes.yaml @@ -1,3 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# 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. + --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition diff --git a/test/cp/crds/dubbo.io_datasources.yaml b/tests/cp/crds/dubbo.io_datasources.yaml similarity index 69% rename from test/cp/crds/dubbo.io_datasources.yaml rename to tests/cp/crds/dubbo.io_datasources.yaml index 8d71a7d43..d32fc8102 100644 --- a/test/cp/crds/dubbo.io_datasources.yaml +++ b/tests/cp/crds/dubbo.io_datasources.yaml @@ -1,3 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# 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. + --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition diff --git a/test/cp/crds/dubbo.io_dynamicconfigs.yaml b/tests/cp/crds/dubbo.io_dynamicconfigs.yaml similarity index 69% rename from test/cp/crds/dubbo.io_dynamicconfigs.yaml rename to tests/cp/crds/dubbo.io_dynamicconfigs.yaml index 1b0847b0c..9b22fbee9 100644 --- a/test/cp/crds/dubbo.io_dynamicconfigs.yaml +++ b/tests/cp/crds/dubbo.io_dynamicconfigs.yaml @@ -1,3 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# 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. + --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition diff --git a/test/cp/crds/dubbo.io_mappings.yaml b/tests/cp/crds/dubbo.io_mappings.yaml similarity index 68% rename from test/cp/crds/dubbo.io_mappings.yaml rename to tests/cp/crds/dubbo.io_mappings.yaml index b2dcd434a..5c93d70fe 100644 --- a/test/cp/crds/dubbo.io_mappings.yaml +++ b/tests/cp/crds/dubbo.io_mappings.yaml @@ -1,3 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# 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. + --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition diff --git a/test/cp/crds/dubbo.io_meshes.yaml b/tests/cp/crds/dubbo.io_meshes.yaml similarity index 68% rename from test/cp/crds/dubbo.io_meshes.yaml rename to tests/cp/crds/dubbo.io_meshes.yaml index 58f1aed31..7158965ec 100644 --- a/test/cp/crds/dubbo.io_meshes.yaml +++ b/tests/cp/crds/dubbo.io_meshes.yaml @@ -1,3 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# 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. + --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition diff --git a/test/cp/crds/dubbo.io_meshinsights.yaml b/tests/cp/crds/dubbo.io_meshinsights.yaml similarity index 69% rename from test/cp/crds/dubbo.io_meshinsights.yaml rename to tests/cp/crds/dubbo.io_meshinsights.yaml index 6f7d40a59..be4a4bf21 100644 --- a/test/cp/crds/dubbo.io_meshinsights.yaml +++ b/tests/cp/crds/dubbo.io_meshinsights.yaml @@ -1,3 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# 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. + --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition diff --git a/test/cp/crds/dubbo.io_metadata.yaml b/tests/cp/crds/dubbo.io_metadata.yaml similarity index 68% rename from test/cp/crds/dubbo.io_metadata.yaml rename to tests/cp/crds/dubbo.io_metadata.yaml index 8ed6f08b2..0bd893358 100644 --- a/test/cp/crds/dubbo.io_metadata.yaml +++ b/tests/cp/crds/dubbo.io_metadata.yaml @@ -1,3 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# 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. + --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition diff --git a/test/cp/crds/dubbo.io_secrets.yaml b/tests/cp/crds/dubbo.io_secrets.yaml similarity index 68% rename from test/cp/crds/dubbo.io_secrets.yaml rename to tests/cp/crds/dubbo.io_secrets.yaml index 18e47cd78..33329dc95 100644 --- a/test/cp/crds/dubbo.io_secrets.yaml +++ b/tests/cp/crds/dubbo.io_secrets.yaml @@ -1,3 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# 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. + --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition diff --git a/test/cp/crds/dubbo.io_servicenamemappings.yaml b/tests/cp/crds/dubbo.io_servicenamemappings.yaml similarity index 71% rename from test/cp/crds/dubbo.io_servicenamemappings.yaml rename to tests/cp/crds/dubbo.io_servicenamemappings.yaml index bac2250f3..e6a6b9b88 100644 --- a/test/cp/crds/dubbo.io_servicenamemappings.yaml +++ b/tests/cp/crds/dubbo.io_servicenamemappings.yaml @@ -1,3 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# 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. + --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition diff --git a/test/cp/crds/dubbo.io_tagroutes.yaml b/tests/cp/crds/dubbo.io_tagroutes.yaml similarity index 69% rename from test/cp/crds/dubbo.io_tagroutes.yaml rename to tests/cp/crds/dubbo.io_tagroutes.yaml index 20d09849e..55fbdc89b 100644 --- a/test/cp/crds/dubbo.io_tagroutes.yaml +++ b/tests/cp/crds/dubbo.io_tagroutes.yaml @@ -1,3 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# 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. + --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition diff --git a/test/cp/crds/dubbo.io_zoneegresses.yaml b/tests/cp/crds/dubbo.io_zoneegresses.yaml similarity index 69% rename from test/cp/crds/dubbo.io_zoneegresses.yaml rename to tests/cp/crds/dubbo.io_zoneegresses.yaml index 3437323b4..b7c866c2e 100644 --- a/test/cp/crds/dubbo.io_zoneegresses.yaml +++ b/tests/cp/crds/dubbo.io_zoneegresses.yaml @@ -1,3 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# 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. + --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition diff --git a/test/cp/crds/dubbo.io_zoneegressinsights.yaml b/tests/cp/crds/dubbo.io_zoneegressinsights.yaml similarity index 69% rename from test/cp/crds/dubbo.io_zoneegressinsights.yaml rename to tests/cp/crds/dubbo.io_zoneegressinsights.yaml index ad7c88f6c..22b43f920 100644 --- a/test/cp/crds/dubbo.io_zoneegressinsights.yaml +++ b/tests/cp/crds/dubbo.io_zoneegressinsights.yaml @@ -1,3 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# 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. + --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition diff --git a/test/cp/crds/dubbo.io_zoneingresses.yaml b/tests/cp/crds/dubbo.io_zoneingresses.yaml similarity index 69% rename from test/cp/crds/dubbo.io_zoneingresses.yaml rename to tests/cp/crds/dubbo.io_zoneingresses.yaml index afc12c481..a5f376124 100644 --- a/test/cp/crds/dubbo.io_zoneingresses.yaml +++ b/tests/cp/crds/dubbo.io_zoneingresses.yaml @@ -1,3 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# 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. + --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition diff --git a/test/cp/crds/dubbo.io_zoneingressinsights.yaml b/tests/cp/crds/dubbo.io_zoneingressinsights.yaml similarity index 69% rename from test/cp/crds/dubbo.io_zoneingressinsights.yaml rename to tests/cp/crds/dubbo.io_zoneingressinsights.yaml index 40a1d8632..7a4343e3d 100644 --- a/test/cp/crds/dubbo.io_zoneingressinsights.yaml +++ b/tests/cp/crds/dubbo.io_zoneingressinsights.yaml @@ -1,3 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# 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. + --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition diff --git a/test/cp/crds/dubbo.io_zoneinsights.yaml b/tests/cp/crds/dubbo.io_zoneinsights.yaml similarity index 69% rename from test/cp/crds/dubbo.io_zoneinsights.yaml rename to tests/cp/crds/dubbo.io_zoneinsights.yaml index cbfb604f9..41fb477bf 100644 --- a/test/cp/crds/dubbo.io_zoneinsights.yaml +++ b/tests/cp/crds/dubbo.io_zoneinsights.yaml @@ -1,3 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# 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. + --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition diff --git a/test/cp/crds/dubbo.io_zones.yaml b/tests/cp/crds/dubbo.io_zones.yaml similarity index 68% rename from test/cp/crds/dubbo.io_zones.yaml rename to tests/cp/crds/dubbo.io_zones.yaml index 23d55bb7a..a34a8491e 100644 --- a/test/cp/crds/dubbo.io_zones.yaml +++ b/tests/cp/crds/dubbo.io_zones.yaml @@ -1,3 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# 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. + --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition diff --git a/test/dp/dp-bootstrap.yaml b/tests/dp/dp-bootstrap.yaml similarity index 100% rename from test/dp/dp-bootstrap.yaml rename to tests/dp/dp-bootstrap.yaml diff --git a/test/dp/dp.Dockerfile b/tests/dp/dp.Dockerfile similarity index 100% rename from test/dp/dp.Dockerfile rename to tests/dp/dp.Dockerfile diff --git a/test/dp/dp/ingress.yaml b/tests/dp/dp/ingress.yaml similarity index 100% rename from test/dp/dp/ingress.yaml rename to tests/dp/dp/ingress.yaml diff --git a/test/traffic/dubbo.apache.org_conditionroutes.yaml b/tests/traffic/dubbo.apache.org_conditionroutes.yaml similarity index 100% rename from test/traffic/dubbo.apache.org_conditionroutes.yaml rename to tests/traffic/dubbo.apache.org_conditionroutes.yaml diff --git a/test/traffic/dubbo.apache.org_dynamicconfigs.yaml b/tests/traffic/dubbo.apache.org_dynamicconfigs.yaml similarity index 100% rename from test/traffic/dubbo.apache.org_dynamicconfigs.yaml rename to tests/traffic/dubbo.apache.org_dynamicconfigs.yaml diff --git a/test/traffic/dubbo.apache.org_servicenamemappings.yaml b/tests/traffic/dubbo.apache.org_servicenamemappings.yaml similarity index 100% rename from test/traffic/dubbo.apache.org_servicenamemappings.yaml rename to tests/traffic/dubbo.apache.org_servicenamemappings.yaml diff --git a/test/traffic/dubbo.apache.org_tagroutes.yaml b/tests/traffic/dubbo.apache.org_tagroutes.yaml similarity index 100% rename from test/traffic/dubbo.apache.org_tagroutes.yaml rename to tests/traffic/dubbo.apache.org_tagroutes.yaml