chris meyers
ee18400a33
ensure last comma removed in select
...
* We strip out the json select fields in our tests since it is an sql
lite database underneath. Ideally, we would do something fancier, but we
aren't. In doing this stipping, we could strip the last element in the
projection list. This would result in an extra dangling comma. This
commit removes the danging comma in the projection list after the
removal of JSON projections.
2020-04-14 10:44:02 -04:00
softwarefactory-project-zuul[bot]
f85bcae89f
Merge pull request #6685 from marshmalien/fix-user-loading
...
Fix route bug in User view
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-04-13 20:00:25 +00:00
softwarefactory-project-zuul[bot]
c414fd68a0
Merge pull request #6176 from Ladas/send_also_workflows_as_part_of_unified_jobs
...
Send also workflows as part of unified jobs and send all changes to jobs
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-04-13 18:41:36 +00:00
softwarefactory-project-zuul[bot]
2830cdfdeb
Merge pull request #6668 from nixocio/ui_refactor_users_functional
...
Modify Users component to be function based
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-04-13 18:35:57 +00:00
softwarefactory-project-zuul[bot]
07e9b46643
Merge pull request #6656 from jlmitch5/withoutWithRouter
...
excise withRouter from function components
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-04-13 18:35:53 +00:00
softwarefactory-project-zuul[bot]
1f01521213
Merge pull request #6651 from nixocio/ui_issue_5820
...
Rename SCM to Source Control
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-04-13 18:35:46 +00:00
Marliana Lara
8587461ac9
Fix loading bug in User view
2020-04-13 14:19:16 -04:00
nixocio
e54e5280f2
Modify Users component to be function based
...
Modify Users component to be function based.
2020-04-13 13:43:22 -04:00
softwarefactory-project-zuul[bot]
516a44ce73
Merge pull request #6662 from keithjgrant/5909-jt-launch-prompt-2
...
JT Launch Prompting (phase 2)
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-04-13 17:04:41 +00:00
softwarefactory-project-zuul[bot]
eafb751ecc
Merge pull request #6679 from ryanpetrello/fix-6675
...
skip non-files when consuming events synced from isolated hosts
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-04-13 15:36:42 +00:00
softwarefactory-project-zuul[bot]
30ea66023f
Merge pull request #6671 from wenottingham/even-moar-data-plz
...
Collect task timing, warnings, and deprecations from job events
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-04-13 15:06:46 +00:00
Ryan Petrello
9843e21632
skip non-files when consuming events synced from isolated hosts
...
see: https://github.com/ansible/awx/issues/6675
2020-04-13 10:14:10 -04:00
softwarefactory-project-zuul[bot]
6002beb231
Merge pull request #6677 from chrismeyersfsu/fix-spelling
...
fix spelling mistake in wsbroadcast status output
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-04-13 14:13:24 +00:00
chris meyers
9c6e42fd1b
fix spelling mistake in wsbroadcast status output
2020-04-13 09:37:32 -04:00
softwarefactory-project-zuul[bot]
eeab4b90a5
Merge pull request #6568 from AlanCoding/whoops_not_changed
...
Do not set changed=True if the object did not change
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-04-10 00:16:02 +00:00
Keith Grant
7827a2aedd
fix double-fetch of cred types in launch prompts
2020-04-09 16:07:06 -07:00
softwarefactory-project-zuul[bot]
a7f1a36ed8
Merge pull request #6670 from ryanpetrello/redis-fixup
...
work around redis connection failures in the callback receiver
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-04-09 21:41:08 +00:00
Bill Nottingham
d651786206
Collect task timing, warnings, and deprecations from job events
...
Timing information requires ansible-runner >= 1.4.6.
2020-04-09 17:27:19 -04:00
softwarefactory-project-zuul[bot]
19e4758be1
Merge pull request #6637 from john-westcott-iv/tower_workflow_job_lanch_update
...
Initial commit of tests for tower_workflow_launch
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-04-09 19:53:35 +00:00
softwarefactory-project-zuul[bot]
fe9de0d4cc
Merge pull request #6658 from mabashian/6655-job-redirect
...
Fixes issue where job type redirects weren't firing correctly
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-04-09 19:47:20 +00:00
Ryan Petrello
80147acc1c
work around redis connection failures in the callback receiver
...
if redis stops/starts, sometimes the callback receiver doesn't recover
without a restart; this fixes that
2020-04-09 15:38:03 -04:00
beeankha
4acdf8584b
Update workflow_launch module and test playbook
2020-04-09 15:12:49 -04:00
beeankha
cf607691ac
Pass data and errors more clearly, change extra_vars to be a dict, update test playbook to have a task utilizing extra_vars
2020-04-09 12:40:13 -04:00
beeankha
d7adcfb119
Revert unnecessary changes made to test playbook during rebase
2020-04-09 12:38:06 -04:00
beeankha
97d26728e4
Fix one more linter issue
2020-04-09 12:38:06 -04:00
John Westcott IV
6403895eae
Puting tasks back to natural order
2020-04-09 12:38:06 -04:00
beeankha
8b26ff1fe6
Fix linter errors
2020-04-09 12:38:06 -04:00
beeankha
9ddd020348
Fix sanity tests and edit test playbook
2020-04-09 12:38:06 -04:00
John Westcott IV
a2d1c32da3
Initial commit of tests for tower_workflow_launch
2020-04-09 12:38:06 -04:00
Keith Grant
af18aa8456
restructure 'if's in LaunchPrompt
2020-04-09 08:58:12 -07:00
mabashian
188b23e88f
No need to pass undefined explicitly. view will be undefined if it's not passed
2020-04-09 10:28:25 -04:00
mabashian
63bed7a30d
Fixes issue where job type redirects weren't firing correctly
2020-04-09 10:28:25 -04:00
AlanCoding
fd93964953
Changed status tweaks for API validation and encryption
...
API validation topic:
- do not set changed=True if the object did not actually change
- deals with cases where API manipulates data before saving
Warn if encrypted data prevent accurate changed status
Handle false changed case of tower_user password
password field not present in data
Test changed=True warning with JT/WFJT survey spec defaults
case for list data in JSON
2020-04-09 09:58:12 -04:00
chris meyers
1f9f86974a
test analytics table output
...
* unified_jobs output should include derived jobs i.e. project update,
inventory update, job
* This PR adds a test to ensure that.
2020-04-09 15:20:27 +02:00
Ladislav Smola
6a86af5b43
Use indexed timestamps
...
Use created and finished, which are indexed, to try to fetch all
states of jobs. If job is not finished, we might not get the
right terminal status, but that should be ok for now.
2020-04-09 15:20:27 +02:00
Ladislav Smola
6a503e152a
Send also workflows as part of unified jobs
...
Workflows do not have a record in main_job, therefore the JOIN
was ignoring those. We need to do LEFT JOIN to include also
workflows.
It also seems like we are not able to get a link to organizations
from workflows? When looking at:
<tower_url>#/organizations?organization_search=page_size:20;order_by:name
We don't seem to list a relation to workflows. Is it possible to get it from
somewhere?
2020-04-09 15:20:27 +02:00
Ladislav Smola
b7227113be
Use modified to check if job should be sent to analytics
...
It can take several hours for a job to go from pending to
successful/failed state and we need to also send the job with
a changed state, otherwise the analytics will be incorrect.
2020-04-09 15:20:27 +02:00
softwarefactory-project-zuul[bot]
907da2ae61
Merge pull request #6660 from mabashian/6606-jt-launch
...
Pass empty params to launch endpoint rather than null
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-04-08 23:46:48 +00:00
Keith Grant
6f76b15d92
fix LaunchButton tests
2020-04-08 15:36:45 -07:00
mabashian
9d6fbd6c78
Updates launch button tests to reflect passing empty object rather than null for launch payload without prompts
2020-04-08 16:10:02 -04:00
mabashian
edb4dac652
Pass empty params to launch endpoint rather than null to alleviate 400 error when launching a JT with default creds.
2020-04-08 16:10:02 -04:00
Keith Grant
42898b94e2
add more prompt tests
2020-04-08 11:48:11 -07:00
softwarefactory-project-zuul[bot]
943543354a
Merge pull request #6643 from mabashian/upgrade-pf-2.39.15
...
Upgrades pf deps to latest
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-04-08 18:11:04 +00:00
softwarefactory-project-zuul[bot]
2da22ccd8a
Merge pull request #6659 from shanemcd/pre-tty
...
Enable tty in dev container
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-04-08 16:35:37 +00:00
Keith Grant
9cab5a5046
add 'other prompt' fields to launch API call
2020-04-08 08:58:14 -07:00
softwarefactory-project-zuul[bot]
e270a692b7
Merge pull request #6644 from jakemcdermott/6638-fix-initial-playbook-value
...
Only clear playbook when different project is selected
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-04-08 15:45:27 +00:00
Shane McDonald
677a8dae7b
Enable tty in dev container
...
Pretty colors and real-time migration logs
2020-04-08 11:43:30 -04:00
John Mitchell
6eeb32a447
excise withRouter from function components
2020-04-08 10:59:57 -04:00
softwarefactory-project-zuul[bot]
e57991d498
Merge pull request #6652 from matburt/update_zome_docz
...
Update some contributing docs
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-04-08 14:58:40 +00:00
softwarefactory-project-zuul[bot]
4242bd55c2
Merge pull request #6639 from mabashian/route-render-prop
...
Converts most of our route render prop usage to children
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-04-08 14:49:42 +00:00