-
Notifications
You must be signed in to change notification settings - Fork 0
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
Task/WP-211: App Form updates to allow target path #857
Conversation
Codecov Report
@@ Coverage Diff @@
## main #857 +/- ##
==========================================
- Coverage 63.12% 62.99% -0.13%
==========================================
Files 427 427
Lines 12148 12188 +40
Branches 2492 2504 +12
==========================================
+ Hits 7668 7678 +10
- Misses 4275 4303 +28
- Partials 205 207 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Just once thing I found when a sourceUrl
is not defined, for example with the app https://cep.test/workbench/applications/hello-world?appVersion=0.0.1
Tested again with hello world and extract app output from hello world: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
made suggested changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. But before merging can we also confirm the wording for the description with the design team?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally and LGTM to me!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a remarkable feature. I have a meeting Monday to help figure out generic text for the field description that every app can use.
Updated Text (Monday, 2023-09-25)
Given my new understanding of how generic this text is:
Target Path for __________
The name of the __________ after it is copied to the target system, but before the job is run. Leave this value blank to [just] use the name of the input file.
(Add or remove the word "just" at your discretion.)
Archived Text (Friday, 2023-09-22)
This text is not generic enough, but encapsulates my current understanding.
The name of both the archive file after it is copied to the target system and the directory into which the archive file is unarchived. Leave this value blank to use the name of the input file.
The name of both the archive file after it is copied to the target system and the directory the archive file is unarchived into. Leave this value blank to use the name of the input file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not an action item yet. Just recording knowledge for others.
Implemented for some fields, not this one yet (I am told), is a way to hide fields except for advanced users. I hear the design pattern is established, and that we have been using a isHidden
metadata field on the tapis definition objects to programmatically hide certain fields.
My source is @rstijerina.
@wesleyboar - isHidden is a UI hint to hide the corresponding field in UI. If something is hidden, it is never shown in UI. There is no advanced vs standard user setting for features. If you are thinking of a way to collapse/expand advanced features in the job submission, I think that is something we should talk but it is beyond the scope of this PR. |
Thanks @chandra-tacc. Then I misinterpreted what I heard. That's a bummer. Yes, out of scope. |
I think you're both right. |
Saw this comment just now. |
Addressed 2 issues:
Tested the following apps:
App Definition change for Extract:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Overview
TAPIS V3 provides a mechanism to pass in path to copy input contents into. This path is optional.
From tapis docs:
"A JobFileInput object is complete when its sourceUrl and targetPath are assigned; this provides the minimal information needed to effect a transfer. If only the sourceUrl is set, Jobs will use the simple directory or file name from the URL to automatically assign the targetPath. Specifying a targetPath as “*” results in the same automatic assignment."
TAPIS V3 doc
Related
Changes
Testing
UI
Input form change
Input with no target path (example OpenSees)
Successful job submission
Job payload updated
Job output folder
Notes