From d900920923ac8acae3c42e59fdc8eeb0308aba3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Valentin=20Br=C3=BCckel?= Date: Wed, 6 Sep 2023 14:53:46 +0200 Subject: [PATCH] Add copyright note and Apache license to 34 files --- .../com/predic8/membrane/core/azure/AzureDns.java | 13 +++++++++++++ .../membrane/core/azure/AzureIdentity.java | 13 +++++++++++++ .../membrane/core/azure/AzureTableStorage.java | 13 +++++++++++++ .../membrane/core/azure/api/AzureApiClient.java | 13 +++++++++++++ .../core/azure/api/HttpClientConfigurable.java | 13 +++++++++++++ .../core/azure/api/auth/AuthenticationApi.java | 13 +++++++++++++ .../core/azure/api/dns/DnsProvisionable.java | 13 +++++++++++++ .../membrane/core/azure/api/dns/DnsRecordApi.java | 13 +++++++++++++ .../azure/api/dns/DnsRecordCommandExecutor.java | 13 +++++++++++++ .../core/azure/api/dns/DnsRecordType.java | 13 +++++++++++++ .../azure/api/dns/SupportedDnsRecordType.java | 13 +++++++++++++ .../core/azure/api/dns/TxtRecordBuilder.java | 13 +++++++++++++ .../tablestorage/TableEntityCommandExecutor.java | 13 +++++++++++++ .../azure/api/tablestorage/TableStorageApi.java | 13 +++++++++++++ .../tablestorage/TableStorageCommandExecutor.java | 13 +++++++++++++ .../core/interceptor/jwt/JWTException.java | 13 +++++++++++++ .../core/interceptor/jwt/JsonWebToken.java | 13 +++++++++++++ .../lang/spel/AwareExchangePropertyAccessor.java | 13 +++++++++++++ .../core/lang/spel/spelable/SPeLProperties.java | 13 +++++++++++++ .../lang/spel/spelable/SPeLablePropertyAware.java | 13 +++++++++++++ .../membrane/core/lang/spel/spelable/SPelMap.java | 13 +++++++++++++ .../core/lang/spel/spelable/SpeLHeader.java | 13 +++++++++++++ .../core/lang/spel/spelable/SpeLJwtClaims.java | 13 +++++++++++++ .../ssl/TLSUnrecognizedNameException.java | 13 +++++++++++++ .../ssl/acme/AcmeAzureTableApiStorageEngine.java | 13 +++++++++++++ .../azure/AcmeAzureTableApiStorageEngineTest.java | 14 +++++++++++++- .../membrane/core/azure/AzureApiClientTest.java | 13 +++++++++++++ .../membrane/core/azure/AzureDnsApiSimulator.java | 13 +++++++++++++ .../jwt/JwtAuthInterceptorUnitTests.java | 13 +++++++++++++ .../interceptor/ratelimit/LazyRateLimitTest.java | 15 ++++++++++++++- .../lang/spel/ExchangeEvaluationContextTest.java | 15 ++++++++++++++- .../membrane/core/openapi/model/MessageTest.java | 15 ++++++++++++++- .../serviceproxy/OpenAPIProxyServiceKeyTest.java | 15 ++++++++++++++- .../validators/ContentTypeWildcardTests.java | 13 +++++++++++++ 34 files changed, 446 insertions(+), 5 deletions(-) diff --git a/core/src/main/java/com/predic8/membrane/core/azure/AzureDns.java b/core/src/main/java/com/predic8/membrane/core/azure/AzureDns.java index f26310f81..2e1741da0 100644 --- a/core/src/main/java/com/predic8/membrane/core/azure/AzureDns.java +++ b/core/src/main/java/com/predic8/membrane/core/azure/AzureDns.java @@ -1,3 +1,16 @@ +/* Copyright 2023 predic8 GmbH, www.predic8.com + + 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 com.predic8.membrane.core.azure; import com.predic8.membrane.annot.MCAttribute; diff --git a/core/src/main/java/com/predic8/membrane/core/azure/AzureIdentity.java b/core/src/main/java/com/predic8/membrane/core/azure/AzureIdentity.java index 8a1fe5ad5..3d7ed50e8 100644 --- a/core/src/main/java/com/predic8/membrane/core/azure/AzureIdentity.java +++ b/core/src/main/java/com/predic8/membrane/core/azure/AzureIdentity.java @@ -1,3 +1,16 @@ +/* Copyright 2023 predic8 GmbH, www.predic8.com + + 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 com.predic8.membrane.core.azure; import com.predic8.membrane.annot.MCAttribute; diff --git a/core/src/main/java/com/predic8/membrane/core/azure/AzureTableStorage.java b/core/src/main/java/com/predic8/membrane/core/azure/AzureTableStorage.java index 31dff3173..e34c603b8 100644 --- a/core/src/main/java/com/predic8/membrane/core/azure/AzureTableStorage.java +++ b/core/src/main/java/com/predic8/membrane/core/azure/AzureTableStorage.java @@ -1,3 +1,16 @@ +/* Copyright 2023 predic8 GmbH, www.predic8.com + + 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 com.predic8.membrane.core.azure; import com.predic8.membrane.annot.MCAttribute; diff --git a/core/src/main/java/com/predic8/membrane/core/azure/api/AzureApiClient.java b/core/src/main/java/com/predic8/membrane/core/azure/api/AzureApiClient.java index 1f1ac85c6..033a1dd7c 100644 --- a/core/src/main/java/com/predic8/membrane/core/azure/api/AzureApiClient.java +++ b/core/src/main/java/com/predic8/membrane/core/azure/api/AzureApiClient.java @@ -1,3 +1,16 @@ +/* Copyright 2023 predic8 GmbH, www.predic8.com + + 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 com.predic8.membrane.core.azure.api; import com.predic8.membrane.core.azure.AzureDns; diff --git a/core/src/main/java/com/predic8/membrane/core/azure/api/HttpClientConfigurable.java b/core/src/main/java/com/predic8/membrane/core/azure/api/HttpClientConfigurable.java index 91ccd7c1e..20b2bc66d 100644 --- a/core/src/main/java/com/predic8/membrane/core/azure/api/HttpClientConfigurable.java +++ b/core/src/main/java/com/predic8/membrane/core/azure/api/HttpClientConfigurable.java @@ -1,3 +1,16 @@ +/* Copyright 2023 predic8 GmbH, www.predic8.com + + 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 com.predic8.membrane.core.azure.api; import com.predic8.membrane.core.transport.http.HttpClient; diff --git a/core/src/main/java/com/predic8/membrane/core/azure/api/auth/AuthenticationApi.java b/core/src/main/java/com/predic8/membrane/core/azure/api/auth/AuthenticationApi.java index 9998f9b7c..6df1d6b28 100644 --- a/core/src/main/java/com/predic8/membrane/core/azure/api/auth/AuthenticationApi.java +++ b/core/src/main/java/com/predic8/membrane/core/azure/api/auth/AuthenticationApi.java @@ -1,3 +1,16 @@ +/* Copyright 2023 predic8 GmbH, www.predic8.com + + 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 com.predic8.membrane.core.azure.api.auth; import com.fasterxml.jackson.databind.ObjectMapper; diff --git a/core/src/main/java/com/predic8/membrane/core/azure/api/dns/DnsProvisionable.java b/core/src/main/java/com/predic8/membrane/core/azure/api/dns/DnsProvisionable.java index f561d7344..4396856fe 100644 --- a/core/src/main/java/com/predic8/membrane/core/azure/api/dns/DnsProvisionable.java +++ b/core/src/main/java/com/predic8/membrane/core/azure/api/dns/DnsProvisionable.java @@ -1,3 +1,16 @@ +/* Copyright 2023 predic8 GmbH, www.predic8.com + + 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 com.predic8.membrane.core.azure.api.dns; public interface DnsProvisionable { diff --git a/core/src/main/java/com/predic8/membrane/core/azure/api/dns/DnsRecordApi.java b/core/src/main/java/com/predic8/membrane/core/azure/api/dns/DnsRecordApi.java index dc4c00ebd..4294cb385 100644 --- a/core/src/main/java/com/predic8/membrane/core/azure/api/dns/DnsRecordApi.java +++ b/core/src/main/java/com/predic8/membrane/core/azure/api/dns/DnsRecordApi.java @@ -1,3 +1,16 @@ +/* Copyright 2023 predic8 GmbH, www.predic8.com + + 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 com.predic8.membrane.core.azure.api.dns; import com.predic8.membrane.core.azure.AzureDns; diff --git a/core/src/main/java/com/predic8/membrane/core/azure/api/dns/DnsRecordCommandExecutor.java b/core/src/main/java/com/predic8/membrane/core/azure/api/dns/DnsRecordCommandExecutor.java index 96c4848e8..c92a9ad9b 100644 --- a/core/src/main/java/com/predic8/membrane/core/azure/api/dns/DnsRecordCommandExecutor.java +++ b/core/src/main/java/com/predic8/membrane/core/azure/api/dns/DnsRecordCommandExecutor.java @@ -1,3 +1,16 @@ +/* Copyright 2023 predic8 GmbH, www.predic8.com + + 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 com.predic8.membrane.core.azure.api.dns; import com.fasterxml.jackson.databind.JsonNode; diff --git a/core/src/main/java/com/predic8/membrane/core/azure/api/dns/DnsRecordType.java b/core/src/main/java/com/predic8/membrane/core/azure/api/dns/DnsRecordType.java index eab82df1d..6f525efd5 100644 --- a/core/src/main/java/com/predic8/membrane/core/azure/api/dns/DnsRecordType.java +++ b/core/src/main/java/com/predic8/membrane/core/azure/api/dns/DnsRecordType.java @@ -1,3 +1,16 @@ +/* Copyright 2023 predic8 GmbH, www.predic8.com + + 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 com.predic8.membrane.core.azure.api.dns; public enum DnsRecordType { diff --git a/core/src/main/java/com/predic8/membrane/core/azure/api/dns/SupportedDnsRecordType.java b/core/src/main/java/com/predic8/membrane/core/azure/api/dns/SupportedDnsRecordType.java index b8332fc36..b02e51ef0 100644 --- a/core/src/main/java/com/predic8/membrane/core/azure/api/dns/SupportedDnsRecordType.java +++ b/core/src/main/java/com/predic8/membrane/core/azure/api/dns/SupportedDnsRecordType.java @@ -1,3 +1,16 @@ +/* Copyright 2023 predic8 GmbH, www.predic8.com + + 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 com.predic8.membrane.core.azure.api.dns; import java.util.List; diff --git a/core/src/main/java/com/predic8/membrane/core/azure/api/dns/TxtRecordBuilder.java b/core/src/main/java/com/predic8/membrane/core/azure/api/dns/TxtRecordBuilder.java index 906caf44a..4c6fb67e0 100644 --- a/core/src/main/java/com/predic8/membrane/core/azure/api/dns/TxtRecordBuilder.java +++ b/core/src/main/java/com/predic8/membrane/core/azure/api/dns/TxtRecordBuilder.java @@ -1,3 +1,16 @@ +/* Copyright 2023 predic8 GmbH, www.predic8.com + + 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 com.predic8.membrane.core.azure.api.dns; import java.util.ArrayList; diff --git a/core/src/main/java/com/predic8/membrane/core/azure/api/tablestorage/TableEntityCommandExecutor.java b/core/src/main/java/com/predic8/membrane/core/azure/api/tablestorage/TableEntityCommandExecutor.java index 177f5bdce..faf03c466 100644 --- a/core/src/main/java/com/predic8/membrane/core/azure/api/tablestorage/TableEntityCommandExecutor.java +++ b/core/src/main/java/com/predic8/membrane/core/azure/api/tablestorage/TableEntityCommandExecutor.java @@ -1,3 +1,16 @@ +/* Copyright 2023 predic8 GmbH, www.predic8.com + + 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 com.predic8.membrane.core.azure.api.tablestorage; import com.fasterxml.jackson.databind.JsonNode; diff --git a/core/src/main/java/com/predic8/membrane/core/azure/api/tablestorage/TableStorageApi.java b/core/src/main/java/com/predic8/membrane/core/azure/api/tablestorage/TableStorageApi.java index fff7093b8..91825ed33 100644 --- a/core/src/main/java/com/predic8/membrane/core/azure/api/tablestorage/TableStorageApi.java +++ b/core/src/main/java/com/predic8/membrane/core/azure/api/tablestorage/TableStorageApi.java @@ -1,3 +1,16 @@ +/* Copyright 2023 predic8 GmbH, www.predic8.com + + 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 com.predic8.membrane.core.azure.api.tablestorage; import com.predic8.membrane.core.azure.AzureTableStorage; diff --git a/core/src/main/java/com/predic8/membrane/core/azure/api/tablestorage/TableStorageCommandExecutor.java b/core/src/main/java/com/predic8/membrane/core/azure/api/tablestorage/TableStorageCommandExecutor.java index fcbcdfb18..c8eddb0b1 100644 --- a/core/src/main/java/com/predic8/membrane/core/azure/api/tablestorage/TableStorageCommandExecutor.java +++ b/core/src/main/java/com/predic8/membrane/core/azure/api/tablestorage/TableStorageCommandExecutor.java @@ -1,3 +1,16 @@ +/* Copyright 2023 predic8 GmbH, www.predic8.com + + 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 com.predic8.membrane.core.azure.api.tablestorage; import com.fasterxml.jackson.databind.ObjectMapper; diff --git a/core/src/main/java/com/predic8/membrane/core/interceptor/jwt/JWTException.java b/core/src/main/java/com/predic8/membrane/core/interceptor/jwt/JWTException.java index 0ef56cb63..a9db230d5 100644 --- a/core/src/main/java/com/predic8/membrane/core/interceptor/jwt/JWTException.java +++ b/core/src/main/java/com/predic8/membrane/core/interceptor/jwt/JWTException.java @@ -1,3 +1,16 @@ +/* Copyright 2023 predic8 GmbH, www.predic8.com + + 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 com.predic8.membrane.core.interceptor.jwt; public class JWTException extends Exception { diff --git a/core/src/main/java/com/predic8/membrane/core/interceptor/jwt/JsonWebToken.java b/core/src/main/java/com/predic8/membrane/core/interceptor/jwt/JsonWebToken.java index 15ddff296..6ba309e07 100644 --- a/core/src/main/java/com/predic8/membrane/core/interceptor/jwt/JsonWebToken.java +++ b/core/src/main/java/com/predic8/membrane/core/interceptor/jwt/JsonWebToken.java @@ -1,3 +1,16 @@ +/* Copyright 2023 predic8 GmbH, www.predic8.com + + 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 com.predic8.membrane.core.interceptor.jwt; import com.fasterxml.jackson.databind.ObjectMapper; diff --git a/core/src/main/java/com/predic8/membrane/core/lang/spel/AwareExchangePropertyAccessor.java b/core/src/main/java/com/predic8/membrane/core/lang/spel/AwareExchangePropertyAccessor.java index 529518a75..808d0b11a 100644 --- a/core/src/main/java/com/predic8/membrane/core/lang/spel/AwareExchangePropertyAccessor.java +++ b/core/src/main/java/com/predic8/membrane/core/lang/spel/AwareExchangePropertyAccessor.java @@ -1,3 +1,16 @@ +/* Copyright 2023 predic8 GmbH, www.predic8.com + + 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 com.predic8.membrane.core.lang.spel; import com.predic8.membrane.core.lang.spel.spelable.SPeLablePropertyAware; diff --git a/core/src/main/java/com/predic8/membrane/core/lang/spel/spelable/SPeLProperties.java b/core/src/main/java/com/predic8/membrane/core/lang/spel/spelable/SPeLProperties.java index faf5c500d..c54c1af98 100644 --- a/core/src/main/java/com/predic8/membrane/core/lang/spel/spelable/SPeLProperties.java +++ b/core/src/main/java/com/predic8/membrane/core/lang/spel/spelable/SPeLProperties.java @@ -1,3 +1,16 @@ +/* Copyright 2023 predic8 GmbH, www.predic8.com + + 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 com.predic8.membrane.core.lang.spel.spelable; import org.jose4j.jwt.JwtClaims; diff --git a/core/src/main/java/com/predic8/membrane/core/lang/spel/spelable/SPeLablePropertyAware.java b/core/src/main/java/com/predic8/membrane/core/lang/spel/spelable/SPeLablePropertyAware.java index 74d96b5c1..b8a7fd464 100644 --- a/core/src/main/java/com/predic8/membrane/core/lang/spel/spelable/SPeLablePropertyAware.java +++ b/core/src/main/java/com/predic8/membrane/core/lang/spel/spelable/SPeLablePropertyAware.java @@ -1,3 +1,16 @@ +/* Copyright 2023 predic8 GmbH, www.predic8.com + + 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 com.predic8.membrane.core.lang.spel.spelable; import org.springframework.expression.EvaluationContext; diff --git a/core/src/main/java/com/predic8/membrane/core/lang/spel/spelable/SPelMap.java b/core/src/main/java/com/predic8/membrane/core/lang/spel/spelable/SPelMap.java index 01dff0cb7..c8ea0ad46 100644 --- a/core/src/main/java/com/predic8/membrane/core/lang/spel/spelable/SPelMap.java +++ b/core/src/main/java/com/predic8/membrane/core/lang/spel/spelable/SPelMap.java @@ -1,3 +1,16 @@ +/* Copyright 2023 predic8 GmbH, www.predic8.com + + 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 com.predic8.membrane.core.lang.spel.spelable; import org.springframework.expression.EvaluationContext; diff --git a/core/src/main/java/com/predic8/membrane/core/lang/spel/spelable/SpeLHeader.java b/core/src/main/java/com/predic8/membrane/core/lang/spel/spelable/SpeLHeader.java index aa397f4f1..11ec960dc 100644 --- a/core/src/main/java/com/predic8/membrane/core/lang/spel/spelable/SpeLHeader.java +++ b/core/src/main/java/com/predic8/membrane/core/lang/spel/spelable/SpeLHeader.java @@ -1,3 +1,16 @@ +/* Copyright 2023 predic8 GmbH, www.predic8.com + + 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 com.predic8.membrane.core.lang.spel.spelable; import com.predic8.membrane.core.http.Header; diff --git a/core/src/main/java/com/predic8/membrane/core/lang/spel/spelable/SpeLJwtClaims.java b/core/src/main/java/com/predic8/membrane/core/lang/spel/spelable/SpeLJwtClaims.java index a1ab039c6..47d6bd9c2 100644 --- a/core/src/main/java/com/predic8/membrane/core/lang/spel/spelable/SpeLJwtClaims.java +++ b/core/src/main/java/com/predic8/membrane/core/lang/spel/spelable/SpeLJwtClaims.java @@ -1,3 +1,16 @@ +/* Copyright 2023 predic8 GmbH, www.predic8.com + + 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 com.predic8.membrane.core.lang.spel.spelable; import org.jose4j.jwt.JwtClaims; diff --git a/core/src/main/java/com/predic8/membrane/core/transport/ssl/TLSUnrecognizedNameException.java b/core/src/main/java/com/predic8/membrane/core/transport/ssl/TLSUnrecognizedNameException.java index 8bf07341e..d6bbe3c36 100644 --- a/core/src/main/java/com/predic8/membrane/core/transport/ssl/TLSUnrecognizedNameException.java +++ b/core/src/main/java/com/predic8/membrane/core/transport/ssl/TLSUnrecognizedNameException.java @@ -1,3 +1,16 @@ +/* Copyright 2023 predic8 GmbH, www.predic8.com + + 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 com.predic8.membrane.core.transport.ssl; import java.io.*; diff --git a/core/src/main/java/com/predic8/membrane/core/transport/ssl/acme/AcmeAzureTableApiStorageEngine.java b/core/src/main/java/com/predic8/membrane/core/transport/ssl/acme/AcmeAzureTableApiStorageEngine.java index e39dcfa03..6be881118 100644 --- a/core/src/main/java/com/predic8/membrane/core/transport/ssl/acme/AcmeAzureTableApiStorageEngine.java +++ b/core/src/main/java/com/predic8/membrane/core/transport/ssl/acme/AcmeAzureTableApiStorageEngine.java @@ -1,3 +1,16 @@ +/* Copyright 2023 predic8 GmbH, www.predic8.com + + 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 com.predic8.membrane.core.transport.ssl.acme; import com.fasterxml.jackson.databind.JsonNode; diff --git a/core/src/test/java/com/predic8/membrane/core/azure/AcmeAzureTableApiStorageEngineTest.java b/core/src/test/java/com/predic8/membrane/core/azure/AcmeAzureTableApiStorageEngineTest.java index 36aec117d..c9a3570b7 100644 --- a/core/src/test/java/com/predic8/membrane/core/azure/AcmeAzureTableApiStorageEngineTest.java +++ b/core/src/test/java/com/predic8/membrane/core/azure/AcmeAzureTableApiStorageEngineTest.java @@ -1,3 +1,16 @@ +/* Copyright 2023 predic8 GmbH, www.predic8.com + + 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 com.predic8.membrane.core.azure; import com.predic8.membrane.core.transport.ssl.acme.AcmeAzureTableApiStorageEngine; @@ -36,4 +49,3 @@ void ignoreExistingTable() { } - diff --git a/core/src/test/java/com/predic8/membrane/core/azure/AzureApiClientTest.java b/core/src/test/java/com/predic8/membrane/core/azure/AzureApiClientTest.java index 9b406fe1d..8618c1cbd 100644 --- a/core/src/test/java/com/predic8/membrane/core/azure/AzureApiClientTest.java +++ b/core/src/test/java/com/predic8/membrane/core/azure/AzureApiClientTest.java @@ -1,3 +1,16 @@ +/* Copyright 2023 predic8 GmbH, www.predic8.com + + 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 com.predic8.membrane.core.azure; import com.predic8.membrane.core.azure.api.AzureApiClient; diff --git a/core/src/test/java/com/predic8/membrane/core/azure/AzureDnsApiSimulator.java b/core/src/test/java/com/predic8/membrane/core/azure/AzureDnsApiSimulator.java index 30962a9ce..8fb53ab50 100644 --- a/core/src/test/java/com/predic8/membrane/core/azure/AzureDnsApiSimulator.java +++ b/core/src/test/java/com/predic8/membrane/core/azure/AzureDnsApiSimulator.java @@ -1,3 +1,16 @@ +/* Copyright 2023 predic8 GmbH, www.predic8.com + + 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 com.predic8.membrane.core.azure; import com.fasterxml.jackson.core.JsonProcessingException; diff --git a/core/src/test/java/com/predic8/membrane/core/interceptor/jwt/JwtAuthInterceptorUnitTests.java b/core/src/test/java/com/predic8/membrane/core/interceptor/jwt/JwtAuthInterceptorUnitTests.java index fb544e7b9..2e556bcaa 100644 --- a/core/src/test/java/com/predic8/membrane/core/interceptor/jwt/JwtAuthInterceptorUnitTests.java +++ b/core/src/test/java/com/predic8/membrane/core/interceptor/jwt/JwtAuthInterceptorUnitTests.java @@ -1,3 +1,16 @@ +/* Copyright 2023 predic8 GmbH, www.predic8.com + + 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 com.predic8.membrane.core.interceptor.jwt; diff --git a/core/src/test/java/com/predic8/membrane/core/interceptor/ratelimit/LazyRateLimitTest.java b/core/src/test/java/com/predic8/membrane/core/interceptor/ratelimit/LazyRateLimitTest.java index f14dcb1b8..7adb77ce3 100644 --- a/core/src/test/java/com/predic8/membrane/core/interceptor/ratelimit/LazyRateLimitTest.java +++ b/core/src/test/java/com/predic8/membrane/core/interceptor/ratelimit/LazyRateLimitTest.java @@ -1,3 +1,16 @@ +/* Copyright 2023 predic8 GmbH, www.predic8.com + + 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 com.predic8.membrane.core.interceptor.ratelimit; import org.junit.jupiter.api.BeforeEach; @@ -26,4 +39,4 @@ void isRequestLimitReached() { assertTrue(limiter.isRequestLimitReached("foo")); } -} \ No newline at end of file +} diff --git a/core/src/test/java/com/predic8/membrane/core/lang/spel/ExchangeEvaluationContextTest.java b/core/src/test/java/com/predic8/membrane/core/lang/spel/ExchangeEvaluationContextTest.java index 217c06517..683a64d17 100644 --- a/core/src/test/java/com/predic8/membrane/core/lang/spel/ExchangeEvaluationContextTest.java +++ b/core/src/test/java/com/predic8/membrane/core/lang/spel/ExchangeEvaluationContextTest.java @@ -1,3 +1,16 @@ +/* Copyright 2023 predic8 GmbH, www.predic8.com + + 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 com.predic8.membrane.core.lang.spel; import com.predic8.membrane.core.exchange.*; @@ -33,4 +46,4 @@ void getMethod() { void getMethodIgnoreCase() { assertEquals("foo", keyExpression("headers.AUTHenticatioN")); } -} \ No newline at end of file +} diff --git a/core/src/test/java/com/predic8/membrane/core/openapi/model/MessageTest.java b/core/src/test/java/com/predic8/membrane/core/openapi/model/MessageTest.java index 18405db3a..470316d9a 100644 --- a/core/src/test/java/com/predic8/membrane/core/openapi/model/MessageTest.java +++ b/core/src/test/java/com/predic8/membrane/core/openapi/model/MessageTest.java @@ -1,3 +1,16 @@ +/* Copyright 2023 predic8 GmbH, www.predic8.com + + 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 com.predic8.membrane.core.openapi.model; @@ -33,4 +46,4 @@ void typeStarTest() { void starTypeTest() { assertFalse(request.isOfMediaType("*/json")); } -} \ No newline at end of file +} diff --git a/core/src/test/java/com/predic8/membrane/core/openapi/serviceproxy/OpenAPIProxyServiceKeyTest.java b/core/src/test/java/com/predic8/membrane/core/openapi/serviceproxy/OpenAPIProxyServiceKeyTest.java index 73af2725c..f35f059ad 100644 --- a/core/src/test/java/com/predic8/membrane/core/openapi/serviceproxy/OpenAPIProxyServiceKeyTest.java +++ b/core/src/test/java/com/predic8/membrane/core/openapi/serviceproxy/OpenAPIProxyServiceKeyTest.java @@ -1,3 +1,16 @@ +/* Copyright 2023 predic8 GmbH, www.predic8.com + + 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 com.predic8.membrane.core.openapi.serviceproxy; import org.junit.jupiter.api.*; @@ -35,4 +48,4 @@ private static Stream urls() { ); } -} \ No newline at end of file +} diff --git a/core/src/test/java/com/predic8/membrane/core/openapi/validators/ContentTypeWildcardTests.java b/core/src/test/java/com/predic8/membrane/core/openapi/validators/ContentTypeWildcardTests.java index cd0597401..dfbd51ff5 100644 --- a/core/src/test/java/com/predic8/membrane/core/openapi/validators/ContentTypeWildcardTests.java +++ b/core/src/test/java/com/predic8/membrane/core/openapi/validators/ContentTypeWildcardTests.java @@ -1,3 +1,16 @@ +/* Copyright 2023 predic8 GmbH, www.predic8.com + + 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 com.predic8.membrane.core.openapi.validators; import com.predic8.membrane.core.openapi.model.Request;