Chris Meyers
|
f350f7b28e
|
Merge branch 'system_tracking_api'
Conflicts:
awx/fact/tests/models/fact/fact_transform.py
awx/fact/tests/models/fact/fact_transform_pymongo.py
awx/main/tests/commands/run_fact_cache_receiver.py
|
2015-05-11 10:17:52 -04:00 |
|
Chris Meyers
|
fc7126cd68
|
expose single_fact via related and tests
|
2015-05-11 10:09:20 -04:00 |
|
Chris Meyers
|
0dc7072e68
|
flake8
|
2015-05-11 09:08:46 -04:00 |
|
Chris Meyers
|
5ff696f708
|
added fact view tests
* Add related link from host to fact_versions
* Add related link from fact_versions to fact_view
|
2015-05-08 21:34:24 -04:00 |
|
Chris Meyers
|
0c6a4782fd
|
add fact_versions endpoint link in hosts related list
|
2015-05-07 12:14:01 -04:00 |
|
Chris Meyers
|
391a4aa439
|
fixed single_fact query
Foreach host return only the FIRST fact matching the less than timestamp query.
|
2015-05-06 14:32:50 -04:00 |
|
Chris Meyers
|
389a75229d
|
Merge pull request #188 from ansible/revert-177-cleanup-job_launch_relaunch
Revert "refactored job launch serializer"
|
2015-05-06 08:15:00 -04:00 |
|
Chris Meyers
|
575cf09375
|
Revert "refactored job launch serializer"
|
2015-05-06 08:14:26 -04:00 |
|
Chris Meyers
|
7b5df23450
|
Merge pull request #177 from chrismeyersfsu/cleanup-job_launch_relaunch
refactored job launch serializer
|
2015-05-05 16:12:10 -04:00 |
|
Chris Meyers
|
f3739ec283
|
single fact now behaves like a match query
|
2015-05-05 12:59:21 -04:00 |
|
Chris Meyers
|
e035e4e98b
|
Merge pull request #184 from chrismeyersfsu/fix-api_doc
job template launch doc update
|
2015-05-04 16:12:34 -04:00 |
|
Chris Meyers
|
8432595c21
|
Merge pull request #183 from chrismeyersfsu/fix-license
mark license expired inventory update + tests
|
2015-05-04 15:09:39 -04:00 |
|
Chris Meyers
|
c96fd3e672
|
Merge pull request #181 from chrismeyersfsu/fix-spelling
Fixed mongodb spelling in log message
|
2015-05-04 14:09:08 -04:00 |
|
Chris Meyers
|
91e6b46dc0
|
job template launch doc update
Note that a credential can be passed to the job template launch endpoint if needed.
|
2015-05-04 14:01:24 -04:00 |
|
Chris Meyers
|
f6541059a3
|
mark license expired inventory update + tests
|
2015-05-04 12:51:46 -04:00 |
|
Chris Meyers
|
cec442ca4e
|
Fixed mongodb spelling in log message
|
2015-05-04 11:33:20 -04:00 |
|
Chris Meyers
|
9d1dc55c5d
|
Merge pull request #180 from chrismeyersfsu/explore-run_fact_cache_receiver_update
fixes Fact serialization/deserialization
|
2015-05-04 10:53:06 -04:00 |
|
Chris Meyers
|
5b2f3dfd8f
|
fixes Fact serialization/deserialization
|
2015-05-04 10:35:33 -04:00 |
|
Chris Meyers
|
012733b9ff
|
flake8
|
2015-05-04 08:35:55 -04:00 |
|
Chris Meyers
|
475cac044b
|
job launch tests
|
2015-05-04 08:01:18 -04:00 |
|
Chris Meyers
|
52cf792073
|
flake8
|
2015-05-04 07:30:03 -04:00 |
|
Chris Meyers
|
4f4a90a124
|
realistic ansible fact gathering data-set
|
2015-05-04 07:28:45 -04:00 |
|
Chris Meyers
|
d8c3481300
|
fixes Fact serialization/deserialization
|
2015-05-03 18:24:55 -04:00 |
|
Chris Meyers
|
c3cb99b2d2
|
moved passwords_needed_to_start to it's own class
|
2015-05-01 11:17:10 -04:00 |
|
Chris Meyers
|
a29868c551
|
moved passwords_needed_to_start to job options. have job launch inherit from jobtemplate and job options
|
2015-04-30 12:42:24 -04:00 |
|
Chris Meyers
|
4ecea7dc5b
|
moved job launch to be near job relaunch and cancel
|
2015-04-30 11:50:52 -04:00 |
|
Chris Meyers
|
4de4d32aa6
|
refactored job launch serializer
* inherit from jobserializer
** validate password logic moved to job serializer to be shared
* Added job relaunch test cases
|
2015-04-30 09:34:44 -04:00 |
|
Chris Meyers
|
63bfa07450
|
Merge pull request #176 from chrismeyersfsu/fix-relaunch_related_deleted
error out if inventory or project not related to relaunched job
|
2015-04-30 09:29:57 -04:00 |
|
Chris Meyers
|
6a4f8f9177
|
error out if inventory or project not related to relaunched job
|
2015-04-30 08:50:42 -04:00 |
|
Chris Meyers
|
4ac73743e5
|
Merge pull request #173 from chrismeyersfsu/fix-cleanup_jobs
include ad-hoc-commands when running system cleanup_jobs
|
2015-04-29 15:15:11 -04:00 |
|
Chris Meyers
|
4d8c4a7b63
|
Merge pull request #174 from chrismeyersfsu/fix-cleanup_jobs_help
added default --days value to --help
|
2015-04-29 13:50:41 -04:00 |
|
Chris Meyers
|
ecdc5913f1
|
added default --days value to --help
|
2015-04-29 13:50:06 -04:00 |
|
Chris Meyers
|
0472ce7946
|
include ad-hoc-commands when running system cleanup_jobs
|
2015-04-29 13:46:08 -04:00 |
|
Chris Meyers
|
3c77ae1fdc
|
Merge pull request #172 from chrismeyersfsu/fix-explicit_get_calls
replaced explicit objects.get() calls with get_object().
|
2015-04-29 13:36:45 -04:00 |
|
Chris Meyers
|
d1f3acdd00
|
replaced explicit objects.get() calls with get_object(). Handles errors much more gracefully.
|
2015-04-29 12:32:58 -04:00 |
|
Chris Meyers
|
3d3b0f1bfa
|
Merge pull request #170 from chrismeyersfsu/fix-job_template_extra_vars
Fix job template passwords
|
2015-04-28 22:23:15 -04:00 |
|
Chris Meyers
|
4fc100ac8c
|
flake8
|
2015-04-28 18:04:12 -04:00 |
|
Chris Meyers
|
e36a80f509
|
changed test case logic to know that the server doesn't like passwords like ''
|
2015-04-28 17:25:44 -04:00 |
|
Chris Meyers
|
257dc733b9
|
Revert "consider a password specified if it equals ''"
This reverts commit 22987c4a122c5f784be62a0951ffd3081e8d2f12.
|
2015-04-28 17:15:48 -04:00 |
|
Chris Meyers
|
f3a644a418
|
added password blank test
|
2015-04-28 17:15:20 -04:00 |
|
Chris Meyers
|
8d13cafd7b
|
added tests for explicit and deleted credential
In doing so, moved tests from jobs_monolithic
|
2015-04-28 16:57:03 -04:00 |
|
Chris Meyers
|
9e67169cb9
|
ensure credentials exist before we go looking at them
|
2015-04-28 15:26:22 -04:00 |
|
Chris Meyers
|
f08d8cb5b9
|
consider a password specified if it equals ''
|
2015-04-28 13:39:30 -04:00 |
|
Chris Meyers
|
d77801353f
|
changed passwords_needed_to_start to take into acount if a credential is deleted
|
2015-04-28 13:38:47 -04:00 |
|
Chris Meyers
|
718e5dd620
|
Merge pull request #168 from chrismeyersfsu/fix-extra_vars
job template launch handle extra_vars
|
2015-04-28 09:49:29 -04:00 |
|
Chris Meyers
|
df6b6e55a7
|
add tests that trigger error without fix provided
|
2015-04-28 08:28:36 -04:00 |
|
Chris Meyers
|
cea9dbdb4f
|
yet another extra_vars fix
|
2015-04-28 07:57:24 -04:00 |
|
Chris Meyers
|
f8056a68d6
|
Merge pull request #165 from chrismeyersfsu/fix-user_not_exist
404 not found for users that don't exist
|
2015-04-28 06:39:10 -04:00 |
|
Chris Meyers
|
8f83cc61b4
|
Merge pull request #166 from chrismeyersfsu/fix-extra_vars_survey
fix extra vars job template
|
2015-04-27 21:10:06 -04:00 |
|
Chris Meyers
|
556c66b050
|
fix extra vars job template
|
2015-04-27 20:16:44 -04:00 |
|
Chris Meyers
|
e263e303cb
|
404 not found for users that don't exist
Test what ye do not understand.
|
2015-04-27 18:06:40 -04:00 |
|
Chris Meyers
|
853ac5dcf7
|
Merge pull request #156 from chrismeyersfsu/fix-relaunch
Prevent relaunching job with deleted credential
|
2015-04-27 17:23:38 -04:00 |
|
Chris Meyers
|
c8da42f7ac
|
Merge pull request #164 from chrismeyersfsu/extra_vars
validate extra_vars, but get them from request.DATA
|
2015-04-27 16:23:45 -04:00 |
|
Chris Meyers
|
2de6e7b016
|
validate extra_vars, but get them from request.DATA
|
2015-04-27 16:19:01 -04:00 |
|
Chris Meyers
|
481a71c7a7
|
Merge pull request #161 from chrismeyersfsu/fix-credential_id
Fix credential
|
2015-04-27 15:00:30 -04:00 |
|
Chris Meyers
|
c44019c4df
|
Merge branch 'master' into fix-credential_id
Conflicts:
awx/api/views.py
|
2015-04-27 14:57:53 -04:00 |
|
Chris Meyers
|
8a050dbc97
|
generate passwords in validate and pass back through context
|
2015-04-27 14:54:57 -04:00 |
|
Chris Meyers
|
fdce00d313
|
Merge pull request #163 from chrismeyersfsu/fix-credential_quick
quick fix so that launching job templates with cred works again
|
2015-04-27 14:32:33 -04:00 |
|
Chris Meyers
|
f297a8d2d0
|
quick fix so that launching job templates with cred works again
|
2015-04-27 14:31:36 -04:00 |
|
Chris Meyers
|
c29e5f40be
|
save state
|
2015-04-27 14:27:48 -04:00 |
|
Chris Meyers
|
90037bbc2f
|
fill in api browser with needed extra_vars passwords and credential
|
2015-04-27 14:15:35 -04:00 |
|
Chris Meyers
|
3aab7eb64b
|
populate api browser with missed passwords
|
2015-04-27 14:05:07 -04:00 |
|
Chris Meyers
|
086ae8f9ad
|
allow credential_id to job template launch. Funnel credential_id into credential.
|
2015-04-27 13:31:57 -04:00 |
|
Chris Meyers
|
ee66e98af5
|
Merge pull request #160 from chrismeyersfsu/feature-cleanup_facts_all_time2
support --granularity=0d to delete all facts.
|
2015-04-27 13:20:17 -04:00 |
|
Chris Meyers
|
d0f05ac2cd
|
send the id of the credential to the job execution, not the credential object itself
|
2015-04-27 12:27:51 -04:00 |
|
Chris Meyers
|
f1afae4b80
|
support --granularity=0d to delete all facts.
Still respect --older_than
|
2015-04-27 11:12:50 -04:00 |
|
Chris Meyers
|
f7355ae5f3
|
Merge pull request #158 from chrismeyersfsu/fix-credential_file
return empty private data content rather than None for generate private ...
|
2015-04-27 08:40:10 -04:00 |
|
Chris Meyers
|
b323e26b2f
|
do not generate scm private key file if no ssh data associated with credential
|
2015-04-26 20:03:48 -04:00 |
|
Chris Meyers
|
612147e355
|
return empty private data content rather than None for generate private file method
|
2015-04-26 10:58:15 -04:00 |
|
Chris Meyers
|
927cc78526
|
flake8
|
2015-04-24 13:37:52 -04:00 |
|
Chris Meyers
|
299b0d78c8
|
removed the need to access data in the serializer. It's now clear what params a job template launch takes
|
2015-04-24 12:43:48 -04:00 |
|
Chris Meyers
|
0d26a700a6
|
sanitize request.DATA before passing to jobs
|
2015-04-24 12:22:31 -04:00 |
|
Chris Meyers
|
f194c0dc1b
|
moved validation from view to serializer. Prevent relaunching job with deleted credential
|
2015-04-24 10:59:59 -04:00 |
|
Chris Meyers
|
aaf3a191e4
|
removed commented out code
|
2015-04-24 09:45:50 -04:00 |
|
Chris Meyers
|
f348766430
|
fixed how validation errors are propogated. Also, don not allow job template to launch unless credential are available
|
2015-04-24 09:44:23 -04:00 |
|
Chris Meyers
|
b117e14e19
|
created a serializer for job template launch endpoint
|
2015-04-24 08:26:12 -04:00 |
|
Chris Meyers
|
4fc04a3709
|
Merge pull request #153 from chrismeyersfsu/fix-openstack_inventory
changed inventory sync private data file key to more appropriate cloud_c...
|
2015-04-23 16:46:30 -04:00 |
|
Chris Meyers
|
ce953d1ad2
|
changed inventory sync private data file key to more appropriate cloud_credential from scm_credential. Wrapped openstack credentials in dict
|
2015-04-23 16:44:30 -04:00 |
|
Chris Meyers
|
360aae8c25
|
multiple credentials implementation style more inline with existing code
|
2015-04-23 13:34:02 -04:00 |
|
Chris Meyers
|
b63a577b33
|
allow machine and cloud credentials to co-exist.
|
2015-04-23 10:11:21 -04:00 |
|
Chris Meyers
|
13aa8fce82
|
Merge pull request #147 from chrismeyersfsu/fix-azuer
handle shutdown azure instances
|
2015-04-23 10:06:26 -04:00 |
|
Chris Meyers
|
bbd1f41471
|
track azure vm by unique identifier
|
2015-04-22 07:05:36 -04:00 |
|
Chris Meyers
|
754b004c24
|
add instance state
|
2015-04-21 17:43:54 -04:00 |
|
Chris Meyers
|
1df51f3c48
|
better error handling
|
2015-04-20 17:15:03 -04:00 |
|
Chris Meyers
|
f2b58af125
|
prefer port with name SSH but don't require it
|
2015-04-20 15:39:21 -04:00 |
|
Chris Meyers
|
48c194f2a9
|
handle shutdown azure instances
|
2015-04-16 18:06:55 -04:00 |
|
Chris Meyers
|
e6f376ebc2
|
Merge pull request #141 from chrismeyersfsu/refactor-jobs_tests2
split out job test a little bit more
|
2015-04-14 13:01:36 -04:00 |
|
Chris Meyers
|
f2445beb75
|
flake8
|
2015-04-14 12:00:05 -04:00 |
|
Chris Meyers
|
c5d3089083
|
Merge pull request #140 from chrismeyersfsu/fix-license
detect invalid license thrown by inventory update
|
2015-04-14 11:25:02 -04:00 |
|
Chris Meyers
|
47500ae20d
|
per @cchurch recomendation, log using the awx.fact namespace
|
2015-04-14 10:53:01 -04:00 |
|
Chris Meyers
|
af25a362da
|
jerkins wants base imported .. what jerkins wants .. jerkins gets
|
2015-04-14 10:22:39 -04:00 |
|
Chris Meyers
|
64d4304a97
|
flake8
|
2015-04-14 10:16:23 -04:00 |
|
Chris Meyers
|
4a4b14ba98
|
split out job test a little bit more
|
2015-04-14 09:06:20 -04:00 |
|
Chris Meyers
|
a930c4d8b2
|
detect invalid license thrown by inventory update
|
2015-04-14 08:36:55 -04:00 |
|
Chris Meyers
|
caf49979f8
|
Merge pull request #139 from chrismeyersfsu/fix-logger
removed logger call
|
2015-04-14 08:06:10 -04:00 |
|
Chris Meyers
|
f8a940f5ac
|
per @cchurch recomendation, log using the awx.fact namespace
|
2015-04-14 07:18:52 -04:00 |
|
Chris Meyers
|
5787e4a67f
|
removed logger call
|
2015-04-13 19:52:27 -04:00 |
|
Chris Meyers
|
d21d3ee191
|
Merge pull request #135 from chrismeyersfsu/fix-cancel_job_template_with_survey
job cancelation of job templates with surveys wont send extra_vars so don't expect them to
|
2015-04-13 19:44:28 -04:00 |
|
Chris Meyers
|
bbe23b0071
|
Merge pull request #133 from chrismeyersfsu/feature-cleanup_facts
implemented cleanup_facts command + tests
|
2015-04-13 15:10:10 -04:00 |
|
Chris Meyers
|
6698fb542f
|
job cancelation of job templates with surveys wont send extra_vars so don't expect them to
|
2015-04-13 14:47:12 -04:00 |
|