Repository: incubator-gossip Updated Branches: refs/heads/master 89b269ee2 -> 3f5c05767
GOSSIP-27 Missing ASF headers Changing travis link in README Removed maven section from readme Adding NOTICE file in project Adding DISCLAIMER file in codebase Project: http://git-wip-us.apache.org/repos/asf/incubator-gossip/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-gossip/commit/72a3ed6b Tree: http://git-wip-us.apache.org/repos/asf/incubator-gossip/tree/72a3ed6b Diff: http://git-wip-us.apache.org/repos/asf/incubator-gossip/diff/72a3ed6b Branch: refs/heads/master Commit: 72a3ed6b5f143972a2bc9fc031c46a699a83c1bb Parents: 201b101 Author: Edward Capriolo <edlinuxg...@gmail.com> Authored: Fri Oct 7 03:14:20 2016 -0400 Committer: Edward Capriolo <edlinuxg...@gmail.com> Committed: Sat Oct 8 20:31:19 2016 -0400 ---------------------------------------------------------------------- DISCLAIMER | 10 ++++++++ NOTICE | 5 ++++ README.md | 16 +------------ .../gossip/model/ActiveGossipMessage.java | 17 +++++++++++++ src/main/java/org/apache/gossip/model/Base.java | 17 +++++++++++++ .../apache/gossip/model/GossipDataMessage.java | 17 +++++++++++++ .../org/apache/gossip/model/GossipMember.java | 17 +++++++++++++ .../java/org/apache/gossip/model/Message.java | 19 ++++++++++++++- .../apache/gossip/model/NotAMemberFault.java | 17 +++++++++++++ .../java/org/apache/gossip/model/Response.java | 17 +++++++++++++ .../gossip/model/SharedGossipDataMessage.java | 17 +++++++++++++ .../java/org/apache/gossip/udp/Trackable.java | 25 ++++++++++++++++---- .../gossip/udp/UdpActiveGossipMessage.java | 17 +++++++++++++ .../apache/gossip/udp/UdpActiveGossipOk.java | 17 +++++++++++++ .../apache/gossip/udp/UdpGossipDataMessage.java | 17 +++++++++++++ .../apache/gossip/udp/UdpNotAMemberFault.java | 17 +++++++++++++ .../gossip/udp/UdpSharedGossipDataMessage.java | 17 +++++++++++++ src/test/java/org/apache/gossip/DataTest.java | 17 +++++++++++++ .../org/apache/gossip/StartupSettingsTest.java | 1 - .../org/apache/gossip/TenNodeThreeSeedTest.java | 1 - .../apache/gossip/manager/DataReaperTest.java | 17 +++++++++++++ 21 files changed, 293 insertions(+), 22 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-gossip/blob/72a3ed6b/DISCLAIMER ---------------------------------------------------------------------- diff --git a/DISCLAIMER b/DISCLAIMER new file mode 100644 index 0000000..9e5bae4 --- /dev/null +++ b/DISCLAIMER @@ -0,0 +1,10 @@ +Apache Gossip is an effort undergoing incubation at the Apache Software +Foundation (ASF), sponsored by the Apache Incubator PMC. + +Incubation is required of all newly accepted projects until a further review +indicates that the infrastructure, communications, and decision making process +have stabilized in a manner consistent with other successful ASF projects. + +While incubation status is not necessarily a reflection of the completeness +or stability of the code, it does indicate that the project has yet to be +fully endorsed by the ASF. \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-gossip/blob/72a3ed6b/NOTICE ---------------------------------------------------------------------- diff --git a/NOTICE b/NOTICE new file mode 100644 index 0000000..8309af7 --- /dev/null +++ b/NOTICE @@ -0,0 +1,5 @@ +Apache Gossip (incubating) +Copyright 2016 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-gossip/blob/72a3ed6b/README.md ---------------------------------------------------------------------- diff --git a/README.md b/README.md index a38d9fe..27f5c2f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Gossip ![Build status](https://travis-ci.org/edwardcapriolo/gossip.svg?branch=master) +# Gossip ![Build status](https://travis-ci.org/edwardcapriolo/incubator-gossip.svg?) Gossip protocol is a method for a group of nodes to discover and check the liveliness of a cluster. More information can be found at http://en.wikipedia.org/wiki/Gossip_protocol. @@ -106,17 +106,3 @@ Users can also attach an event listener: }); ``` - -Maven ------- - - -You can get this software from maven central. - -```xml - <dependency> - <groupId>io.teknek</groupId> - <artifactId>gossip</artifactId> - <version>${pick_the_latest_version}</version> - </dependency> -``` http://git-wip-us.apache.org/repos/asf/incubator-gossip/blob/72a3ed6b/src/main/java/org/apache/gossip/model/ActiveGossipMessage.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/gossip/model/ActiveGossipMessage.java b/src/main/java/org/apache/gossip/model/ActiveGossipMessage.java index 1927371..438f42a 100644 --- a/src/main/java/org/apache/gossip/model/ActiveGossipMessage.java +++ b/src/main/java/org/apache/gossip/model/ActiveGossipMessage.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.gossip.model; import java.util.ArrayList; http://git-wip-us.apache.org/repos/asf/incubator-gossip/blob/72a3ed6b/src/main/java/org/apache/gossip/model/Base.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/gossip/model/Base.java b/src/main/java/org/apache/gossip/model/Base.java index 2bbb7af..92b38cd 100644 --- a/src/main/java/org/apache/gossip/model/Base.java +++ b/src/main/java/org/apache/gossip/model/Base.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.gossip.model; import org.apache.gossip.udp.UdpActiveGossipMessage; http://git-wip-us.apache.org/repos/asf/incubator-gossip/blob/72a3ed6b/src/main/java/org/apache/gossip/model/GossipDataMessage.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/gossip/model/GossipDataMessage.java b/src/main/java/org/apache/gossip/model/GossipDataMessage.java index 835c668..e9aae61 100644 --- a/src/main/java/org/apache/gossip/model/GossipDataMessage.java +++ b/src/main/java/org/apache/gossip/model/GossipDataMessage.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.gossip.model; public class GossipDataMessage extends Base { http://git-wip-us.apache.org/repos/asf/incubator-gossip/blob/72a3ed6b/src/main/java/org/apache/gossip/model/GossipMember.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/gossip/model/GossipMember.java b/src/main/java/org/apache/gossip/model/GossipMember.java index 413ab71..03ec13d 100644 --- a/src/main/java/org/apache/gossip/model/GossipMember.java +++ b/src/main/java/org/apache/gossip/model/GossipMember.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.gossip.model; public class GossipMember { http://git-wip-us.apache.org/repos/asf/incubator-gossip/blob/72a3ed6b/src/main/java/org/apache/gossip/model/Message.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/gossip/model/Message.java b/src/main/java/org/apache/gossip/model/Message.java index 5eb59fa..f6ed813 100644 --- a/src/main/java/org/apache/gossip/model/Message.java +++ b/src/main/java/org/apache/gossip/model/Message.java @@ -1,5 +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.gossip.model; -public class Message extends Base{ +public class Message extends Base { } http://git-wip-us.apache.org/repos/asf/incubator-gossip/blob/72a3ed6b/src/main/java/org/apache/gossip/model/NotAMemberFault.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/gossip/model/NotAMemberFault.java b/src/main/java/org/apache/gossip/model/NotAMemberFault.java index e7badc1..21ffb07 100644 --- a/src/main/java/org/apache/gossip/model/NotAMemberFault.java +++ b/src/main/java/org/apache/gossip/model/NotAMemberFault.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.gossip.model; public class NotAMemberFault extends Fault { http://git-wip-us.apache.org/repos/asf/incubator-gossip/blob/72a3ed6b/src/main/java/org/apache/gossip/model/Response.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/gossip/model/Response.java b/src/main/java/org/apache/gossip/model/Response.java index ab46b48..b3eef77 100644 --- a/src/main/java/org/apache/gossip/model/Response.java +++ b/src/main/java/org/apache/gossip/model/Response.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.gossip.model; public abstract class Response extends Base { http://git-wip-us.apache.org/repos/asf/incubator-gossip/blob/72a3ed6b/src/main/java/org/apache/gossip/model/SharedGossipDataMessage.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/gossip/model/SharedGossipDataMessage.java b/src/main/java/org/apache/gossip/model/SharedGossipDataMessage.java index bac9ddf..dc80f05 100644 --- a/src/main/java/org/apache/gossip/model/SharedGossipDataMessage.java +++ b/src/main/java/org/apache/gossip/model/SharedGossipDataMessage.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.gossip.model; public class SharedGossipDataMessage extends Base { http://git-wip-us.apache.org/repos/asf/incubator-gossip/blob/72a3ed6b/src/main/java/org/apache/gossip/udp/Trackable.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/gossip/udp/Trackable.java b/src/main/java/org/apache/gossip/udp/Trackable.java index e76e2c3..9ecc7f2 100644 --- a/src/main/java/org/apache/gossip/udp/Trackable.java +++ b/src/main/java/org/apache/gossip/udp/Trackable.java @@ -1,13 +1,30 @@ +/* + * 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.gossip.udp; public interface Trackable { - public String getUriFrom(); + String getUriFrom(); - public void setUriFrom(String uriFrom); + void setUriFrom(String uriFrom); - public String getUuid(); + String getUuid(); - public void setUuid(String uuid); + void setUuid(String uuid); } http://git-wip-us.apache.org/repos/asf/incubator-gossip/blob/72a3ed6b/src/main/java/org/apache/gossip/udp/UdpActiveGossipMessage.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/gossip/udp/UdpActiveGossipMessage.java b/src/main/java/org/apache/gossip/udp/UdpActiveGossipMessage.java index 1532294..424d1ca 100644 --- a/src/main/java/org/apache/gossip/udp/UdpActiveGossipMessage.java +++ b/src/main/java/org/apache/gossip/udp/UdpActiveGossipMessage.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.gossip.udp; import org.apache.gossip.model.ActiveGossipMessage; http://git-wip-us.apache.org/repos/asf/incubator-gossip/blob/72a3ed6b/src/main/java/org/apache/gossip/udp/UdpActiveGossipOk.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/gossip/udp/UdpActiveGossipOk.java b/src/main/java/org/apache/gossip/udp/UdpActiveGossipOk.java index 119bc50..b70bb69 100644 --- a/src/main/java/org/apache/gossip/udp/UdpActiveGossipOk.java +++ b/src/main/java/org/apache/gossip/udp/UdpActiveGossipOk.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.gossip.udp; import org.apache.gossip.model.ActiveGossipOk; http://git-wip-us.apache.org/repos/asf/incubator-gossip/blob/72a3ed6b/src/main/java/org/apache/gossip/udp/UdpGossipDataMessage.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/gossip/udp/UdpGossipDataMessage.java b/src/main/java/org/apache/gossip/udp/UdpGossipDataMessage.java index 2ee4bbf..f2042a5 100644 --- a/src/main/java/org/apache/gossip/udp/UdpGossipDataMessage.java +++ b/src/main/java/org/apache/gossip/udp/UdpGossipDataMessage.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.gossip.udp; import org.apache.gossip.model.GossipDataMessage; http://git-wip-us.apache.org/repos/asf/incubator-gossip/blob/72a3ed6b/src/main/java/org/apache/gossip/udp/UdpNotAMemberFault.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/gossip/udp/UdpNotAMemberFault.java b/src/main/java/org/apache/gossip/udp/UdpNotAMemberFault.java index 7b4d5ba..7afcb87 100644 --- a/src/main/java/org/apache/gossip/udp/UdpNotAMemberFault.java +++ b/src/main/java/org/apache/gossip/udp/UdpNotAMemberFault.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.gossip.udp; import org.apache.gossip.model.NotAMemberFault; http://git-wip-us.apache.org/repos/asf/incubator-gossip/blob/72a3ed6b/src/main/java/org/apache/gossip/udp/UdpSharedGossipDataMessage.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/gossip/udp/UdpSharedGossipDataMessage.java b/src/main/java/org/apache/gossip/udp/UdpSharedGossipDataMessage.java index cb99759..ba8e735 100644 --- a/src/main/java/org/apache/gossip/udp/UdpSharedGossipDataMessage.java +++ b/src/main/java/org/apache/gossip/udp/UdpSharedGossipDataMessage.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.gossip.udp; import org.apache.gossip.model.SharedGossipDataMessage; http://git-wip-us.apache.org/repos/asf/incubator-gossip/blob/72a3ed6b/src/test/java/org/apache/gossip/DataTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/gossip/DataTest.java b/src/test/java/org/apache/gossip/DataTest.java index 4909bf8..d3babf6 100644 --- a/src/test/java/org/apache/gossip/DataTest.java +++ b/src/test/java/org/apache/gossip/DataTest.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.gossip; import java.net.URI; http://git-wip-us.apache.org/repos/asf/incubator-gossip/blob/72a3ed6b/src/test/java/org/apache/gossip/StartupSettingsTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/gossip/StartupSettingsTest.java b/src/test/java/org/apache/gossip/StartupSettingsTest.java index 3b62836..55c297b 100644 --- a/src/test/java/org/apache/gossip/StartupSettingsTest.java +++ b/src/test/java/org/apache/gossip/StartupSettingsTest.java @@ -22,7 +22,6 @@ import org.json.JSONException; import io.teknek.tunit.TUnit; -import org.junit.After; import org.junit.jupiter.api.Test; import java.io.File; http://git-wip-us.apache.org/repos/asf/incubator-gossip/blob/72a3ed6b/src/test/java/org/apache/gossip/TenNodeThreeSeedTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/gossip/TenNodeThreeSeedTest.java b/src/test/java/org/apache/gossip/TenNodeThreeSeedTest.java index e72ec67..b663a6e 100644 --- a/src/test/java/org/apache/gossip/TenNodeThreeSeedTest.java +++ b/src/test/java/org/apache/gossip/TenNodeThreeSeedTest.java @@ -33,7 +33,6 @@ import org.apache.log4j.Logger; import org.apache.gossip.event.GossipListener; import org.apache.gossip.event.GossipState; -import org.junit.After; import org.junit.jupiter.api.Test; @RunWith(JUnitPlatform.class) http://git-wip-us.apache.org/repos/asf/incubator-gossip/blob/72a3ed6b/src/test/java/org/apache/gossip/manager/DataReaperTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/gossip/manager/DataReaperTest.java b/src/test/java/org/apache/gossip/manager/DataReaperTest.java index d0164b1..d19c802 100644 --- a/src/test/java/org/apache/gossip/manager/DataReaperTest.java +++ b/src/test/java/org/apache/gossip/manager/DataReaperTest.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.gossip.manager; import java.net.URI;