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

Work Item Support #406

Closed
devclinton opened this issue Oct 23, 2019 · 2 comments
Closed

Work Item Support #406

devclinton opened this issue Oct 23, 2019 · 2 comments
Assignees
Labels

Comments

@devclinton
Copy link
Member

We need to suppor

@braybaud braybaud self-assigned this Nov 4, 2019
@mfisher-idmod
Copy link
Contributor

mfisher-idmod commented Nov 5, 2019

We need to support:

  • Work Item creation with COMPS login, and support of the following arguments:
kwargs = {"item_name": self.item_name, "item_type": self.item_type, "docker_image": self.docker_image,
                  "plugin_key": self.plugin_key, "comps_env": self.comps_env, "tags": self.tags,
                  "asset_files": self.asset_files, "asset_collection_id": self.asset_collection_id,
                  "user_files": self.user_files, "wo_kwargs": self.wo_kwargs, "command": self.command,
                  "related_experiments": self.related_experiments}
  • Ability to check Work Item status and wait for finish. Work Items need to be re-startable. They can go into a waiting state depending on another item/task, and then restart processing once ready.
  • Ability to tag Work Items

To support Work Items and SSMT Work Items in COMPS, we should also have the following capabilities:

  • Ability to add assets in support of Work Items
  • Ability to get an asset collection by id, name, query criteria, and by tag(s)
  • Get assets by Simulation ID or by Work Item Id
  • Download asset collections locally
  • Get Experiments by user (not necessary, but did exist in dtk-tools)

For InputData Work Items in COMPS (for satellite climate data for the DTK), we need to support:

  • Ability to provide a work order and/or demographic file to the WorkItem
  • Ability to create an InputData Work Item from a demographics file
  • Should validate the user's input work order or demo Project Name and year range that it exists in the LD data sets
  • Ability to get the asset collection for the generated climate files to merge with their input data asset collection for running Experiments/simulations

For VisTools Work Items:

We don't have the ability to create this for users on it's own or at the end of their Experiment run currently in dtk-tools. Do we want to support that in the new idmtools? In this phase or later phase?

@mfisher-idmod
Copy link
Contributor

This has been developed, tested, and is complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants