[S2GRAPH-136] Validate TinkerPop3 interface with gremlin-test suite.
JIRA:
[S2GRAPH-136] https://issues.apache.org/jira/browse/S2GRAPH-136
Pull Request:
Closes #112
Author
DO YUNG YOON <[email protected]>
Project: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/commit/26e4d43c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/tree/26e4d43c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/diff/26e4d43c
Branch: refs/heads/master
Commit: 26e4d43cf2ac417378260853e42887de9934dfd3
Parents: e918621
Author: DO YUNG YOON <[email protected]>
Authored: Sat May 6 22:54:37 2017 +0900
Committer: DO YUNG YOON <[email protected]>
Committed: Sun Jul 2 00:26:30 2017 +0900
----------------------------------------------------------------------
.rat-excludes | 2 ++
.travis.yml | 17 +++++++++++++++-
CHANGES | 2 ++
.../s2graph/core/io/S2GraphSimpleModule.java | 21 ++++++++++++++++++++
.../apache/s2graph/core/S2GraphIoRegistry.scala | 19 ++++++++++++++++++
.../core/features/S2DataTypeFeatures.scala | 19 ++++++++++++++++++
.../s2graph/core/features/S2EdgeFeatures.scala | 19 ++++++++++++++++++
.../core/features/S2EdgePropertyFeatures.scala | 19 ++++++++++++++++++
.../core/features/S2ElementFeatures.scala | 19 ++++++++++++++++++
.../s2graph/core/features/S2GraphFeatures.scala | 19 ++++++++++++++++++
.../core/features/S2GraphVariables.scala | 21 +++++++++++++++++++-
.../core/features/S2PropertyFeatures.scala | 19 ++++++++++++++++++
.../core/features/S2VariableFeatures.scala | 19 ++++++++++++++++++
.../s2graph/core/features/S2Variables.scala | 19 ++++++++++++++++++
.../core/features/S2VertexFeatures.scala | 19 ++++++++++++++++++
.../features/S2VertexPropertyFeatures.scala | 19 ++++++++++++++++++
.../apache/s2graph/core/io/Conversions.scala | 19 ++++++++++++++++++
.../apache/s2graph/core/io/ConversionTest.scala | 19 ++++++++++++++++++
.../s2graph/core/tinkerpop/S2GraphData.scala | 19 ++++++++++++++++++
.../core/tinkerpop/S2GraphProvider.scala | 19 ++++++++++++++++++
.../process/S2GraphProcessStandardTest.scala | 21 +++++++++++++++++++-
.../S2GraphStructureIntegrateTest.scala | 19 ++++++++++++++++++
.../S2GraphStructureStandardTest.scala | 21 +++++++++++++++++++-
23 files changed, 405 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/26e4d43c/.rat-excludes
----------------------------------------------------------------------
diff --git a/.rat-excludes b/.rat-excludes
index 1976fcc..1cddda0 100644
--- a/.rat-excludes
+++ b/.rat-excludes
@@ -17,3 +17,5 @@ s2counter_core/target
s2counter_loader/target
loader/target
spark/target
+storage/
+var/
http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/26e4d43c/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index d43ad47..7555a76 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,7 +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.
+
language: scala
env:
- - HBASE_VERSION=1.2.4
+ - HBASE_VERSION=1.2.5
cache:
directories:
http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/26e4d43c/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index 4a0d5ce..35ed7d4 100644
--- a/CHANGES
+++ b/CHANGES
@@ -240,6 +240,8 @@ Release 0.1.0 - unreleased
S2GRAPH-130: Edge.propsWithTs data type should be changed into mutable to
support setter interface exist in tp3 (Committed by DOYUNG YOON).
S2GRAPH-131: Add actual implementation on interfaces from TinkerPop3
structure package. (Committed by DOYUNG YOON).
+
+ S2GRAPH-136: Validate TinkerPop3 interface with gremlin-test suite.
(Committed by DOYUNG YOON).
TEST
http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/26e4d43c/s2core/src/main/java/org/apache/s2graph/core/io/S2GraphSimpleModule.java
----------------------------------------------------------------------
diff --git
a/s2core/src/main/java/org/apache/s2graph/core/io/S2GraphSimpleModule.java
b/s2core/src/main/java/org/apache/s2graph/core/io/S2GraphSimpleModule.java
index e1c1741..c21a1d0 100644
--- a/s2core/src/main/java/org/apache/s2graph/core/io/S2GraphSimpleModule.java
+++ b/s2core/src/main/java/org/apache/s2graph/core/io/S2GraphSimpleModule.java
@@ -1,6 +1,27 @@
+
+/*
+ * 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.s2graph.core.io;
+
import org.apache.s2graph.core.EdgeId;
import org.apache.s2graph.core.S2VertexPropertyId;
import org.apache.s2graph.core.types.VertexId;
http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/26e4d43c/s2core/src/main/scala/org/apache/s2graph/core/S2GraphIoRegistry.scala
----------------------------------------------------------------------
diff --git
a/s2core/src/main/scala/org/apache/s2graph/core/S2GraphIoRegistry.scala
b/s2core/src/main/scala/org/apache/s2graph/core/S2GraphIoRegistry.scala
index 1b25928..2313a4a 100644
--- a/s2core/src/main/scala/org/apache/s2graph/core/S2GraphIoRegistry.scala
+++ b/s2core/src/main/scala/org/apache/s2graph/core/S2GraphIoRegistry.scala
@@ -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.s2graph.core
http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/26e4d43c/s2core/src/main/scala/org/apache/s2graph/core/features/S2DataTypeFeatures.scala
----------------------------------------------------------------------
diff --git
a/s2core/src/main/scala/org/apache/s2graph/core/features/S2DataTypeFeatures.scala
b/s2core/src/main/scala/org/apache/s2graph/core/features/S2DataTypeFeatures.scala
index a3ff088..5a41344 100644
---
a/s2core/src/main/scala/org/apache/s2graph/core/features/S2DataTypeFeatures.scala
+++
b/s2core/src/main/scala/org/apache/s2graph/core/features/S2DataTypeFeatures.scala
@@ -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.s2graph.core.features
import org.apache.tinkerpop.gremlin.structure.Graph.Features
http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/26e4d43c/s2core/src/main/scala/org/apache/s2graph/core/features/S2EdgeFeatures.scala
----------------------------------------------------------------------
diff --git
a/s2core/src/main/scala/org/apache/s2graph/core/features/S2EdgeFeatures.scala
b/s2core/src/main/scala/org/apache/s2graph/core/features/S2EdgeFeatures.scala
index 825b333..e398167 100644
---
a/s2core/src/main/scala/org/apache/s2graph/core/features/S2EdgeFeatures.scala
+++
b/s2core/src/main/scala/org/apache/s2graph/core/features/S2EdgeFeatures.scala
@@ -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.s2graph.core.features
import org.apache.tinkerpop.gremlin.structure.Graph.Features
http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/26e4d43c/s2core/src/main/scala/org/apache/s2graph/core/features/S2EdgePropertyFeatures.scala
----------------------------------------------------------------------
diff --git
a/s2core/src/main/scala/org/apache/s2graph/core/features/S2EdgePropertyFeatures.scala
b/s2core/src/main/scala/org/apache/s2graph/core/features/S2EdgePropertyFeatures.scala
index 556bbdc..048b5fc 100644
---
a/s2core/src/main/scala/org/apache/s2graph/core/features/S2EdgePropertyFeatures.scala
+++
b/s2core/src/main/scala/org/apache/s2graph/core/features/S2EdgePropertyFeatures.scala
@@ -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.s2graph.core.features
import org.apache.tinkerpop.gremlin.structure.Graph.Features
http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/26e4d43c/s2core/src/main/scala/org/apache/s2graph/core/features/S2ElementFeatures.scala
----------------------------------------------------------------------
diff --git
a/s2core/src/main/scala/org/apache/s2graph/core/features/S2ElementFeatures.scala
b/s2core/src/main/scala/org/apache/s2graph/core/features/S2ElementFeatures.scala
index 7e66c62..215fdeb 100644
---
a/s2core/src/main/scala/org/apache/s2graph/core/features/S2ElementFeatures.scala
+++
b/s2core/src/main/scala/org/apache/s2graph/core/features/S2ElementFeatures.scala
@@ -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.s2graph.core.features
import org.apache.tinkerpop.gremlin.structure.Graph.Features
http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/26e4d43c/s2core/src/main/scala/org/apache/s2graph/core/features/S2GraphFeatures.scala
----------------------------------------------------------------------
diff --git
a/s2core/src/main/scala/org/apache/s2graph/core/features/S2GraphFeatures.scala
b/s2core/src/main/scala/org/apache/s2graph/core/features/S2GraphFeatures.scala
index e9aa247..e2c4179 100644
---
a/s2core/src/main/scala/org/apache/s2graph/core/features/S2GraphFeatures.scala
+++
b/s2core/src/main/scala/org/apache/s2graph/core/features/S2GraphFeatures.scala
@@ -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.s2graph.core.features
import org.apache.tinkerpop.gremlin.structure.Graph.Features
http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/26e4d43c/s2core/src/main/scala/org/apache/s2graph/core/features/S2GraphVariables.scala
----------------------------------------------------------------------
diff --git
a/s2core/src/main/scala/org/apache/s2graph/core/features/S2GraphVariables.scala
b/s2core/src/main/scala/org/apache/s2graph/core/features/S2GraphVariables.scala
index 8e963f5..7c0d8a8 100644
---
a/s2core/src/main/scala/org/apache/s2graph/core/features/S2GraphVariables.scala
+++
b/s2core/src/main/scala/org/apache/s2graph/core/features/S2GraphVariables.scala
@@ -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.s2graph.core.features
import java.util
@@ -38,4 +57,4 @@ class S2GraphVariables extends Graph.Variables {
override def toString: String = {
s"variables[size:${variables.keys.size()}]"
}
-}
\ No newline at end of file
+}
http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/26e4d43c/s2core/src/main/scala/org/apache/s2graph/core/features/S2PropertyFeatures.scala
----------------------------------------------------------------------
diff --git
a/s2core/src/main/scala/org/apache/s2graph/core/features/S2PropertyFeatures.scala
b/s2core/src/main/scala/org/apache/s2graph/core/features/S2PropertyFeatures.scala
index cf3316f..ff47dea 100644
---
a/s2core/src/main/scala/org/apache/s2graph/core/features/S2PropertyFeatures.scala
+++
b/s2core/src/main/scala/org/apache/s2graph/core/features/S2PropertyFeatures.scala
@@ -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.s2graph.core.features
import org.apache.tinkerpop.gremlin.structure.Graph.Features
http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/26e4d43c/s2core/src/main/scala/org/apache/s2graph/core/features/S2VariableFeatures.scala
----------------------------------------------------------------------
diff --git
a/s2core/src/main/scala/org/apache/s2graph/core/features/S2VariableFeatures.scala
b/s2core/src/main/scala/org/apache/s2graph/core/features/S2VariableFeatures.scala
index 6cbf129..146f910 100644
---
a/s2core/src/main/scala/org/apache/s2graph/core/features/S2VariableFeatures.scala
+++
b/s2core/src/main/scala/org/apache/s2graph/core/features/S2VariableFeatures.scala
@@ -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.s2graph.core.features
import org.apache.tinkerpop.gremlin.structure.Graph.Features
http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/26e4d43c/s2core/src/main/scala/org/apache/s2graph/core/features/S2Variables.scala
----------------------------------------------------------------------
diff --git
a/s2core/src/main/scala/org/apache/s2graph/core/features/S2Variables.scala
b/s2core/src/main/scala/org/apache/s2graph/core/features/S2Variables.scala
index 8a9c42b..e33ad91 100644
--- a/s2core/src/main/scala/org/apache/s2graph/core/features/S2Variables.scala
+++ b/s2core/src/main/scala/org/apache/s2graph/core/features/S2Variables.scala
@@ -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.s2graph.core.features
http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/26e4d43c/s2core/src/main/scala/org/apache/s2graph/core/features/S2VertexFeatures.scala
----------------------------------------------------------------------
diff --git
a/s2core/src/main/scala/org/apache/s2graph/core/features/S2VertexFeatures.scala
b/s2core/src/main/scala/org/apache/s2graph/core/features/S2VertexFeatures.scala
index 14024fd..f04eb46 100644
---
a/s2core/src/main/scala/org/apache/s2graph/core/features/S2VertexFeatures.scala
+++
b/s2core/src/main/scala/org/apache/s2graph/core/features/S2VertexFeatures.scala
@@ -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.s2graph.core.features
import org.apache.tinkerpop.gremlin.structure.Graph.Features
http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/26e4d43c/s2core/src/main/scala/org/apache/s2graph/core/features/S2VertexPropertyFeatures.scala
----------------------------------------------------------------------
diff --git
a/s2core/src/main/scala/org/apache/s2graph/core/features/S2VertexPropertyFeatures.scala
b/s2core/src/main/scala/org/apache/s2graph/core/features/S2VertexPropertyFeatures.scala
index b354561..048fb10 100644
---
a/s2core/src/main/scala/org/apache/s2graph/core/features/S2VertexPropertyFeatures.scala
+++
b/s2core/src/main/scala/org/apache/s2graph/core/features/S2VertexPropertyFeatures.scala
@@ -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.s2graph.core.features
import org.apache.tinkerpop.gremlin.structure.Graph.Features
http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/26e4d43c/s2core/src/main/scala/org/apache/s2graph/core/io/Conversions.scala
----------------------------------------------------------------------
diff --git a/s2core/src/main/scala/org/apache/s2graph/core/io/Conversions.scala
b/s2core/src/main/scala/org/apache/s2graph/core/io/Conversions.scala
index 2033e49..f314083 100644
--- a/s2core/src/main/scala/org/apache/s2graph/core/io/Conversions.scala
+++ b/s2core/src/main/scala/org/apache/s2graph/core/io/Conversions.scala
@@ -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.s2graph.core.io
import org.apache.s2graph.core.{EdgeId, JSONParser, S2VertexPropertyId}
http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/26e4d43c/s2core/src/test/scala/org/apache/s2graph/core/io/ConversionTest.scala
----------------------------------------------------------------------
diff --git
a/s2core/src/test/scala/org/apache/s2graph/core/io/ConversionTest.scala
b/s2core/src/test/scala/org/apache/s2graph/core/io/ConversionTest.scala
index b305108..bc53e2f 100644
--- a/s2core/src/test/scala/org/apache/s2graph/core/io/ConversionTest.scala
+++ b/s2core/src/test/scala/org/apache/s2graph/core/io/ConversionTest.scala
@@ -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.s2graph.core.io
//import org.apache.s2graph.core.{EdgeId, S2VertexPropertyId}
http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/26e4d43c/s2core/src/test/scala/org/apache/s2graph/core/tinkerpop/S2GraphData.scala
----------------------------------------------------------------------
diff --git
a/s2core/src/test/scala/org/apache/s2graph/core/tinkerpop/S2GraphData.scala
b/s2core/src/test/scala/org/apache/s2graph/core/tinkerpop/S2GraphData.scala
index b9af825..d020bb0 100644
--- a/s2core/src/test/scala/org/apache/s2graph/core/tinkerpop/S2GraphData.scala
+++ b/s2core/src/test/scala/org/apache/s2graph/core/tinkerpop/S2GraphData.scala
@@ -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.s2graph.core.tinkerpop
import java.lang.annotation.Annotation
http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/26e4d43c/s2core/src/test/scala/org/apache/s2graph/core/tinkerpop/S2GraphProvider.scala
----------------------------------------------------------------------
diff --git
a/s2core/src/test/scala/org/apache/s2graph/core/tinkerpop/S2GraphProvider.scala
b/s2core/src/test/scala/org/apache/s2graph/core/tinkerpop/S2GraphProvider.scala
index 5d68656..87eac0e 100644
---
a/s2core/src/test/scala/org/apache/s2graph/core/tinkerpop/S2GraphProvider.scala
+++
b/s2core/src/test/scala/org/apache/s2graph/core/tinkerpop/S2GraphProvider.scala
@@ -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.s2graph.core.tinkerpop
import java.util
http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/26e4d43c/s2core/src/test/scala/org/apache/s2graph/core/tinkerpop/process/S2GraphProcessStandardTest.scala
----------------------------------------------------------------------
diff --git
a/s2core/src/test/scala/org/apache/s2graph/core/tinkerpop/process/S2GraphProcessStandardTest.scala
b/s2core/src/test/scala/org/apache/s2graph/core/tinkerpop/process/S2GraphProcessStandardTest.scala
index 5a8fc5c..495f161 100644
---
a/s2core/src/test/scala/org/apache/s2graph/core/tinkerpop/process/S2GraphProcessStandardTest.scala
+++
b/s2core/src/test/scala/org/apache/s2graph/core/tinkerpop/process/S2GraphProcessStandardTest.scala
@@ -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.s2graph.core.tinkerpop.process
import org.apache.s2graph.core.S2Graph
@@ -13,4 +32,4 @@ import org.junit.runners.MethodSorters
@GraphProviderClass(provider = classOf[S2GraphProvider], graph =
classOf[S2Graph])
class S2GraphProcessStandardTest {
-}
\ No newline at end of file
+}
http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/26e4d43c/s2core/src/test/scala/org/apache/s2graph/core/tinkerpop/structure/S2GraphStructureIntegrateTest.scala
----------------------------------------------------------------------
diff --git
a/s2core/src/test/scala/org/apache/s2graph/core/tinkerpop/structure/S2GraphStructureIntegrateTest.scala
b/s2core/src/test/scala/org/apache/s2graph/core/tinkerpop/structure/S2GraphStructureIntegrateTest.scala
index a909878..4b88714 100644
---
a/s2core/src/test/scala/org/apache/s2graph/core/tinkerpop/structure/S2GraphStructureIntegrateTest.scala
+++
b/s2core/src/test/scala/org/apache/s2graph/core/tinkerpop/structure/S2GraphStructureIntegrateTest.scala
@@ -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.s2graph.core.tinkerpop.structure
import org.apache.s2graph.core.S2Graph
http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/26e4d43c/s2core/src/test/scala/org/apache/s2graph/core/tinkerpop/structure/S2GraphStructureStandardTest.scala
----------------------------------------------------------------------
diff --git
a/s2core/src/test/scala/org/apache/s2graph/core/tinkerpop/structure/S2GraphStructureStandardTest.scala
b/s2core/src/test/scala/org/apache/s2graph/core/tinkerpop/structure/S2GraphStructureStandardTest.scala
index ed5a532..ed9ab8d 100644
---
a/s2core/src/test/scala/org/apache/s2graph/core/tinkerpop/structure/S2GraphStructureStandardTest.scala
+++
b/s2core/src/test/scala/org/apache/s2graph/core/tinkerpop/structure/S2GraphStructureStandardTest.scala
@@ -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.s2graph.core.tinkerpop.structure
import org.apache.s2graph.core.S2Graph
@@ -13,4 +32,4 @@ import org.junit.runners.MethodSorters
@GraphProviderClass(provider = classOf[S2GraphProvider], graph =
classOf[S2Graph])
class S2GraphStructureStandardTest {
-}
\ No newline at end of file
+}