ratis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From els...@apache.org
Subject incubator-ratis git commit: RATIS-469. Fix RAT failures from missing license headers
Date Mon, 07 Jan 2019 23:44:22 GMT
Repository: incubator-ratis
Updated Branches:
  refs/heads/master 29850741e -> 32a04999d


RATIS-469. Fix RAT failures from missing license headers

Signed-off-by: Vladimir Rodionov <vrodionov@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/incubator-ratis/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ratis/commit/32a04999
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ratis/tree/32a04999
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ratis/diff/32a04999

Branch: refs/heads/master
Commit: 32a04999d84935d02c9107263f00baee9f039245
Parents: 2985074
Author: Josh Elser <elserj@apache.org>
Authored: Thu Jan 3 15:49:44 2019 -0500
Committer: Josh Elser <elserj@apache.org>
Committed: Mon Jan 7 18:24:05 2019 -0500

----------------------------------------------------------------------
 ratis-logservice/Dockerfile                      | 16 ++++++++++++++++
 ratis-logservice/README.md                       | 16 ++++++++++++++++
 ratis-logservice/docker-compose.yml              | 16 ++++++++++++++++
 ratis-logservice/src/assembly/assembly.xml       | 14 ++++++++++++++
 .../apache/ratis/logservice/shell/Command.java   | 19 ++++++++++++++++++-
 .../ratis/logservice/shell/CommandFactory.java   | 19 ++++++++++++++++++-
 .../ratis/logservice/shell/LogServiceShell.java  | 19 ++++++++++++++++++-
 .../logservice/shell/LogServiceShellOpts.java    | 19 ++++++++++++++++++-
 .../shell/commands/CreateLogCommand.java         | 19 ++++++++++++++++++-
 .../shell/commands/DeleteLogCommand.java         | 17 +++++++++++++++++
 .../logservice/shell/commands/ExitCommand.java   | 17 +++++++++++++++++
 .../logservice/shell/commands/HelpCommand.java   | 17 +++++++++++++++++
 .../shell/commands/ListLogsCommand.java          | 17 +++++++++++++++++
 .../shell/commands/PutToLogCommand.java          | 17 +++++++++++++++++
 .../shell/commands/ReadLogCommand.java           | 17 +++++++++++++++++
 15 files changed, 254 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ratis/blob/32a04999/ratis-logservice/Dockerfile
----------------------------------------------------------------------
diff --git a/ratis-logservice/Dockerfile b/ratis-logservice/Dockerfile
index 244c402..3f10cf8 100644
--- a/ratis-logservice/Dockerfile
+++ b/ratis-logservice/Dockerfile
@@ -1,3 +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.
+
 FROM openjdk:8-jdk-alpine
 
 ######

http://git-wip-us.apache.org/repos/asf/incubator-ratis/blob/32a04999/ratis-logservice/README.md
----------------------------------------------------------------------
diff --git a/ratis-logservice/README.md b/ratis-logservice/README.md
index 8dc9e9f..7aa83fc 100644
--- a/ratis-logservice/README.md
+++ b/ratis-logservice/README.md
@@ -1,3 +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.
+-->
 # Ratis LogService
 
 The Ratis LogService is an distributed, log implementation built on top of Apache Ratis.
The LogService provides the

http://git-wip-us.apache.org/repos/asf/incubator-ratis/blob/32a04999/ratis-logservice/docker-compose.yml
----------------------------------------------------------------------
diff --git a/ratis-logservice/docker-compose.yml b/ratis-logservice/docker-compose.yml
index b82873b..6d068f8 100644
--- a/ratis-logservice/docker-compose.yml
+++ b/ratis-logservice/docker-compose.yml
@@ -1,3 +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.
+
 version: '3'
 
 # We already have a default network using the bridge adapter, so we don't need to redefine
it.

http://git-wip-us.apache.org/repos/asf/incubator-ratis/blob/32a04999/ratis-logservice/src/assembly/assembly.xml
----------------------------------------------------------------------
diff --git a/ratis-logservice/src/assembly/assembly.xml b/ratis-logservice/src/assembly/assembly.xml
index c524c96..739a2bb 100644
--- a/ratis-logservice/src/assembly/assembly.xml
+++ b/ratis-logservice/src/assembly/assembly.xml
@@ -1,6 +1,20 @@
+<?xml version="1.0"?>
 <assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd">
+<!--
+  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. See accompanying LICENSE file.
+-->
   <id>bin</id>
   <formats>
     <format>tar.gz</format>

