AlanCoding
7a67e0f3d6
Implement deprecation of duplicated ask_ fields in job view
2018-11-05 10:38:55 -05:00
Ryan Petrello
a748a272fb
Merge remote-tracking branch 'tower/release_3.3.1' into devel
2018-11-01 12:07:02 -04:00
AlanCoding
affacb8ab5
revert change of including slice wfj ids in recent_jobs list
2018-10-31 11:04:13 -04:00
AlanCoding
6dc58af8e1
slicing rename test cleanup and bugfix
2018-10-31 11:04:12 -04:00
AlanCoding
bbd3edba47
rename to slicing and schema tweaks
2018-10-31 11:04:12 -04:00
Matthew Jones
46d6dce738
Mass rename of shard -> split
2018-10-31 11:04:12 -04:00
AlanCoding
475a701f78
Allow use of credential password prompting with split JTs
...
also
*update test to work with new JT callback call pattern
*fix spelling in template
2018-10-31 11:04:11 -04:00
AlanCoding
dccd7f2e9d
do not split JT callback jobs
2018-10-31 11:04:11 -04:00
AlanCoding
20226f8984
Polish split jobs API info & add fields to UI
...
*clarify help text and squash migrations
*adds new internal_limit field to Job model for faster reference
*if field is non-blank, populate shard params in summary_fields
*add summary information to UI job/wfj details, JT selector
2018-10-31 11:04:10 -04:00
AlanCoding
7ff04dafd3
Fix IntegrityError deleting job splitting JT
...
misc:
*show sharded jobs in recent_jobs
*test updates
2018-10-31 11:04:10 -04:00
AlanCoding
f9bdb1da15
Job splitting access logic and more feature development
...
*allow sharding with prompts and schedules
*modify create_unified_job contract to pass class & parent_field name
*make parent field name instance method & set sharded UJT field
*access methods made compatible with job sharding
*move shard job special logic from task manager to workflows
*save sharded job prompts to workflow job exclusively
*allow using sharded jobs in workflows
2018-10-31 11:04:10 -04:00
AlanCoding
dab678c5cc
Implement splitting logic in inventory & job task code
2018-10-31 11:04:10 -04:00
Matthew Jones
0b1776098b
Implement model/view/launch paradigm for shard/split job templates
2018-10-31 11:04:09 -04:00
AlanCoding
8b3e49cb24
fix server error using 2 creds of same type
2018-10-24 14:59:01 -04:00
AlanCoding
72ce7b194f
allow UI to filter by type again
2018-10-24 13:35:04 -04:00
Ryan Petrello
c695ba2e10
fix flake8
2018-10-24 10:11:53 -04:00
Wayne Witzel III
f2cec03900
fix typo in length
2018-10-17 16:34:24 -04:00
Ryan Petrello
00cae104b3
remove over-eager survey choices validation
...
it looks like choices can also be a list and _maybe_ comma delimited;
clearly there's a lot of history here; let's verify and test what's _really_ supported and _then_ add any necessary validation
2018-10-15 16:40:17 -04:00
Wayne Witzel III
6e3b2a5c2d
better error handling when over limit
2018-10-15 16:07:14 -04:00
softwarefactory-project-zuul[bot]
73f54b2237
Merge pull request #2373 from marshmalien/always_nodes_ui
...
Display WF always nodes in conjunction with success and failure
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2018-10-12 22:43:32 +00:00
softwarefactory-project-zuul[bot]
0a964b2bf6
Merge pull request #2266 from ansible/celery-tastes-bad
...
replace the celery-based task queue with a kombu-based implementation
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2018-10-12 18:40:54 +00:00
softwarefactory-project-zuul[bot]
48511b6c33
Merge pull request #2281 from AlanCoding/consistent2
...
Always allow resource creation via global list
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2018-10-11 20:12:39 +00:00
AlanCoding
cfa93b52b7
Always allow resource creation via global list
2018-10-11 12:21:45 -04:00
AlanCoding
bdc7efb274
humble beginnings of survey question type validation
2018-10-11 12:10:40 -04:00
Ryan Petrello
ff1e8cc356
replace celery task decorators with a kombu-based publisher
...
this commit implements the bulk of `awx-manage run_dispatcher`, a new
command that binds to RabbitMQ via kombu and balances messages across
a pool of workers that are similar to celeryd workers in spirit.
Specifically, this includes:
- a new decorator, `awx.main.dispatch.task`, which can be used to
decorate functions or classes so that they can be designated as
"Tasks"
- support for fanout/broadcast tasks (at this point in time, only
`conf.Setting` memcached flushes use this functionality)
- support for job reaping
- support for success/failure hooks for job runs (i.e.,
`handle_work_success` and `handle_work_error`)
- support for auto scaling worker pool that scale processes up and down
on demand
- minimal support for RPC, such as status checks and pool recycle/reload
2018-10-11 10:53:30 -04:00
adamscmRH
4d9523afa4
lift always node mutex restriction
2018-10-09 11:30:49 -04:00
Ryan Petrello
7752446067
fix busted notification tests
2018-10-05 10:18:27 -04:00
Wayne Witzel III
f874e55051
split out mixins in views
2018-09-28 12:48:06 -04:00
Wayne Witzel III
1dcd2b1883
make views.py a directory based module
2018-09-28 12:29:12 -04:00
Ryan Petrello
16e89ed081
send test notifications after the transaction closes to avoid a race
2018-09-28 09:43:10 -04:00
Shane McDonald
580004b395
Merge remote-tracking branch 'downstream/release_3.3.0' into devel
...
# Conflicts:
# awx/main/notifications/slack_backend.py
2018-09-18 08:11:50 -04:00
chris meyers
f82f4a9993
deprecate fact endpoints and commands
2018-09-07 17:46:33 -04:00
Ryan Petrello
ec873dd28c
fix LicenseForbids 401/402 precendence for other features
2018-08-31 11:23:11 -04:00
Ryan Petrello
1f8736ce1d
workflow endpoints should return 401 on invalid credentials
...
if you have a license that doesn't allow use of workflows, invalid
credentials yielded an HTTP 402; this commit changes the precedence
see: https://github.com/ansible/tower/issues/2950
2018-08-31 10:57:27 -04:00
AlanCoding
a3d0e10f51
remove added-in tags that reference old AWX
2018-08-22 15:17:47 -04:00
AlanCoding
5e8f7b76f1
document inventory script towervars
2018-08-22 15:16:39 -04:00
AlanCoding
9a85578925
move inv src vault cred validation from view to model
2018-08-20 08:53:55 -04:00
Ryan Petrello
cffa324762
show custom_virtualenvs at /api/v2/config if you have Project/Org access
...
see: https://github.com/ansible/tower/issues/2843
2018-08-15 13:12:12 -04:00
Ryan Petrello
3b997cdd3a
remove extraneous OPTIONS content re: the new named URL feature
2018-08-15 10:22:42 -04:00
Ryan Petrello
8723508225
fix failing tests related to 2c4f7911a6
2018-08-10 12:45:35 -04:00
Ryan Petrello
18f6f68540
Merge remote-tracking branch 'tower/release_3.3.0' into devel
2018-08-10 11:54:34 -04:00
Ryan Petrello
c85dd25135
Merge pull request #2814 from ryanpetrello/fix-2805
...
redact sensitive URLs from stdout at /api/v2/project_updates/N/events/
2018-08-10 10:35:53 -04:00
Christian Adams
71beb9a257
Merge pull request #2810 from rooftopcellist/hide_app_client_secret
...
hide client_secret from API
2018-08-09 17:44:12 -04:00
Ryan Petrello
d95f1283b5
redact sensitive URLs from stdout at /api/v2/project_updates/N/events/
...
see: https://github.com/ansible/tower/issues/2805
2018-08-09 17:31:09 -04:00
adamscmRH
1bc83b488b
hide client_secret from API
2018-08-09 11:27:39 -04:00
Yunfan Zhang
02db543848
Do not create refresh tokens for apps with implicit grant type.
...
Signed-off-by: Yunfan Zhang <yz322@duke.edu >
2018-08-08 17:37:02 -04:00
Ryan Petrello
ec735b7b47
check oauth_scopes in _every_ view
...
see: https://github.com/ansible/tower/issues/2759
2018-08-06 11:05:59 -04:00
Ryan Petrello
a3566b4270
fix up a minor OAuth2 token serializer nit
...
see: https://github.com/ansible/tower/issues/2751
2018-08-03 14:50:37 -04:00
Bill Nottingham
cfc0779fdd
Add some more descriptive survey defaults.
2018-08-03 14:12:09 -04:00
Yunfan Zhang
b191f6cfc3
Add AND filter to related search.
...
Signed-off-by: Yunfan Zhang <yz322@duke.edu >
2018-08-01 19:43:57 -07:00