Chris Meyers
d886d07364
do not cache mongo read data on migration
2016-07-21 15:11:16 -04:00
Chris Meyers
5a9af010bf
fix label docs
2016-07-11 13:32:53 -04:00
Chris Meyers
735a75729f
Revert "fixes Save with update_fields did not affect any rows"
...
This reverts commit c6d282fce27d23317d2649ccf00b75799dad1a86.
This didn't fix the underlying issue. The issue is that the inventory
object may have been deleted by the time save is called.
2016-07-07 12:09:16 -04:00
Chris Meyers
1aca42ae93
fixes Save with update_fields did not affect any rows
2016-07-05 11:46:46 -04:00
Chris Meyers
ecaf2b86b0
flake8 fix
2016-06-30 15:34:48 -04:00
Chris Meyers
84e02a5dd2
fix unit tests and make delete last unattach more generic
2016-06-30 14:13:19 -04:00
Chris Meyers
a57dca9786
fix delete last label disassociate
...
* Inherit from mixin first in order to overwrite next inherited class
method, unattach.
* Also, fix up test and add test to ensure correct inheritance
2016-06-29 17:19:08 -04:00
Chris Meyers
0cb00c1554
add logging to system tracking migration
2016-06-28 16:02:33 -04:00
Chris Meyers
741ed4b904
allow members of an org to create labels for orgs that they are members of
2016-06-28 13:41:04 -04:00
Chris Meyers
fd4875818f
do not drop mongo after migration
2016-06-22 16:06:47 -04:00
Chris Meyers
b2dd7990c2
fixes openstack functools failure for py2.6
2016-06-22 15:39:25 -04:00
chris meyers
f9ffe6d52e
move factory fixture
...
* Move factory fixture back one directory so unit tests can now take
advantage of them; while still allowing functional tests to use them
2016-06-08 09:24:49 -04:00
Chris Meyers
f9d0c74bbc
fix supervisord issue
...
* exec spawned python process so we don't have grandparents
* increase time until supervisord is killed
2016-05-13 15:41:46 -04:00
Chris Meyers
fbca7e70f1
optimize transformation
2016-05-12 14:16:39 -04:00
Chris Meyers
4096583b47
has no one been runnning py.test ?
2016-05-12 09:21:13 -04:00
Chris Meyers
358bc31450
remove metric
2016-05-10 14:18:05 -04:00
Chris Meyers
ae73be12f1
remove statsd
2016-05-10 11:56:04 -04:00
Chris Meyers
1ab761b7b7
test updates and httpd role fix
2016-05-09 09:17:58 -04:00
Chris Meyers
3ebddbdc58
flake8 fix
2016-05-05 14:16:03 -04:00
Chris Meyers
8b1c5d80dc
install postgres for the customer
2016-05-04 12:11:21 -04:00
Chris Meyers
b18dd8fe21
fixes hanging chads, if chads were ansible
2016-04-29 15:55:32 -04:00
Chris Meyers
e449237d8a
move delete last unattach mixin to job template sublabel
2016-04-27 12:07:57 -04:00
Chris Meyers
1925742da1
delete orphaned labels when jt or j deleted
2016-04-27 09:46:34 -04:00
Chris Meyers
2f18a9f2c1
delete label on last disassociate
2016-04-25 17:20:07 -04:00
Chris Meyers
16744e6b78
added missed job template label relationship
2016-04-25 09:46:54 -04:00
Chris Meyers
396848e97a
labels on unified jobs
2016-04-22 12:32:30 -04:00
Chris Meyers
b8a22c2c17
order tags alphabetically
2016-04-22 10:53:22 -04:00
Chris Meyers
de1681663d
fix flake8 and spelling
2016-04-14 08:55:56 -04:00
Chris Meyers
043f97fe35
fixes config endpoint performance issue
2016-04-13 17:28:38 -04:00
Chris Meyers
c8010fc0ce
use new timestamp logic in tests
2016-04-13 09:41:28 -04:00
Chris Meyers
e7d68409f7
fix scan job timestamp
2016-04-12 17:07:11 -04:00
Chris Meyers
0d0115ef5e
include migration
2016-04-12 10:23:43 -04:00
Chris Meyers
5bf83e8b64
cascade delete labels
2016-04-11 16:02:42 -04:00
Chris Meyers
708817c489
remove active filter attribute
2016-04-07 09:52:51 -04:00
Chris Meyers
01d323fd06
fix dev container pip init process
2016-04-06 14:28:34 -04:00
Chris Meyers
e7e6877b8e
effectively, list job_templates without projects
...
* For super users only
* This includes scan jobs & orphaned job templates
2016-04-06 10:36:14 -04:00
Chris Meyers
d69b9fad8f
fix rbac label assignment across orgs
...
* Org admins should not be able to attach labels to orgs for which they
are not also org admins for.
2016-04-05 16:03:46 -04:00
Chris Meyers
68c14976db
label cleanup periodic job
2016-04-05 15:25:01 -04:00
Chris Meyers
fa6f5329cf
labels + rbac + tests
2016-04-04 17:20:58 -04:00
Chris Meyers
eb2550bc7c
rbac active removal test cases fixes
2016-04-04 10:23:21 -04:00
Chris Meyers
0be8be6954
rbac active removal test cases fixes
2016-04-04 09:59:26 -04:00
Chris Meyers
cdcf81cffa
rbac active removal test cases fixes
2016-04-04 09:56:36 -04:00
Chris Meyers
4882bef180
fix job templates endpoint rbacism update
2016-04-01 15:13:46 -04:00
Chris Meyers
ff5935ccfd
Merge branch 'test-labels' into devel
2016-04-01 13:36:41 -04:00
Chris Meyers
a01b2913bb
mockity mock mock
2016-04-01 13:34:06 -04:00
Chris Meyers
8866f2a738
adds labels to jt and j summary fields
2016-03-28 13:39:00 -04:00
Chris Meyers
323b13f18c
add labels to /api/v1/
2016-03-28 13:33:55 -04:00
Chris Meyers
d2de21ee50
job template labels init implementation
2016-03-24 15:26:14 -04:00
Chris Meyers
0f99dbe1d2
fixes MONGO_HOST not found error
2016-03-18 10:56:00 -04:00
Chris Meyers
c5eae5de41
Merge pull request #1213 from ansible/revert-1208-mongoectomy_packaging
...
Revert "remove mongo as packaging req"
2016-03-10 12:02:25 -05:00
Chris Meyers
0006a6847c
Merge pull request #1208 from chrismeyersfsu/mongoectomy_packaging
...
remove mongo as packaging req
2016-03-10 11:39:15 -05:00
Chris Meyers
ca6e6e06e9
Merge pull request #1193 from chrismeyersfsu/mongoectomy_migration
...
migrate data from mongo to postgres
2016-03-10 11:06:39 -05:00
Chris Meyers
3fde9050a4
Merge pull request #1204 from chrismeyersfsu/fix-remove_mongo
...
remove the starting of mongo
2016-03-10 07:34:37 -05:00
Chris Meyers
cf1a78866c
flake8
2016-03-09 16:51:52 -05:00
Chris Meyers
259d4ec47b
flake8
2016-03-09 16:48:42 -05:00
Chris Meyers
4ff16548b6
drop mongo database when complete
2016-03-09 15:53:07 -05:00
Chris Meyers
3d963d540f
remove the starting of mongo
2016-03-09 15:40:09 -05:00
Chris Meyers
2e86c58a65
remove mongo fact tests
2016-03-09 15:25:58 -05:00
Chris Meyers
bc6eaeb0a9
migrate data from mongo to postgres
2016-03-09 15:25:57 -05:00
Chris Meyers
220d4c635e
fix fact cache receiver
2016-03-09 14:41:54 -05:00
Chris Meyers
5759db1229
flake8 fix
2016-03-04 14:14:10 -05:00
Chris Meyers
29e0652bfc
Merge pull request #1117 from chrismeyersfsu/fix-fact_cache_receiver
...
find correct fact to update
2016-03-04 11:51:40 -05:00
Chris Meyers
451a633b3f
Merge pull request #1115 from chrismeyersfsu/fix-mongo_off
...
do not require mongo to be on
2016-03-04 11:44:37 -05:00
Chris Meyers
7494b13704
find correct fact to update
...
* The fact cache receiver needs to look for an exact match, rather than
* a relative, most recent fact.
2016-03-04 11:41:08 -05:00
Chris Meyers
2d2940fabc
Merge pull request #1109 from chrismeyersfsu/fix-system_tracking_unit_tests
...
mock system tracking feature enabled
2016-03-04 11:15:10 -05:00
Chris Meyers
d56dc25314
do not require mongo to be on
2016-03-04 10:52:12 -05:00
Chris Meyers
cfeae51254
deny endpoint access to system tracking feature based on license
2016-03-04 10:14:13 -05:00
Chris Meyers
09c5a189ed
remove forgotten print
2016-03-04 07:56:29 -05:00
Chris Meyers
48d3aa2bc1
bump boto
2016-03-03 17:17:55 -05:00
Chris Meyers
569dd83ff6
mock system tracking feature enabled
2016-03-03 13:53:25 -05:00
Chris Meyers
44618d4956
flake8 fix
2016-03-03 11:45:40 -05:00
Chris Meyers
88bf44bfcb
Update requirements_jenkins.txt
2016-03-03 11:10:43 -05:00
Chris Meyers
60484267e7
Merge pull request #1088 from chrismeyersfsu/mongoectomy_cleanup
...
postgres fact cleanup
2016-03-03 08:31:43 -05:00
Chris Meyers
b0d228579a
add test case to verify delete logic
2016-03-02 12:57:52 -05:00
Chris Meyers
9d24236632
pin pyflakes to allow flake8 to succeed
...
* flake8 monkeypatches pyflakes to add codes to linting results. It
would seem that pyflakes 1.1.0 adds more checks but flake8 doesn't
monkeypatch to expose them. I've submitted a PR to add error code 405 to
be able to express that we ignore it in our setup.cfg
https://gitlab.com/pycqa/flake8/merge_requests/56
2016-03-02 09:30:52 -05:00
Chris Meyers
4fc7fea2b8
follow up and finish option request test
2016-03-01 17:28:29 -05:00
Chris Meyers
4b56ea3d07
postgres fact cleanup
2016-03-01 16:57:22 -05:00
Chris Meyers
88865a2203
flake8 fix
2016-03-01 16:57:00 -05:00
Chris Meyers
67d1aa6c86
migration with correct help_text
2016-03-01 10:39:51 -05:00
Chris Meyers
b5d8aa52c9
get accepts data param, use it
2016-03-01 10:08:08 -05:00
Chris Meyers
5340af2335
updated api tests to use new get fixture format
2016-03-01 09:48:58 -05:00
Chris Meyers
f6fa11e383
fix Fact migration
2016-03-01 09:16:48 -05:00
Chris Meyers
356b9c99b3
Merge branch 'mongoectomy_implementation' into devel
2016-03-01 08:22:40 -05:00
Chris Meyers
7ffe46fc74
add postgres Fact model, update views, tests
...
* awx.main.models Fact added
* view host fact and timeline updated to use new Postgres Fact model instead of Mongo
* Removed license set start Mongo logic
* added View tests
* added Model tests
* Removed mongo fact unit tests
* point at modified jsonbfield that supports sqlite storage driver
* postgresify fact cache receiver
* test OPTIONS endpoint
* Note: single fact view not implemented yet.
2016-02-24 14:38:54 -05:00
Chris Meyers
c2d2c57aad
add newer version of proot
...
Use proot version that is used in production (5.1.0). Solves the ansible-playbook 2.0 symlink issue we see in our container when launching jobs.
2016-02-24 08:58:41 -05:00
Chris Meyers
62d0e8f6a5
Update Dockerfile
...
Add dateutils python package for `private/license_writer.py` to succeed
2016-02-24 08:52:16 -05:00
Chris Meyers
cad54a43a1
Merge pull request #1001 from chrismeyersfsu/fix-options_choices
...
bring back meta choice options lost in upgrade
2016-02-23 13:55:53 -05:00
Chris Meyers
61fd645d25
Revert "add error to requirements.txt for jenkins testing"
...
This reverts commit b1543763a4c195c857ec82bda058e06a0becf816.
2016-02-23 12:49:28 -05:00
Chris Meyers
3535cf3b08
add error to requirements.txt for jenkins testing
2016-02-23 12:35:54 -05:00
Chris Meyers
3013bcbebb
remove duplicate shade
2016-02-23 12:27:51 -05:00
Chris Meyers
244d1ac73d
keystone dep fix
2016-02-23 11:47:26 -05:00
Chris Meyers
1915347aff
fix req
2016-02-23 10:32:39 -05:00
Chris Meyers
d70615efbd
bring back meta choice options lost in upgrade
...
* status and launch_type OPTIONS choices were lost in the django + drf
upgrade. This brings them back.
2016-02-22 12:58:35 -05:00
Chris Meyers
6434171977
add -y to ansible ppa adding
2016-02-16 13:51:16 -05:00
Chris Meyers
56b0da30f1
adds fact model
2016-02-15 15:39:22 -05:00
Chris Meyers
7b07bb7d93
fix bad mocking
2016-02-01 16:02:52 -05:00
Chris Meyers
e793a179fd
Merge pull request #763 from chrismeyersfsu/openstack_#685
...
point at packages with source on pypi
2016-02-01 12:19:14 -05:00
Chris Meyers
306d0d401a
point at packages with source on pypi
...
* --target doesn't use wheels. Some packages only have wheel. Bump back
the package versions that have source in them, but not too far back such
that the interfaces change. It's a balancing act.
2016-02-01 12:16:26 -05:00
Chris Meyers
53f07fff08
Merge pull request #754 from chrismeyersfsu/openstack_#685
...
requests needs openssl
2016-01-29 16:26:15 -05:00
Chris Meyers
7d73cb1bcf
requests needs openssl
2016-01-29 16:25:37 -05:00