Skip to content

Commit

Permalink
fix(tgnms): update license headers for 'query_service'
Browse files Browse the repository at this point in the history
Summary: 'query_service' sources incorrectly used BSD+Patents headers, but this subproject is actually licensed under straight BSD.

Reviewed By: deltice

Differential Revision: D38018868

fbshipit-source-id: a9598e8ed42c84614be8e513a2fc5127c5fce188
  • Loading branch information
elludraon authored and facebook-github-bot committed Jul 21, 2022
1 parent a1a15fc commit d4d3f03
Show file tree
Hide file tree
Showing 40 changed files with 85 additions and 123 deletions.
5 changes: 2 additions & 3 deletions query_service/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# Copyright (c) 2016-present, Facebook, Inc.
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree. An additional grant
# of patent rights can be found in the PATENTS file in the same directory.
# LICENSE file in the root directory of this source tree.

# package information
set(PACKAGE_NAME "query_service")
Expand Down
4 changes: 2 additions & 2 deletions query_service/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BSD License

Copyright (c) 2016-present, Facebook, Inc. All rights reserved.
Copyright (c) Meta Platforms, Inc. and affiliates.

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
Expand All @@ -12,7 +12,7 @@ are permitted provided that the following conditions are met:
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

* Neither the name Facebook nor the names of its contributors may be used to
* Neither the name Meta nor the names of its contributors may be used to
endorse or promote products derived from this software without specific
prior written permission.

Expand Down
5 changes: 2 additions & 3 deletions query_service/src/ApiServiceClient.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/**
* Copyright (c) 2004-present, Facebook, Inc.
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* LICENSE file in the root directory of this source tree.
*/

#include "ApiServiceClient.h"
Expand Down
5 changes: 2 additions & 3 deletions query_service/src/ApiServiceClient.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/**
* Copyright (c) 2004-present, Facebook, Inc.
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* LICENSE file in the root directory of this source tree.
*/

#pragma once
Expand Down
5 changes: 2 additions & 3 deletions query_service/src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# Copyright (c) 2016-present, Facebook, Inc.
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree. An additional grant
# of patent rights can be found in the PATENTS file in the same directory.
# LICENSE file in the root directory of this source tree.

set(CMAKE_CXX_FLAGS "-g")

Expand Down
5 changes: 2 additions & 3 deletions query_service/src/CurlUtil.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/**
* Copyright (c) 2016-present, Facebook, Inc.
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* LICENSE file in the root directory of this source tree.
*/

#include "CurlUtil.h"
Expand Down
5 changes: 2 additions & 3 deletions query_service/src/CurlUtil.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/**
* Copyright (c) 2016-present, Facebook, Inc.
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* LICENSE file in the root directory of this source tree.
*/

#pragma once
Expand Down
5 changes: 2 additions & 3 deletions query_service/src/HttpService.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/**
* Copyright (c) 2016-present, Facebook, Inc.
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* LICENSE file in the root directory of this source tree.
*/

#include "HttpService.h"
Expand Down
6 changes: 3 additions & 3 deletions query_service/src/HttpService.h
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/**
* Copyright (c) 2016-present, Facebook, Inc.
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* LICENSE file in the root directory of this source tree.
*/

#pragma once

#include <gflags/gflags.h>
Expand Down
5 changes: 2 additions & 3 deletions query_service/src/KafkaStatsService.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/**
* Copyright (c) 2016-present, Facebook, Inc.
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* LICENSE file in the root directory of this source tree.
*/

#include "KafkaStatsService.h"
Expand Down
5 changes: 2 additions & 3 deletions query_service/src/KafkaStatsService.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/**
* Copyright (c) 2016-present, Facebook, Inc.
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* LICENSE file in the root directory of this source tree.
*/

#pragma once
Expand Down
5 changes: 2 additions & 3 deletions query_service/src/MetricCache.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/**
* Copyright (c) 2016-present, Facebook, Inc.
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* LICENSE file in the root directory of this source tree.
*/

#include "MetricCache.h"
Expand Down
5 changes: 2 additions & 3 deletions query_service/src/MetricCache.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/**
* Copyright (c) 2016-present, Facebook, Inc.
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* LICENSE file in the root directory of this source tree.
*/

