Skip to content

Commit

Permalink
Refactor the test folder and add license headers
Browse files Browse the repository at this point in the history
  • Loading branch information
abhi18av committed Jul 15, 2024
1 parent 9d5734f commit 562125a
Show file tree
Hide file tree
Showing 4 changed files with 75 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
/*
* Copyright 2023-, Stellenbosch University, South Africa
* Copyright 2024, Evaluacion y Desarrollo de Negocios, Spain
*
* Licensed under the Apache License, Version 2.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.nomad.models

/**
* Nomad Job Constraint Spec
*
* @author Jorge Aguilera <[email protected]>
*/

class JobConstraints {

List<JobConstraintsNode> nodeSpecs = []
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
/*
* Copyright 2023-, Stellenbosch University, South Africa
* Copyright 2024, Evaluacion y Desarrollo de Negocios, Spain
*
* Licensed under the Apache License, Version 2.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.nomad.models

/**
* Nomad Job Constraint Spec
*
* @author Jorge Aguilera <[email protected]>
*/

class JobConstraintsAttr {

private String arch = null
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
/*
* Copyright 2023-, Stellenbosch University, South Africa
* Copyright 2024, Evaluacion y Desarrollo de Negocios, Spain
*
* Licensed under the Apache License, Version 2.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.nomad.models

/**
* Nomad Job Constraint Spec
*
* @author Jorge Aguilera <[email protected]>
*/

class JobConstraintsNode {

private String id = null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,14 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package nextflow.nomad.executor

package nextflow.nomad.models

import groovy.json.JsonOutput
import groovy.json.JsonSlurper
import nextflow.executor.Executor
import nextflow.nomad.config.NomadConfig
import nextflow.nomad.executor.NomadService
import nextflow.processor.TaskBean
import nextflow.processor.TaskConfig
import nextflow.processor.TaskProcessor
Expand All @@ -39,7 +41,7 @@ import java.nio.file.Path
*
* @author : Jorge Aguilera <[email protected]>
*/
class NomadServiceJobConstraints extends Specification{
class JobConstraintsSpec extends Specification{

MockWebServer mockWebServer

Expand Down

0 comments on commit 562125a

Please sign in to comment.