S2GRAPH-4: add apache license header using rat
Project: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/commit/8c04784a Tree: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/tree/8c04784a Diff: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/diff/8c04784a Branch: refs/heads/S2GRAPH-4 Commit: 8c04784a6ae42a85ed3b7bd4d2dcd37b48d40f5f Parents: d24176a Author: SteamShon <[email protected]> Authored: Mon Dec 28 12:25:16 2015 +0900 Committer: SteamShon <[email protected]> Committed: Mon Dec 28 12:25:16 2015 +0900 ---------------------------------------------------------------------- app/Bootstrap.scala | 19 ++++++++++++++++++ app/actors/QueueActor.scala | 19 ++++++++++++++++++ app/config/Config.scala | 19 ++++++++++++++++++ app/config/CounterConfig.scala | 19 ++++++++++++++++++ app/controllers/AdminController.scala | 19 ++++++++++++++++++ app/controllers/ApplicationController.scala | 19 ++++++++++++++++++ app/controllers/CounterController.scala | 19 ++++++++++++++++++ app/controllers/EdgeController.scala | 19 ++++++++++++++++++ app/controllers/ExperimentController.scala | 19 ++++++++++++++++++ app/controllers/JsonBodyParser.scala | 19 ++++++++++++++++++ app/controllers/PostProcess.scala | 19 ++++++++++++++++++ app/controllers/PublishController.scala | 19 ++++++++++++++++++ app/controllers/QueryController.scala | 19 ++++++++++++++++++ app/controllers/RequestParser.scala | 19 ++++++++++++++++++ app/controllers/TestController.scala | 19 ++++++++++++++++++ app/controllers/VertexController.scala | 19 ++++++++++++++++++ app/models/ExactCounterItem.scala | 19 ++++++++++++++++++ app/models/RankCounterItem.scala | 19 ++++++++++++++++++ app/models/package.scala | 19 ++++++++++++++++++ app/util/TestDataLoader.scala | 19 ++++++++++++++++++ conf/logger.xml | 20 +++++++++++++++++++ loader/loader.py | 16 +++++++++++++++ loader/src/main/resources/log4j.properties | 17 ++++++++++++++++ .../main/scala/subscriber/GraphSubscriber.scala | 19 ++++++++++++++++++ .../subscriber/GraphSubscriberStreaming.scala | 19 ++++++++++++++++++ .../src/main/scala/subscriber/KafkaToHdfs.scala | 19 ++++++++++++++++++ .../main/scala/subscriber/TestEdgeBuilder.scala | 19 ++++++++++++++++++ .../main/scala/subscriber/TransferToHFile.scala | 19 ++++++++++++++++++ .../scala/subscriber/VertexDegreeBuilder.scala | 19 ++++++++++++++++++ .../main/scala/subscriber/WalLogToHDFS.scala | 19 ++++++++++++++++++ .../scala/subscriber/GraphSubscriberTest.scala | 19 ++++++++++++++++++ s2core/src/main/resources/logback.xml | 20 +++++++++++++++++++ .../scala/com/kakao/s2graph/core/Edge.scala | 19 ++++++++++++++++++ .../kakao/s2graph/core/ExceptionHandler.scala | 19 ++++++++++++++++++ .../scala/com/kakao/s2graph/core/Graph.scala | 19 ++++++++++++++++++ .../com/kakao/s2graph/core/GraphElement.scala | 19 ++++++++++++++++++ .../kakao/s2graph/core/GraphExceptions.scala | 19 ++++++++++++++++++ .../com/kakao/s2graph/core/GraphUtil.scala | 19 ++++++++++++++++++ .../com/kakao/s2graph/core/JSONParser.scala | 19 ++++++++++++++++++ .../com/kakao/s2graph/core/Management.scala | 19 ++++++++++++++++++ .../com/kakao/s2graph/core/OrderingUtil.scala | 19 ++++++++++++++++++ .../com/kakao/s2graph/core/QueryParam.scala | 19 ++++++++++++++++++ .../com/kakao/s2graph/core/QueryRequest.scala | 19 ++++++++++++++++++ .../com/kakao/s2graph/core/QueryResult.scala | 19 ++++++++++++++++++ .../scala/com/kakao/s2graph/core/Vertex.scala | 19 ++++++++++++++++++ .../com/kakao/s2graph/core/mysqls/Bucket.scala | 19 ++++++++++++++++++ .../kakao/s2graph/core/mysqls/ColumnMeta.scala | 19 ++++++++++++++++++ .../kakao/s2graph/core/mysqls/Experiment.scala | 19 ++++++++++++++++++ .../com/kakao/s2graph/core/mysqls/Label.scala | 19 ++++++++++++++++++ .../kakao/s2graph/core/mysqls/LabelIndex.scala | 19 ++++++++++++++++++ .../kakao/s2graph/core/mysqls/LabelMeta.scala | 19 ++++++++++++++++++ .../com/kakao/s2graph/core/mysqls/Model.scala | 19 ++++++++++++++++++ .../com/kakao/s2graph/core/mysqls/Service.scala | 19 ++++++++++++++++++ .../s2graph/core/mysqls/ServiceColumn.scala | 19 ++++++++++++++++++ .../s2graph/core/parsers/WhereParser.scala | 19 ++++++++++++++++++ .../s2graph/core/storage/MutationBuilder.scala | 19 ++++++++++++++++++ .../s2graph/core/storage/QueryBuilder.scala | 19 ++++++++++++++++++ .../kakao/s2graph/core/storage/SKeyValue.scala | 19 ++++++++++++++++++ .../kakao/s2graph/core/storage/Storage.scala | 19 ++++++++++++++++++ .../core/storage/StorageDeserializable.scala | 19 ++++++++++++++++++ .../core/storage/StorageSerializable.scala | 19 ++++++++++++++++++ .../hbase/AsynchbaseMutationBuilder.scala | 19 ++++++++++++++++++ .../storage/hbase/AsynchbaseQueryBuilder.scala | 19 ++++++++++++++++++ .../core/storage/hbase/AsynchbaseStorage.scala | 19 ++++++++++++++++++ .../core/storage/hbase/HDeserializable.scala | 21 +++++++++++++++++++- .../core/storage/hbase/HSerializable.scala | 19 ++++++++++++++++++ .../storage/hbase/IndexEdgeDeserializable.scala | 19 ++++++++++++++++++ .../storage/hbase/IndexEdgeSerializable.scala | 19 ++++++++++++++++++ .../hbase/SnapshotEdgeDeserializable.scala | 19 ++++++++++++++++++ .../hbase/SnapshotEdgeSerializable.scala | 19 ++++++++++++++++++ .../storage/hbase/VertexDeserializable.scala | 19 ++++++++++++++++++ .../core/storage/hbase/VertexSerializable.scala | 19 ++++++++++++++++++ .../kakao/s2graph/core/types/HBaseType.scala | 21 +++++++++++++++++++- .../kakao/s2graph/core/types/InnerValLike.scala | 19 ++++++++++++++++++ .../s2graph/core/types/LabelWithDirection.scala | 19 ++++++++++++++++++ .../com/kakao/s2graph/core/types/VertexId.scala | 19 ++++++++++++++++++ .../kakao/s2graph/core/types/v1/InnerVal.scala | 19 ++++++++++++++++++ .../kakao/s2graph/core/types/v2/InnerVal.scala | 19 ++++++++++++++++++ .../kakao/s2graph/core/utils/Extentions.scala | 19 ++++++++++++++++++ .../com/kakao/s2graph/core/utils/Logger.scala | 19 ++++++++++++++++++ .../s2graph/core/utils/SafeUpdateCache.scala | 19 ++++++++++++++++++ .../scala/com/kakao/s2graph/core/EdgeTest.scala | 19 ++++++++++++++++++ .../com/kakao/s2graph/core/GraphTest.scala | 19 ++++++++++++++++++ .../com/kakao/s2graph/core/JsonParserTest.scala | 19 ++++++++++++++++++ .../com/kakao/s2graph/core/ManagementTest.scala | 19 ++++++++++++++++++ .../kakao/s2graph/core/OrderingUtilTest.scala | 19 ++++++++++++++++++ .../com/kakao/s2graph/core/QueryParamTest.scala | 19 ++++++++++++++++++ .../com/kakao/s2graph/core/TestCommon.scala | 19 ++++++++++++++++++ .../s2graph/core/TestCommonWithModels.scala | 19 ++++++++++++++++++ .../com/kakao/s2graph/core/VertexTest.scala | 19 ++++++++++++++++++ .../kakao/s2graph/core/models/ModelTest.scala | 19 ++++++++++++++++++ .../s2graph/core/mysqls/ExperimentSpec.scala | 19 ++++++++++++++++++ .../s2graph/core/parsers/WhereParserTest.scala | 19 ++++++++++++++++++ .../hbase/AsynchbaseQueryBuilderTest.scala | 19 ++++++++++++++++++ .../s2graph/core/types/CompositeIdTest.scala | 19 ++++++++++++++++++ .../kakao/s2graph/core/types/EdgeTypeTest.scala | 19 ++++++++++++++++++ .../kakao/s2graph/core/types/InnerValTest.scala | 19 ++++++++++++++++++ .../s2graph/core/types/SourceVertexIdTest.scala | 19 ++++++++++++++++++ .../s2graph/core/types/TargetVertexIdTest.scala | 19 ++++++++++++++++++ .../kakao/s2graph/core/types/VertexIdTest.scala | 19 ++++++++++++++++++ .../s2graph/core/types/VertexTypeTest.scala | 19 ++++++++++++++++++ .../main/scala/s2/config/ConfigFunctions.scala | 19 ++++++++++++++++++ .../main/scala/s2/config/S2CounterConfig.scala | 19 ++++++++++++++++++ .../src/main/scala/s2/counter/TrxLog.scala | 19 ++++++++++++++++++ .../main/scala/s2/counter/core/BytesUtil.scala | 19 ++++++++++++++++++ .../scala/s2/counter/core/ExactCounter.scala | 19 ++++++++++++++++++ .../main/scala/s2/counter/core/ExactKey.scala | 19 ++++++++++++++++++ .../scala/s2/counter/core/ExactQualifier.scala | 19 ++++++++++++++++++ .../scala/s2/counter/core/ExactStorage.scala | 19 ++++++++++++++++++ .../scala/s2/counter/core/RankingCounter.scala | 21 +++++++++++++++++++- .../main/scala/s2/counter/core/RankingKey.scala | 19 ++++++++++++++++++ .../scala/s2/counter/core/RankingResult.scala | 19 ++++++++++++++++++ .../scala/s2/counter/core/RankingStorage.scala | 19 ++++++++++++++++++ .../scala/s2/counter/core/RankingValue.scala | 19 ++++++++++++++++++ .../s2/counter/core/RateRankingValue.scala | 19 ++++++++++++++++++ .../scala/s2/counter/core/TimedQualifier.scala | 19 ++++++++++++++++++ .../scala/s2/counter/core/v1/BytesUtilV1.scala | 19 ++++++++++++++++++ .../core/v1/ExactStorageAsyncHBase.scala | 19 ++++++++++++++++++ .../s2/counter/core/v1/ExactStorageHBase.scala | 19 ++++++++++++++++++ .../counter/core/v1/RankingStorageRedis.scala | 19 ++++++++++++++++++ .../scala/s2/counter/core/v2/BytesUtilV2.scala | 19 ++++++++++++++++++ .../s2/counter/core/v2/ExactStorageGraph.scala | 19 ++++++++++++++++++ .../s2/counter/core/v2/GraphOperation.scala | 19 ++++++++++++++++++ .../counter/core/v2/RankingStorageGraph.scala | 19 ++++++++++++++++++ .../scala/s2/counter/decay/DecayFormula.scala | 19 ++++++++++++++++++ .../s2/counter/decay/ExpDecayFormula.scala | 19 ++++++++++++++++++ .../src/main/scala/s2/counter/package.scala | 19 ++++++++++++++++++ .../src/main/scala/s2/helper/CounterAdmin.scala | 19 ++++++++++++++++++ .../scala/s2/helper/DistributedScanner.scala | 19 ++++++++++++++++++ .../scala/s2/helper/HashShardingJedis.scala | 19 ++++++++++++++++++ .../src/main/scala/s2/helper/Management.scala | 19 ++++++++++++++++++ .../src/main/scala/s2/helper/WithHBase.scala | 19 ++++++++++++++++++ .../src/main/scala/s2/helper/WithRedis.scala | 19 ++++++++++++++++++ .../main/scala/s2/models/CachedDBModel.scala | 19 ++++++++++++++++++ .../src/main/scala/s2/models/Counter.scala | 19 ++++++++++++++++++ .../src/main/scala/s2/models/DBModel.scala | 19 ++++++++++++++++++ .../main/scala/s2/util/CartesianProduct.scala | 19 ++++++++++++++++++ .../main/scala/s2/util/CollectionCache.scala | 19 ++++++++++++++++++ .../src/main/scala/s2/util/FunctionParser.scala | 19 ++++++++++++++++++ .../src/main/scala/s2/util/Hashes.scala | 19 ++++++++++++++++++ .../src/main/scala/s2/util/ReduceMapValue.scala | 19 ++++++++++++++++++ .../src/main/scala/s2/util/Retry.scala | 19 ++++++++++++++++++ .../src/main/scala/s2/util/SplitBytes.scala | 19 ++++++++++++++++++ .../src/main/scala/s2/util/UnitConverter.scala | 19 ++++++++++++++++++ .../src/test/resources/log4j.properties | 17 ++++++++++++++++ .../s2/counter/core/RankingCounterSpec.scala | 19 ++++++++++++++++++ .../test/scala/s2/models/CounterModelSpec.scala | 19 ++++++++++++++++++ .../src/test/scala/s2/models/CounterSpec.scala | 19 ++++++++++++++++++ .../main/scala/s2/config/StreamingConfig.scala | 19 ++++++++++++++++++ .../scala/s2/counter/CounterBulkLoader.scala | 21 +++++++++++++++++++- .../scala/s2/counter/EraseDailyCounter.scala | 19 ++++++++++++++++++ .../s2/counter/core/CounterEtlFunctions.scala | 19 ++++++++++++++++++ .../scala/s2/counter/core/CounterEtlItem.scala | 19 ++++++++++++++++++ .../s2/counter/core/CounterFunctions.scala | 19 ++++++++++++++++++ .../scala/s2/counter/core/DimensionProps.scala | 19 ++++++++++++++++++ .../scala/s2/counter/stream/EtlStreaming.scala | 19 ++++++++++++++++++ .../counter/stream/ExactCounterStreaming.scala | 19 ++++++++++++++++++ .../s2/counter/stream/GraphToETLStreaming.scala | 19 ++++++++++++++++++ .../stream/RankingCounterStreaming.scala | 19 ++++++++++++++++++ .../scala/s2/models/DefaultCounterModel.scala | 19 ++++++++++++++++++ .../src/test/resources/log4j.properties | 17 ++++++++++++++++ .../counter/core/CounterEtlFunctionsSpec.scala | 19 ++++++++++++++++++ .../s2/counter/core/DimensionPropsTest.scala | 19 ++++++++++++++++++ .../stream/RankingCounterStreamingSpec.scala | 19 ++++++++++++++++++ script/test.sh | 16 +++++++++++++++ spark/src/main/scala/kafka/KafkaHelper.scala | 19 ++++++++++++++++++ .../streaming/kafka/KafkaRDDFunctions.scala | 19 ++++++++++++++++++ .../spark/streaming/kafka/StreamHelper.scala | 19 ++++++++++++++++++ .../main/scala/s2/config/S2ConfigFactory.scala | 19 ++++++++++++++++++ .../src/main/scala/s2/spark/HashMapParam.scala | 21 +++++++++++++++++++- spark/src/main/scala/s2/spark/RDDUtil.scala | 19 ++++++++++++++++++ spark/src/main/scala/s2/spark/SparkApp.scala | 19 ++++++++++++++++++ .../scala/s2/spark/SubscriberListener.scala | 19 ++++++++++++++++++ spark/src/main/scala/s2/spark/WithKafka.scala | 21 +++++++++++++++++++- .../src/test/scala/s2/spark/SparkAppTest.scala | 19 ++++++++++++++++++ .../test/scala/s2/spark/TestStreamingSpec.scala | 19 ++++++++++++++++++ test.sh | 16 +++++++++++++++ test/benchmark/BenchmarkCommon.scala | 19 ++++++++++++++++++ test/benchmark/GraphUtilSpec.scala | 19 ++++++++++++++++++ test/benchmark/JsonBenchmarkSpec.scala | 19 ++++++++++++++++++ test/benchmark/OrderingUtilBenchmarkSpec.scala | 19 ++++++++++++++++++ test/benchmark/PostProcessBenchmarkSpec.scala | 19 ++++++++++++++++++ test/benchmark/SamplingBenchmarkSpec.scala | 19 ++++++++++++++++++ test/controllers/AdminControllerSpec.scala | 19 ++++++++++++++++++ test/controllers/BasicCrudSpec.scala | 19 ++++++++++++++++++ test/controllers/EdgeControllerSpec.scala | 19 ++++++++++++++++++ test/controllers/PostProcessSpec.scala | 19 ++++++++++++++++++ test/controllers/QueryCacheSpec.scala | 19 ++++++++++++++++++ test/controllers/QuerySpec.scala | 19 ++++++++++++++++++ test/controllers/SpecCommon.scala | 19 ++++++++++++++++++ test/controllers/StrongLabelDeleteSpec.scala | 19 ++++++++++++++++++ test/controllers/VertexSpec.scala | 19 ++++++++++++++++++ test/controllers/WeakLabelDeleteSpec.scala | 19 ++++++++++++++++++ 193 files changed, 3660 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/app/Bootstrap.scala ---------------------------------------------------------------------- diff --git a/app/Bootstrap.scala b/app/Bootstrap.scala index 1879d90..5df02f2 100644 --- a/app/Bootstrap.scala +++ b/app/Bootstrap.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 com.kakao.s2graph.rest import java.util.concurrent.Executors http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/app/actors/QueueActor.scala ---------------------------------------------------------------------- diff --git a/app/actors/QueueActor.scala b/app/actors/QueueActor.scala index 74bc65d..1f49cfe 100644 --- a/app/actors/QueueActor.scala +++ b/app/actors/QueueActor.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 actors import java.util.concurrent.TimeUnit http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/app/config/Config.scala ---------------------------------------------------------------------- diff --git a/app/config/Config.scala b/app/config/Config.scala index 98b87c5..b3b3b91 100644 --- a/app/config/Config.scala +++ b/app/config/Config.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 config import play.api.Play http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/app/config/CounterConfig.scala ---------------------------------------------------------------------- diff --git a/app/config/CounterConfig.scala b/app/config/CounterConfig.scala index 2569d55..26d9564 100644 --- a/app/config/CounterConfig.scala +++ b/app/config/CounterConfig.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 config /** http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/app/controllers/AdminController.scala ---------------------------------------------------------------------- diff --git a/app/controllers/AdminController.scala b/app/controllers/AdminController.scala index b31f01f..58c09bf 100644 --- a/app/controllers/AdminController.scala +++ b/app/controllers/AdminController.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 controllers import com.kakao.s2graph.core._ http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/app/controllers/ApplicationController.scala ---------------------------------------------------------------------- diff --git a/app/controllers/ApplicationController.scala b/app/controllers/ApplicationController.scala index fefe93e..d1d3909 100644 --- a/app/controllers/ApplicationController.scala +++ b/app/controllers/ApplicationController.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 controllers import com.kakao.s2graph.core.utils.logger http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/app/controllers/CounterController.scala ---------------------------------------------------------------------- diff --git a/app/controllers/CounterController.scala b/app/controllers/CounterController.scala index c2b4dc2..7d0b5eb 100644 --- a/app/controllers/CounterController.scala +++ b/app/controllers/CounterController.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 controllers import com.kakao.s2graph.core.ExceptionHandler http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/app/controllers/EdgeController.scala ---------------------------------------------------------------------- diff --git a/app/controllers/EdgeController.scala b/app/controllers/EdgeController.scala index 6279b2c..96e8149 100644 --- a/app/controllers/EdgeController.scala +++ b/app/controllers/EdgeController.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 controllers import actors.QueueActor http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/app/controllers/ExperimentController.scala ---------------------------------------------------------------------- diff --git a/app/controllers/ExperimentController.scala b/app/controllers/ExperimentController.scala index 41614ef..9488950 100644 --- a/app/controllers/ExperimentController.scala +++ b/app/controllers/ExperimentController.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 controllers http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/app/controllers/JsonBodyParser.scala ---------------------------------------------------------------------- diff --git a/app/controllers/JsonBodyParser.scala b/app/controllers/JsonBodyParser.scala index 3e3d40c..36ecaae 100644 --- a/app/controllers/JsonBodyParser.scala +++ b/app/controllers/JsonBodyParser.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 controllers import com.kakao.s2graph.core.utils.logger http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/app/controllers/PostProcess.scala ---------------------------------------------------------------------- diff --git a/app/controllers/PostProcess.scala b/app/controllers/PostProcess.scala index bbc7266..a64346f 100644 --- a/app/controllers/PostProcess.scala +++ b/app/controllers/PostProcess.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 controllers import com.kakao.s2graph.core._ http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/app/controllers/PublishController.scala ---------------------------------------------------------------------- diff --git a/app/controllers/PublishController.scala b/app/controllers/PublishController.scala index b1495d5..fdb27ee 100644 --- a/app/controllers/PublishController.scala +++ b/app/controllers/PublishController.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 controllers import com.kakao.s2graph.core.ExceptionHandler http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/app/controllers/QueryController.scala ---------------------------------------------------------------------- diff --git a/app/controllers/QueryController.scala b/app/controllers/QueryController.scala index f545b89..782c21a 100644 --- a/app/controllers/QueryController.scala +++ b/app/controllers/QueryController.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 controllers http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/app/controllers/RequestParser.scala ---------------------------------------------------------------------- diff --git a/app/controllers/RequestParser.scala b/app/controllers/RequestParser.scala index e2ac8d6..09554ee 100644 --- a/app/controllers/RequestParser.scala +++ b/app/controllers/RequestParser.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 controllers import com.kakao.s2graph.core.GraphExceptions.{BadQueryException, ModelNotFoundException} http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/app/controllers/TestController.scala ---------------------------------------------------------------------- diff --git a/app/controllers/TestController.scala b/app/controllers/TestController.scala index 8558ae5..7433993 100644 --- a/app/controllers/TestController.scala +++ b/app/controllers/TestController.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 controllers import play.api.mvc.{Action, Controller} http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/app/controllers/VertexController.scala ---------------------------------------------------------------------- diff --git a/app/controllers/VertexController.scala b/app/controllers/VertexController.scala index 9c6de20..0831082 100644 --- a/app/controllers/VertexController.scala +++ b/app/controllers/VertexController.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 controllers http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/app/models/ExactCounterItem.scala ---------------------------------------------------------------------- diff --git a/app/models/ExactCounterItem.scala b/app/models/ExactCounterItem.scala index 244c046..55891ab 100644 --- a/app/models/ExactCounterItem.scala +++ b/app/models/ExactCounterItem.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 models import play.api.libs.json.{Json, Writes} http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/app/models/RankCounterItem.scala ---------------------------------------------------------------------- diff --git a/app/models/RankCounterItem.scala b/app/models/RankCounterItem.scala index aaa7df7..8f20407 100644 --- a/app/models/RankCounterItem.scala +++ b/app/models/RankCounterItem.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 models import play.api.libs.json.{Json, Writes} http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/app/models/package.scala ---------------------------------------------------------------------- diff --git a/app/models/package.scala b/app/models/package.scala index 17fa8e1..fd8a01f 100644 --- a/app/models/package.scala +++ b/app/models/package.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. + */ + import java.text.SimpleDateFormat /** http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/app/util/TestDataLoader.scala ---------------------------------------------------------------------- diff --git a/app/util/TestDataLoader.scala b/app/util/TestDataLoader.scala index 45a9b61..c97feb4 100644 --- a/app/util/TestDataLoader.scala +++ b/app/util/TestDataLoader.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 util import java.io.File http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/conf/logger.xml ---------------------------------------------------------------------- diff --git a/conf/logger.xml b/conf/logger.xml index 2d767c2..0fe2b69 100644 --- a/conf/logger.xml +++ b/conf/logger.xml @@ -1,3 +1,23 @@ +<?xml version='1.0'?> +<!-- +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. +--> + <configuration> <conversionRule conversionWord="coloredLevel" converterClass="play.api.Logger$ColoredLevel"/> http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/loader/loader.py ---------------------------------------------------------------------- diff --git a/loader/loader.py b/loader/loader.py index 1345736..1d4dc32 100644 --- a/loader/loader.py +++ b/loader/loader.py @@ -1,4 +1,20 @@ #!/usr/bin/python +# 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. import os, sys, urllib2, urllib http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/loader/src/main/resources/log4j.properties ---------------------------------------------------------------------- diff --git a/loader/src/main/resources/log4j.properties b/loader/src/main/resources/log4j.properties old mode 100755 new mode 100644 index 09e570a..9a4b8ef --- a/loader/src/main/resources/log4j.properties +++ b/loader/src/main/resources/log4j.properties @@ -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. + log4j.rootLogger=${root.logger} root.logger=WARN,console log4j.appender.console=org.apache.log4j.ConsoleAppender http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/loader/src/main/scala/subscriber/GraphSubscriber.scala ---------------------------------------------------------------------- diff --git a/loader/src/main/scala/subscriber/GraphSubscriber.scala b/loader/src/main/scala/subscriber/GraphSubscriber.scala index 88de3d7..14e8259 100644 --- a/loader/src/main/scala/subscriber/GraphSubscriber.scala +++ b/loader/src/main/scala/subscriber/GraphSubscriber.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 subscriber http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/loader/src/main/scala/subscriber/GraphSubscriberStreaming.scala ---------------------------------------------------------------------- diff --git a/loader/src/main/scala/subscriber/GraphSubscriberStreaming.scala b/loader/src/main/scala/subscriber/GraphSubscriberStreaming.scala index 1063560..73c1ed4 100644 --- a/loader/src/main/scala/subscriber/GraphSubscriberStreaming.scala +++ b/loader/src/main/scala/subscriber/GraphSubscriberStreaming.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 subscriber import org.apache.hadoop.hbase.HBaseConfiguration http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/loader/src/main/scala/subscriber/KafkaToHdfs.scala ---------------------------------------------------------------------- diff --git a/loader/src/main/scala/subscriber/KafkaToHdfs.scala b/loader/src/main/scala/subscriber/KafkaToHdfs.scala index 785cb69..4f92cd8 100644 --- a/loader/src/main/scala/subscriber/KafkaToHdfs.scala +++ b/loader/src/main/scala/subscriber/KafkaToHdfs.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 subscriber import org.apache.spark.streaming.Durations._ http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/loader/src/main/scala/subscriber/TestEdgeBuilder.scala ---------------------------------------------------------------------- diff --git a/loader/src/main/scala/subscriber/TestEdgeBuilder.scala b/loader/src/main/scala/subscriber/TestEdgeBuilder.scala index f5f43f8..9b4083a 100644 --- a/loader/src/main/scala/subscriber/TestEdgeBuilder.scala +++ b/loader/src/main/scala/subscriber/TestEdgeBuilder.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 subscriber import org.apache.spark.SparkContext http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/loader/src/main/scala/subscriber/TransferToHFile.scala ---------------------------------------------------------------------- diff --git a/loader/src/main/scala/subscriber/TransferToHFile.scala b/loader/src/main/scala/subscriber/TransferToHFile.scala index aba9673..8bd986b 100644 --- a/loader/src/main/scala/subscriber/TransferToHFile.scala +++ b/loader/src/main/scala/subscriber/TransferToHFile.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 subscriber http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/loader/src/main/scala/subscriber/VertexDegreeBuilder.scala ---------------------------------------------------------------------- diff --git a/loader/src/main/scala/subscriber/VertexDegreeBuilder.scala b/loader/src/main/scala/subscriber/VertexDegreeBuilder.scala index c8255dd..031e94b 100644 --- a/loader/src/main/scala/subscriber/VertexDegreeBuilder.scala +++ b/loader/src/main/scala/subscriber/VertexDegreeBuilder.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 subscriber /** http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/loader/src/main/scala/subscriber/WalLogToHDFS.scala ---------------------------------------------------------------------- diff --git a/loader/src/main/scala/subscriber/WalLogToHDFS.scala b/loader/src/main/scala/subscriber/WalLogToHDFS.scala index 2c37aef..061b97a 100644 --- a/loader/src/main/scala/subscriber/WalLogToHDFS.scala +++ b/loader/src/main/scala/subscriber/WalLogToHDFS.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 subscriber import java.text.SimpleDateFormat http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/loader/src/test/scala/subscriber/GraphSubscriberTest.scala ---------------------------------------------------------------------- diff --git a/loader/src/test/scala/subscriber/GraphSubscriberTest.scala b/loader/src/test/scala/subscriber/GraphSubscriberTest.scala index a70c0f6..b1b9133 100644 --- a/loader/src/test/scala/subscriber/GraphSubscriberTest.scala +++ b/loader/src/test/scala/subscriber/GraphSubscriberTest.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 subscriber import com.kakao.s2graph.core.{Label, Service, Management} http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/resources/logback.xml ---------------------------------------------------------------------- diff --git a/s2core/src/main/resources/logback.xml b/s2core/src/main/resources/logback.xml index 94f4920..2331d18 100644 --- a/s2core/src/main/resources/logback.xml +++ b/s2core/src/main/resources/logback.xml @@ -1,4 +1,24 @@ <?xml version="1.0" encoding="UTF-8"?> + +<!-- +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. +--> + <configuration> <jmxConfigurator/> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/Edge.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/Edge.scala b/s2core/src/main/scala/com/kakao/s2graph/core/Edge.scala index 10443c3..6ebda32 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/Edge.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/Edge.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 com.kakao.s2graph.core http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/ExceptionHandler.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/ExceptionHandler.scala b/s2core/src/main/scala/com/kakao/s2graph/core/ExceptionHandler.scala index a965e90..1a55441 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/ExceptionHandler.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/ExceptionHandler.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 com.kakao.s2graph.core import java.util.Properties http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/Graph.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/Graph.scala b/s2core/src/main/scala/com/kakao/s2graph/core/Graph.scala index 727a3be..e600ff4 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/Graph.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/Graph.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 com.kakao.s2graph.core import java.util http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/GraphElement.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/GraphElement.scala b/s2core/src/main/scala/com/kakao/s2graph/core/GraphElement.scala index e6c043d..ed27981 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/GraphElement.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/GraphElement.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 com.kakao.s2graph.core import org.hbase.async.{HBaseRpc} http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/GraphExceptions.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/GraphExceptions.scala b/s2core/src/main/scala/com/kakao/s2graph/core/GraphExceptions.scala index fa186c2..669b664 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/GraphExceptions.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/GraphExceptions.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 com.kakao.s2graph.core http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/GraphUtil.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/GraphUtil.scala b/s2core/src/main/scala/com/kakao/s2graph/core/GraphUtil.scala index 0359963..821332e 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/GraphUtil.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/GraphUtil.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 com.kakao.s2graph.core import scala.util.Random http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/JSONParser.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/JSONParser.scala b/s2core/src/main/scala/com/kakao/s2graph/core/JSONParser.scala index 3b6d529..a229430 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/JSONParser.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/JSONParser.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 com.kakao.s2graph.core import com.kakao.s2graph.core.types.{InnerVal, InnerValLike} http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/Management.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/Management.scala b/s2core/src/main/scala/com/kakao/s2graph/core/Management.scala index 5258a3a..ffb5fec 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/Management.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/Management.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 com.kakao.s2graph.core http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/OrderingUtil.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/OrderingUtil.scala b/s2core/src/main/scala/com/kakao/s2graph/core/OrderingUtil.scala index 217b6eb..254f288 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/OrderingUtil.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/OrderingUtil.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 com.kakao.s2graph.core import com.kakao.s2graph.core.types.InnerValLike http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/QueryParam.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/QueryParam.scala b/s2core/src/main/scala/com/kakao/s2graph/core/QueryParam.scala index 449764b..38a4d5e 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/QueryParam.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/QueryParam.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 com.kakao.s2graph.core import com.google.common.hash.Hashing http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/QueryRequest.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/QueryRequest.scala b/s2core/src/main/scala/com/kakao/s2graph/core/QueryRequest.scala index 413bfdb..3e2b33a 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/QueryRequest.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/QueryRequest.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 com.kakao.s2graph.core // //import scala.collection.Seq http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/QueryResult.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/QueryResult.scala b/s2core/src/main/scala/com/kakao/s2graph/core/QueryResult.scala index 36c5a01..0afcf83 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/QueryResult.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/QueryResult.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 com.kakao.s2graph.core import com.kakao.s2graph.core.mysqls.LabelMeta http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/Vertex.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/Vertex.scala b/s2core/src/main/scala/com/kakao/s2graph/core/Vertex.scala index 9cc0607..9ecbc34 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/Vertex.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/Vertex.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 com.kakao.s2graph.core import com.kakao.s2graph.core.mysqls._ http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/mysqls/Bucket.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/mysqls/Bucket.scala b/s2core/src/main/scala/com/kakao/s2graph/core/mysqls/Bucket.scala index edc6147..93c4b61 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/mysqls/Bucket.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/mysqls/Bucket.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 com.kakao.s2graph.core.mysqls /** http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/mysqls/ColumnMeta.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/mysqls/ColumnMeta.scala b/s2core/src/main/scala/com/kakao/s2graph/core/mysqls/ColumnMeta.scala index 1b6d55f..1081fdf 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/mysqls/ColumnMeta.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/mysqls/ColumnMeta.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 com.kakao.s2graph.core.mysqls import play.api.libs.json.Json http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/mysqls/Experiment.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/mysqls/Experiment.scala b/s2core/src/main/scala/com/kakao/s2graph/core/mysqls/Experiment.scala index 93cc374..6a4d543 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/mysqls/Experiment.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/mysqls/Experiment.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 com.kakao.s2graph.core.mysqls import com.kakao.s2graph.core.GraphUtil http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/mysqls/Label.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/mysqls/Label.scala b/s2core/src/main/scala/com/kakao/s2graph/core/mysqls/Label.scala index 1e49abd..33492da 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/mysqls/Label.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/mysqls/Label.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 com.kakao.s2graph.core.mysqls /** http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/mysqls/LabelIndex.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/mysqls/LabelIndex.scala b/s2core/src/main/scala/com/kakao/s2graph/core/mysqls/LabelIndex.scala index 47f4a2a..bb13fc4 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/mysqls/LabelIndex.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/mysqls/LabelIndex.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 com.kakao.s2graph.core.mysqls /** http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/mysqls/LabelMeta.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/mysqls/LabelMeta.scala b/s2core/src/main/scala/com/kakao/s2graph/core/mysqls/LabelMeta.scala index 3cd7995..a846cfc 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/mysqls/LabelMeta.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/mysqls/LabelMeta.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 com.kakao.s2graph.core.mysqls /** http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/mysqls/Model.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/mysqls/Model.scala b/s2core/src/main/scala/com/kakao/s2graph/core/mysqls/Model.scala index f40afab..e133a10 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/mysqls/Model.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/mysqls/Model.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 com.kakao.s2graph.core.mysqls import java.util.concurrent.Executors http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/mysqls/Service.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/mysqls/Service.scala b/s2core/src/main/scala/com/kakao/s2graph/core/mysqls/Service.scala index edd36df..4b14d12 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/mysqls/Service.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/mysqls/Service.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 com.kakao.s2graph.core.mysqls /** http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/mysqls/ServiceColumn.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/mysqls/ServiceColumn.scala b/s2core/src/main/scala/com/kakao/s2graph/core/mysqls/ServiceColumn.scala index 9ca32a0..8ae07b7 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/mysqls/ServiceColumn.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/mysqls/ServiceColumn.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 com.kakao.s2graph.core.mysqls /** http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/8c04784a/s2core/src/main/scala/com/kakao/s2graph/core/parsers/WhereParser.scala ---------------------------------------------------------------------- diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/parsers/WhereParser.scala b/s2core/src/main/scala/com/kakao/s2graph/core/parsers/WhereParser.scala index db28eee..2255b01 100644 --- a/s2core/src/main/scala/com/kakao/s2graph/core/parsers/WhereParser.scala +++ b/s2core/src/main/scala/com/kakao/s2graph/core/parsers/WhereParser.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 com.kakao.s2graph.core.parsers import com.kakao.s2graph.core.GraphExceptions.WhereParserException
