Commit Graph

12402 Commits

Author SHA1 Message Date
Ryan Petrello
5bb06fdb50 stop hard-coding the awx version in the isolated development environment
see: #296
2017-10-13 12:17:04 -04:00
Jim Ladd
5924571904 Merge pull request #384 from jladdjr/awx365_post_response_discrepancy
Address discrepancy in POST response between jobs launches and project / inventory source updates
2017-10-13 09:59:29 -04:00
Chris Meyers
9cc4520a34 Merge pull request #409 from chrismeyersfsu/replay_job_events
add job event replay awx-manage command
2017-10-13 09:39:28 -04:00
Chris Meyers
62987196cb add speedup support to event replay and stats
* add tests
* add verbosity support
2017-10-13 09:25:18 -04:00
Jim Ladd
6f1c7ee733 Update several endpoints to match JT launch POST response
Signed-off-by: Jim Ladd <jladd@redhat.com>
2017-10-12 17:35:34 -04:00
Aaron Tan
bcd2a8f211 Merge pull request #382 from jangsutsr/fix-264
Implement workflow job failure
2017-10-12 16:34:08 -04:00
Alan Rominger
ad0e43dc52 Merge pull request #379 from AlanCoding/awx160
Enforce max line length of 160 characters
2017-10-12 14:05:31 -04:00
Aaron Tan
5287e5c111 Implement workflow job failure
Relates #264.

This PR proposed and implemented a way of defining workflow failure
state:

A workflow job fails if one of the conditions below satisfies.
* At least one node runs into states `canceled` or `error`.
* At least one leaf node runs into states `failed`, but no child node is
  spawned to run (no error handler).

Signed-off-by: Aaron Tan <jangsutsr@gmail.com>
2017-10-12 11:08:33 -04:00
Chris Meyers
e19a57c50a add job event replay awx-manage command
* awx-manage replay_job_event --job_id <id>
2017-10-12 09:40:30 -04:00
AlanCoding
f03b40aa50 enforce max line length of 160 characters 2017-10-11 12:38:39 -04:00
Aaron Tan
9dd4c7aaa3 Add extra encoding to ldap_dn verification
Relates #391.

Upstream `python-ldap` (surprisingly) does not support utf-8 DN. So
explicit encoding is needed.

Signed-off-by: Aaron Tan <jangsutsr@gmail.com>
2017-10-11 12:28:26 -04:00
Jake McDermott
8b395c934c de-lint unit tests 2017-10-10 20:23:15 -04:00
Jake McDermott
ae0855614b update unit test file names 2017-10-10 20:18:05 -04:00
gconsidine
82f81752e4 De-lint test files and update test,build config 2017-10-10 16:59:42 -04:00
gconsidine
8b6cc0e323 Combine test directories 2017-10-10 16:59:42 -04:00
gconsidine
3998796bf0 Add closing curly brace in strings file 2017-10-10 16:42:56 -04:00
Matthew Jones
6fa283fc98 Merge branch 'release_3.2.0' into devel
* release_3.2.0: (66 commits)
  fix workflow maker lookup issues
  adding extra logic check for ansible_facts in smart search
  adding "admin_role" as a default query param for insights cred lookup
  changing insights cred lookup to not use hard coded cred type
  fix rounding of capacity percentage
  Catch potential unicode errors when looking up addrinfo
  fixing typo with adding query params for instance groups modal
  move percentage capacitty to variable
  Add unit test for inventory_sources_already_updated
  Check for inventory sources already updated from start args
  Fixed inventory completed jobs pagination bug by setting default page size
  Remove the logic blocking dependent inventory updates on callbacks
  fix instance group percentage
  Remove host-filter-modal import
  Fix partial hover highlight of host filter modal row
  Removed leading slash on basePath
  Fixed host nested groups pagination
  Added trailing slash to basePath
  Fixed nested groups pagination
  Fixed host_filter searching related fields
  ...
