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

vdk-core: JobInput get_name and get_job_directory implementation #745

Merged
merged 2 commits into from
Mar 1, 2022

Conversation

ivakoleva
Copy link
Contributor

The IJobInput get_name and get_job_directory methods were not
implemented. Yet, we need to utilize those capabilities.

Extended JobInput instantiation performed by job_context.py.
Since modifying the JobInput constructor parameters, did unify with
JobContext constructor params convention (since params matching).

Testing Done: added unit tests for name and job directory propagation;
added functional test for verifying the name and directory retrieved;
adjusted test_substitute_query_params.py to extended JobInput params.

Signed-off-by: ikoleva [email protected]

The IJobInput get_name and get_job_directory methods were not
implemented. Yet, we need to utilize those capabilities.

Extended JobInput instantiation performed by job_context.py.
Since modifying the JobInput constructor parameters, did unify with
JobContext constructor params convention (since params matching).

Testing Done: added unit tests for name and job directory propagation;
added functional test for verifying the name and directory retrieved;
adjusted test_substitute_query_params.py to extended JobInput params.

Signed-off-by: ikoleva <[email protected]>
Copy link
Collaborator

@antoniivanov antoniivanov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed the codacy warning. But otherwise looks good to me.

The IJobInput get_name and get_job_directory methods were not
implemented. Yet, we need to utilize those capabilities.

Extended JobInput instantiation performed by job_context.py.
Since modifying the JobInput constructor parameters, did unify with
JobContext constructor params convention (since params matching).

Testing Done: added unit tests for name and job directory propagation;
added functional test for verifying the name and directory retrieved;
adjusted test_substitute_query_params.py to extended JobInput params.

Signed-off-by: ikoleva <[email protected]>
@ivakoleva ivakoleva enabled auto-merge (squash) March 1, 2022 13:12
@ivakoleva ivakoleva merged commit 46a213e into main Mar 1, 2022
@ivakoleva ivakoleva deleted the person/ikoleva/job-name-directory branch March 1, 2022 13:14
antoniivanov pushed a commit that referenced this pull request Mar 16, 2022
* vdk-core: JobInput get_name and get_job_directory implementation

The IJobInput get_name and get_job_directory methods were not
implemented. Yet, we need to utilize those capabilities.

Extended JobInput instantiation performed by job_context.py.
Since modifying the JobInput constructor parameters, did unify with
JobContext constructor params convention (since params matching).

Testing Done: added unit tests for name and job directory propagation;
added functional test for verifying the name and directory retrieved;
adjusted test_substitute_query_params.py to extended JobInput params.

Signed-off-by: ikoleva <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants