diff --git a/LICENSE.md b/LICENSE.md index 34937ca0d37..c6b33e54f88 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -2,9 +2,9 @@ Copyright 2016-2018 Dgraph Labs, Inc. -Licensed under the Apache License, Version 2.0 (the "License") and the Commons -Clause Restriction; you may not use this file except in compliance with the -License. You may obtain a copy of the License at +Source code in this repository is licensed under the Apache Public License 2.0 +(APL). A copy of APL is present in this repository, and is also available online +at http://www.apache.org/licenses/LICENSE-2.0 @@ -13,28 +13,6 @@ 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. -### Commons Clause Restriction - -The Software is provided to you by the Licensor under the License, as defined -below, subject to the following condition. Without limiting other conditions in -the License, the grant of rights under the License will not include, and the -License does not grant to you, the right to Sell the Software. For purposes of -the foregoing, “Sell” means practicing any or all of the rights granted to you -under the License to provide to third parties, for a fee or other consideration -(including without limitation fees for hosting or consulting/ support services -related to the Software), a product or service whose value derives, entirely or -substantially, from the functionality of the Software. Any license notice or -attribution required by the License must also include this Commons Cause License -Condition notice. - -For purposes of the clause above, the “Licensor” is Dgraph Labs, Inc., the -“License” is the Apache License, Version 2.0, and the Software is the Dgraph -software provided with this notice. - -You may obtain a copy of the clause at - - https://commonsclause.com/ - ## Trademark Dgraph is a registered trademark of Dgraph Labs, Inc. diff --git a/README.md b/README.md index dd608444dff..d9ad41d6c21 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ makes it easy to build applications with it. | Full Text Search | Native support | Native support | Via External Indexing System | | Regular Expressions | Native support | Native support | Via External Indexing System | | Geo Search | Native support | External support only | Via External Indexing System | -| License | Apache 2.0 + Commons Clause | GPL v3 | Apache 2.0 | +| License | Apache 2.0 | GPL v3 | Apache 2.0 | ## Users - **Dgraph official documentation is present at [docs.dgraph.io](https://docs.dgraph.io).** @@ -108,7 +108,7 @@ makes it easy to build applications with it. ## Unofficial Client Libraries The Dgraph team maintain a number of [officially supported client libraries](https://docs.dgraph.io/clients/). The following libraries are contributed by the community. -**C# .NET** +**C# .NET** * [https://github.com/AlexandreDaSilva/DgraphNet](https://github.com/AlexandreDaSilva/DgraphNet) * [https://github.com/MichaelJCompton/Dgraph-dotnet](https://github.com/MichaelJCompton/Dgraph-dotnet) diff --git a/algo/doc.go b/algo/doc.go index 7338423b28d..4defeec9271 100644 --- a/algo/doc.go +++ b/algo/doc.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2016-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ // Package algo contains algorithms such as merging, intersecting sorted lists. diff --git a/algo/heap.go b/algo/heap.go index 31da87535d7..7ce208c4eab 100644 --- a/algo/heap.go +++ b/algo/heap.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2016-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package algo diff --git a/algo/heap_test.go b/algo/heap_test.go index 03f9835a455..b677f3dfea6 100644 --- a/algo/heap_test.go +++ b/algo/heap_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2016-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package algo diff --git a/algo/uidlist.go b/algo/uidlist.go index 633c484adeb..ec272f20f7b 100644 --- a/algo/uidlist.go +++ b/algo/uidlist.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2016-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package algo diff --git a/algo/uidlist_test.go b/algo/uidlist_test.go index 7464a3de727..d11f62d508a 100644 --- a/algo/uidlist_test.go +++ b/algo/uidlist_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2016-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package algo diff --git a/conn/node.go b/conn/node.go index 1db27e7afb7..debf517cd40 100644 --- a/conn/node.go +++ b/conn/node.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package conn diff --git a/conn/node_test.go b/conn/node_test.go index f7980569774..ebc67391d5b 100644 --- a/conn/node_test.go +++ b/conn/node_test.go @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Dgraph Labs, Inc. and Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package conn import ( diff --git a/conn/pool.go b/conn/pool.go index 113718a322a..7963e742785 100644 --- a/conn/pool.go +++ b/conn/pool.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2016-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package conn diff --git a/conn/raft_server.go b/conn/raft_server.go index f9516c43639..7e292fda753 100644 --- a/conn/raft_server.go +++ b/conn/raft_server.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package conn diff --git a/contrib/integration/acctupsert/main.go b/contrib/integration/acctupsert/main.go index 8e605b89882..cb361515770 100644 --- a/contrib/integration/acctupsert/main.go +++ b/contrib/integration/acctupsert/main.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package main diff --git a/contrib/integration/bank/main.go b/contrib/integration/bank/main.go index 55081118456..08e575b0c1e 100644 --- a/contrib/integration/bank/main.go +++ b/contrib/integration/bank/main.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package main diff --git a/contrib/integration/bigdata/main.go b/contrib/integration/bigdata/main.go index a1cbf52db85..b2f8fed2373 100644 --- a/contrib/integration/bigdata/main.go +++ b/contrib/integration/bigdata/main.go @@ -1,8 +1,17 @@ /* - * Copyright 2018 Dgraph Labs, Inc. + * Copyright 2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package main diff --git a/contrib/integration/increment/main.go b/contrib/integration/increment/main.go index 5fb168a21db..93f01d0ea38 100644 --- a/contrib/integration/increment/main.go +++ b/contrib/integration/increment/main.go @@ -1,8 +1,17 @@ /* - * Copyright 2018 Dgraph Labs, Inc. + * Copyright 2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ // This binary would retrieve a value for UID=0x01, and increment it by 1. If diff --git a/contrib/integration/increment/main_test.go b/contrib/integration/increment/main_test.go index af4d8df394f..6692e86e5e3 100644 --- a/contrib/integration/increment/main_test.go +++ b/contrib/integration/increment/main_test.go @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Dgraph Labs, Inc. and Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package main import ( diff --git a/contrib/integration/mutates/main.go b/contrib/integration/mutates/main.go index bd6f718bb41..b77f3f50312 100644 --- a/contrib/integration/mutates/main.go +++ b/contrib/integration/mutates/main.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package main diff --git a/contrib/integration/share/share_test.go b/contrib/integration/share/share_test.go index e1d34482cab..5f7e5007062 100644 --- a/contrib/integration/share/share_test.go +++ b/contrib/integration/share/share_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package testing diff --git a/contrib/integration/share/stub.go b/contrib/integration/share/stub.go index a404891cc7a..e26952dedb6 100644 --- a/contrib/integration/share/stub.go +++ b/contrib/integration/share/stub.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package testing diff --git a/contrib/integration/swap/main.go b/contrib/integration/swap/main.go index 60df8cba7ca..8504c242578 100644 --- a/contrib/integration/swap/main.go +++ b/contrib/integration/swap/main.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package main diff --git a/contrib/integration/swap/words.go b/contrib/integration/swap/words.go index 7bd503cb178..8b639a47088 100644 --- a/contrib/integration/swap/words.go +++ b/contrib/integration/swap/words.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package main diff --git a/contrib/integration/testtxn/main_test.go b/contrib/integration/testtxn/main_test.go index 0f3f7d9c292..0b7c8acb5a3 100644 --- a/contrib/integration/testtxn/main_test.go +++ b/contrib/integration/testtxn/main_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package main_test diff --git a/contrib/scripts/license.py b/contrib/scripts/license.py index 280936b99cd..41abe46670e 100644 --- a/contrib/scripts/license.py +++ b/contrib/scripts/license.py @@ -4,10 +4,19 @@ notice = """ /* - * Copyright 2018 Dgraph Labs, Inc. + * Copyright 2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ """ diff --git a/contrib/scripts/license.sh b/contrib/scripts/license.sh index 4f91f0a0b1f..8ab256c1483 100755 --- a/contrib/scripts/license.sh +++ b/contrib/scripts/license.sh @@ -1,4 +1,4 @@ -files=$(find . ! -path "./vendor/*" ! -path "./bp128/*" -type f -name "*.go") +files=$(find . ! -path "./vendor/*" ! -path "./bp128/*" ! -path "./protos/*" -type f -name "*.go") for f in $files; do echo "Processing $f" @@ -13,4 +13,3 @@ for f in $files; do # Format it. gofmt -w $f done - diff --git a/contrib/stopwords/scraper.go b/contrib/stopwords/scraper.go index cb026390fa5..1100c20814e 100644 --- a/contrib/stopwords/scraper.go +++ b/contrib/stopwords/scraper.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package main @@ -29,8 +38,7 @@ func main() { /* * Copyright 2017-2018 Dgraph Labs, Inc. * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * This file is available under the Apache License, Version 2.0. */ package tok diff --git a/dgraph/cmd/bulk/count_index.go b/dgraph/cmd/bulk/count_index.go index 095a114d56d..b9d2f3ee018 100644 --- a/dgraph/cmd/bulk/count_index.go +++ b/dgraph/cmd/bulk/count_index.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package bulk diff --git a/dgraph/cmd/bulk/loader.go b/dgraph/cmd/bulk/loader.go index 60596d17144..ee9319cc1fe 100644 --- a/dgraph/cmd/bulk/loader.go +++ b/dgraph/cmd/bulk/loader.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package bulk diff --git a/dgraph/cmd/bulk/mapper.go b/dgraph/cmd/bulk/mapper.go index d4020abe75c..4c5687a8d08 100644 --- a/dgraph/cmd/bulk/mapper.go +++ b/dgraph/cmd/bulk/mapper.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package bulk diff --git a/dgraph/cmd/bulk/merge_shards.go b/dgraph/cmd/bulk/merge_shards.go index 7129538db8b..78314ce9707 100644 --- a/dgraph/cmd/bulk/merge_shards.go +++ b/dgraph/cmd/bulk/merge_shards.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package bulk diff --git a/dgraph/cmd/bulk/metrics.go b/dgraph/cmd/bulk/metrics.go index 7b4f86a3b61..a34f859a2e7 100644 --- a/dgraph/cmd/bulk/metrics.go +++ b/dgraph/cmd/bulk/metrics.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package bulk diff --git a/dgraph/cmd/bulk/progress.go b/dgraph/cmd/bulk/progress.go index 6498555d45b..432fe2c1168 100644 --- a/dgraph/cmd/bulk/progress.go +++ b/dgraph/cmd/bulk/progress.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package bulk diff --git a/dgraph/cmd/bulk/reduce.go b/dgraph/cmd/bulk/reduce.go index 723a63000d1..2e63036acf7 100644 --- a/dgraph/cmd/bulk/reduce.go +++ b/dgraph/cmd/bulk/reduce.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package bulk diff --git a/dgraph/cmd/bulk/run.go b/dgraph/cmd/bulk/run.go index ac2ad820e56..2798776087a 100644 --- a/dgraph/cmd/bulk/run.go +++ b/dgraph/cmd/bulk/run.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package bulk diff --git a/dgraph/cmd/bulk/schema.go b/dgraph/cmd/bulk/schema.go index 25647e95df1..e29d6686ca0 100644 --- a/dgraph/cmd/bulk/schema.go +++ b/dgraph/cmd/bulk/schema.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package bulk diff --git a/dgraph/cmd/bulk/shard_map.go b/dgraph/cmd/bulk/shard_map.go index f9ed8f74555..7cf601fb909 100644 --- a/dgraph/cmd/bulk/shard_map.go +++ b/dgraph/cmd/bulk/shard_map.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package bulk diff --git a/dgraph/cmd/bulk/shuffle.go b/dgraph/cmd/bulk/shuffle.go index 3363505894e..e0195be5904 100644 --- a/dgraph/cmd/bulk/shuffle.go +++ b/dgraph/cmd/bulk/shuffle.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package bulk diff --git a/dgraph/cmd/bulk/ulimit_unix.go b/dgraph/cmd/bulk/ulimit_unix.go index 81577cbb908..4040690d4dd 100644 --- a/dgraph/cmd/bulk/ulimit_unix.go +++ b/dgraph/cmd/bulk/ulimit_unix.go @@ -1,10 +1,19 @@ // +build !windows /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package bulk diff --git a/dgraph/cmd/bulk/ulimit_windows.go b/dgraph/cmd/bulk/ulimit_windows.go index f7058fad769..20313fc8dbf 100644 --- a/dgraph/cmd/bulk/ulimit_windows.go +++ b/dgraph/cmd/bulk/ulimit_windows.go @@ -1,10 +1,19 @@ // +build windows /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package bulk diff --git a/dgraph/cmd/cert/cert.go b/dgraph/cmd/cert/cert.go index f711a3a6f33..f969d9b82e7 100644 --- a/dgraph/cmd/cert/cert.go +++ b/dgraph/cmd/cert/cert.go @@ -1,8 +1,17 @@ /* - * Copyright 2018 Dgraph Labs, Inc. + * Copyright 2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package cert @@ -63,8 +72,8 @@ func (c *certConfig) generatePair(keyFile, certFile string) error { NotAfter: time.Now().AddDate(0, 0, c.until).UTC(), KeyUsage: x509.KeyUsageDigitalSignature | x509.KeyUsageKeyEncipherment, BasicConstraintsValid: c.isCA, - IsCA: c.isCA, - MaxPathLenZero: c.isCA, + IsCA: c.isCA, + MaxPathLenZero: c.isCA, } switch { diff --git a/dgraph/cmd/cert/create.go b/dgraph/cmd/cert/create.go index 84c88d600a5..0de85fef20f 100644 --- a/dgraph/cmd/cert/create.go +++ b/dgraph/cmd/cert/create.go @@ -1,8 +1,17 @@ /* - * Copyright 2018 Dgraph Labs, Inc. + * Copyright 2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package cert diff --git a/dgraph/cmd/cert/info.go b/dgraph/cmd/cert/info.go index 9dd046b70d1..2b6c8bd6f2c 100644 --- a/dgraph/cmd/cert/info.go +++ b/dgraph/cmd/cert/info.go @@ -1,8 +1,17 @@ /* - * Copyright 2018 Dgraph Labs, Inc. + * Copyright 2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package cert diff --git a/dgraph/cmd/cert/run.go b/dgraph/cmd/cert/run.go index e9841cb499e..08395a263de 100644 --- a/dgraph/cmd/cert/run.go +++ b/dgraph/cmd/cert/run.go @@ -1,8 +1,17 @@ /* - * Copyright 2018 Dgraph Labs, Inc. + * Copyright 2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package cert diff --git a/dgraph/cmd/conv/conv.go b/dgraph/cmd/conv/conv.go index 322d08fa147..4d3318e9b6c 100644 --- a/dgraph/cmd/conv/conv.go +++ b/dgraph/cmd/conv/conv.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package conv diff --git a/dgraph/cmd/conv/run.go b/dgraph/cmd/conv/run.go index daf6a633332..1f7295522d0 100644 --- a/dgraph/cmd/conv/run.go +++ b/dgraph/cmd/conv/run.go @@ -1,8 +1,17 @@ /* - * Copyright 2018 Dgraph Labs, Inc. + * Copyright 2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package conv diff --git a/dgraph/cmd/debug/run.go b/dgraph/cmd/debug/run.go index 4678b7c280a..921cbc7a7fc 100644 --- a/dgraph/cmd/debug/run.go +++ b/dgraph/cmd/debug/run.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package debug diff --git a/dgraph/cmd/live/batch.go b/dgraph/cmd/live/batch.go index 1254956add3..35c4ea056ff 100644 --- a/dgraph/cmd/live/batch.go +++ b/dgraph/cmd/live/batch.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package live diff --git a/dgraph/cmd/live/run.go b/dgraph/cmd/live/run.go index 477a5031869..346775f27d1 100644 --- a/dgraph/cmd/live/run.go +++ b/dgraph/cmd/live/run.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package live diff --git a/dgraph/cmd/root.go b/dgraph/cmd/root.go index 71f11087d09..6c8ddaddcaa 100644 --- a/dgraph/cmd/root.go +++ b/dgraph/cmd/root.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package cmd diff --git a/dgraph/cmd/server/admin.go b/dgraph/cmd/server/admin.go index 8a14f0d0c77..b1afe3e0159 100644 --- a/dgraph/cmd/server/admin.go +++ b/dgraph/cmd/server/admin.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package server diff --git a/dgraph/cmd/server/dashboard.go b/dgraph/cmd/server/dashboard.go index c2fe1ea48b9..3aed2f8a57c 100644 --- a/dgraph/cmd/server/dashboard.go +++ b/dgraph/cmd/server/dashboard.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package server diff --git a/dgraph/cmd/server/http.go b/dgraph/cmd/server/http.go index 5abcdba27a1..5a4c830a92b 100644 --- a/dgraph/cmd/server/http.go +++ b/dgraph/cmd/server/http.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package server diff --git a/dgraph/cmd/server/http_test.go b/dgraph/cmd/server/http_test.go index 748a3befa56..c6226e233e4 100644 --- a/dgraph/cmd/server/http_test.go +++ b/dgraph/cmd/server/http_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package server diff --git a/dgraph/cmd/server/run.go b/dgraph/cmd/server/run.go index f882450adb9..84cf43ecb2c 100644 --- a/dgraph/cmd/server/run.go +++ b/dgraph/cmd/server/run.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package server diff --git a/dgraph/cmd/server/run_test.go b/dgraph/cmd/server/run_test.go index 102329a8ce6..a861974e93f 100644 --- a/dgraph/cmd/server/run_test.go +++ b/dgraph/cmd/server/run_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package server diff --git a/dgraph/cmd/server/share.go b/dgraph/cmd/server/share.go index 9ecdbb30a20..fe38bf5d7a7 100644 --- a/dgraph/cmd/server/share.go +++ b/dgraph/cmd/server/share.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package server diff --git a/dgraph/cmd/version/run.go b/dgraph/cmd/version/run.go index 49955b2afa2..839ea803ef3 100644 --- a/dgraph/cmd/version/run.go +++ b/dgraph/cmd/version/run.go @@ -1,8 +1,17 @@ /* - * Copyright 2018 Dgraph Labs, Inc. + * Copyright 2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package version diff --git a/dgraph/cmd/zero/assign.go b/dgraph/cmd/zero/assign.go index a27b4b506ed..40a4c691731 100644 --- a/dgraph/cmd/zero/assign.go +++ b/dgraph/cmd/zero/assign.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package zero diff --git a/dgraph/cmd/zero/http.go b/dgraph/cmd/zero/http.go index 55dab4b9ea0..8c1b2c09cff 100644 --- a/dgraph/cmd/zero/http.go +++ b/dgraph/cmd/zero/http.go @@ -1,8 +1,17 @@ /* - * Copyright 2018 Dgraph Labs, Inc. + * Copyright 2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package zero diff --git a/dgraph/cmd/zero/oracle.go b/dgraph/cmd/zero/oracle.go index 59f0583966f..300b8e31d63 100644 --- a/dgraph/cmd/zero/oracle.go +++ b/dgraph/cmd/zero/oracle.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package zero diff --git a/dgraph/cmd/zero/raft.go b/dgraph/cmd/zero/raft.go index 570aeec5a5d..368d2196456 100644 --- a/dgraph/cmd/zero/raft.go +++ b/dgraph/cmd/zero/raft.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package zero diff --git a/dgraph/cmd/zero/run.go b/dgraph/cmd/zero/run.go index 74bc47a0d34..1699579784d 100644 --- a/dgraph/cmd/zero/run.go +++ b/dgraph/cmd/zero/run.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package zero diff --git a/dgraph/cmd/zero/tablet.go b/dgraph/cmd/zero/tablet.go index ee197f1af7b..b52ccc61087 100644 --- a/dgraph/cmd/zero/tablet.go +++ b/dgraph/cmd/zero/tablet.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package zero diff --git a/dgraph/cmd/zero/telemetry.go b/dgraph/cmd/zero/telemetry.go index 57c8f6cae01..8d8eeaa589f 100644 --- a/dgraph/cmd/zero/telemetry.go +++ b/dgraph/cmd/zero/telemetry.go @@ -1,8 +1,17 @@ /* - * Copyright 2018 Dgraph Labs, Inc. + * Copyright 2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package zero diff --git a/dgraph/cmd/zero/zero.go b/dgraph/cmd/zero/zero.go index 322b50e6300..3eecf16ef84 100644 --- a/dgraph/cmd/zero/zero.go +++ b/dgraph/cmd/zero/zero.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package zero diff --git a/dgraph/cmd/zero/zero_test.go b/dgraph/cmd/zero/zero_test.go index 965a2ab2148..4f176e01bc7 100644 --- a/dgraph/cmd/zero/zero_test.go +++ b/dgraph/cmd/zero/zero_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2018 Dgraph Labs, Inc. + * Copyright 2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package zero diff --git a/dgraph/main.go b/dgraph/main.go index ab48f8a34bd..d832263fc20 100644 --- a/dgraph/main.go +++ b/dgraph/main.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2016-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package main diff --git a/edgraph/config.go b/edgraph/config.go index 23ebb9185bd..663faf39efe 100644 --- a/edgraph/config.go +++ b/edgraph/config.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package edgraph diff --git a/edgraph/nquads_from_json.go b/edgraph/nquads_from_json.go index 2c23b154360..3345d3a7ee4 100644 --- a/edgraph/nquads_from_json.go +++ b/edgraph/nquads_from_json.go @@ -1,8 +1,17 @@ /* - * Copyright 2018 Dgraph Labs, Inc. + * Copyright 2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package edgraph diff --git a/edgraph/server.go b/edgraph/server.go index d6c9cd90c6d..8f3b403e1b3 100644 --- a/edgraph/server.go +++ b/edgraph/server.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package edgraph diff --git a/edgraph/server_test.go b/edgraph/server_test.go index 933ba118d1f..6c205a563c6 100644 --- a/edgraph/server_test.go +++ b/edgraph/server_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package edgraph diff --git a/gql/bench_test.go b/gql/bench_test.go index 0bdb9e77e8b..f78504113a2 100644 --- a/gql/bench_test.go +++ b/gql/bench_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package gql diff --git a/gql/math.go b/gql/math.go index b988acf92ca..37d2e1e5789 100644 --- a/gql/math.go +++ b/gql/math.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package gql diff --git a/gql/mutation.go b/gql/mutation.go index ee1600a67ed..93ac624b901 100644 --- a/gql/mutation.go +++ b/gql/mutation.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package gql diff --git a/gql/parser.go b/gql/parser.go index 91c594e461b..b61e38abb3c 100644 --- a/gql/parser.go +++ b/gql/parser.go @@ -1,8 +1,17 @@ /* - * Copyright 2015-2018 Dgraph Labs, Inc. + * Copyright 2015-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package gql diff --git a/gql/parser_fuzz.go b/gql/parser_fuzz.go index 7324ae952d8..f3dd0d862ad 100644 --- a/gql/parser_fuzz.go +++ b/gql/parser_fuzz.go @@ -1,10 +1,19 @@ // +build gofuzz /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package gql diff --git a/gql/parser_mutation.go b/gql/parser_mutation.go index 7fdc422c07d..0f37ed9837b 100644 --- a/gql/parser_mutation.go +++ b/gql/parser_mutation.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package gql diff --git a/gql/parser_test.go b/gql/parser_test.go index 7bbd7ae4268..44de10bf56d 100644 --- a/gql/parser_test.go +++ b/gql/parser_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2015-2018 Dgraph Labs, Inc. + * Copyright 2015-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package gql diff --git a/gql/state.go b/gql/state.go index a2ab47c47d3..7b08d379f81 100644 --- a/gql/state.go +++ b/gql/state.go @@ -1,8 +1,17 @@ /* - * Copyright 2015-2018 Dgraph Labs, Inc. + * Copyright 2015-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ // Package gql is responsible for lexing and parsing a GraphQL query/mutation. diff --git a/gql/state_test.go b/gql/state_test.go index 072965e74d0..74602994d1e 100644 --- a/gql/state_test.go +++ b/gql/state_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2015-2018 Dgraph Labs, Inc. + * Copyright 2015-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package gql diff --git a/lex/iri.go b/lex/iri.go index 9009f0dde7d..d9b59d9813f 100644 --- a/lex/iri.go +++ b/lex/iri.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package lex diff --git a/lex/lexer.go b/lex/lexer.go index 5254ef60db2..5193ff846f9 100644 --- a/lex/lexer.go +++ b/lex/lexer.go @@ -1,8 +1,17 @@ /* - * Copyright 2015-2018 Dgraph Labs, Inc. + * Copyright 2015-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package lex diff --git a/posting/config.go b/posting/config.go index e25390083ac..60319b03bb2 100644 --- a/posting/config.go +++ b/posting/config.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package posting diff --git a/posting/doc.go b/posting/doc.go index 1887a3cb0c5..4c2467367ab 100644 --- a/posting/doc.go +++ b/posting/doc.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2016-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ // Package posting takes care of posting lists. It contains logic for mutation diff --git a/posting/index.go b/posting/index.go index af04e7cdae7..b3a45e836ff 100644 --- a/posting/index.go +++ b/posting/index.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2016-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package posting diff --git a/posting/index_test.go b/posting/index_test.go index 9f5f498ff27..d50b1400a31 100644 --- a/posting/index_test.go +++ b/posting/index_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2016-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package posting diff --git a/posting/list.go b/posting/list.go index a17e2c5cd4b..3c31a0a1b4f 100644 --- a/posting/list.go +++ b/posting/list.go @@ -1,8 +1,17 @@ /* - * Copyright 2015-2018 Dgraph Labs, Inc. + * Copyright 2015-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package posting diff --git a/posting/list_test.go b/posting/list_test.go index 7bcf504b816..676cafa2594 100644 --- a/posting/list_test.go +++ b/posting/list_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2015-2018 Dgraph Labs, Inc. + * Copyright 2015-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package posting diff --git a/posting/lists.go b/posting/lists.go index b4d000a2177..690423356a8 100644 --- a/posting/lists.go +++ b/posting/lists.go @@ -1,8 +1,17 @@ /* - * Copyright 2015-2018 Dgraph Labs, Inc. + * Copyright 2015-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package posting diff --git a/posting/lmap_test.go b/posting/lmap_test.go index 532fbebab7f..aeff55e0d2a 100644 --- a/posting/lmap_test.go +++ b/posting/lmap_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2015-2018 Dgraph Labs, Inc. + * Copyright 2015-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package posting diff --git a/posting/mvcc.go b/posting/mvcc.go index 4147acc8aa6..0ff06d6460b 100644 --- a/posting/mvcc.go +++ b/posting/mvcc.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package posting diff --git a/posting/oracle.go b/posting/oracle.go index 67344a60c23..1b7a6123775 100644 --- a/posting/oracle.go +++ b/posting/oracle.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package posting diff --git a/query/aggregator.go b/query/aggregator.go index 81f6deec986..a1ce30a2c15 100644 --- a/query/aggregator.go +++ b/query/aggregator.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package query diff --git a/query/benchmark_test.go b/query/benchmark_test.go index c9ebccddecb..48a37526d88 100644 --- a/query/benchmark_test.go +++ b/query/benchmark_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2016-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package query diff --git a/query/common_test.go b/query/common_test.go index cb01de327e9..45c2c47b89d 100644 --- a/query/common_test.go +++ b/query/common_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package query diff --git a/query/groupby.go b/query/groupby.go index 838b9cf5d16..fa7bdc18bba 100644 --- a/query/groupby.go +++ b/query/groupby.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package query diff --git a/query/math.go b/query/math.go index 94205636e9e..bbfbc4cb46a 100644 --- a/query/math.go +++ b/query/math.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package query diff --git a/query/mutation.go b/query/mutation.go index ab3ae49c5a2..be3278ef349 100644 --- a/query/mutation.go +++ b/query/mutation.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package query diff --git a/query/outputnode.go b/query/outputnode.go index 4e69eccb9c7..735f71e0400 100644 --- a/query/outputnode.go +++ b/query/outputnode.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package query diff --git a/query/outputnode_test.go b/query/outputnode_test.go index b08268f23dd..4893a7f4600 100644 --- a/query/outputnode_test.go +++ b/query/outputnode_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package query diff --git a/query/query.go b/query/query.go index 2bb97e25b10..619dbaba0b6 100644 --- a/query/query.go +++ b/query/query.go @@ -1,8 +1,17 @@ /* - * Copyright 2015-2018 Dgraph Labs, Inc. + * Copyright 2015-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package query diff --git a/query/query0_test.go b/query/query0_test.go index 9d33d909f6b..0dfd10ff34b 100644 --- a/query/query0_test.go +++ b/query/query0_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2015-2018 Dgraph Labs, Inc. + * Copyright 2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package query diff --git a/query/query1_test.go b/query/query1_test.go index 548ec20c5cc..2dfd845ba75 100644 --- a/query/query1_test.go +++ b/query/query1_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2015-2018 Dgraph Labs, Inc. + * Copyright 2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package query diff --git a/query/query2_test.go b/query/query2_test.go index 799e3637148..c3496b544fc 100644 --- a/query/query2_test.go +++ b/query/query2_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2015-2018 Dgraph Labs, Inc. + * Copyright 2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package query diff --git a/query/query3_test.go b/query/query3_test.go index 354da1910e3..204ec2925f9 100644 --- a/query/query3_test.go +++ b/query/query3_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2015-2018 Dgraph Labs, Inc. + * Copyright 2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package query diff --git a/query/query_facets_test.go b/query/query_facets_test.go index 64e02048bef..afd40090dc2 100644 --- a/query/query_facets_test.go +++ b/query/query_facets_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package query diff --git a/query/recurse.go b/query/recurse.go index 1e6faba348b..9801a56d0e5 100644 --- a/query/recurse.go +++ b/query/recurse.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package query diff --git a/query/shortest.go b/query/shortest.go index f3dbaf68233..f386bbe0ce9 100644 --- a/query/shortest.go +++ b/query/shortest.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package query diff --git a/raftwal/storage.go b/raftwal/storage.go index bc40943c256..1327b9d155f 100644 --- a/raftwal/storage.go +++ b/raftwal/storage.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package raftwal diff --git a/raftwal/storage_test.go b/raftwal/storage_test.go index 452c8dd97bd..079971fd563 100644 --- a/raftwal/storage_test.go +++ b/raftwal/storage_test.go @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Dgraph Labs, Inc. and Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + // Copyright 2015 The etcd Authors // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/rdf/parse.go b/rdf/parse.go index e0ff8358f45..499d4448bcd 100644 --- a/rdf/parse.go +++ b/rdf/parse.go @@ -1,8 +1,17 @@ /* - * Copyright 2015-2018 Dgraph Labs, Inc. + * Copyright 2015-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package rdf diff --git a/rdf/parse_test.go b/rdf/parse_test.go index 3aeebdf4919..1b202144981 100644 --- a/rdf/parse_test.go +++ b/rdf/parse_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2015-2018 Dgraph Labs, Inc. + * Copyright 2015-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package rdf diff --git a/rdf/state.go b/rdf/state.go index a60d03aaf83..6f398c7b28f 100644 --- a/rdf/state.go +++ b/rdf/state.go @@ -1,8 +1,17 @@ /* - * Copyright 2015-2018 Dgraph Labs, Inc. + * Copyright 2015-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ // Package rdf package parses N-Quad statements based on diff --git a/schema/parse.go b/schema/parse.go index be3ccf1d9ca..73bd3eae26b 100644 --- a/schema/parse.go +++ b/schema/parse.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2016-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package schema diff --git a/schema/parse_test.go b/schema/parse_test.go index b3de771bb84..57d39d5e10b 100644 --- a/schema/parse_test.go +++ b/schema/parse_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2016-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package schema diff --git a/schema/schema.go b/schema/schema.go index 7cd58ca75cb..21461cd367a 100644 --- a/schema/schema.go +++ b/schema/schema.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2016-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package schema diff --git a/schema/state.go b/schema/state.go index 1431d3695d5..a1076521325 100644 --- a/schema/state.go +++ b/schema/state.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2016-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package schema diff --git a/systest/bulk_live_cases_test.go b/systest/bulk_live_cases_test.go index a77c8ed2d80..b768e5d0a30 100644 --- a/systest/bulk_live_cases_test.go +++ b/systest/bulk_live_cases_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package main diff --git a/systest/bulk_live_fixture_test.go b/systest/bulk_live_fixture_test.go index 544cd56545c..b7579142e28 100644 --- a/systest/bulk_live_fixture_test.go +++ b/systest/bulk_live_fixture_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package main diff --git a/systest/cluster_setup.go b/systest/cluster_setup.go index 404901b2ba9..b46067698c9 100644 --- a/systest/cluster_setup.go +++ b/systest/cluster_setup.go @@ -1,8 +1,17 @@ /* - * Copyright 2018 Dgraph Labs, Inc. + * Copyright 2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package main diff --git a/systest/cluster_test.go b/systest/cluster_test.go index b1f4640c6cf..8fe983bf89f 100644 --- a/systest/cluster_test.go +++ b/systest/cluster_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package main diff --git a/systest/customtok/anagram/main.go b/systest/customtok/anagram/main.go index acfaff8ffe6..0eb15d8412b 100644 --- a/systest/customtok/anagram/main.go +++ b/systest/customtok/anagram/main.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package main diff --git a/systest/customtok/cidr/main.go b/systest/customtok/cidr/main.go index e29ca7d82da..64608c02985 100644 --- a/systest/customtok/cidr/main.go +++ b/systest/customtok/cidr/main.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package main diff --git a/systest/customtok/cidr/main_test.go b/systest/customtok/cidr/main_test.go index 8667a23f6bb..e66acc7a5cd 100644 --- a/systest/customtok/cidr/main_test.go +++ b/systest/customtok/cidr/main_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package main diff --git a/systest/customtok/factor/main.go b/systest/customtok/factor/main.go index a3c8e8c378f..0423afaaeac 100644 --- a/systest/customtok/factor/main.go +++ b/systest/customtok/factor/main.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package main diff --git a/systest/customtok/rune/main.go b/systest/customtok/rune/main.go index 53008d3de5e..6635b71fb04 100644 --- a/systest/customtok/rune/main.go +++ b/systest/customtok/rune/main.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package main diff --git a/systest/json_test.go b/systest/json_test.go index 49f758a5cb6..769b8c1056d 100644 --- a/systest/json_test.go +++ b/systest/json_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package main diff --git a/systest/loader_test.go b/systest/loader_test.go index 97ef3b40c2f..494389eb92c 100644 --- a/systest/loader_test.go +++ b/systest/loader_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2018 Dgraph Labs, Inc. + * Copyright 2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package main diff --git a/systest/mutations_test.go b/systest/mutations_test.go index 82d9c69e787..b21a2b2cc0b 100644 --- a/systest/mutations_test.go +++ b/systest/mutations_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package main diff --git a/systest/plugin_test.go b/systest/plugin_test.go index 435250b05f0..ca14f908a2f 100644 --- a/systest/plugin_test.go +++ b/systest/plugin_test.go @@ -1,10 +1,19 @@ // +build linux /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package main diff --git a/task/conversion.go b/task/conversion.go index 30c0d580279..d116dd40d12 100644 --- a/task/conversion.go +++ b/task/conversion.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package task diff --git a/tok/fts.go b/tok/fts.go index 3d03ad6cf80..6cfa95f094e 100644 --- a/tok/fts.go +++ b/tok/fts.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package tok diff --git a/tok/stopwords.go b/tok/stopwords.go index 44858165046..faea50e7815 100644 --- a/tok/stopwords.go +++ b/tok/stopwords.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package tok diff --git a/tok/tok.go b/tok/tok.go index 92a4a709441..16d8bf6fbea 100644 --- a/tok/tok.go +++ b/tok/tok.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2016-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package tok diff --git a/tok/tok_test.go b/tok/tok_test.go index e5ca17b5839..0c28210db57 100644 --- a/tok/tok_test.go +++ b/tok/tok_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2016-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package tok diff --git a/tok/tokens.go b/tok/tokens.go index a386fb08b27..6b764d4a36e 100644 --- a/tok/tokens.go +++ b/tok/tokens.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package tok diff --git a/types/compare.go b/types/compare.go index d35d24a9c28..e60dc503bc3 100644 --- a/types/compare.go +++ b/types/compare.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package types diff --git a/types/conversion.go b/types/conversion.go index a99b8bee20b..e08110793ab 100644 --- a/types/conversion.go +++ b/types/conversion.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2016-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package types diff --git a/types/conversion_test.go b/types/conversion_test.go index a2a9c150823..40f10739351 100644 --- a/types/conversion_test.go +++ b/types/conversion_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2016-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package types diff --git a/types/earth.go b/types/earth.go index ea45069c1e5..1f23078f831 100644 --- a/types/earth.go +++ b/types/earth.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2016-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package types diff --git a/types/facets/facet_types.go b/types/facets/facet_types.go index 18dd990a66a..ba1a5b35432 100644 --- a/types/facets/facet_types.go +++ b/types/facets/facet_types.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package facets diff --git a/types/facets/utils.go b/types/facets/utils.go index 92b349430f3..92c19ee72a1 100644 --- a/types/facets/utils.go +++ b/types/facets/utils.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package facets diff --git a/types/geo_test.go b/types/geo_test.go index 1236a84b89e..da4848fabf4 100644 --- a/types/geo_test.go +++ b/types/geo_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2016-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package types diff --git a/types/geofilter.go b/types/geofilter.go index 61fbcb80129..c11849098cf 100644 --- a/types/geofilter.go +++ b/types/geofilter.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2016-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package types diff --git a/types/geofilter_test.go b/types/geofilter_test.go index 8762c2c070e..1301fe9dab7 100644 --- a/types/geofilter_test.go +++ b/types/geofilter_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2016-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package types diff --git a/types/password.go b/types/password.go index 9797da878d6..cb680f4ade6 100644 --- a/types/password.go +++ b/types/password.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package types diff --git a/types/password_test.go b/types/password_test.go index 3e1777116ab..2ece792b45f 100644 --- a/types/password_test.go +++ b/types/password_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package types diff --git a/types/s2.go b/types/s2.go index 1739cba9e34..68ce4579483 100644 --- a/types/s2.go +++ b/types/s2.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2016-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package types diff --git a/types/s2_test.go b/types/s2_test.go index 5eacb4a72ec..e7eb909e153 100644 --- a/types/s2_test.go +++ b/types/s2_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package types diff --git a/types/s2index.go b/types/s2index.go index c3b16349051..6279695d343 100644 --- a/types/s2index.go +++ b/types/s2index.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2016-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package types diff --git a/types/s2index_test.go b/types/s2index_test.go index 137fd5517e1..0fc6ddb547d 100644 --- a/types/s2index_test.go +++ b/types/s2index_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2016-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package types diff --git a/types/scalar_types.go b/types/scalar_types.go index b8866ad5d43..5114f743433 100644 --- a/types/scalar_types.go +++ b/types/scalar_types.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2016-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package types diff --git a/types/sort.go b/types/sort.go index 3db44c95f2d..1704343c74f 100644 --- a/types/sort.go +++ b/types/sort.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2016-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package types diff --git a/types/sort_test.go b/types/sort_test.go index da05cafb568..25378649dc6 100644 --- a/types/sort_test.go +++ b/types/sort_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2016-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package types diff --git a/types/value.go b/types/value.go index 1a1aacd7ef7..3ddc22b9e0d 100644 --- a/types/value.go +++ b/types/value.go @@ -1,8 +1,17 @@ /* - * Copyright 2018 Dgraph Labs, Inc. + * Copyright 2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package types diff --git a/types/value_test.go b/types/value_test.go index 22429a15ac6..0f9523e2c32 100644 --- a/types/value_test.go +++ b/types/value_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2018 Dgraph Labs, Inc. + * Copyright 2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package types diff --git a/worker/aggregator.go b/worker/aggregator.go index bf7a2d5c237..5c725b1f104 100644 --- a/worker/aggregator.go +++ b/worker/aggregator.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package worker diff --git a/worker/compare.go b/worker/compare.go index e380785e548..60ecb6eb68c 100644 --- a/worker/compare.go +++ b/worker/compare.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package worker diff --git a/worker/config.go b/worker/config.go index de28fa9a567..af65d6da268 100644 --- a/worker/config.go +++ b/worker/config.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package worker diff --git a/worker/draft.go b/worker/draft.go index 97ed7e7ca64..bc36a593da3 100644 --- a/worker/draft.go +++ b/worker/draft.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2016-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package worker diff --git a/worker/draft_test.go b/worker/draft_test.go index 30bc40f2b6f..042ca08ce4e 100644 --- a/worker/draft_test.go +++ b/worker/draft_test.go @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Dgraph Labs, Inc. and Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package worker import ( diff --git a/worker/export.go b/worker/export.go index 82f023d4ffc..d9a0dd765cc 100644 --- a/worker/export.go +++ b/worker/export.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package worker diff --git a/worker/export_test.go b/worker/export_test.go index 3c25a89e16d..c57c7c31ad2 100644 --- a/worker/export_test.go +++ b/worker/export_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package worker diff --git a/worker/groups.go b/worker/groups.go index cc9eac0c4f9..182f1dfb565 100644 --- a/worker/groups.go +++ b/worker/groups.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2016-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package worker diff --git a/worker/index.go b/worker/index.go index fb402d947d0..69285618469 100644 --- a/worker/index.go +++ b/worker/index.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package worker diff --git a/worker/mutation.go b/worker/mutation.go index d5b15c64dc8..3c7daccadb9 100644 --- a/worker/mutation.go +++ b/worker/mutation.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2016-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package worker diff --git a/worker/mutation_test.go b/worker/mutation_test.go index e614fca309e..957599e5e78 100644 --- a/worker/mutation_test.go +++ b/worker/mutation_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2016-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package worker diff --git a/worker/predicate.go b/worker/predicate.go index fc532aa21a5..8621d6cda0d 100644 --- a/worker/predicate.go +++ b/worker/predicate.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2016-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package worker diff --git a/worker/predicate_move.go b/worker/predicate_move.go index 622b4ddc961..5f4f0dd71e5 100644 --- a/worker/predicate_move.go +++ b/worker/predicate_move.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package worker diff --git a/worker/predicate_test.go b/worker/predicate_test.go index d189a3e5f24..318694f6a7e 100644 --- a/worker/predicate_test.go +++ b/worker/predicate_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2016-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package worker diff --git a/worker/schema.go b/worker/schema.go index a831186cd13..321c3c2c481 100644 --- a/worker/schema.go +++ b/worker/schema.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package worker diff --git a/worker/sort.go b/worker/sort.go index 889bfc0ea24..bd46528fcc7 100644 --- a/worker/sort.go +++ b/worker/sort.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2016-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package worker diff --git a/worker/sort_test.go b/worker/sort_test.go index da336e1cd3d..047c079529c 100644 --- a/worker/sort_test.go +++ b/worker/sort_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package worker diff --git a/worker/stream_lists.go b/worker/stream_lists.go index 40bd28e71f0..4a0fef3aa9e 100644 --- a/worker/stream_lists.go +++ b/worker/stream_lists.go @@ -1,8 +1,17 @@ /* - * Copyright 2018 Dgraph Labs, Inc. + * Copyright 2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package worker diff --git a/worker/stream_lists_test.go b/worker/stream_lists_test.go index 8dd37fe14b2..a838cddc318 100644 --- a/worker/stream_lists_test.go +++ b/worker/stream_lists_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2018 Dgraph Labs, Inc. + * Copyright 2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package worker diff --git a/worker/stringfilter.go b/worker/stringfilter.go index fab8ba1365e..e11cedaad3f 100644 --- a/worker/stringfilter.go +++ b/worker/stringfilter.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package worker diff --git a/worker/task.go b/worker/task.go index a96acd9f3cf..7c8d853a00e 100644 --- a/worker/task.go +++ b/worker/task.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2016-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package worker diff --git a/worker/tokens.go b/worker/tokens.go index 558b0966404..c8af92f7648 100644 --- a/worker/tokens.go +++ b/worker/tokens.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2016-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package worker diff --git a/worker/trigram.go b/worker/trigram.go index 960ab026ea1..d365e3242b4 100644 --- a/worker/trigram.go +++ b/worker/trigram.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package worker diff --git a/worker/worker.go b/worker/worker.go index 19e306f1dfe..cb6628e4326 100644 --- a/worker/worker.go +++ b/worker/worker.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2016-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ // Package worker contains code for pb.worker communication to perform diff --git a/worker/worker_test.go b/worker/worker_test.go index f84f3084f61..f96306ef0c9 100644 --- a/worker/worker_test.go +++ b/worker/worker_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2016-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package worker diff --git a/x/badger.go b/x/badger.go index 9810507e756..e3bbea8bd53 100644 --- a/x/badger.go +++ b/x/badger.go @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Dgraph Labs, Inc. and Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package x import ( diff --git a/x/config.go b/x/config.go index 6c45739d987..b00d964207d 100644 --- a/x/config.go +++ b/x/config.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package x diff --git a/x/doc.go b/x/doc.go index cff9d544afd..a31edd0e927 100644 --- a/x/doc.go +++ b/x/doc.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2016-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ // Package x contains some very common utilities used by Dgraph. These utilities diff --git a/x/error.go b/x/error.go index 2a7b9836c28..5e143b3ba15 100644 --- a/x/error.go +++ b/x/error.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2016-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package x diff --git a/x/error_test.go b/x/error_test.go index ca871034669..d555625490f 100644 --- a/x/error_test.go +++ b/x/error_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2016-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package x diff --git a/x/file.go b/x/file.go index e52d1a5acf4..ebea1e9fc4e 100644 --- a/x/file.go +++ b/x/file.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package x diff --git a/x/health.go b/x/health.go index 952a6734fde..7796e8f170f 100644 --- a/x/health.go +++ b/x/health.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package x diff --git a/x/init.go b/x/init.go index c3a7597fdc7..d53c8e7452c 100644 --- a/x/init.go +++ b/x/init.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2016-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package x @@ -59,7 +68,7 @@ For Dgraph official documentation, visit https://docs.dgraph.io. For discussions about Dgraph , visit https://discuss.dgraph.io. To say hi to the community , visit https://dgraph.slack.com. -Licensed under Apache 2.0 + Commons Clause. Copyright 2015-2018 Dgraph Labs, Inc. +Licensed under Apache 2.0. Copyright 2015-2018 Dgraph Labs, Inc. `, dgraphVersion, lastCommitSHA, lastCommitTime, gitBranch) diff --git a/x/keys.go b/x/keys.go index 5cacbe915ed..2c5b1446cf8 100644 --- a/x/keys.go +++ b/x/keys.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2016-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package x diff --git a/x/keys_test.go b/x/keys_test.go index 25c8b1db6f5..d8c366f8461 100644 --- a/x/keys_test.go +++ b/x/keys_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2016-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package x diff --git a/x/lock.go b/x/lock.go index be243d34853..037b13506f8 100644 --- a/x/lock.go +++ b/x/lock.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2016-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package x diff --git a/x/log.go b/x/log.go index 19cc0b5db01..bb4e94561c2 100644 --- a/x/log.go +++ b/x/log.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package x diff --git a/x/max_waitgroup.go b/x/max_waitgroup.go index e117bb5b304..60f4d2d4256 100644 --- a/x/max_waitgroup.go +++ b/x/max_waitgroup.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package x diff --git a/x/metrics.go b/x/metrics.go index d9b81d94a12..5aa9569308b 100644 --- a/x/metrics.go +++ b/x/metrics.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package x diff --git a/x/profile.go b/x/profile.go index 7b7601ecff5..f53642ed42a 100644 --- a/x/profile.go +++ b/x/profile.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package x diff --git a/x/proto.go b/x/proto.go index fff2dca8e2c..3ada6f42b0b 100644 --- a/x/proto.go +++ b/x/proto.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package x diff --git a/x/subcommand.go b/x/subcommand.go index 524093f0fef..65fbdea2926 100644 --- a/x/subcommand.go +++ b/x/subcommand.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package x diff --git a/x/tls_helper.go b/x/tls_helper.go index adbf4ba0047..d78d8ad058b 100644 --- a/x/tls_helper.go +++ b/x/tls_helper.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package x diff --git a/x/values.go b/x/values.go index b06fa42d4de..fafd9659042 100644 --- a/x/values.go +++ b/x/values.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package x diff --git a/x/values_test.go b/x/values_test.go index 2cab65ca35a..b7b59c688b6 100644 --- a/x/values_test.go +++ b/x/values_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package x diff --git a/x/watermark.go b/x/watermark.go index 40c124643a3..96aaeed15ee 100644 --- a/x/watermark.go +++ b/x/watermark.go @@ -1,8 +1,17 @@ /* - * Copyright 2016-2018 Dgraph Labs, Inc. + * Copyright 2016-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package x diff --git a/x/x.go b/x/x.go index a360137d30a..75c8eea9516 100644 --- a/x/x.go +++ b/x/x.go @@ -1,8 +1,17 @@ /* - * Copyright 2015-2018 Dgraph Labs, Inc. + * Copyright 2015-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package x diff --git a/x/x_test.go b/x/x_test.go index defd5bce1d4..d5797eaa277 100644 --- a/x/x_test.go +++ b/x/x_test.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package x diff --git a/xidmap/xidmap.go b/xidmap/xidmap.go index 6f99ac35400..79e4980a4f9 100644 --- a/xidmap/xidmap.go +++ b/xidmap/xidmap.go @@ -1,8 +1,17 @@ /* - * Copyright 2017-2018 Dgraph Labs, Inc. + * Copyright 2017-2018 Dgraph Labs, Inc. and Contributors * - * This file is available under the Apache License, Version 2.0, - * with the Commons Clause restriction. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package xidmap