Commit Graph

2981 Commits

Author SHA1 Message Date
Chris Church
eabc497f46 Merge pull request #4084 from cchurch/hide-settings-based-on-licensed-features
Hide settings based on whether features are enabled in the license
2016-11-22 14:50:47 -05:00
Chris Church
0b76546ea6 Merge pull request #4080 from cchurch/event-stdout-max-bytes-display
Add configurable limit to size of stdout shown for a single job event
2016-11-22 14:50:38 -05:00
Matthew Jones
e725b16cd9 Change job-run project refresh launch type to "sync" 2016-11-22 09:33:25 -05:00
Matthew Jones
5df4096660 Make websocket events more informative
* Make sure we always populate workflow information when relevant to
  job status changes.
* Include detail about workflow job node
2016-11-22 09:33:25 -05:00
Alan Rominger
dd1d911775 Merge pull request #4022 from AlanCoding/workflow_copy_relaunch
Workflow copy and relaunch
2016-11-22 11:50:51 -05:00
Alan Rominger
69f1e2d24c Merge pull request #3679 from AlanCoding/3677
Fixes for manual groups/projects
2016-11-22 11:46:34 -05:00
AlanCoding
8cd4ba0175 refactor of create_unified_job in connection with new copy endpoint development 2016-11-22 11:35:41 -05:00
AlanCoding
a39af2a7fd update to consistent copy naming with UI 2016-11-22 11:35:41 -05:00
AlanCoding
4a992e531a copy organization when copying a WFJT 2016-11-22 11:35:40 -05:00
AlanCoding
31a95e5c04 fix up tests from workflow copy work 2016-11-22 11:35:40 -05:00
AlanCoding
8cda12c020 add workflow relaunch 2016-11-22 11:35:40 -05:00
AlanCoding
14ce50c845 implement copying of WFJT objects 2016-11-22 11:35:01 -05:00
Alan Rominger
266d29936d Merge pull request #3985 from AlanCoding/auditor_optimization
System auditor optimization via cache
2016-11-22 11:19:23 -05:00
Aaron Tan
16c0bc29a5 Merge pull request #4094 from jangsutsr/4078_hookup_activity_stream_with_workflow
Hook up activity stream with workflow
2016-11-22 10:29:27 -05:00
Matthew Jones
ddaf4ff2d0 Merge branch 'fix_fact_caching' into devel
* fix_fact_caching:
  Convert the fact data structure to the right type
  Fixing up fact cachine related unit tests
  Port fact caching system to rabbitmq
2016-11-21 23:15:13 -05:00
Matthew Jones
ccd284526d Fix serializer related unit tests 2016-11-21 23:11:12 -05:00
Chris Meyers
ddd41e77be fixes fact jsonbfield for unit tests 2016-11-21 17:25:18 -05:00
Aaron Tan
1c36462b1b Hook up activity stream with workflow. 2016-11-21 16:55:34 -05:00
Chris Meyers
1a96b66f00 update inventory field, name, not unique 2016-11-21 14:42:11 -05:00
Chris Meyers
01ec443380 inventory is unique on <name, org>
* was unique on name because we were inheriting from a Model that had it
defined as such. Thus our expression of uniqueness in the Inventory
Model was meaningless.
2016-11-21 14:34:17 -05:00
Chris Church
5b1df83fcc Add support for hiding settings based on whether features are enabled in the license. 2016-11-21 14:15:41 -05:00
Matthew Jones
9d044c1f41 Store the job's project refresh if it happened
* Create a field on the job to track this
* Add a summarizeable model to the summarizable fk fields so we can
  pull that in where needed
2016-11-21 14:11:20 -05:00
Matthew Jones
c6ebdb9b26 Switch to using callback queue by default
* Fix an issue where we grab the wrong setting for the callback
  connection
* Remove old ansible.cfg that we shipped with the setup playbook for
  centos 6
