Chris Meyers
203df91a5d
more robust test mode checking
2016-10-03 09:28:44 -04:00
Chris Church
b7a6aa01a3
Fixes to get flake8 and unit/functional tests passing.
2016-09-18 19:11:29 -04:00
Matthew Jones
f3a8eb9daf
Merge pull request #3509 from ansible/ha_installer
...
Improvements to the setup/installer to support new HA workflows
2016-09-16 15:53:38 -04:00
Matthew Jones
a4ec0739ea
Temporarily disable instance id gathering
...
During requests
2016-09-16 15:21:42 -04:00
Matthew Jones
3de4aae548
Fixing up HA induced flake8 issues
2016-09-15 13:51:17 -04:00
Matthew Jones
0c1e1fa2fb
Refactor Tower HA Instance logic and models
...
* Gut the HA middleware
* Purge concept of primary and secondary.
* UUID is not the primary host identifier, now it's based mostly on the
username. Some work probably still left to do to make sure this is
legit. Also removed unique constraint from the uuid field. This
might become the cluster ident now... or it may just deprecate
* No more secondary -> primary redirection
* Initial revision of /api/v1/ping
* Revise and gut tower-manage register_instance
* Rename awx/main/socket.py to awx/main/socket_queue.py to prevent
conflict with the "socket" module from python base
* Revist/gut the Instance manager... not sure if this manager is really
needed anymore
2016-09-08 13:37:53 -04:00
Akita Noek
6ea99583da
Mass active flag code removal
2016-03-15 09:29:55 -04:00
Chris Church
ab8e37eeaa
Minor fixes based on comments.
2016-02-03 13:18:49 -05:00
Chris Church
60224cdbe4
Update Django to 1.8 and DRF to 3.3, add new Django migrations, update serializers/pagination/metadata, update browsable API styling.
2016-02-02 17:48:04 -05:00
John Mitchell
32d1c0e4db
fixed copyright date
2015-06-11 16:10:23 -04:00
Matthew Jones
31d0342d41
More copyright headers for api side stuff
2015-05-29 12:10:40 -04:00
Matthew Jones
b3da3b34a3
Changing some legal headers for python source files
2015-05-29 12:10:39 -04:00
Matthew Jones
bb3732b2c1
Cleaning up some flake8 errors, pyflakes in this case
2015-02-10 17:00:23 -05:00
Chris Church
1faa2be3b4
Fix for active hosts count when running unit tests with SQLite.
2014-12-03 20:13:08 -05:00
Chris Church
fcf7398ec6
Add common code for determining active (licensed) hosts with unique names, update licensing code and inventory import to use it. Implements https://trello.com/c/2Q9Mosks
2014-12-03 19:41:01 -05:00
Luke Sneeringer
53234eb1ab
Return stub records in testing.
2014-10-20 08:05:29 -05:00
Luke Sneeringer
0e623f2337
Start of HA middleware.
2014-10-20 08:04:16 -05:00
Luke Sneeringer
1c11f43ea2
Thinking better of making the manager methods properties.
2014-10-20 08:04:16 -05:00
Luke Sneeringer
a9260db790
Adding an instance manager.
2014-10-20 08:04:16 -05:00