2017-10-10 16:09:43 -04:00
gconsidine
4955dd9ab3 Add autocomplete attr to component form
Signed-off-by: gconsidine <greg@gregconsidine.com>
2017-10-02 17:06:07 -04:00
Marliana Lara
e19b4e0c8c Fix karma config and remove karma-ng-html2js-preprocessor 2017-10-02 15:10:36 -04:00
Marliana Lara
2f8155763b Add Side Nav Item unit tests
Signed-off-by: Marliana Lara <mlara@redhat.com>
2017-10-02 13:36:06 -04:00
Marliana Lara
5c5293783d Add Side Nav directive unit tests 2017-10-02 13:35:32 -04:00
Marliana Lara
7486503a16 Add Layout directive unit tests 2017-10-02 13:35:31 -04:00
Greg Considine
e7f4e79248 Merge pull request #339 from gconsidine/ui/fix/document-reference-on-start
Use $document instead of document for on fn
2017-10-02 13:34:27 -04:00
gconsidine
f49ed838c7 Use $document instead of document for on fn
Signed-off-by: gconsidine <greg@gregconsidine.com>
2017-10-02 12:53:56 -04:00
AlanCoding
681770e25a allow WFJT admins to cancel scheduled jobs 2017-10-02 10:25:49 -04:00
jlmitch5
06210624ce Merge pull request #486 from jlmitch5/fixModalOnModalBS
fix workflow maker lookup issues
2017-09-29 19:55:20 -04:00
John Mitchell
713c9614a9 fix workflow maker lookup issues 2017-09-29 19:50:17 -04:00
Jared Tabor
c9ffc0e7c1 adding extra logic check for ansible_facts in smart search
a change related to related-group-searches caused a regression when
searching for ansible_facts
2017-09-29 15:02:50 -07:00
Jared Tabor
140af9ea47 adding "admin_role" as a default query param for insights cred lookup 2017-09-29 12:25:21 -07:00
Jared Tabor
8980e70918 changing insights cred lookup to not use hard coded cred type
and rather, do a comparison against the credential_type endpoint
2017-09-29 12:18:30 -07:00
Matthew Jones
480e20136a Merge pull request #301 from romainrbr/devel
Changing the color option for hipchat to always be lowercase
2017-09-28 21:16:21 -04:00
Greg Considine
91bceefee7 Merge pull request #317 from gconsidine/ui/angular-manual-init-for-locale
Implement manual initialzation for Angular app
2017-09-28 19:31:58 -04:00
gconsidine
d9e360e575 Add check if navigator.languages exists to use 2017-09-28 14:46:56 -04:00
Romain Brucker
cdc6096515 fixing indent 2017-09-28 11:37:07 -05:00
Romain Brucker
31e559b6a1 Checking if color is not None before setting it to lowercase 2017-09-28 11:33:45 -05:00
Romain Brucker
1bb72cc680 Adding a check to see if the color is 'None' before lowercasing it for @matburt 2017-09-28 11:15:14 -05:00
John Mitchell
c57d39dcd9 fix rounding of capacity percentage 2017-09-28 11:18:55 -04:00
Matthew Jones
9219f0f682 Catch potential unicode errors when looking up addrinfo 2017-09-27 20:14:47 -04:00
Jared Tabor
feb0cd5e7c Merge pull request #479 from jaredevantabor/instance-groups-queryparams
fixing typo with adding query params for instance groups modal
2017-09-27 14:17:39 -07:00
jlmitch5
e877651a1e Merge pull request #476 from jlmitch5/fixIGPercentage
fix instance group percentage
2017-09-27 17:11:17 -04:00
Jared Tabor
3c29baea61 fixing typo with adding query params for instance groups modal
it was missing the query params for order_by and page_size
2017-09-27 13:57:02 -07:00
John Mitchell
b05925cc0e move percentage capacitty to variable 2017-09-27 16:53:31 -04:00
Matthew Jones
a5c028cd45 Merge pull request #477 from ansible/remove_callback_blocked_dependency
Remove the logic blocking dependent inventory updates on callbacks
2017-09-27 16:53:12 -04:00
Matthew Jones
3e38a0c17d Add unit test for inventory_sources_already_updated 2017-09-27 16:52:05 -04:00
Matthew Jones
f4c9617f95 Check for inventory sources already updated from start args
In the case where the host didn't exist in the inventory source and
was found in the first inventory sync
2017-09-27 16:31:22 -04:00
mabashian
8a8a064821 Fixed inventory completed jobs pagination bug by setting default page size 2017-09-27 16:11:35 -04:00
Matthew Jones
7861cda6fe Remove the logic blocking dependent inventory updates on callbacks 2017-09-27 16:00:05 -04:00
John Mitchell
32920739ef fix instance group percentage 2017-09-27 15:56:36 -04:00
Marliana Lara
0eadd69934 Remove host-filter-modal import 2017-09-27 15:47:27 -04:00
gconsidine
297904462d Implement manual initialzation for Angular app
Manual initialization allows for some asynchronous work to
finish ahead of Angular's startup. The initial motivation is
to be able to guarantee translation files have been fetched
before rendering content that needs translation. If a locale
isn't supported or if the request to get a json file fails,
the i18n service falls back to en.

Signed-off-by: gconsidine <gconsidi@redhat.com>
2017-09-27 15:12:03 -04:00