diff --git a/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/client/DrsClient.groovy b/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/client/DrsClient.groovy index cfa7829..84cb1cc 100644 --- a/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/client/DrsClient.groovy +++ b/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/client/DrsClient.groovy @@ -1,26 +1,17 @@ /* - * MIT License - * * Copyright (c) 2024 Nicolas Vannieuwkerke * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: + * 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 * - * The above copyright notice and this permission notice (including the next - * paragraph) shall be included in all copies or substantial portions of the - * Software. + * http://www.apache.org/licenses/LICENSE-2.0 * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package nextflow.ga4gh.drs.client diff --git a/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/config/DrsConfig.groovy b/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/config/DrsConfig.groovy index a47c995..ed6fb56 100644 --- a/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/config/DrsConfig.groovy +++ b/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/config/DrsConfig.groovy @@ -1,26 +1,17 @@ /* - * MIT License - * * Copyright (c) 2024 Nicolas Vannieuwkerke * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: + * 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 * - * The above copyright notice and this permission notice (including the next - * paragraph) shall be included in all copies or substantial portions of the - * Software. + * http://www.apache.org/licenses/LICENSE-2.0 * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package nextflow.ga4gh.drs.config diff --git a/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/exceptions/DrsAuthenticationException.groovy b/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/exceptions/DrsAuthenticationException.groovy index 97ecc67..537275f 100644 --- a/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/exceptions/DrsAuthenticationException.groovy +++ b/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/exceptions/DrsAuthenticationException.groovy @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2024 Nicolas Vannieuwkerke + * + * 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 nextflow.ga4gh.drs.exceptions import groovy.transform.CompileStatic diff --git a/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/exceptions/DrsConfigException.groovy b/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/exceptions/DrsConfigException.groovy index 113d3be..7abec9e 100644 --- a/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/exceptions/DrsConfigException.groovy +++ b/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/exceptions/DrsConfigException.groovy @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2024 Nicolas Vannieuwkerke + * + * 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 nextflow.ga4gh.drs.exceptions import groovy.transform.CompileStatic diff --git a/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/exceptions/DrsObjectCreationException.groovy b/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/exceptions/DrsObjectCreationException.groovy index 8ac08b3..464c945 100644 --- a/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/exceptions/DrsObjectCreationException.groovy +++ b/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/exceptions/DrsObjectCreationException.groovy @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2024 Nicolas Vannieuwkerke + * + * 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 nextflow.ga4gh.drs.exceptions import groovy.transform.CompileStatic diff --git a/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/exceptions/DrsObjectPublishingException.groovy b/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/exceptions/DrsObjectPublishingException.groovy index a63c788..0fa1c87 100644 --- a/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/exceptions/DrsObjectPublishingException.groovy +++ b/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/exceptions/DrsObjectPublishingException.groovy @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2024 Nicolas Vannieuwkerke + * + * 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 nextflow.ga4gh.drs.exceptions import groovy.transform.CompileStatic diff --git a/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/model/AccessMethod.groovy b/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/model/AccessMethod.groovy index 9410c2e..afcf980 100644 --- a/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/model/AccessMethod.groovy +++ b/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/model/AccessMethod.groovy @@ -1,26 +1,17 @@ /* - * MIT License - * * Copyright (c) 2024 Nicolas Vannieuwkerke * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: + * 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 * - * The above copyright notice and this permission notice (including the next - * paragraph) shall be included in all copies or substantial portions of the - * Software. + * http://www.apache.org/licenses/LICENSE-2.0 * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package nextflow.ga4gh.drs.model diff --git a/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/model/AccessUrl.groovy b/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/model/AccessUrl.groovy index 4bcc27e..4a9322a 100644 --- a/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/model/AccessUrl.groovy +++ b/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/model/AccessUrl.groovy @@ -1,26 +1,17 @@ /* - * MIT License - * * Copyright (c) 2024 Nicolas Vannieuwkerke * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: + * 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 * - * The above copyright notice and this permission notice (including the next - * paragraph) shall be included in all copies or substantial portions of the - * Software. + * http://www.apache.org/licenses/LICENSE-2.0 * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package nextflow.ga4gh.drs.model diff --git a/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/model/Checksum.groovy b/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/model/Checksum.groovy index 2fe2949..f8a2757 100644 --- a/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/model/Checksum.groovy +++ b/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/model/Checksum.groovy @@ -1,26 +1,17 @@ /* - * MIT License - * * Copyright (c) 2024 Nicolas Vannieuwkerke * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: + * 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 * - * The above copyright notice and this permission notice (including the next - * paragraph) shall be included in all copies or substantial portions of the - * Software. + * http://www.apache.org/licenses/LICENSE-2.0 * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package nextflow.ga4gh.drs.model diff --git a/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/model/Content.groovy b/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/model/Content.groovy index 3f150eb..9aefdbb 100644 --- a/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/model/Content.groovy +++ b/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/model/Content.groovy @@ -1,26 +1,17 @@ /* - * MIT License - * * Copyright (c) 2024 Nicolas Vannieuwkerke * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: + * 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 * - * The above copyright notice and this permission notice (including the next - * paragraph) shall be included in all copies or substantial portions of the - * Software. + * http://www.apache.org/licenses/LICENSE-2.0 * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package nextflow.ga4gh.drs.model diff --git a/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/model/DrsObject.groovy b/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/model/DrsObject.groovy index de1eaf8..24f4313 100644 --- a/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/model/DrsObject.groovy +++ b/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/model/DrsObject.groovy @@ -1,26 +1,17 @@ /* - * MIT License - * * Copyright (c) 2024 Nicolas Vannieuwkerke * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: + * 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 * - * The above copyright notice and this permission notice (including the next - * paragraph) shall be included in all copies or substantial portions of the - * Software. + * http://www.apache.org/licenses/LICENSE-2.0 * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package nextflow.ga4gh.drs.model diff --git a/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/observer/DrsObserver.groovy b/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/observer/DrsObserver.groovy index 9635469..725a7d5 100644 --- a/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/observer/DrsObserver.groovy +++ b/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/observer/DrsObserver.groovy @@ -1,26 +1,17 @@ /* - * MIT License - * * Copyright (c) 2024 Nicolas Vannieuwkerke * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: + * 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 * - * The above copyright notice and this permission notice (including the next - * paragraph) shall be included in all copies or substantial portions of the - * Software. + * http://www.apache.org/licenses/LICENSE-2.0 * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package nextflow.ga4gh.drs.observer diff --git a/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/observer/DrsObserverFactory.groovy b/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/observer/DrsObserverFactory.groovy index 9c37150..3a31a0e 100644 --- a/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/observer/DrsObserverFactory.groovy +++ b/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/observer/DrsObserverFactory.groovy @@ -1,26 +1,17 @@ /* - * MIT License - * * Copyright (c) 2024 Nicolas Vannieuwkerke * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: + * 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 * - * The above copyright notice and this permission notice (including the next - * paragraph) shall be included in all copies or substantial portions of the - * Software. + * http://www.apache.org/licenses/LICENSE-2.0 * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package nextflow.ga4gh.drs.observer diff --git a/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/utils/DrsUtils.groovy b/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/utils/DrsUtils.groovy index 6d3575b..b2f2aaf 100644 --- a/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/utils/DrsUtils.groovy +++ b/plugins/nf-ga4gh/src/main/nextflow/ga4gh/drs/utils/DrsUtils.groovy @@ -1,26 +1,17 @@ /* - * MIT License - * * Copyright (c) 2024 Nicolas Vannieuwkerke * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: + * 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 * - * The above copyright notice and this permission notice (including the next - * paragraph) shall be included in all copies or substantial portions of the - * Software. + * http://www.apache.org/licenses/LICENSE-2.0 * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package nextflow.ga4gh.drs.utils