Alex Corey
4709f57f46
Updates tests to a real error.
2020-03-03 11:57:36 -05:00
Alex Corey
b055aad641
Adds error handling test to add and edit form. Updates Form component
2020-03-03 11:57:36 -05:00
Alex Corey
acfa6d056f
Adds error handling to submit labels, prevents uncessary api call
...
The unecessary api call is for the webhook credential id. If there is no
webhook service we do not want the api to make a call for get the webhook credential
type id.
2020-03-03 11:57:36 -05:00
Alex Corey
51a069fcc4
Fixes styling issues, navigation, props, and adds useRequest hook
...
-Add functionality to remove chips from look up fields
-Removes uncessary custome styling from
-Removes uncessary Form Group wrappers
-Adds internationalization to webhook key string.
-Adds field level error handling
-updates tests
-Adds initial null value to form submit error
2020-03-03 11:57:36 -05:00
Alex Corey
fc89b627d7
Adds pageSection to jt add form and fixes other PR issues
...
-Fixes spelling error on WFJTDetail
-Adds page section to JT Add Form to fix styling issue
-Adds spacing between functions
-Fixes form submission error by allowing state to handle the lookups while formik
only handles their ids.
2020-03-03 11:57:36 -05:00
Alex Corey
e90ee5113d
Adds subform restore functionality and addresses PR issues
2020-03-03 11:57:36 -05:00
Alex Corey
4ccca08cda
Adds page section to fix render issue
2020-03-03 11:57:36 -05:00
Alex Corey
b757fdebf8
Fixes contentLoading issue in PR and enables Launch on JT List
2020-03-03 11:57:36 -05:00
Alex Corey
3ee6f1f3c7
Alpha order
2020-03-03 11:57:36 -05:00
Alex Corey
d4ba32d0c5
Adds Webhook form fields and tooltip to VariablesField component
2020-03-03 11:57:36 -05:00
Alex Corey
d97f516c3a
Fields work and forms save
2020-03-03 11:57:36 -05:00
Alex Corey
52a8935b20
Adds WorkflowJobTemplate Add and Edit form and functionality.
2020-03-03 11:57:36 -05:00
Rebeccah
07752f48f6
formatted finished time to match microsecond expected output as is in the API.
2020-03-03 11:05:28 -05:00
mabashian
10b5a10728
Jobs that error should trigger us to to update the Recent Jobs list along with successful/failed/canceled
2020-03-03 11:05:28 -05:00
Rebeccah
e11ff69f3e
Added in check for the unified_job_template_id attribute to be present and populated in the object.
...
For anyone reading this later, know that AdHocCommands still have unified_job_template and unified_job_template_id fields, they are just nonetypes because they don't get used by the AdHocCommand objects. Which means you have to actually get the object, not just check that it's there, to use it the way I am in this change.
2020-03-03 11:05:28 -05:00
mabashian
d3fa34c665
Remove tooltip update when job finishes. This will be handled later down the line by buildTooltips().
2020-03-03 11:05:28 -05:00
mabashian
48a615231b
Fix jshint errors
2020-03-03 11:05:28 -05:00
mabashian
b09ac71647
Trims down GET requests made on the dashboard in response to websocket messages
2020-03-03 11:05:28 -05:00
mabashian
d5dd3c521f
Consume finished timestamp on org templates list when available via websocket message
2020-03-03 11:05:28 -05:00
mabashian
db43341f96
Consume finished timestamp from websocket message and update the relevant job row. Also adds logic to attempt to re-order the list when the sort order is -finished since we have enough information client-side to do that.
2020-03-03 11:05:28 -05:00
mabashian
3234f246db
Consume finished timestamp from websocket message when it's available to update the relevant row in the templates list.
2020-03-03 11:05:28 -05:00
Rebeccah
6d6d99bcf8
fixed the spelling of cancelled to be canceled, note to us later -> we need to stick with a single spelling of the word
2020-03-03 11:05:28 -05:00
mabashian
a6cd32522f
Removes GET requests in response to websocket messages on the org job templates list. List is solely updated based on data from the websocket messages.
2020-03-03 11:05:28 -05:00
Rebeccah
1fe28463da
added finished job timestamp to websocket emit
2020-03-03 11:05:28 -05:00
mabashian
51a6194b8d
Removes logic performing GET requests on api/v2/templates whenever a job status update message comes across the websocket. We now use data exclusively from the websocket to update the UI.
2020-03-03 11:05:28 -05:00
mabashian
e75f7b0beb
Stop making rest calls for inventory source sync updates on inventory sources list
2020-03-03 11:05:28 -05:00
mabashian
179c62e2f3
Stop making rest calls for project sync updates on projects list
2020-03-03 11:05:28 -05:00
Rebeccah
98f5525d28
added unified job template ID to websocket emits
2020-03-03 11:05:28 -05:00
mabashian
60a137225a
Changes how the jobs list reacts to socket messages. We now only make targeted GET requests for new rows. We use the available information in the socket message to update the relevant row (if visible in the list).
2020-03-03 11:05:28 -05:00
softwarefactory-project-zuul[bot]
c1bfcd73fb
Merge pull request #5972 from jainnikhil30/fix_smartinv_duplicate_hosts
...
fix smart inventory duplicate hosts
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-03-03 16:03:13 +00:00
mabashian
322b4ee1e4
Updates our four patternfly deps to latest
2020-03-02 13:43:15 -05:00
softwarefactory-project-zuul[bot]
98dc6179f5
Merge pull request #5919 from AlanCoding/good_projects
...
Fail early processing project factory
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-03-02 18:41:47 +00:00
AlanCoding
07807c2dec
Fail on launch for scenario where job cannot run
2020-03-02 13:14:03 -05:00
softwarefactory-project-zuul[bot]
16ecf17c69
Merge pull request #6115 from jlmitch5/scheduleListInDetailViews
...
add schedule list to detail views
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-03-02 16:31:03 +00:00
mabashian
1f0acef844
Changes Toggle to MultiButtonToggle in an attempt to differentiate it from an upstream PF component. Altered props to be a bit more concise as well as support more than two buttons.
2020-03-02 11:22:18 -05:00
softwarefactory-project-zuul[bot]
5a164cae15
Merge pull request #6093 from ryanpetrello/remove-beat-thread
...
switch the periodic scheduler to a background process (instead of a thread) to avoid a cpython bug
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-03-02 15:46:27 +00:00
John Mitchell
b57405b696
assorted schedule list fixes:
...
- remove pagesection and card from component...move to where called for root list
- remove unnecessary placeholder schedule tab on job template detail
2020-03-02 10:00:27 -05:00
John Mitchell
5fdf6cf60f
simplify conditional checking if schedules tab should be shown on proj detail
2020-03-02 09:35:34 -05:00
John Mitchell
c1c382a941
update ScheduleList api read to single prop
2020-03-02 09:22:32 -05:00
mabashian
a997b40852
Refactors YamlJsonToggle component into something a little more generic so that it can be used to toggle between local and utc times in the schedule details view.
2020-02-28 17:25:31 -05:00
softwarefactory-project-zuul[bot]
99cd2e601d
Merge pull request #6127 from benthomasson/bump_config_json
...
Bumps the version of config.json to 1.1
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-02-28 21:09:48 +00:00
Ben Thomasson
fc402aff29
Bumps the version of config.json to 1.1
2020-02-28 15:28:31 -05:00
softwarefactory-project-zuul[bot]
2ec035f918
Merge pull request #6124 from ryanpetrello/awx-login-token-description
...
cli: add the ability to specify a token description w/ `awx login`
Reviewed-by: Jeff Bradberry
https://github.com/jbradberry
2020-02-28 20:02:19 +00:00
softwarefactory-project-zuul[bot]
fe046b47b5
Merge pull request #6110 from keithjgrant/qs-empty-strings
...
Remove "Manual" option from search filters
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-02-28 17:19:30 +00:00
Ryan Petrello
3e0e4b6c8f
cli: add the ability to specify a token description w/ awx login
...
see: https://github.com/ansible/awx/issues/6122
2020-02-28 11:12:26 -05:00
softwarefactory-project-zuul[bot]
7fe57268f6
Merge pull request #6121 from rooftopcellist/add_total_instances
...
Add total licensed instances to analytics
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-02-28 13:56:19 +00:00
Nikhil Jain
9eecb24c32
fix smart inventory duplicate hosts
2020-02-28 09:46:44 +05:30
softwarefactory-project-zuul[bot]
a8a45fca84
Merge pull request #6117 from keithjgrant/6095-redirect-after-host-delete
...
Fix redirect after host delete
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-02-28 00:45:05 +00:00
softwarefactory-project-zuul[bot]
33df6f8ad2
Merge pull request #6109 from marshmalien/inventory-host-toggle
...
Use HostToggle component in InventoryHostList
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-02-27 23:53:50 +00:00
softwarefactory-project-zuul[bot]
44223003aa
Merge pull request #6112 from AlanCoding/the_canceled_dead
...
Cancel jobs if they were deleted in the database
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-02-27 22:17:16 +00:00