2016-11-21 13:26:32 -05:00
Chris Church
b9eb619697 Add configurable limit to size of stdout shown for a single job event in list view. 2016-11-21 11:30:11 -05:00
AlanCoding
fe6e928480 Fix test naming conflict 2016-11-20 20:06:32 -05:00
AlanCoding
fa766c3657 update old test to new scheme 2016-11-19 11:56:11 -05:00
AlanCoding
fc72aafeb8 introduce caching for is_system_auditor method 2016-11-19 11:54:06 -05:00
AlanCoding
42cf74b085 block user from shooting themselves in the foot by scheduling a manual project 2016-11-19 11:48:28 -05:00
AlanCoding
48c155dfb0 schedule capability set to False for manual groups 2016-11-19 11:48:28 -05:00
AlanCoding
c717bf090d update workflow unit tests to new launch_type addition 2016-11-19 10:55:48 -05:00
Matthew Jones
cb82809f10 Merge pull request #3935 from jladdjr/at-3532-typo
Minor typo fix (pointing workflow node template at unsupported unified job template)
2016-11-18 15:45:34 -05:00
Chris Meyers
b6b1f4205c flake8 fixes 2016-11-18 14:49:31 -05:00
Wayne Witzel III
25915eb55a Merge pull request #4039 from wwitzel3/workflow-channels
Workflow Event Channels Integration
2016-11-18 14:41:40 -05:00
Alan Rominger
a192077be4 Merge pull request #4025 from AlanCoding/text_type
Change JSONField to be a DB text type
2016-11-18 11:50:13 -05:00
Chris Meyers
ba6ab6f746 forgot to add new fixtures for jsonbfield fact 2016-11-18 11:37:06 -05:00
Chris Meyers
4a1a3bd1e8 do not coerce jsonbfield to string in db
* functional tests do coerce because they assume they are running on
sqlite
2016-11-18 11:29:42 -05:00
Matthew Jones
35b9786e06 Fixing up fact cachine related unit tests 2016-11-18 10:23:07 -05:00
Matthew Jones
3b07d9745d Port fact caching system to rabbitmq
* Purge all references to zmq also
* New setting to control the queue it works on
2016-11-18 09:44:17 -05:00
Wayne Witzel III
d882a14d87 fix group_name for workflow_events 2016-11-17 17:22:31 -05:00
Wayne Witzel III
cd084f5c60 removed JobEventSerializer additions, consolidated migrations, swapped job_events and jobs channel updates 2016-11-17 17:03:41 -05:00
Wayne Witzel III
62d0b9fc98 Merge branch 'devel' into workflow-channels 2016-11-17 16:22:52 -05:00
Chris Church
dcbf91fc4a Merge pull request #4051 from cchurch/no-more-gibberish
Add multiprocessing RLock around job event data output
2016-11-17 15:37:58 -05:00
Chris Meyers
ef0df1fefd more j -> workflow_job renaming 2016-11-17 10:51:06 -05:00
Chris Church
1db697e4eb Add multiprocessing RLock around event data output to ensure only one process is writing to stdout at a time. 2016-11-17 09:09:19 -05:00
Aaron Tan
344a522f3e Merge pull request #4028 from jangsutsr/3976_update_workflow_job_foreign_key_related_name
Update workflow job foreign key related_name.
2016-11-16 12:44:21 -05:00
Wayne Witzel III
9dda4d452f renamed Workflow channel migration 2016-11-16 11:02:35 -05:00
Wayne Witzel III
34439fed9d Merge branch 'devel' into workflow-channels 2016-11-16 11:01:10 -05:00
Aaron Tan
2d1a5425d1 Fix flake8 E302 errors second round. 2016-11-16 09:56:07 -05:00
Wayne Witzel III
6d14af336c added Workflow migrations for channels integrations 2016-11-16 09:51:31 -05:00
Aaron Tan
9e4655419e Fix flake8 E302 errors. 2016-11-15 20:59:39 -05:00