Shane McDonald
286b1d4e25
InstanceGroup#is_containerized -> InstanceGroup#is_container_group
2021-03-03 18:52:55 -05:00
Jeff Bradberry
45a0084f78
Add a sublist api view for the UJTs that use a given execution environment
2021-03-03 18:52:54 -05:00
Jeff Bradberry
f9741b619c
Make changes to support capture by the activity stream
...
Including exposing a new API view for a particular EE's activity
stream objects.
2021-03-03 18:52:54 -05:00
Jeff Bradberry
5ec7378135
Add a new Swagger topic
2021-03-03 18:52:54 -05:00
Jeff Bradberry
cc429f9741
Expose an API view for all of the execution environments under an org
2021-03-03 18:52:54 -05:00
Jeff Bradberry
61cbd34586
Add in the basic list and detail api views
2021-03-03 18:52:53 -05:00
Ryan Petrello
2017504c51
expose active host count on the Organization detail view
2021-01-22 13:42:27 -05:00
Alan Rominger
44e6e9344b
Remove mercurial support
2020-12-01 14:06:34 -05:00
Ryan Petrello
4a75ae9869
allow deleting NotificationTemplates w/ old pending notifications
...
see: https://github.com/ansible/awx/issues/8525
2020-11-03 11:09:30 -05:00
Ryan Petrello
94b6b31185
fix a minor bug in the way we report certain license upload errors
2020-10-30 16:40:02 -04:00
Ryan Petrello
e50c2c2867
warn about legacy license usage in the licensing UI
2020-10-30 16:40:00 -04:00
Bill Nottingham
393e1b75e9
Return more user-friendly errors for assorted manifest failures
2020-10-30 16:39:59 -04:00
Christian M. Adams
05de875ace
Fix flake8
2020-10-30 16:39:59 -04:00
Ryan Petrello
3bb930c769
cleanup up some unused code/comments, and simplify the license migration
2020-10-30 16:39:57 -04:00
Ryan Petrello
ef43d85271
remove Organization label from RHSM/Sat6 license form
2020-10-30 16:39:57 -04:00
Ryan Petrello
927b055e65
change license uploading to parse RHSM manifests
...
Co-authored-by: Christian Adams <chadams@redhat.com >
2020-10-30 16:39:57 -04:00
Ryan Petrello
4445d096f5
reimplement licensing to work with RHSM and entitlement uploads
...
Co-authored-by: Christian Adams <chadams@redhat.com >
2020-10-30 16:39:57 -04:00
John Mitchell
782e8d5875
add two_weeks filter to dashbaord job graph api view
2020-10-20 16:42:28 -04:00
Ryan Petrello
57b2cd402b
make workflow approval creation return an HTTP 201, not 200 OK
...
see: e16a910062 (diff-67c0fe4fc2a405ad611e42d1457e8aa5)
2020-10-19 16:20:40 -04:00
Bill Nottingham
18c27437b7
Fix analytics logging
...
The analytics change PR adjusted the logging for awx.analytics,
which solved the issue, but should have used the targeted awx.main.analytics.
Also flip a couple of loggers to use the regular awx.analytics (awx analytics)
logger instead of awx.main.analytics (the automation anayltics task system).
2020-09-17 13:39:14 -04:00
Bill Nottingham
1c4b06fe1e
Refactor analytics collectors.
...
- Only have one registration class
- Add description fields
- Add automation collector information to /api/v2/config
2020-09-09 17:10:14 -04:00
Ryan Petrello
011822b1f0
make a global "managed by AWX/Tower" Credential to represent Galaxy
2020-09-01 13:45:03 -04:00
Ryan Petrello
b8e0d087e5
add model support, an API, and a migration for Org -> Galaxy credentials
...
see: https://github.com/ansible/awx/issues/7813
2020-09-01 13:44:59 -04:00
Ryan Petrello
64da67fa2e
mprove error message when changing an inventory from regular -> smart
...
see: https://github.com/ansible/awx/issues/5744
Co-Authored-By: kldavis52 <kyle.linnard.davis@gmail.com >
2020-08-25 09:25:54 -04:00
Philip Douglass
997351eee3
Add archive project data to Dashboard view
...
Signed-off-by: Philip Douglass <philip.douglass@amadeus.com >
2020-08-20 12:34:35 -04:00
Ryan Petrello
0c6be1f4d7
Merge branch 'downstream' into devel
2020-08-05 14:48:36 -04:00
Ryan Petrello
91594a1ae8
properly obfuscate connection errors for credential lookup failure
2020-07-28 11:38:48 -04:00
Ryan Petrello
860183f178
update the named URL code to properly return 404 vs 403
2020-07-22 12:15:34 -04:00
Ryan Petrello
0b221a42c0
Add the ability to specify K8S/OCP credentials on a Job Template
...
see: https://github.com/ansible/awx/issues/5735
2020-07-15 17:44:07 -04:00
Graham Mainwaring
5a96af79d4
Reduce error detail in credential lookups
2020-07-06 21:41:28 -04:00
AlanCoding
d54e5e5ed8
Remove defunct entry from view method return tuple
2020-05-01 14:10:14 -04:00
Ryan Petrello
18607107a7
remove the deprecated extra_credentials endpoints
2020-04-30 10:22:02 -04:00
Bill Nottingham
4f3213715e
Allow disassociating any user from a credential role.
...
This is preventing removing roles from users no longer in the organization.
2020-04-03 13:39:28 -04:00
chris meyers
b58c71bb74
remove broadcast websockets view
2020-03-18 16:10:20 -04:00
chris meyers
093d204d19
fix flake8
2020-03-18 16:10:19 -04:00
chris meyers
d6594ab602
add broadcast websocket metrics
...
* Gather brroadcast websocket metrics and push them into redis every
configurable seconds.
* Pop metrics from redis in web view layer to display via the api on
demand
2020-03-18 16:10:18 -04:00
AlanCoding
daa9282790
Initial (editable) pass of adding JT.organization
...
This is the old version of this feature from 2019
this allows setting the organization in the data sent
to the API when creating a JT, and exposes the field
in the UI as well
Subsequent commit changes the field from editable
to read-only, but as of this commit, the machinery
is not hooked up to infer it from project
2020-03-12 15:45:46 -04:00
Ryan Petrello
6207dad226
fix broken grafana notifications
...
since the custom notification template refactor, grafana notification
support has been broken; this is largely because grafana functions more
like the webhooks, and needs to send JSON in its notification body
see: https://github.com/ansible/awx/issues/6137
2020-03-03 12:44:28 -05:00
AlanCoding
519956f779
Remove argument no longer accepted by computed fields task
2020-02-11 08:55:56 -05:00
Nikhil Jain
e530adde67
fix the sliced job relaunch
2020-02-10 17:35:50 -05:00
Bill Nottingham
71ef7cdec1
Use AWX_TASK_ENV when connecting to Red Hat services
2020-02-07 14:29:42 -05:00
Ryan Petrello
c7c899375b
when a license is installed, only set TOWER_URL_BASE if necessary
...
it's possible for users to set this manually in /etc/tower/conf.d
prior to license application
2020-01-30 16:23:25 -05:00
Ryan Petrello
dfc769b8fe
drastically speed up /api/v2/jobs/N/job_events/ with large counts
2020-01-20 13:24:39 -05:00
AlanCoding
9a420820eb
Remove event hosts relationship
...
and parent event-event ForeignKey relationship
2020-01-16 08:44:36 -05:00
Ryan Petrello
568606d2c8
remove computed inventory fields from Host and Group
2020-01-14 16:37:16 -05:00
Bill Nottingham
3ba1ba1c9d
Fix survey validation to always retun an error code if erroring
2019-12-20 11:38:22 -05:00
Graham Mainwaring
9c9496a683
Expose login redirect URL in unauthenticated /api view
2019-12-11 17:21:02 -05:00
Jake McDermott
63fd546f44
Let cred admins and users test credential plugins
2019-12-03 13:36:18 -05:00
Christian Adams
05e6f4ab3c
Add User-Agent to analytics upload POST
2019-11-25 22:22:05 -05:00
AlanCoding
cf168b27d2
apply username ordering to more views
2019-10-29 14:20:33 -04:00