Chris Church
fcf41d74cf
Add test license for ec2 import to make jerkins happy.
2014-06-26 18:02:08 -04:00
Chris Church
7229f9cc8f
AC-1302 Update EC2 inventory script to create hierarchical groups.
...
Conflicts:
awx/main/tests/inventory.py
2014-06-26 14:54:51 -04:00
Chris Church
3b9fe8b954
Fix failing rax unit test, nly check that enabled flag is set on hosts that were previously enabled insead of all hosts.
2014-06-25 12:35:50 -04:00
Matthew Jones
41e1d809b5
Refactor job event collection to build and manage an internal cache of
...
potential parent values to reduce the number of queries to the database
2014-06-24 10:37:06 -04:00
Luke Sneeringer
2f1d667e64
Don't run the large inventory timing test locally.
...
This commit turns off local execution of the timing test for a large
inventory.
This test is pointless on local development, where (1) memory varies
widely and (2) we're using an entirely different database (SQLite) for
testing.
Pulling it out makes local testing considerably quicker and avoids
specious failures.
2014-06-18 15:41:08 -05:00
Matthew Jones
718e9916f0
Fix a bug in the mainline inventory test
2014-06-06 15:52:28 -04:00
Matthew Jones
6773fd19d7
Implement passive copying as a new host to a group
...
requires that the variables isn't special on the new host
implements AC-1265
2014-06-06 15:22:56 -04:00
Chris Church
24df1a88ee
AC-1295 Allow host names to contain brackets when importing from JSON sources.
2014-06-06 14:17:12 -04:00
Chris Church
3a5db149e9
Generate large test license for cloud inventory import unit tests.
2014-06-05 16:20:17 -04:00
Chris Church
d2d7ac3d1c
Save/restore current directory for each test.
2014-06-05 16:02:58 -04:00
James Laska
c45926411c
Disable DEBUG for unittests
2014-06-05 12:14:09 -04:00
Matthew Jones
12ecc46398
Fix a bug where we allowed adding a group as a child of a
...
deleted/inactive group
2014-05-23 14:27:08 -04:00
Matthew Jones
3d90c6db76
Deref deleted group immediately and then pass off the children and hosts
...
to be processed in the background.
Get rid of the child relative delete mechanism and merge the old concept
of delete on the /group/n endpoint with our new concept
2014-05-21 16:12:42 -04:00
Matthew Jones
56f9912edb
Fix up recursive safe delete rbac and add unit test
2014-05-19 15:02:17 -04:00
Chris Church
b14aa0b55d
AC-1235 Improvements to inventory import and computed field performance.
2014-05-18 22:10:12 -04:00
Chris Church
79dcadf155
Capture play name and host pattern separately in job event data.
2014-05-15 18:53:02 -04:00
Chris Church
6d0da4672d
AC-1278 Reduced the level of pickiness expressed by inventory_import regarding filenames.
2014-05-15 13:08:48 -04:00
Matthew Jones
c7ed154149
Implement AC-1279, rename vars_prompt_on_launch to ask_variables_on_launch
...
Conflicts:
awx/main/models/jobs.py
2014-05-15 10:26:11 -04:00
Matthew Jones
f49805db0b
Make sure we recognize when a model changes state from active to inactive and back
...
Conflicts:
awx/main/signals.py
2014-05-14 16:04:32 -04:00
Matthew Jones
a4f5b0ae71
Use local memory cache for unit tests
2014-05-14 14:14:52 -04:00
Chris Church
5e484b2503
Update where host_name field is set on job events.
2014-05-11 23:43:40 -04:00
Chris Church
8154edf00c
AC-1262 Fix broken job template test.
2014-05-11 23:07:00 -04:00
Chris Church
a9672294c4
Workaround possible ansible bug so unit tests pass for async tasks.
...
Conflicts:
awx/main/tests/tasks.py
2014-05-11 23:03:20 -04:00
Chris Church
29349d0a5a
Disable socketio notifications for unit tests.
2014-04-19 02:12:33 -04:00
Chris Church
ac2cd63ab5
AC-1201 Fix UnicodeEncodeError when validating hostname:port containing unicode.
2014-04-16 23:05:57 -04:00
Chris Church
e753260087
AC-588 Match cloud hosts by unique instance_id instead of name when running cloud inventory sync.
2014-04-16 03:00:33 -04:00
Chris Church
7bfe0f9583
AC-1192 Added special tower extra_vars when running jobs.
2014-04-15 18:42:39 -04:00
Chris Church
130d1f071f
Return URL to new job created from job template callback.
2014-04-15 15:41:49 -04:00
Chris Church
7eed13cca4
AC-448 Add support for mapping LDAP users to teams based on LDAP group membership.
2014-04-15 14:22:45 -04:00
Chris Church
e8b0d7451e
AC-1182 Handle a schedule rrule that results in zero occurrences.
2014-04-15 13:24:06 -04:00
Chris Church
2546cbdbb6
AC-504 Capture role when available for job events.
2014-04-15 00:22:57 -04:00
Chris Church
1d417fe573
AC-1191 Fix limit parameter on callback jobs to intersect with any limit specified on the job template.
2014-04-14 23:40:06 -04:00
Chris Church
55da67fa91
AC-1181 Fixed job serializer to copy default name/description from job template.
2014-04-14 23:09:02 -04:00
Chris Church
1283a78e09
AC-1134 Updated rax/ec2 inventory scripts from ansible. Added ability to filter groups/hosts by regular expression and exclude empty groups, so that Tower can exclude RAX/EC2 instance ID groups and EC2 RDS hosts/groups.
2014-04-08 23:50:57 -04:00
Matthew Jones
064dd6dc08
Fix up unit tests where we no longer allow posting a schedule to an
...
inventory source that is not a cloud source
2014-04-07 14:18:59 -04:00
Matthew Jones
05613c1bea
Make sure we are pulling in the right license class after obfuscation
2014-04-03 17:04:48 -04:00
Matthew Jones
2587fe9f18
Obfuscate the license engine... implements AC-1069
2014-04-03 15:49:14 -04:00
Matthew Jones
711c1824a3
Fix issue AC-1112... disallow multiple dtstart and rrule segments
2014-04-03 13:14:53 -04:00
Matthew Jones
d190aa3001
Wrap up rrule validation for scheduler
2014-04-02 11:44:49 -04:00
Chris Church
3aa517154e
Get unit tests to pass with created_by changes.
2014-04-01 22:42:16 -04:00
Chris Church
658581cce0
AC-1116 Support for deleting project/inventory updates.
2014-04-01 17:15:41 -04:00
Matthew Jones
4069a33ab0
Scheduler unit tests
2014-04-01 17:12:46 -04:00
Chris Church
9479068cda
AC-1114 Mark schedules inactive when their parent unified job template is marked inactive.
2014-04-01 16:17:29 -04:00
Chris Church
1c649a0752
AC-1108 Downgrade django-jenkins to get unit tests passing. Fix activity stream tests to not assume PK is always 1.
2014-04-01 14:56:37 -04:00
Chris Church
008ec8f86e
AC-601 Add groups/hosts collections to inventory sources, add inventory sources collections to groups/hosts to indicate which inventory source(s) have created/updated the given groups/hosts. Prevent setting an explicit inventory source for a group that is being managed by another parent with cloud inventory source.
2014-03-31 19:26:03 -04:00
Chris Church
d7f31f9777
Fix edge case in inventory import that would cause a group to become its own parent.
2014-03-31 17:37:41 -04:00
Chris Church
e1d3da731e
AC-1040 Model cleanup/refactor, add and use job_explanation field.
2014-03-30 22:57:45 -04:00
Chris Church
7754f475ad
AC-1097 Fixed validation of unique name on polymorphic models.
2014-03-28 18:18:31 -04:00
Chris Church
ce2ae2b945
AC-1071 Removed ssh_key_path option, only need to be able to accept PEM key format.
2014-03-27 15:55:50 -04:00
Chris Church
bfb0159083
AC-1071 Moved credential model to its own file. Added API support and tests for ssh_key_path field.
...
AC-1095 Added validation for SSH private keys.
2014-03-26 16:06:02 -04:00