This is an automated email from the ASF dual-hosted git repository.
fcsaky pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/flink-connector-http.git
The following commit(s) were added to refs/heads/main by this push:
new a5c2eb1 [FLINK-39222] Add missing licenses
a5c2eb1 is described below
commit a5c2eb13e95aae155b1b5015246bf1f37868a058
Author: David Radley <[email protected]>
AuthorDate: Tue Mar 10 11:40:11 2026 +0000
[FLINK-39222] Add missing licenses
---
.../org/apache/flink/connector/http/HttpLogger.java | 18 ++++++++++++++++++
.../flink/connector/http/HttpLoggingLevelType.java | 18 ++++++++++++++++++
.../http/config/HttpConnectorConfigConstants.java | 1 +
.../connector/http/utils/uri/URLEncodedUtils.java | 7 +++++++
.../flink/connector/http/HttpLoggerRequestTest.java | 18 ++++++++++++++++++
.../flink/connector/http/HttpLoggerResponseTest.java | 18 ++++++++++++++++++
lombok.config | 18 ++++++++++++++++++
7 files changed, 98 insertions(+)
diff --git
a/flink-connector-http/src/main/java/org/apache/flink/connector/http/HttpLogger.java
b/flink-connector-http/src/main/java/org/apache/flink/connector/http/HttpLogger.java
index 759bbcd..b4a0e36 100644
---
a/flink-connector-http/src/main/java/org/apache/flink/connector/http/HttpLogger.java
+++
b/flink-connector-http/src/main/java/org/apache/flink/connector/http/HttpLogger.java
@@ -1,3 +1,21 @@
+/*
+ * 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.
+ */
+
package org.apache.flink.connector.http;
import
org.apache.flink.connector.http.table.lookup.HttpLookupSourceRequestEntry;
diff --git
a/flink-connector-http/src/main/java/org/apache/flink/connector/http/HttpLoggingLevelType.java
b/flink-connector-http/src/main/java/org/apache/flink/connector/http/HttpLoggingLevelType.java
index 7cb63eb..4f9fc01 100644
---
a/flink-connector-http/src/main/java/org/apache/flink/connector/http/HttpLoggingLevelType.java
+++
b/flink-connector-http/src/main/java/org/apache/flink/connector/http/HttpLoggingLevelType.java
@@ -1,3 +1,21 @@
+/*
+ * 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.
+ */
+
package org.apache.flink.connector.http;
/** Defines the level of http content that will be logged. */
diff --git
a/flink-connector-http/src/main/java/org/apache/flink/connector/http/config/HttpConnectorConfigConstants.java
b/flink-connector-http/src/main/java/org/apache/flink/connector/http/config/HttpConnectorConfigConstants.java
index 839eef3..6dfb414 100644
---
a/flink-connector-http/src/main/java/org/apache/flink/connector/http/config/HttpConnectorConfigConstants.java
+++
b/flink-connector-http/src/main/java/org/apache/flink/connector/http/config/HttpConnectorConfigConstants.java
@@ -46,6 +46,7 @@ public final class HttpConnectorConfigConstants {
public static final String OIDC_AUTH_TOKEN_EXPIRY_REDUCTION =
FLINK_CONNECTOR_HTTP + "security.oidc.token.expiry.reduction";
+
/**
* Whether to use the raw value of the Authorization header. If set, it
prevents the special
* treatment of the header for Basic Authentication, thus preserving the
passed raw value.
diff --git
a/flink-connector-http/src/main/java/org/apache/flink/connector/http/utils/uri/URLEncodedUtils.java
b/flink-connector-http/src/main/java/org/apache/flink/connector/http/utils/uri/URLEncodedUtils.java
index 7a358ef..c59239f 100644
---
a/flink-connector-http/src/main/java/org/apache/flink/connector/http/utils/uri/URLEncodedUtils.java
+++
b/flink-connector-http/src/main/java/org/apache/flink/connector/http/utils/uri/URLEncodedUtils.java
@@ -46,6 +46,7 @@ public class URLEncodedUtils {
private static final char PATH_SEPARATOR = '/';
private static final BitSet PATH_SEPARATORS = new BitSet(256);
+
/**
* Unreserved characters, i.e. alphanumeric, plus: {@code _ - ! . ~ ' ( )
*}
*
@@ -53,27 +54,32 @@ public class URLEncodedUtils {
* href="http://www.ietf.org/rfc/rfc2396.txt">RFC 2396</a>
*/
private static final BitSet UNRESERVED = new BitSet(256);
+
/**
* Punctuation characters: , ; : $ & + =
*
* <p>These are the additional characters allowed by userinfo.
*/
private static final BitSet PUNCT = new BitSet(256);
+
/**
* Characters which are safe to use in userinfo, i.e. {@link #UNRESERVED}
plus {@link
* #PUNCT}uation
*/
private static final BitSet USERINFO = new BitSet(256);
+
/**
* Characters which are safe to use in a path, i.e. {@link #UNRESERVED}
plus {@link
* #PUNCT}uation plus / @
*/
private static final BitSet PATHSAFE = new BitSet(256);
+
/**
* Characters which are safe to use in a query or a fragment, i.e. {@link
#RESERVED} plus {@link
* #UNRESERVED}
*/
private static final BitSet URIC = new BitSet(256);
+
/**
* Reserved characters, i.e. {@code ;/?:@&=+$,[]}
*
@@ -82,6 +88,7 @@ public class URLEncodedUtils {
* href="http://www.ietf.org/rfc/rfc2732.txt">RFC 2732</a>
*/
private static final BitSet RESERVED = new BitSet(256);
+
/**
* Safe characters for x-www-form-urlencoded data, as per
java.net.URLEncoder and browser
* behaviour, i.e. alphanumeric plus {@code "-", "_", ".", "*"}
diff --git
a/flink-connector-http/src/test/java/org/apache/flink/connector/http/HttpLoggerRequestTest.java
b/flink-connector-http/src/test/java/org/apache/flink/connector/http/HttpLoggerRequestTest.java
index ec35471..fa58c99 100644
---
a/flink-connector-http/src/test/java/org/apache/flink/connector/http/HttpLoggerRequestTest.java
+++
b/flink-connector-http/src/test/java/org/apache/flink/connector/http/HttpLoggerRequestTest.java
@@ -1,3 +1,21 @@
+/*
+ * 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.
+ */
+
package org.apache.flink.connector.http;
import org.apache.flink.connector.http.config.HttpConnectorConfigConstants;
diff --git
a/flink-connector-http/src/test/java/org/apache/flink/connector/http/HttpLoggerResponseTest.java
b/flink-connector-http/src/test/java/org/apache/flink/connector/http/HttpLoggerResponseTest.java
index 2cf18c6..b051cfd 100644
---
a/flink-connector-http/src/test/java/org/apache/flink/connector/http/HttpLoggerResponseTest.java
+++
b/flink-connector-http/src/test/java/org/apache/flink/connector/http/HttpLoggerResponseTest.java
@@ -1,3 +1,21 @@
+/*
+ * 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.
+ */
+
package org.apache.flink.connector.http;
import org.apache.flink.connector.http.config.HttpConnectorConfigConstants;
diff --git a/lombok.config b/lombok.config
index 8f7e8aa..74cb8a3 100644
--- a/lombok.config
+++ b/lombok.config
@@ -1 +1,19 @@
+################################################################################
+# 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.
+################################################################################
+
lombok.addLombokGeneratedAnnotation = true
\ No newline at end of file