From 555f4f518fee8988043bf1535a92dc73b2c643bb Mon Sep 17 00:00:00 2001 From: Haoming Meng Date: Wed, 28 Feb 2024 22:52:22 +0000 Subject: [PATCH] One pass to update copyright headers --- .golangci.yaml | 17 ++++++ .goreleaser.yml | 18 +++++++ .pre-commit-config.yaml | 18 +++++++ Makefile | 2 +- cache_ui/advertise.go | 2 +- classads/classads.go | 2 +- classads/classads_test.go | 2 +- client/acquire_token.go | 2 +- client/bearer_auth.go | 3 +- client/bearer_auth_test.go | 3 +- client/director.go | 2 +- client/director_test.go | 2 +- client/errorAccum.go | 2 +- client/errorAccum_test.go | 2 +- client/get_best_cache.go | 2 +- client/get_stashserver_caches.go | 18 +++++++ client/handle_http.go | 2 +- client/handle_http_test.go | 2 +- client/handle_ingest.go | 2 +- client/main.go | 2 +- client/main_test.go | 2 +- client/pack_handler.go | 2 +- client/pack_test.go | 2 +- client/resources/10-stash-plugin.conf | 2 +- client/resources/update-namespaces.sh | 2 +- client/sharing_url.go | 2 +- client/sharing_url_test.go | 2 +- client/unique_hash_darwin.go | 2 +- client/unique_hash_linux.go | 2 +- client/unique_hash_windows.go | 2 +- client/util.go | 2 +- cmd/cache.go | 2 +- cmd/cache_serve.go | 2 +- cmd/cache_serve_windows.go | 2 +- cmd/config_mgr.go | 2 +- cmd/director.go | 2 +- cmd/director_serve.go | 2 +- cmd/fed.go | 2 +- cmd/fed_serve.go | 2 +- cmd/fed_serve_test.go | 2 +- cmd/fed_serve_windows.go | 2 +- cmd/main.go | 2 +- cmd/main_test.go | 18 +++++++ cmd/object.go | 2 +- cmd/object_copy.go | 2 +- cmd/object_get.go | 2 +- cmd/object_put.go | 2 +- cmd/object_share.go | 2 +- cmd/origin.go | 2 +- cmd/origin_reset_password.go | 3 +- cmd/origin_reset_password_test.go | 2 +- cmd/origin_serve.go | 2 +- cmd/origin_serve_windows.go | 2 +- cmd/origin_token.go | 18 +++++++ cmd/origin_token_test.go | 2 +- cmd/plugin.go | 2 +- cmd/plugin_stage.go | 2 +- cmd/plugin_test.go | 2 +- cmd/registry.go | 2 +- cmd/registry_client.go | 2 +- cmd/registry_serve.go | 2 +- cmd/root.go | 2 +- config/caps_default.go | 2 +- config/caps_linux.go | 2 +- config/config.go | 2 +- config/config_default.go | 2 +- config/config_linux.go | 2 +- config/config_test.go | 2 +- config/csrf.go | 2 +- config/encrypted.go | 2 +- config/init_server_creds.go | 2 +- config/issuer_metadata.go | 2 +- config/keyring_default.go | 2 +- config/keyring_linux.go | 2 +- config/mkdirall.go | 2 +- config/mkdirall_default.go | 2 +- config/mkdirall_windows.go | 2 +- config/net_config.go | 18 +++++++ config/oidc_metadata.go | 2 +- config/privs.go | 2 +- config/resources/defaults.yaml | 2 +- config/resources/osdf.yaml | 2 +- daemon/launch.go | 3 +- daemon/launch_unix.go | 2 +- daemon/launch_windows.go | 2 +- director/ad_conversion.go | 2 +- director/ad_conversion_test.go | 2 +- director/advertise.go | 2 +- director/advertise_test.go | 2 +- director/cache_ads.go | 2 +- director/cache_ads_test.go | 2 +- director/director.go | 2 +- director/director_api.go | 2 +- director/director_api_test.go | 18 +++++++ director/director_test.go | 18 +++++++ director/discovery.go | 2 +- director/geosort.go | 2 +- director/origin_api.go | 2 +- director/origin_api_test.go | 18 +++++++ director/origin_monitor.go | 2 +- director/redirect.go | 2 +- director/redirect_test.go | 18 +++++++ director/resources/geoip_overrides.yaml | 34 ++++++------ director/sort.go | 2 +- director/sort_test.go | 18 +++++++ docs/parameters.yaml | 2 +- docs/scopes.yaml | 2 +- generate/main.go | 18 +++++++ generate/next_generator.go | 18 +++++++ generate/param_generator.go | 52 +++++++++++++++++++ generate/scope_generator.go | 35 +++++++++++++ github_scripts/citests.sh | 2 +- github_scripts/get_put_test.sh | 2 +- github_scripts/osx_install.sh | 2 +- images/Dockerfile | 22 ++++---- images/dev-config.yaml | 18 +++++++ images/dev-container-entrypoint.sh | 17 ++++++ images/dev.Dockerfile | 17 ++++++ images/entrypoint.sh | 23 ++++---- images/supervisord/pelican_cache_serve.conf | 2 +- .../supervisord/pelican_director_serve.conf | 2 +- images/supervisord/pelican_origin_serve.conf | 2 +- .../supervisord/pelican_registry_serve.conf | 2 +- images/supervisord/supervisord.conf | 2 +- launchers/director_serve.go | 2 +- launchers/origin_serve.go | 2 +- launchers/origin_serve_windows.go | 2 +- launchers/registry_serve.go | 2 +- metrics/health.go | 2 +- metrics/health_test.go | 18 +++++++ metrics/xrootd_metrics.go | 2 +- metrics/xrootd_metrics_serializer.go | 2 +- metrics/xrootd_metrics_test.go | 18 +++++++ namespaces/namespaces.go | 2 +- namespaces/namespaces_test.go | 2 +- oa4mp/proxy.go | 3 +- oa4mp/resources/id_token_policies.qdl | 2 +- oa4mp/resources/policies.qdl | 2 +- oa4mp/resources/proxy-config.xml | 2 +- oa4mp/resources/server-config.xml | 2 +- oa4mp/resources/server.xml | 2 +- oa4mp/serve.go | 3 +- oa4mp/serve_default.go | 3 +- oa4mp/serve_unix.go | 3 +- oauth2/oauth2.go | 2 +- oauth2/oidc_client.go | 2 +- origin_ui/advertise.go | 2 +- origin_ui/origin.go | 2 +- origin_ui/origin_api.go | 2 +- origin_ui/self_monitor.go | 2 +- param/param.go | 18 +++++++ param/parameters.go | 17 ++++++ param/parameters_struct.go | 17 ++++++ registry/client_commands.go | 2 +- registry/client_commands_test.go | 2 +- registry/registry.go | 2 +- registry/registry_db.go | 2 +- registry/registry_db_test.go | 2 +- registry/registry_test.go | 18 +++++++ registry/registry_ui.go | 2 +- registry/registry_ui_test.go | 18 +++++++ registry/registry_validation.go | 2 +- registry/registry_validation_test.go | 18 +++++++ server_ui/advertise.go | 2 +- server_ui/register_namespace.go | 2 +- server_ui/register_namespace_test.go | 2 +- server_ui/xrootd_servers.go | 2 +- server_utils/server_struct.go | 2 +- server_utils/server_utils.go | 2 +- test_utils/utils_test.go | 18 +++++++ token_scopes/token_scope_utils.go | 18 +++++++ token_scopes/token_scope_utils_test.go | 18 +++++++ token_scopes/token_scopes.go | 17 ++++++ utils/ca_utils.go | 2 +- utils/server_auth.go | 3 +- utils/server_auth_test.go | 18 +++++++ utils/test_file_transfers_utils.go | 2 +- utils/token_utils.go | 2 +- utils/token_utils_test.go | 2 +- utils/utils.go | 18 +++++++ utils/web_utils.go | 2 +- web_ui/authentication.go | 2 +- web_ui/authentication_test.go | 18 +++++++ web_ui/authorization.go | 2 +- web_ui/engine_test.go | 2 +- web_ui/frontend/Dockerfile | 2 +- web_ui/frontend/app/globals.css | 2 +- web_ui/frontend/app/page.module.css | 2 +- web_ui/oauth2_client.go | 2 +- web_ui/prometheus_test.go | 2 +- web_ui/ui.go | 2 +- web_ui/ui_test.go | 2 +- web_ui/ui_unix.go | 2 +- web_ui/ui_windows.go | 2 +- xrootd/authorization.go | 2 +- xrootd/authorization_test.go | 2 +- xrootd/launch.go | 2 +- xrootd/launch_default.go | 2 +- xrootd/launch_linux.go | 2 +- xrootd/launch_windows.go | 3 +- xrootd/origin_test.go | 2 +- xrootd/resources/scitokens.cfg | 2 +- xrootd/resources/test-scitokens-2issuers.cfg | 2 +- .../resources/test-scitokens-cache-empty.cfg | 2 +- .../resources/test-scitokens-cache-issuer.cfg | 2 +- xrootd/resources/test-scitokens-empty.cfg | 2 +- xrootd/resources/test-scitokens-issuer.cfg | 2 +- .../resources/test-scitokens-monitoring.cfg | 2 +- xrootd/resources/xrootd-cache.cfg | 2 +- xrootd/resources/xrootd-origin.cfg | 2 +- xrootd/xrootd_config.go | 2 +- xrootd/xrootd_config_test.go | 2 +- 212 files changed, 884 insertions(+), 212 deletions(-) diff --git a/.golangci.yaml b/.golangci.yaml index 2e97cea29..bc2a1482e 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -1,3 +1,20 @@ +# *************************************************************** +# +# Copyright (C) 2024, Pelican Project, Morgridge Institute for Research +# +# 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. +# +# *************************************************************** run: # Pelican has gotten large enough that the GitHub Action sometimes diff --git a/.goreleaser.yml b/.goreleaser.yml index b37d6c16f..2a3b99fb2 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,3 +1,21 @@ +# *************************************************************** +# +# Copyright (C) 2024, Pelican Project, Morgridge Institute for Research +# +# 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. +# +# *************************************************************** + project_name: pelican release: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0a7d5931d..668c3c9a4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,3 +1,21 @@ +# *************************************************************** +# +# Copyright (C) 2024, Pelican Project, Morgridge Institute for Research +# +# 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. +# +# *************************************************************** + # See https://pre-commit.com for more information # See https://pre-commit.com/hooks.html for more hooks repos: diff --git a/Makefile b/Makefile index 0676ba91e..e8c4cffee 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2023, Pelican Project, Morgridge Institute for Research +# Copyright (C) 2024, Pelican Project, Morgridge Institute for Research # # Licensed under the Apache License, Version 2.0 (the "License"); you # may not use this file except in compliance with the License. You may diff --git a/cache_ui/advertise.go b/cache_ui/advertise.go index b65a1b79b..ddbb57242 100644 --- a/cache_ui/advertise.go +++ b/cache_ui/advertise.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/classads/classads.go b/classads/classads.go index 30ad2e8b6..5e63f45d1 100644 --- a/classads/classads.go +++ b/classads/classads.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, University of Nebraska-Lincoln + * Copyright (C) 2024, University of Nebraska-Lincoln * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/classads/classads_test.go b/classads/classads_test.go index b2514ad51..900a3a3ae 100644 --- a/classads/classads_test.go +++ b/classads/classads_test.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, University of Nebraska-Lincoln + * Copyright (C) 2024, University of Nebraska-Lincoln * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/client/acquire_token.go b/client/acquire_token.go index 00d928733..60f327393 100644 --- a/client/acquire_token.go +++ b/client/acquire_token.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/client/bearer_auth.go b/client/bearer_auth.go index 569e86292..39c8c128a 100644 --- a/client/bearer_auth.go +++ b/client/bearer_auth.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, University of Nebraska-Lincoln + * Copyright (C) 2024, University of Nebraska-Lincoln * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may @@ -15,6 +15,7 @@ * limitations under the License. * ***************************************************************/ + package client import ( diff --git a/client/bearer_auth_test.go b/client/bearer_auth_test.go index a9e4a79de..97c0dd4d3 100644 --- a/client/bearer_auth_test.go +++ b/client/bearer_auth_test.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, University of Nebraska-Lincoln + * Copyright (C) 2024, University of Nebraska-Lincoln * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may @@ -15,6 +15,7 @@ * limitations under the License. * ***************************************************************/ + package client import ( diff --git a/client/director.go b/client/director.go index 2168b316e..e0a94eb39 100644 --- a/client/director.go +++ b/client/director.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/client/director_test.go b/client/director_test.go index 6f552ea5c..ab4ff4c14 100644 --- a/client/director_test.go +++ b/client/director_test.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/client/errorAccum.go b/client/errorAccum.go index 38f58b810..da686646d 100644 --- a/client/errorAccum.go +++ b/client/errorAccum.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, University of Nebraska-Lincoln + * Copyright (C) 2024, University of Nebraska-Lincoln * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/client/errorAccum_test.go b/client/errorAccum_test.go index f623395e1..76695c399 100644 --- a/client/errorAccum_test.go +++ b/client/errorAccum_test.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, University of Nebraska-Lincoln + * Copyright (C) 2024, University of Nebraska-Lincoln * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/client/get_best_cache.go b/client/get_best_cache.go index 62d476aa3..a03c2c290 100644 --- a/client/get_best_cache.go +++ b/client/get_best_cache.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, University of Nebraska-Lincoln + * Copyright (C) 2024, University of Nebraska-Lincoln * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/client/get_stashserver_caches.go b/client/get_stashserver_caches.go index 6316912d7..b3abb1331 100644 --- a/client/get_stashserver_caches.go +++ b/client/get_stashserver_caches.go @@ -1,3 +1,21 @@ +/*************************************************************** + * + * Copyright (C) 2024, University of Nebraska-Lincoln + * + * 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 client import ( diff --git a/client/handle_http.go b/client/handle_http.go index 3844f166d..e8fe201e5 100644 --- a/client/handle_http.go +++ b/client/handle_http.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, University of Nebraska-Lincoln + * Copyright (C) 2024, University of Nebraska-Lincoln * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/client/handle_http_test.go b/client/handle_http_test.go index 774cbef82..fbcc9ddea 100644 --- a/client/handle_http_test.go +++ b/client/handle_http_test.go @@ -2,7 +2,7 @@ /*************************************************************** * - * Copyright (C) 2023, University of Nebraska-Lincoln + * Copyright (C) 2024, University of Nebraska-Lincoln * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/client/handle_ingest.go b/client/handle_ingest.go index 936740565..2859fe07d 100644 --- a/client/handle_ingest.go +++ b/client/handle_ingest.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, University of Nebraska-Lincoln + * Copyright (C) 2024, University of Nebraska-Lincoln * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/client/main.go b/client/main.go index eebf02c9f..1982d1acb 100644 --- a/client/main.go +++ b/client/main.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, University of Nebraska-Lincoln + * Copyright (C) 2024, University of Nebraska-Lincoln * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/client/main_test.go b/client/main_test.go index 46f5d5144..daf47af99 100644 --- a/client/main_test.go +++ b/client/main_test.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, University of Nebraska-Lincoln + * Copyright (C) 2024, University of Nebraska-Lincoln * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/client/pack_handler.go b/client/pack_handler.go index 344bab543..ef039a300 100644 --- a/client/pack_handler.go +++ b/client/pack_handler.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Morgridge Institute for Research + * Copyright (C) 2024, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/client/pack_test.go b/client/pack_test.go index f582dfc7a..854b37156 100644 --- a/client/pack_test.go +++ b/client/pack_test.go @@ -2,7 +2,7 @@ /*************************************************************** * - * Copyright (C) 2023, Morgridge Institute for Research + * Copyright (C) 2024, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/client/resources/10-stash-plugin.conf b/client/resources/10-stash-plugin.conf index b7ffbb63c..dcf9fe0fd 100644 --- a/client/resources/10-stash-plugin.conf +++ b/client/resources/10-stash-plugin.conf @@ -1,5 +1,5 @@ # -# Copyright (C) 2023, Pelican Project, Morgridge Institute for Research +# Copyright (C) 2024, Pelican Project, Morgridge Institute for Research # # Licensed under the Apache License, Version 2.0 (the "License"); you # may not use this file except in compliance with the License. You may diff --git a/client/resources/update-namespaces.sh b/client/resources/update-namespaces.sh index 484ed5d72..db8da0acc 100755 --- a/client/resources/update-namespaces.sh +++ b/client/resources/update-namespaces.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# Copyright (C) 2023, Pelican Project, University of Wisconsin-Madison +# Copyright (C) 2024, Pelican Project, University of Wisconsin-Madison # # Licensed under the Apache License, Version 2.0 (the "License"); you # may not use this file except in compliance with the License. You may diff --git a/client/sharing_url.go b/client/sharing_url.go index ea55b2739..5bbcdcdab 100644 --- a/client/sharing_url.go +++ b/client/sharing_url.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, University of Nebraska-Lincoln + * Copyright (C) 2024, University of Nebraska-Lincoln * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/client/sharing_url_test.go b/client/sharing_url_test.go index 064bd712a..d41524f74 100644 --- a/client/sharing_url_test.go +++ b/client/sharing_url_test.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, University of Nebraska-Lincoln + * Copyright (C) 2024, University of Nebraska-Lincoln * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/client/unique_hash_darwin.go b/client/unique_hash_darwin.go index 6ce4baa56..847289a9f 100644 --- a/client/unique_hash_darwin.go +++ b/client/unique_hash_darwin.go @@ -3,7 +3,7 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/client/unique_hash_linux.go b/client/unique_hash_linux.go index 5e85196cd..6b8288756 100644 --- a/client/unique_hash_linux.go +++ b/client/unique_hash_linux.go @@ -3,7 +3,7 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/client/unique_hash_windows.go b/client/unique_hash_windows.go index 791aec9a4..caa25a24a 100644 --- a/client/unique_hash_windows.go +++ b/client/unique_hash_windows.go @@ -3,7 +3,7 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/client/util.go b/client/util.go index ee070dda3..087b05505 100644 --- a/client/util.go +++ b/client/util.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/cmd/cache.go b/cmd/cache.go index 84c5e060a..b18f17147 100644 --- a/cmd/cache.go +++ b/cmd/cache.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/cmd/cache_serve.go b/cmd/cache_serve.go index 6b19df450..a5bf7344a 100644 --- a/cmd/cache_serve.go +++ b/cmd/cache_serve.go @@ -2,7 +2,7 @@ /*************************************************************** * -* Copyright (C) 2023, Pelican Project, Morgridge Institute for Research +* Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/cmd/cache_serve_windows.go b/cmd/cache_serve_windows.go index d67496184..6478610a2 100644 --- a/cmd/cache_serve_windows.go +++ b/cmd/cache_serve_windows.go @@ -2,7 +2,7 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/cmd/config_mgr.go b/cmd/config_mgr.go index 18c3a74c7..26226233d 100644 --- a/cmd/config_mgr.go +++ b/cmd/config_mgr.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/cmd/director.go b/cmd/director.go index fa53d7b24..2238ad182 100644 --- a/cmd/director.go +++ b/cmd/director.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/cmd/director_serve.go b/cmd/director_serve.go index 522695446..95e2978e3 100644 --- a/cmd/director_serve.go +++ b/cmd/director_serve.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/cmd/fed.go b/cmd/fed.go index bd0d50d39..19cf0a808 100644 --- a/cmd/fed.go +++ b/cmd/fed.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/cmd/fed_serve.go b/cmd/fed_serve.go index a14016c3a..7919e89cf 100644 --- a/cmd/fed_serve.go +++ b/cmd/fed_serve.go @@ -2,7 +2,7 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/cmd/fed_serve_test.go b/cmd/fed_serve_test.go index 471f03c4e..f3f16bae9 100644 --- a/cmd/fed_serve_test.go +++ b/cmd/fed_serve_test.go @@ -2,7 +2,7 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/cmd/fed_serve_windows.go b/cmd/fed_serve_windows.go index 297b5fa7f..d845cc394 100644 --- a/cmd/fed_serve_windows.go +++ b/cmd/fed_serve_windows.go @@ -2,7 +2,7 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/cmd/main.go b/cmd/main.go index 9c0b378e7..ab28825c1 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/cmd/main_test.go b/cmd/main_test.go index e025b8ae5..a80a68e22 100644 --- a/cmd/main_test.go +++ b/cmd/main_test.go @@ -1,3 +1,21 @@ +/*************************************************************** + * + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research + * + * 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/cmd/object.go b/cmd/object.go index f6bf869a8..e3e9cc5f7 100644 --- a/cmd/object.go +++ b/cmd/object.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/cmd/object_copy.go b/cmd/object_copy.go index e8ca4ce5b..c6316afa5 100644 --- a/cmd/object_copy.go +++ b/cmd/object_copy.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/cmd/object_get.go b/cmd/object_get.go index dbac14c08..94a2d4b9c 100644 --- a/cmd/object_get.go +++ b/cmd/object_get.go @@ -1,6 +1,6 @@ /*************************************************************** * -* Copyright (C) 2023, Pelican Project, Morgridge Institute for Research +* Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/cmd/object_put.go b/cmd/object_put.go index dba0fd8fa..6eb5e0c32 100644 --- a/cmd/object_put.go +++ b/cmd/object_put.go @@ -1,6 +1,6 @@ /*************************************************************** * -* Copyright (C) 2023, Pelican Project, Morgridge Institute for Research +* Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/cmd/object_share.go b/cmd/object_share.go index 6dfbc812e..09347c60b 100644 --- a/cmd/object_share.go +++ b/cmd/object_share.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/cmd/origin.go b/cmd/origin.go index 005d31dc1..292c4cfd9 100644 --- a/cmd/origin.go +++ b/cmd/origin.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/cmd/origin_reset_password.go b/cmd/origin_reset_password.go index b796cfe02..1e8fcdf93 100644 --- a/cmd/origin_reset_password.go +++ b/cmd/origin_reset_password.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may @@ -15,6 +15,7 @@ * limitations under the License. * ***************************************************************/ + package main import ( diff --git a/cmd/origin_reset_password_test.go b/cmd/origin_reset_password_test.go index 4618f39cb..1f035cc10 100644 --- a/cmd/origin_reset_password_test.go +++ b/cmd/origin_reset_password_test.go @@ -2,7 +2,7 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/cmd/origin_serve.go b/cmd/origin_serve.go index a8f4d915f..dd9eabbdd 100644 --- a/cmd/origin_serve.go +++ b/cmd/origin_serve.go @@ -2,7 +2,7 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/cmd/origin_serve_windows.go b/cmd/origin_serve_windows.go index d5795e756..13c2da64c 100644 --- a/cmd/origin_serve_windows.go +++ b/cmd/origin_serve_windows.go @@ -2,7 +2,7 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/cmd/origin_token.go b/cmd/origin_token.go index bbd5a7d94..4d3bccb9f 100644 --- a/cmd/origin_token.go +++ b/cmd/origin_token.go @@ -1,3 +1,21 @@ +/*************************************************************** + * + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research + * + * 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/cmd/origin_token_test.go b/cmd/origin_token_test.go index ce5dcc772..a1ec7c806 100644 --- a/cmd/origin_token_test.go +++ b/cmd/origin_token_test.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/cmd/plugin.go b/cmd/plugin.go index f2069e3eb..b9eded433 100644 --- a/cmd/plugin.go +++ b/cmd/plugin.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, University of Nebraska-Lincoln + * Copyright (C) 2024, University of Nebraska-Lincoln * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/cmd/plugin_stage.go b/cmd/plugin_stage.go index 1fdd4b970..e5efb0ec0 100644 --- a/cmd/plugin_stage.go +++ b/cmd/plugin_stage.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/cmd/plugin_test.go b/cmd/plugin_test.go index 55f74befb..99742fca5 100644 --- a/cmd/plugin_test.go +++ b/cmd/plugin_test.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, University of Nebraska-Lincoln + * Copyright (C) 2024, University of Nebraska-Lincoln * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/cmd/registry.go b/cmd/registry.go index 1665600ae..21e434422 100644 --- a/cmd/registry.go +++ b/cmd/registry.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/cmd/registry_client.go b/cmd/registry_client.go index f26831812..71b853cf8 100644 --- a/cmd/registry_client.go +++ b/cmd/registry_client.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/cmd/registry_serve.go b/cmd/registry_serve.go index acfd459c0..35211addb 100644 --- a/cmd/registry_serve.go +++ b/cmd/registry_serve.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/cmd/root.go b/cmd/root.go index a16a74cb1..d05e75240 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/config/caps_default.go b/config/caps_default.go index dca45c4b9..0551ac0ce 100644 --- a/config/caps_default.go +++ b/config/caps_default.go @@ -2,7 +2,7 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/config/caps_linux.go b/config/caps_linux.go index 2b4e0e221..b39743407 100644 --- a/config/caps_linux.go +++ b/config/caps_linux.go @@ -2,7 +2,7 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/config/config.go b/config/config.go index 81760c39d..2b14d586f 100644 --- a/config/config.go +++ b/config/config.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/config/config_default.go b/config/config_default.go index 7eae31902..e6e7e0978 100644 --- a/config/config_default.go +++ b/config/config_default.go @@ -2,7 +2,7 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/config/config_linux.go b/config/config_linux.go index c9092b65c..04410292a 100644 --- a/config/config_linux.go +++ b/config/config_linux.go @@ -2,7 +2,7 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/config/config_test.go b/config/config_test.go index afff9eb6f..79832dbd7 100644 --- a/config/config_test.go +++ b/config/config_test.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/config/csrf.go b/config/csrf.go index 2885c8559..d2388b774 100644 --- a/config/csrf.go +++ b/config/csrf.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/config/encrypted.go b/config/encrypted.go index 4c47934de..746e86f3e 100644 --- a/config/encrypted.go +++ b/config/encrypted.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/config/init_server_creds.go b/config/init_server_creds.go index f051e9903..7c7bdc732 100644 --- a/config/init_server_creds.go +++ b/config/init_server_creds.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/config/issuer_metadata.go b/config/issuer_metadata.go index 4ed7b2b40..b86cbc721 100644 --- a/config/issuer_metadata.go +++ b/config/issuer_metadata.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/config/keyring_default.go b/config/keyring_default.go index 9b43ffdfb..418aa3f1d 100644 --- a/config/keyring_default.go +++ b/config/keyring_default.go @@ -2,7 +2,7 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/config/keyring_linux.go b/config/keyring_linux.go index 596bd6804..a3ccd0950 100644 --- a/config/keyring_linux.go +++ b/config/keyring_linux.go @@ -2,7 +2,7 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/config/mkdirall.go b/config/mkdirall.go index e559f98d7..fc6e035e7 100644 --- a/config/mkdirall.go +++ b/config/mkdirall.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/config/mkdirall_default.go b/config/mkdirall_default.go index c55182e6b..061d08a39 100644 --- a/config/mkdirall_default.go +++ b/config/mkdirall_default.go @@ -2,7 +2,7 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/config/mkdirall_windows.go b/config/mkdirall_windows.go index f212ba964..ad5bd08d7 100644 --- a/config/mkdirall_windows.go +++ b/config/mkdirall_windows.go @@ -2,7 +2,7 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/config/net_config.go b/config/net_config.go index 15c9b5c58..164bd86aa 100644 --- a/config/net_config.go +++ b/config/net_config.go @@ -1,3 +1,21 @@ +/*************************************************************** + * + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research + * + * 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 config import ( diff --git a/config/oidc_metadata.go b/config/oidc_metadata.go index 7de631fb5..b9ad2e56c 100644 --- a/config/oidc_metadata.go +++ b/config/oidc_metadata.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/config/privs.go b/config/privs.go index a1fa53435..d9e67ba39 100644 --- a/config/privs.go +++ b/config/privs.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/config/resources/defaults.yaml b/config/resources/defaults.yaml index 101ad4162..1de1e8a21 100644 --- a/config/resources/defaults.yaml +++ b/config/resources/defaults.yaml @@ -1,5 +1,5 @@ # -# Copyright (C) 2023, Pelican Project, Morgridge Institute for Research +# Copyright (C) 2024, Pelican Project, Morgridge Institute for Research # # Licensed under the Apache License, Version 2.0 (the "License"); you # may not use this file except in compliance with the License. You may diff --git a/config/resources/osdf.yaml b/config/resources/osdf.yaml index 6be2fd307..c466afb16 100644 --- a/config/resources/osdf.yaml +++ b/config/resources/osdf.yaml @@ -1,5 +1,5 @@ # -# Copyright (C) 2023, Pelican Project, Morgridge Institute for Research +# Copyright (C) 2024, Pelican Project, Morgridge Institute for Research # # Licensed under the Apache License, Version 2.0 (the "License"); you # may not use this file except in compliance with the License. You may diff --git a/daemon/launch.go b/daemon/launch.go index c2d0d1b26..9096e34c3 100644 --- a/daemon/launch.go +++ b/daemon/launch.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may @@ -15,6 +15,7 @@ * limitations under the License. * ***************************************************************/ + package daemon import ( diff --git a/daemon/launch_unix.go b/daemon/launch_unix.go index 06e8ece92..cbd9e8831 100644 --- a/daemon/launch_unix.go +++ b/daemon/launch_unix.go @@ -2,7 +2,7 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/daemon/launch_windows.go b/daemon/launch_windows.go index 32dbace20..fa31cd675 100644 --- a/daemon/launch_windows.go +++ b/daemon/launch_windows.go @@ -2,7 +2,7 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/director/ad_conversion.go b/director/ad_conversion.go index 7bd179919..030dac263 100644 --- a/director/ad_conversion.go +++ b/director/ad_conversion.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/director/ad_conversion_test.go b/director/ad_conversion_test.go index e8996e937..fbba01e73 100644 --- a/director/ad_conversion_test.go +++ b/director/ad_conversion_test.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/director/advertise.go b/director/advertise.go index 7458f76ac..923ae173e 100644 --- a/director/advertise.go +++ b/director/advertise.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/director/advertise_test.go b/director/advertise_test.go index b95a7908a..4e04fa939 100644 --- a/director/advertise_test.go +++ b/director/advertise_test.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/director/cache_ads.go b/director/cache_ads.go index 85d45522b..a70d7790b 100644 --- a/director/cache_ads.go +++ b/director/cache_ads.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/director/cache_ads_test.go b/director/cache_ads_test.go index 8fbce8801..43ffa128a 100644 --- a/director/cache_ads_test.go +++ b/director/cache_ads_test.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/director/director.go b/director/director.go index 49d5827c1..966b0e639 100644 --- a/director/director.go +++ b/director/director.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/director/director_api.go b/director/director_api.go index 42c4c467e..2b5653484 100644 --- a/director/director_api.go +++ b/director/director_api.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/director/director_api_test.go b/director/director_api_test.go index b88820e38..d9a3330cc 100644 --- a/director/director_api_test.go +++ b/director/director_api_test.go @@ -1,3 +1,21 @@ +/*************************************************************** + * + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research + * + * 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 director import ( diff --git a/director/director_test.go b/director/director_test.go index 0cac16a2a..7bd5f1793 100644 --- a/director/director_test.go +++ b/director/director_test.go @@ -1,3 +1,21 @@ +/*************************************************************** + * + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research + * + * 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 director import ( diff --git a/director/discovery.go b/director/discovery.go index e2bea3c41..1d873bae5 100644 --- a/director/discovery.go +++ b/director/discovery.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/director/geosort.go b/director/geosort.go index 0a71ef295..3b55ff259 100644 --- a/director/geosort.go +++ b/director/geosort.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/director/origin_api.go b/director/origin_api.go index eac985a2d..234df0690 100644 --- a/director/origin_api.go +++ b/director/origin_api.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/director/origin_api_test.go b/director/origin_api_test.go index 89df0c224..e35b663c7 100644 --- a/director/origin_api_test.go +++ b/director/origin_api_test.go @@ -1,3 +1,21 @@ +/*************************************************************** + * + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research + * + * 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 director import ( diff --git a/director/origin_monitor.go b/director/origin_monitor.go index cddbda697..32fbdc49b 100644 --- a/director/origin_monitor.go +++ b/director/origin_monitor.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/director/redirect.go b/director/redirect.go index f2a235597..3b91c22eb 100644 --- a/director/redirect.go +++ b/director/redirect.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/director/redirect_test.go b/director/redirect_test.go index 2adc876e6..ca3b661ee 100644 --- a/director/redirect_test.go +++ b/director/redirect_test.go @@ -1,3 +1,21 @@ +/*************************************************************** + * + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research + * + * 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 director import ( diff --git a/director/resources/geoip_overrides.yaml b/director/resources/geoip_overrides.yaml index dda89d895..1d05c60ba 100644 --- a/director/resources/geoip_overrides.yaml +++ b/director/resources/geoip_overrides.yaml @@ -1,20 +1,20 @@ -#/*************************************************************** -# * -# * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research -# * -# * 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 (C) 2024, Pelican Project, Morgridge Institute for Research +# +# 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. +# +# *************************************************************** # Configuration options used to test Geo Overrides in sort_test.go GeoIPOverrides: diff --git a/director/sort.go b/director/sort.go index 91d0bd120..7ea409e70 100644 --- a/director/sort.go +++ b/director/sort.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/director/sort_test.go b/director/sort_test.go index 58b0a50ea..1883742b5 100644 --- a/director/sort_test.go +++ b/director/sort_test.go @@ -1,3 +1,21 @@ +/*************************************************************** + * + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research + * + * 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 director import ( diff --git a/docs/parameters.yaml b/docs/parameters.yaml index e4f84392e..113948a1f 100644 --- a/docs/parameters.yaml +++ b/docs/parameters.yaml @@ -1,5 +1,5 @@ # -# Copyright (C) 2023, Pelican Project, Morgridge Institute for Research +# Copyright (C) 2024, Pelican Project, Morgridge Institute for Research # # Licensed under the Apache License, Version 2.0 (the "License"); you # may not use this file except in compliance with the License. You may diff --git a/docs/scopes.yaml b/docs/scopes.yaml index c5c0ea226..907763fd4 100644 --- a/docs/scopes.yaml +++ b/docs/scopes.yaml @@ -1,5 +1,5 @@ # -# Copyright (C) 2023, Pelican Project, Morgridge Institute for Research +# Copyright (C) 2024, Pelican Project, Morgridge Institute for Research # # Licensed under the Apache License, Version 2.0 (the "License"); you # may not use this file except in compliance with the License. You may diff --git a/generate/main.go b/generate/main.go index 0afaba9b3..c13596166 100644 --- a/generate/main.go +++ b/generate/main.go @@ -1,3 +1,21 @@ +/*************************************************************** + * + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research + * + * 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 //go:generate go run ../generate diff --git a/generate/next_generator.go b/generate/next_generator.go index ff7be39f6..b462e0313 100644 --- a/generate/next_generator.go +++ b/generate/next_generator.go @@ -1,3 +1,21 @@ +/*************************************************************** + * + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research + * + * 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 // This should not be included in any release of pelican diff --git a/generate/param_generator.go b/generate/param_generator.go index ad30675c1..66c2c7fed 100644 --- a/generate/param_generator.go +++ b/generate/param_generator.go @@ -1,3 +1,21 @@ +/*************************************************************** + * + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research + * + * 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 // This should not be included in any release of pelican, instead only the generated "parameters.go" and "parameters_struct.go" should packaged. @@ -333,6 +351,23 @@ func GenParamStruct() { // As more varied paramters get added to parameters.yaml with different paths and names, this may need to be // altered to be more general var packageTemplate = template.Must(template.New("").Parse(`// Code generated by go generate; DO NOT EDIT. +/*************************************************************** + * + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research + * + * 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 param @@ -422,6 +457,23 @@ var ({{range $key, $value := .ObjectMap}} `)) var structTemplate = template.Must(template.New("").Parse(`// Code generated by go generate; DO NOT EDIT. +/*************************************************************** + * + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research + * + * 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 param diff --git a/generate/scope_generator.go b/generate/scope_generator.go index 76057c4ba..8634d6d19 100644 --- a/generate/scope_generator.go +++ b/generate/scope_generator.go @@ -1,3 +1,21 @@ +/*************************************************************** + * + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research + * + * 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 ( @@ -117,6 +135,23 @@ func GenTokenScope() { } var tokenTemplate = template.Must(template.New("").Parse(`// Code generated by go generate; DO NOT EDIT. +/*************************************************************** + * + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research + * + * 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 token_scopes diff --git a/github_scripts/citests.sh b/github_scripts/citests.sh index ace8e3738..5793a6490 100755 --- a/github_scripts/citests.sh +++ b/github_scripts/citests.sh @@ -1,6 +1,6 @@ #!/bin/bash -xe # -# Copyright (C) 2023, University of Nebraska-Lincoln +# Copyright (C) 2024, University of Nebraska-Lincoln # # Licensed under the Apache License, Version 2.0 (the "License"); you # may not use this file except in compliance with the License. You may diff --git a/github_scripts/get_put_test.sh b/github_scripts/get_put_test.sh index 9f4cd1c63..7e272d357 100755 --- a/github_scripts/get_put_test.sh +++ b/github_scripts/get_put_test.sh @@ -1,6 +1,6 @@ #!/bin/bash -xe # -# Copyright (C) 2023, University of Nebraska-Lincoln +# Copyright (C) 2024, University of Nebraska-Lincoln # # Licensed under the Apache License, Version 2.0 (the "License"); you # may not use this file except in compliance with the License. You may diff --git a/github_scripts/osx_install.sh b/github_scripts/osx_install.sh index 3408c0327..a3de9c2c8 100755 --- a/github_scripts/osx_install.sh +++ b/github_scripts/osx_install.sh @@ -1,5 +1,5 @@ #!/bin/sh -ex -# Copyright (C) 2023, Pelican Project, Morgridge Institute for Research +# Copyright (C) 2024, Pelican Project, Morgridge Institute for Research # # Licensed under the Apache License, Version 2.0 (the "License"); you # may not use this file except in compliance with the License. You may diff --git a/images/Dockerfile b/images/Dockerfile index 73e52f0f0..185bbae0e 100644 --- a/images/Dockerfile +++ b/images/Dockerfile @@ -1,18 +1,20 @@ +# *************************************************************** # -# Copyright (C) 2023, Pelican Project, Morgridge Institute for Research +# Copyright (C) 2024, Pelican Project, Morgridge Institute for Research # -# 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 +# 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 +# http://www.apache.org/licenses/LICENSE-2.0 # -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # +# *************************************************************** ARG BASE_YUM_REPO=release ARG BASE_OSG_SERIES=3.6 diff --git a/images/dev-config.yaml b/images/dev-config.yaml index 789b78b9f..03fe30d9b 100644 --- a/images/dev-config.yaml +++ b/images/dev-config.yaml @@ -1,2 +1,20 @@ +# *************************************************************** +# +# Copyright (C) 2024, Pelican Project, Morgridge Institute for Research +# +# 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. +# +# *************************************************************** + OriginUrl: https://localhost:8444 TLSSkipVerify: true diff --git a/images/dev-container-entrypoint.sh b/images/dev-container-entrypoint.sh index 8fa8b709f..7cb297dc7 100755 --- a/images/dev-container-entrypoint.sh +++ b/images/dev-container-entrypoint.sh @@ -1,4 +1,21 @@ #!/bin/bash +# *************************************************************** +# +# Copyright (C) 2024, Pelican Project, Morgridge Institute for Research +# +# 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. +# +# *************************************************************** # Run pre-commit install pre-commit install diff --git a/images/dev.Dockerfile b/images/dev.Dockerfile index 804439f00..f615a4f40 100644 --- a/images/dev.Dockerfile +++ b/images/dev.Dockerfile @@ -1,3 +1,20 @@ +# *************************************************************** +# +# Copyright (C) 2024, Pelican Project, Morgridge Institute for Research +# +# 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. +# +# *************************************************************** # We specify the platform as scitokens-oauth2-server didn't publish arm version and we don't want to # fail on building this container on arm machine diff --git a/images/entrypoint.sh b/images/entrypoint.sh index 5805eb95e..fa1de3e6d 100644 --- a/images/entrypoint.sh +++ b/images/entrypoint.sh @@ -1,19 +1,22 @@ #!/bin/bash + +# *************************************************************** # -# Copyright (C) 2023, Pelican Project, Morgridge Institute for Research +# Copyright (C) 2024, Pelican Project, Morgridge Institute for Research # -# 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 +# 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 +# http://www.apache.org/licenses/LICENSE-2.0 # -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # +# *************************************************************** supervisord -c /etc/supervisord.conf diff --git a/images/supervisord/pelican_cache_serve.conf b/images/supervisord/pelican_cache_serve.conf index b74cbcc93..43ca551fe 100644 --- a/images/supervisord/pelican_cache_serve.conf +++ b/images/supervisord/pelican_cache_serve.conf @@ -1,6 +1,6 @@ # -# Copyright (C) 2023, Pelican Project, Morgridge Institute for Research +# Copyright (C) 2024, Pelican Project, Morgridge Institute for Research # # Licensed under the Apache License, Version 2.0 (the "License"); you # may not use this file except in compliance with the License. You may diff --git a/images/supervisord/pelican_director_serve.conf b/images/supervisord/pelican_director_serve.conf index c3d77f557..e6f7b9ff9 100644 --- a/images/supervisord/pelican_director_serve.conf +++ b/images/supervisord/pelican_director_serve.conf @@ -1,5 +1,5 @@ # -# Copyright (C) 2023, Pelican Project, Morgridge Institute for Research +# Copyright (C) 2024, Pelican Project, Morgridge Institute for Research # # Licensed under the Apache License, Version 2.0 (the "License"); you # may not use this file except in compliance with the License. You may diff --git a/images/supervisord/pelican_origin_serve.conf b/images/supervisord/pelican_origin_serve.conf index 39285249a..9b3546c0f 100644 --- a/images/supervisord/pelican_origin_serve.conf +++ b/images/supervisord/pelican_origin_serve.conf @@ -1,5 +1,5 @@ # -# Copyright (C) 2023, Pelican Project, Morgridge Institute for Research +# Copyright (C) 2024, Pelican Project, Morgridge Institute for Research # # Licensed under the Apache License, Version 2.0 (the "License"); you # may not use this file except in compliance with the License. You may diff --git a/images/supervisord/pelican_registry_serve.conf b/images/supervisord/pelican_registry_serve.conf index cdf3259d5..d64a4f942 100644 --- a/images/supervisord/pelican_registry_serve.conf +++ b/images/supervisord/pelican_registry_serve.conf @@ -1,5 +1,5 @@ # -# Copyright (C) 2023, Pelican Project, Morgridge Institute for Research +# Copyright (C) 2024, Pelican Project, Morgridge Institute for Research # # Licensed under the Apache License, Version 2.0 (the "License"); you # may not use this file except in compliance with the License. You may diff --git a/images/supervisord/supervisord.conf b/images/supervisord/supervisord.conf index c908f05af..708839a85 100644 --- a/images/supervisord/supervisord.conf +++ b/images/supervisord/supervisord.conf @@ -1,5 +1,5 @@ # -# Copyright (C) 2023, Pelican Project, Morgridge Institute for Research +# Copyright (C) 2024, Pelican Project, Morgridge Institute for Research # # Licensed under the Apache License, Version 2.0 (the "License"); you # may not use this file except in compliance with the License. You may diff --git a/launchers/director_serve.go b/launchers/director_serve.go index 732e1e00e..4b0479eb1 100644 --- a/launchers/director_serve.go +++ b/launchers/director_serve.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/launchers/origin_serve.go b/launchers/origin_serve.go index 1434c5b1b..a36fdafdd 100644 --- a/launchers/origin_serve.go +++ b/launchers/origin_serve.go @@ -2,7 +2,7 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/launchers/origin_serve_windows.go b/launchers/origin_serve_windows.go index 887d964c3..54c5f4a0d 100644 --- a/launchers/origin_serve_windows.go +++ b/launchers/origin_serve_windows.go @@ -2,7 +2,7 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/launchers/registry_serve.go b/launchers/registry_serve.go index bca88864c..cbde68ab7 100644 --- a/launchers/registry_serve.go +++ b/launchers/registry_serve.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/metrics/health.go b/metrics/health.go index 3229ed13f..7fac47766 100644 --- a/metrics/health.go +++ b/metrics/health.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/metrics/health_test.go b/metrics/health_test.go index 645d2a257..eeefeb728 100644 --- a/metrics/health_test.go +++ b/metrics/health_test.go @@ -1,3 +1,21 @@ +/*************************************************************** + * + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research + * + * 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 metrics import ( diff --git a/metrics/xrootd_metrics.go b/metrics/xrootd_metrics.go index d4ac76136..2bee0b6fc 100644 --- a/metrics/xrootd_metrics.go +++ b/metrics/xrootd_metrics.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/metrics/xrootd_metrics_serializer.go b/metrics/xrootd_metrics_serializer.go index 2cf465785..0306ea285 100644 --- a/metrics/xrootd_metrics_serializer.go +++ b/metrics/xrootd_metrics_serializer.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/metrics/xrootd_metrics_test.go b/metrics/xrootd_metrics_test.go index 35e5df8dc..70f3da0c8 100644 --- a/metrics/xrootd_metrics_test.go +++ b/metrics/xrootd_metrics_test.go @@ -1,3 +1,21 @@ +/*************************************************************** + * + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research + * + * 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 metrics import ( diff --git a/namespaces/namespaces.go b/namespaces/namespaces.go index dfc947b49..6fd21f8a7 100644 --- a/namespaces/namespaces.go +++ b/namespaces/namespaces.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/namespaces/namespaces_test.go b/namespaces/namespaces_test.go index edebb2a10..3197a217b 100644 --- a/namespaces/namespaces_test.go +++ b/namespaces/namespaces_test.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/oa4mp/proxy.go b/oa4mp/proxy.go index a48fcd463..b7473f9f3 100644 --- a/oa4mp/proxy.go +++ b/oa4mp/proxy.go @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may @@ -15,6 +15,7 @@ * limitations under the License. * ***************************************************************/ + package oa4mp import ( diff --git a/oa4mp/resources/id_token_policies.qdl b/oa4mp/resources/id_token_policies.qdl index d833c5452..737f6f8f0 100644 --- a/oa4mp/resources/id_token_policies.qdl +++ b/oa4mp/resources/id_token_policies.qdl @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/oa4mp/resources/policies.qdl b/oa4mp/resources/policies.qdl index 9adbca26d..5bd6d89d0 100644 --- a/oa4mp/resources/policies.qdl +++ b/oa4mp/resources/policies.qdl @@ -1,6 +1,6 @@ /*************************************************************** * - * Copyright (C) 2023, Pelican Project, Morgridge Institute for Research + * Copyright (C) 2024, Pelican Project, Morgridge Institute for Research * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may diff --git a/oa4mp/resources/proxy-config.xml b/oa4mp/resources/proxy-config.xml index f7f3135ec..2d27ccff9 100644 --- a/oa4mp/resources/proxy-config.xml +++ b/oa4mp/resources/proxy-config.xml @@ -1,6 +1,6 @@