diff --git a/core/src/main/java/org/apache/gravitino/audit/AuditLog.java b/core/src/main/java/org/apache/gravitino/audit/AuditLog.java index 3d8123f194e..39fd0b3e15b 100644 --- a/core/src/main/java/org/apache/gravitino/audit/AuditLog.java +++ b/core/src/main/java/org/apache/gravitino/audit/AuditLog.java @@ -1,3 +1,22 @@ +/* + * 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.gravitino.audit; /** The interface define unified audit log schema. */ diff --git a/core/src/main/java/org/apache/gravitino/audit/DefaultAuditLog.java b/core/src/main/java/org/apache/gravitino/audit/DefaultAuditLog.java index ea415277a5c..f5e865b55ec 100644 --- a/core/src/main/java/org/apache/gravitino/audit/DefaultAuditLog.java +++ b/core/src/main/java/org/apache/gravitino/audit/DefaultAuditLog.java @@ -1,3 +1,22 @@ +/* + * 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.gravitino.audit; import lombok.Builder; diff --git a/core/src/main/java/org/apache/gravitino/audit/DefaultFileAuditWriter.java b/core/src/main/java/org/apache/gravitino/audit/DefaultFileAuditWriter.java index 5c376b2eb95..1de5e67efa9 100644 --- a/core/src/main/java/org/apache/gravitino/audit/DefaultFileAuditWriter.java +++ b/core/src/main/java/org/apache/gravitino/audit/DefaultFileAuditWriter.java @@ -1,3 +1,22 @@ +/* + * 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.gravitino.audit; import com.google.common.annotations.VisibleForTesting; diff --git a/core/src/main/java/org/apache/gravitino/audit/DefaultFormatter.java b/core/src/main/java/org/apache/gravitino/audit/DefaultFormatter.java index a9e3854cc2a..92dd899beca 100644 --- a/core/src/main/java/org/apache/gravitino/audit/DefaultFormatter.java +++ b/core/src/main/java/org/apache/gravitino/audit/DefaultFormatter.java @@ -1,3 +1,22 @@ +/* + * 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.gravitino.audit; import java.util.Objects; diff --git a/core/src/test/java/org/apache/gravitino/audit/DummyAuditFormatter.java b/core/src/test/java/org/apache/gravitino/audit/DummyAuditFormatter.java index bc9f7fc2816..b3fa7ce31ee 100644 --- a/core/src/test/java/org/apache/gravitino/audit/DummyAuditFormatter.java +++ b/core/src/test/java/org/apache/gravitino/audit/DummyAuditFormatter.java @@ -1,3 +1,22 @@ +/* + * 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.gravitino.audit; import org.apache.commons.lang3.StringUtils; diff --git a/core/src/test/java/org/apache/gravitino/audit/DummyAuditLog.java b/core/src/test/java/org/apache/gravitino/audit/DummyAuditLog.java index 8d06e066694..68635c46fad 100644 --- a/core/src/test/java/org/apache/gravitino/audit/DummyAuditLog.java +++ b/core/src/test/java/org/apache/gravitino/audit/DummyAuditLog.java @@ -1,3 +1,22 @@ +/* + * 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.gravitino.audit; import lombok.Builder;