#pragma once
Expand Down
5 changes: 2 additions & 3 deletions query_service/src/MySqlClient.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/**
* Copyright (c) 2016-present, Facebook, Inc.
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* LICENSE file in the root directory of this source tree.
*/

#include "MySqlClient.h"
Expand Down
5 changes: 2 additions & 3 deletions query_service/src/MySqlClient.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/**
* Copyright (c) 2016-present, Facebook, Inc.
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* LICENSE file in the root directory of this source tree.
*/

#pragma once
Expand Down
5 changes: 2 additions & 3 deletions query_service/src/NetworkHealthService.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/**
* Copyright (c) 2016-present, Facebook, Inc.
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* LICENSE file in the root directory of this source tree.
*/

#include "NetworkHealthService.h"
Expand Down
5 changes: 2 additions & 3 deletions query_service/src/NetworkHealthService.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/**
* Copyright (c) 2016-present, Facebook, Inc.
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* LICENSE file in the root directory of this source tree.
*/

#pragma once
Expand Down
5 changes: 2 additions & 3 deletions query_service/src/NetworkHealthUtils.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/**
* Copyright (c) 2016-present, Facebook, Inc.
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* LICENSE file in the root directory of this source tree.
*/

#include "NetworkHealthUtils.h"
Expand Down
5 changes: 2 additions & 3 deletions query_service/src/NetworkHealthUtils.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/**
* Copyright (c) 2016-present, Facebook, Inc.
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* LICENSE file in the root directory of this source tree.
*/

#pragma once
Expand Down
5 changes: 2 additions & 3 deletions query_service/src/PrometheusUtils.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/**
* Copyright (c) 2016-present, Facebook, Inc.
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* LICENSE file in the root directory of this source tree.
*/

#include "PrometheusUtils.h"
Expand Down
5 changes: 2 additions & 3 deletions query_service/src/PrometheusUtils.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/**
* Copyright (c) 2016-present, Facebook, Inc.
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* LICENSE file in the root directory of this source tree.
*/

#pragma once
Expand Down
5 changes: 2 additions & 3 deletions query_service/src/QueryServer.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/**
* Copyright (c) 2016-present, Facebook, Inc.
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* LICENSE file in the root directory of this source tree.
*/

#include <unistd.h>
Expand Down
5 changes: 2 additions & 3 deletions query_service/src/StatsUtils.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/**
* Copyright (c) 2016-present, Facebook, Inc.
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* LICENSE file in the root directory of this source tree.
*/

#include "StatsUtils.h"
Expand Down
5 changes: 2 additions & 3 deletions query_service/src/StatsUtils.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/**
* Copyright (c) 2016-present, Facebook, Inc.
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* LICENSE file in the root directory of this source tree.
*/

#pragma once
Expand Down
5 changes: 2 additions & 3 deletions query_service/src/TopologyFetcher.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/**
* Copyright (c) 2016-present, Facebook, Inc.
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* LICENSE file in the root directory of this source tree.
*/

#include "TopologyFetcher.h"
Expand Down
5 changes: 2 additions & 3 deletions query_service/src/TopologyFetcher.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/**
* Copyright (c) 2016-present, Facebook, Inc.
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* LICENSE file in the root directory of this source tree.
*/

#pragma once
Expand Down
5 changes: 2 additions & 3 deletions query_service/src/TopologyStore.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/**
* Copyright (c) 2016-present, Facebook, Inc.
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* LICENSE file in the root directory of this source tree.
*/

#include "TopologyStore.h"
Expand Down
5 changes: 2 additions & 3 deletions query_service/src/TopologyStore.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/**
* Copyright (c) 2016-present, Facebook, Inc.
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* LICENSE file in the root directory of this source tree.
*/

#pragma once
Expand Down
5 changes: 2 additions & 3 deletions query_service/src/consts/PrometheusConsts.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/**
* Copyright (c) 2016-present, Facebook, Inc.
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* LICENSE file in the root directory of this source tree.
*/

#include "PrometheusConsts.h"
Expand Down
5 changes: 2 additions & 3 deletions query_service/src/consts/PrometheusConsts.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/**
* Copyright (c) 2016-present, Facebook, Inc.
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* LICENSE file in the root directory of this source tree.
*/

#pragma once
Expand Down
Loading

0 comments on commit d4d3f03

Please sign in to comment.