diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml index 1ba0f9e3ecdb60ec0c6c1a8e31e3dfc9c26a8654..50a645dc71c1f66f9500ce0103a3c1ed51ae9d91 100644 --- a/src/main/resources/application.yaml +++ b/src/main/resources/application.yaml @@ -1,3 +1,18 @@ +# Copyright 2021 Huawei Technologies Co., Ltd. +# +# Licensed 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. +# + zuul: routes: mec-developer: /mec-developer/** diff --git a/src/test/java/org/edgegallery/website/TestOAuthClientController.java b/src/test/java/org/edgegallery/website/TestOAuthClientController.java index 49bf8a8b12513229b6c32efbed77cb411baa8bf9..36b14e907516936c1a3fd8aa4a6c14d3949f9e4d 100644 --- a/src/test/java/org/edgegallery/website/TestOAuthClientController.java +++ b/src/test/java/org/edgegallery/website/TestOAuthClientController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2021 Huawei Technologies Co., Ltd. + * + * Licensed 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. + */ + package org.edgegallery.website; import static org.mockito.Mockito.mock;