Wayne Witzel III
27fc64eb56
value_to_python should encode lookup fields as ascii
2017-03-08 12:30:30 -05:00
Chris Meyers
9f8df08e1d
update tests
2017-02-27 10:56:34 -05:00
Ryan Petrello
d24fb32358
blacklist certain sensitive fields and relations as search arguments
...
see: #5465
see: #5478
2017-02-21 16:18:02 -05:00
Matthew Jones
0a5b43acae
Make unit test valid
...
Failed after recent changed that exposed the invalidity
2017-02-21 12:50:41 -05:00
Chris Meyers
d0d44e03e1
Merge pull request #5388 from chrismeyersfsu/fix-5275
...
ensure job deps are created only once
2017-02-15 17:11:27 -05:00
Chris Meyers
6e9488a59b
ensure job deps are created only once
2017-02-15 15:54:30 -05:00
Alan Rominger
0e4f3c8015
Merge pull request #5376 from AlanCoding/logger_full_reload
...
Add supervisor command to restart select services on reload event
2017-02-15 15:19:27 -05:00
AlanCoding
3023b4dfaa
switch to new nested with pattern from PR review
2017-02-15 14:58:04 -05:00
Matthew Jones
785a8d0789
Fix an issue where smtplib can't handle unicode strings
...
We probably do get this value as unicode originally but when we store
it, due to a recently fixed bug it will come out as *not* unicode.
So things were accidentally working because py2 smtplib uses hmac
which won't accept unicode.
This change adds a flag to encrypt_field that forces it to skip the
utf8 fixup from before for narrow use cases.
2017-02-15 14:07:30 -05:00
AlanCoding
7e3a5fd2c2
move reload functionality to its own file
2017-02-15 13:42:49 -05:00
AlanCoding
186b672e4f
move service definition into settings
2017-02-15 12:07:30 -05:00
Ryan Petrello
ee8c82df4a
fix a test that fails due to a race between async logging requests
2017-02-14 15:18:03 -05:00
Ryan Petrello
2c7cb4a370
add utf-8 support to utils.common.encrypt_field/decrypt_field
2017-02-13 16:09:31 -05:00
Ryan Petrello
a69815faa0
fix a typo in a log handler test
2017-02-09 15:50:28 -05:00
Ryan Petrello
1b9a2e4a36
correctly set the Authorization header for non-async log handling
...
see: #5276
2017-02-09 15:14:39 -05:00
Ryan Petrello
56433fd2ca
move log handling tests from functional -> unit
2017-02-08 16:34:06 -05:00
Ryan Petrello
2c447942d5
add tests for our custom log aggregator/handler
2017-02-08 14:19:32 -05:00
AlanCoding
c9f424ea74
unit test update for use pattern change
2017-02-06 09:50:48 -05:00
Wayne Witzel III
ec86961e13
only assign the default if it is not None
2017-02-02 14:48:31 -05:00
Ryan Petrello
a680bc314f
Merge pull request #5127 from ryanpetrello/fix-4246
...
add tests for encryption/decryption in awx.main.utils.common
2017-02-02 09:04:14 -05:00
Ryan Petrello
58d19ea654
add tests for encryption/decryption in awx.main.utils.common
2017-02-01 16:24:18 -05:00
AlanCoding
0588fa9f16
disable standard out censoring for now
2017-02-01 13:11:46 -05:00
Ryan Petrello
fde4d5c1f6
Merge pull request #5083 from ryanpetrello/fix-5030
...
don't stringify source_vars['private'] for Openstack inventory updates
2017-02-01 08:53:17 -05:00
AlanCoding
bdc04723b0
deal with case that can cause memory errors
2017-01-31 15:31:30 -05:00
AlanCoding
f377da0ecb
update stdout cleaner to use current job passwords
2017-01-31 15:04:13 -05:00
Ryan Petrello
f4a21a2650
don't stringify source_vars['private'] for Openstack inventory updates
...
shade's OS_CLIENT_CONFIG_FILE expects the generated YAML value to be
a boolean, not a stringified boolean
Addresses #5030
2017-01-31 14:57:12 -05:00
Wayne Witzel III
5ace8dad4e
fix KeyError for default, added tests
2017-01-30 12:15:43 -05:00
Chris Meyers
0a5b037236
Merge pull request #4962 from chrismeyersfsu/fix-4354
...
ensure manually modifying hosts adhears to license
2017-01-27 15:03:25 -05:00
Matthew Jones
bfda6ff8b5
Fix up some unit tests
2017-01-26 16:01:54 -05:00
Chris Meyers
fbebc58267
add tests for license add host duplicate or not logic
2017-01-26 15:16:33 -05:00
AlanCoding
be1b2b418c
Remove missing resource checks from nodes
2017-01-24 13:52:06 -05:00
AlanCoding
a93ad270f2
update workflow serializer fixture to use serializer instance
2017-01-13 14:44:58 -05:00
AlanCoding
147c8c0c14
update workflow DAG tests so nodes not in sideways state
2017-01-11 09:49:52 -05:00
AlanCoding
4e135bb406
add unit test to assure permission is checked
2017-01-04 14:46:23 -05:00
Chris Meyers
57cbf536dd
unit test update for network cred changes
...
* Ensure network ssh key file set as env variable and remove tests that
checked for ssh key being added to the keyring
* Ensure that network credentials are set in the job run environment as
well as saved to the job model.
2017-01-04 10:48:09 -05:00
Bill Nottingham
291dca0954
Merge pull request #4482 from wenottingham/dadgumit
...
Fix env var.
2016-12-19 11:40:55 -05:00
Bill Nottingham
9f48043574
Fix env var.
2016-12-16 12:21:41 -05:00
Chris Meyers
fc5b13f413
update notification sending tests
2016-12-16 11:40:35 -05:00
Chris Meyers
e69f6726d0
fix unit test
2016-12-15 09:31:58 -05:00
Matthew Jones
e1942083e3
Remove sneeringer's old unused decorator code
2016-12-12 16:14:22 -05:00
Chris Meyers
812b7c5f5f
fix two inv updates created from 1 jt run
2016-12-09 14:09:58 -05:00
Chris Meyers
cc7c2957cf
always chain failures
...
* When inv and proj updates trigger from a JT run, if either update
fails then the job template should get marked failed. Before this
commit, the job template would get marked failed ONLY if there was
enough capacity to run all the associated updates within the same
schedule() call. If, instead, the associated updates were ran in another
schedule() call, the failure chain was lost. This changeset fixes that
by saving the necessary data in the dependent_jobs relationship so that
the failure is always chained.
2016-12-09 14:09:54 -05:00
Aaron Tan
7af675b031
Merge pull request #4111 from jangsutsr/4086_provide_linkage_from_spawned_job_to_wfj
...
Provide linkage from spawned job to wfj
2016-12-01 21:59:47 -05:00
Aaron Tan
88bf975368
Pytest fixture adjustment.
2016-11-29 12:58:04 -05:00
Aaron Tan
a458bb3c89
Remove source_workflow_job and use workflow_job_id instead.
2016-11-29 11:55:04 -05:00
Aaron Tan
3e8e9480d1
Pytest fixture adjustment.
2016-11-25 22:28:52 -05:00
AlanCoding
dc3e744dda
change unit tests to work with JobTemplateMixin serializer
2016-11-23 16:06:23 -05:00
Chris Meyers
ebfa3b1891
Merge pull request #4062 from chrismeyersfsu/rebase_requirements
...
Rebase requirements
2016-11-22 22:58:00 -06:00
AlanCoding
8cd4ba0175
refactor of create_unified_job in connection with new copy endpoint development
2016-11-22 11:35:41 -05:00
AlanCoding
31a95e5c04
fix up tests from workflow copy work
2016-11-22 11:35:40 -05:00