From 81b089d90887bb97de991df63b55e1d347e7c999 Mon Sep 17 00:00:00 2001 From: Arne Luenser Date: Thu, 8 Dec 2022 13:26:19 +0100 Subject: [PATCH] chore: cleanup licence headers --- cmdx/version.go | 21 --------------------- healthx/doc.go | 20 -------------------- healthx/handler.go | 22 +--------------------- healthx/handler_test.go | 20 -------------------- jwksx/generator.go | 20 -------------------- metricsx/metrics.go | 20 -------------------- metricsx/middleware.go | 20 -------------------- metricsx/middleware_test.go | 20 -------------------- pagination/limit.go | 20 -------------------- pagination/limit_test.go | 19 ------------------- pagination/parse.go | 20 -------------------- pagination/parse_test.go | 19 ------------------- randx/sequence.go | 20 -------------------- randx/sequence_test.go | 20 -------------------- resilience/retry.go | 20 -------------------- serverx/redir.go | 20 -------------------- sqlcon/connector.go | 20 -------------------- sqlcon/connector_test.go | 20 -------------------- 18 files changed, 1 insertion(+), 360 deletions(-) diff --git a/cmdx/version.go b/cmdx/version.go index 10f0034b..ba200ff5 100644 --- a/cmdx/version.go +++ b/cmdx/version.go @@ -1,27 +1,6 @@ // Copyright © 2022 Ory Corp // SPDX-License-Identifier: Apache-2.0 -/* - * Copyright © 2015-2018 Aeneas Rekkas - * - * 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. - * - * @author Aeneas Rekkas - * @Copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - * - */ - package cmdx import ( diff --git a/healthx/doc.go b/healthx/doc.go index c608a62d..7dfe6077 100644 --- a/healthx/doc.go +++ b/healthx/doc.go @@ -1,26 +1,6 @@ // Copyright © 2022 Ory Corp // SPDX-License-Identifier: Apache-2.0 -/* - * Copyright © 2015-2018 Aeneas Rekkas - * - * 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - // Package healthx providers helpers for returning health status information via HTTP. package healthx diff --git a/healthx/handler.go b/healthx/handler.go index 1eb3627d..7053264f 100644 --- a/healthx/handler.go +++ b/healthx/handler.go @@ -1,26 +1,6 @@ // Copyright © 2022 Ory Corp // SPDX-License-Identifier: Apache-2.0 -/* - * Copyright © 2015-2018 Aeneas Rekkas - * - * 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package healthx import ( @@ -32,7 +12,7 @@ import ( const ( // AliveCheckPath is the path where information about the life state of the instance is provided. AliveCheckPath = "/health/alive" - // ReadyCheckPath is the path where information about the rady state of the instance is provided. + // ReadyCheckPath is the path where information about the ready state of the instance is provided. ReadyCheckPath = "/health/ready" // VersionPath is the path where information about the software version of the instance is provided. VersionPath = "/version" diff --git a/healthx/handler_test.go b/healthx/handler_test.go index 257682b6..8d4d3435 100644 --- a/healthx/handler_test.go +++ b/healthx/handler_test.go @@ -1,26 +1,6 @@ // Copyright © 2022 Ory Corp // SPDX-License-Identifier: Apache-2.0 -/* - * Copyright © 2015-2018 Aeneas Rekkas - * - * 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. - * - * @author Aeneas Rekkas - * @Copyright 2017-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package healthx import ( diff --git a/jwksx/generator.go b/jwksx/generator.go index c63a10d1..75f03449 100644 --- a/jwksx/generator.go +++ b/jwksx/generator.go @@ -1,26 +1,6 @@ // Copyright © 2022 Ory Corp // SPDX-License-Identifier: Apache-2.0 -/* - * Copyright © 2015-2018 Aeneas Rekkas - * - * 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package jwksx import ( diff --git a/metricsx/metrics.go b/metricsx/metrics.go index a5865015..0c770286 100644 --- a/metricsx/metrics.go +++ b/metricsx/metrics.go @@ -1,26 +1,6 @@ // Copyright © 2022 Ory Corp // SPDX-License-Identifier: Apache-2.0 -/* - * Copyright © 2015-2018 Aeneas Rekkas - * - * 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package metricsx import ( diff --git a/metricsx/middleware.go b/metricsx/middleware.go index f7611a86..cf028567 100644 --- a/metricsx/middleware.go +++ b/metricsx/middleware.go @@ -1,26 +1,6 @@ // Copyright © 2022 Ory Corp // SPDX-License-Identifier: Apache-2.0 -/* - * Copyright © 2015-2018 Aeneas Rekkas - * - * 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package metricsx import ( diff --git a/metricsx/middleware_test.go b/metricsx/middleware_test.go index 1731546e..ff3a9e0d 100644 --- a/metricsx/middleware_test.go +++ b/metricsx/middleware_test.go @@ -1,26 +1,6 @@ // Copyright © 2022 Ory Corp // SPDX-License-Identifier: Apache-2.0 -/* - * Copyright © 2015-2018 Aeneas Rekkas - * - * 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package metricsx import ( diff --git a/pagination/limit.go b/pagination/limit.go index da94005a..b4e08c9c 100644 --- a/pagination/limit.go +++ b/pagination/limit.go @@ -1,26 +1,6 @@ // Copyright © 2022 Ory Corp // SPDX-License-Identifier: Apache-2.0 -/* - * Copyright © 2017-2018 Aeneas Rekkas - * - * 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. - * - * @author Aeneas Rekkas - * @copyright 2017-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - // Package pagination provides helpers for dealing with pagination. package pagination diff --git a/pagination/limit_test.go b/pagination/limit_test.go index 29fc149e..286b74d6 100644 --- a/pagination/limit_test.go +++ b/pagination/limit_test.go @@ -1,25 +1,6 @@ // Copyright © 2022 Ory Corp // SPDX-License-Identifier: Apache-2.0 -/* - * Copyright © 2017-2018 Aeneas Rekkas - * - * 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. - * - * @author Aeneas Rekkas - * @copyright 2017-2018 Aeneas Rekkas - * @license Apache-2.0 - */ package pagination import ( diff --git a/pagination/parse.go b/pagination/parse.go index 5de79b6f..198c06b4 100644 --- a/pagination/parse.go +++ b/pagination/parse.go @@ -1,26 +1,6 @@ // Copyright © 2022 Ory Corp // SPDX-License-Identifier: Apache-2.0 -/* - * Copyright © 2017-2018 Aeneas Rekkas - * - * 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. - * - * @author Aeneas Rekkas - * @copyright 2017-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package pagination import ( diff --git a/pagination/parse_test.go b/pagination/parse_test.go index f653fcc3..467197d5 100644 --- a/pagination/parse_test.go +++ b/pagination/parse_test.go @@ -1,25 +1,6 @@ // Copyright © 2022 Ory Corp // SPDX-License-Identifier: Apache-2.0 -/* - * Copyright © 2017-2018 Aeneas Rekkas - * - * 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. - * - * @author Aeneas Rekkas - * @copyright 2017-2018 Aeneas Rekkas - * @license Apache-2.0 - */ package pagination import ( diff --git a/randx/sequence.go b/randx/sequence.go index e5e11280..573f1018 100644 --- a/randx/sequence.go +++ b/randx/sequence.go @@ -1,26 +1,6 @@ // Copyright © 2022 Ory Corp // SPDX-License-Identifier: Apache-2.0 -/* - * Copyright © 2015-2018 Aeneas Rekkas - * - * 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package randx import ( diff --git a/randx/sequence_test.go b/randx/sequence_test.go index af67591c..73e48e27 100644 --- a/randx/sequence_test.go +++ b/randx/sequence_test.go @@ -1,26 +1,6 @@ // Copyright © 2022 Ory Corp // SPDX-License-Identifier: Apache-2.0 -/* - * Copyright © 2015-2018 Aeneas Rekkas - * - * 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package randx import ( diff --git a/resilience/retry.go b/resilience/retry.go index 853eb523..6a7b7251 100644 --- a/resilience/retry.go +++ b/resilience/retry.go @@ -1,26 +1,6 @@ // Copyright © 2022 Ory Corp // SPDX-License-Identifier: Apache-2.0 -/* - * Copyright © 2015-2018 Aeneas Rekkas - * - * 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - // Package resilience provides helpers for dealing with resilience. package resilience diff --git a/serverx/redir.go b/serverx/redir.go index 54c4c68c..932b603f 100644 --- a/serverx/redir.go +++ b/serverx/redir.go @@ -1,26 +1,6 @@ // Copyright © 2022 Ory Corp // SPDX-License-Identifier: Apache-2.0 -/* - * Copyright © 2015-2018 Aeneas Rekkas - * - * 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. - * - * @author Aeneas Rekkas - * @Copyright 2017-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package serverx import ( diff --git a/sqlcon/connector.go b/sqlcon/connector.go index c68460d7..5fd5eda3 100644 --- a/sqlcon/connector.go +++ b/sqlcon/connector.go @@ -1,26 +1,6 @@ // Copyright © 2022 Ory Corp // SPDX-License-Identifier: Apache-2.0 -/* - * Copyright © 2015-2018 Aeneas Rekkas - * - * 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - // Package sqlcon provides helpers for dealing with SQL connectivity. package sqlcon diff --git a/sqlcon/connector_test.go b/sqlcon/connector_test.go index 86c0bcaf..62a5cbc0 100644 --- a/sqlcon/connector_test.go +++ b/sqlcon/connector_test.go @@ -1,26 +1,6 @@ // Copyright © 2022 Ory Corp // SPDX-License-Identifier: Apache-2.0 -/* - * Copyright © 2015-2018 Aeneas Rekkas - * - * 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. - * - * @author Aeneas Rekkas - * @copyright 2015-2018 Aeneas Rekkas - * @license Apache-2.0 - */ - package sqlcon import (