Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explain relationship between pScheduler exports and pSConfig template #224

Open
mfeit-internet2 opened this issue Aug 3, 2021 · 0 comments

Comments

@mfeit-internet2
Copy link
Member

mfeit-internet2 commented Aug 3, 2021

In pSConfig's Tests section, there could stand to be a paragraph about the relationship between the output of pscheduler task --export and the JSON

E.g., the test section of this...

$ pscheduler task --export throughput --source foo --dest bar
{
    "test": {
        "spec": {
            "dest": "bar",
            "schema": 1,
            "source": "foo"
        },
        "type": "throughput"
    }
}

...gets put into a test in the pSConfig template with some parameter adjustment:

"tests": {
    "my_throughput": {
        "spec": {
            "dest": "{% address[1] %}",
            "schema": 1,
            "source": "{% address[0] %}"
        },
        "type": "throughput"
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Ready
Development

No branches or pull requests

1 participant