http://git-wip-us.apache.org/repos/asf/incubator-ratis/blob/32a04999/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/Command.java
----------------------------------------------------------------------
diff --git a/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/Command.java
b/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/Command.java
index 4d68792..4ff9fa2 100644
--- a/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/Command.java
+++ b/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/Command.java
@@ -1,3 +1,20 @@
+/*
+ * 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.ratis.logservice.shell;
 
 import org.apache.ratis.logservice.client.LogServiceClient;
@@ -12,4 +29,4 @@ public interface Command {
   String getHelpMessage();
 
   void run(Terminal terminal, LineReader lineReader, LogServiceClient client, String[] args);
-}
\ No newline at end of file
+}

http://git-wip-us.apache.org/repos/asf/incubator-ratis/blob/32a04999/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/CommandFactory.java
----------------------------------------------------------------------
diff --git a/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/CommandFactory.java
b/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/CommandFactory.java
index 161cf18..873cf6b 100644
--- a/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/CommandFactory.java
+++ b/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/CommandFactory.java
@@ -1,3 +1,20 @@
+/*
+ * 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.ratis.logservice.shell;
 
 import java.util.Collections;
@@ -47,4 +64,4 @@ public class CommandFactory {
     // Normalize the command name to lowercase
     return KNOWN_COMMANDS.get(Objects.requireNonNull(commandName).toLowerCase());
   }
-}
\ No newline at end of file
+}

http://git-wip-us.apache.org/repos/asf/incubator-ratis/blob/32a04999/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/LogServiceShell.java
----------------------------------------------------------------------
diff --git a/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/LogServiceShell.java
b/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/LogServiceShell.java
index bb669b7..90c7692 100644
--- a/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/LogServiceShell.java
+++ b/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/LogServiceShell.java
@@ -1,3 +1,20 @@
+/*
+ * 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.ratis.logservice.shell;
 
 import java.io.IOException;
@@ -130,4 +147,4 @@ public class LogServiceShell {
       client.run();
     }
   }
-}
\ No newline at end of file
+}

http://git-wip-us.apache.org/repos/asf/incubator-ratis/blob/32a04999/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/LogServiceShellOpts.java
----------------------------------------------------------------------
diff --git a/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/LogServiceShellOpts.java
b/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/LogServiceShellOpts.java
index 22742c5..6f049cc 100644
--- a/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/LogServiceShellOpts.java
+++ b/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/LogServiceShellOpts.java
@@ -1,3 +1,20 @@
+/*
+ * 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.ratis.logservice.shell;
 
 import com.beust.jcommander.Parameter;
@@ -5,4 +22,4 @@ import com.beust.jcommander.Parameter;
 public class LogServiceShellOpts {
   @Parameter(names = {"--meta-quorum", "-q"})
   public String metaQuorum;
-}
\ No newline at end of file
+}

http://git-wip-us.apache.org/repos/asf/incubator-ratis/blob/32a04999/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/commands/CreateLogCommand.java
----------------------------------------------------------------------
diff --git a/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/commands/CreateLogCommand.java
b/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/commands/CreateLogCommand.java
index dc42e81..3dfce3d 100644
--- a/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/commands/CreateLogCommand.java
+++ b/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/commands/CreateLogCommand.java
@@ -1,3 +1,20 @@
+/*
+ * 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.ratis.logservice.shell.commands;
 
 import org.apache.ratis.logservice.api.LogName;
@@ -27,4 +44,4 @@ public class CreateLogCommand implements Command {
       e.printStackTrace(terminal.writer());
     }
   }
-}
\ No newline at end of file
+}

http://git-wip-us.apache.org/repos/asf/incubator-ratis/blob/32a04999/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/commands/DeleteLogCommand.java
----------------------------------------------------------------------
diff --git a/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/commands/DeleteLogCommand.java
b/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/commands/DeleteLogCommand.java
index d589f8e..053f806 100644
--- a/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/commands/DeleteLogCommand.java
+++ b/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/commands/DeleteLogCommand.java
@@ -1,3 +1,20 @@
+/*
+ * 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.ratis.logservice.shell.commands;
 
 import java.io.IOException;

http://git-wip-us.apache.org/repos/asf/incubator-ratis/blob/32a04999/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/commands/ExitCommand.java
----------------------------------------------------------------------
diff --git a/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/commands/ExitCommand.java
b/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/commands/ExitCommand.java
index e5c25d7..736adc5 100644
--- a/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/commands/ExitCommand.java
+++ b/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/commands/ExitCommand.java
@@ -1,3 +1,20 @@
+/*
+ * 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.ratis.logservice.shell.commands;
 
 import org.apache.ratis.logservice.client.LogServiceClient;

http://git-wip-us.apache.org/repos/asf/incubator-ratis/blob/32a04999/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/commands/HelpCommand.java
----------------------------------------------------------------------
diff --git a/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/commands/HelpCommand.java
b/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/commands/HelpCommand.java
index ccb121f..648f5e4 100644
--- a/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/commands/HelpCommand.java
+++ b/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/commands/HelpCommand.java
@@ -1,3 +1,20 @@
+/*
+ * 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.ratis.logservice.shell.commands;
 
 import org.apache.ratis.logservice.client.LogServiceClient;

http://git-wip-us.apache.org/repos/asf/incubator-ratis/blob/32a04999/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/commands/ListLogsCommand.java
----------------------------------------------------------------------
diff --git a/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/commands/ListLogsCommand.java
b/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/commands/ListLogsCommand.java
index 5896c09..b790124 100644
--- a/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/commands/ListLogsCommand.java
+++ b/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/commands/ListLogsCommand.java
@@ -1,3 +1,20 @@
+/*
+ * 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.ratis.logservice.shell.commands;
 
 import java.io.IOException;

http://git-wip-us.apache.org/repos/asf/incubator-ratis/blob/32a04999/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/commands/PutToLogCommand.java
----------------------------------------------------------------------
diff --git a/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/commands/PutToLogCommand.java
b/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/commands/PutToLogCommand.java
index 048d6be..86f6d55 100644
--- a/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/commands/PutToLogCommand.java
+++ b/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/commands/PutToLogCommand.java
@@ -1,3 +1,20 @@
+/*
+ * 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.ratis.logservice.shell.commands;
 
 import java.nio.ByteBuffer;

http://git-wip-us.apache.org/repos/asf/incubator-ratis/blob/32a04999/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/commands/ReadLogCommand.java
----------------------------------------------------------------------
diff --git a/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/commands/ReadLogCommand.java
b/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/commands/ReadLogCommand.java
index c7f0d24..a1d4c74 100644
--- a/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/commands/ReadLogCommand.java
+++ b/ratis-logservice/src/main/java/org/apache/ratis/logservice/shell/commands/ReadLogCommand.java
@@ -1,3 +1,20 @@
+/*
+ * 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.ratis.logservice.shell.commands;
 
 import java.nio.ByteBuffer;


Mime
View raw message