Commit graph

352 commits

Author SHA1 Message Date
Volkan Şahin
46047ac43b finding pid and killing process abilities were extended 2016-06-09 12:12:30 +03:00
Volkan Şahin
3b9c5fa097 some abilities of installation package were added 2016-06-09 12:11:24 +03:00
Volkan Şahin
944498af3d some features blocked because of dependency management problems 2016-06-08 14:52:37 +03:00
Volkan Şahin
9e2fbac6a5 already running problem fixed when call status 2016-06-08 14:43:51 +03:00
Volkan Şahin
6fb7f89e87 pid file isolated from event and events rw processes is running with thread safe. stop restart commands fixed. status and send commands added. and minor fixings... 2016-06-06 12:27:46 +03:00
Volkan Şahin
ecfeadd424 task parameters problem fixed and added checking response existing 2016-06-06 12:25:08 +03:00
Volkan Şahin
6a3957401e base enums added to abstract plugin 2016-06-06 12:23:27 +03:00
Volkan Şahin
edcc058f74 multi registration request problem fixed 2016-06-06 12:22:44 +03:00
Volkan Şahin
d5dec0f374 base ahenk informations and parameters served over system.py 2016-06-06 12:22:00 +03:00
Volkan Şahin
75d97dfc9f minor fixing 2016-06-06 12:20:31 +03:00
Volkan Şahin
bc82870f2b util execute command returns formatted byte to string 2016-05-31 12:24:14 +03:00
Volkan Şahin
22f11cfc3f util fixes 2016-05-26 17:24:29 +03:00
Volkan Şahin
40bf1c3666 minor fix for execution result 2016-05-26 17:00:42 +03:00
Volkan Şahin
c0f1772eb6 abstract plugin fixes 2016-05-26 11:20:33 +03:00
Volkan Şahin
060ac2c5c8 minor log fixes 2016-05-26 11:19:34 +03:00
Volkan Şahin
1bcf949782 ahenk clean command was added- you can clean ahenk db and conf parameters with this command: sudo python3 ahenkd.py clean 2016-05-25 17:53:52 +03:00
Volkan Şahin
b81d9b079b abstract classes merged 2016-05-25 17:11:37 +03:00
Volkan Şahin
63b28cefe5 basic utils were added 2016-05-25 17:10:27 +03:00
Volkan Şahin
966e17f241 format of registration parameters fixed 2016-05-19 16:14:55 +03:00
Volkan Şahin
37ec0551a9 mac addresses and ip addresses format validation, new info serving about processor 2016-05-18 15:18:14 +03:00
Volkan Şahin
c72785c53a registration message label fixed 2016-05-18 14:55:52 +03:00
Volkan Şahin
31be137602 minor fixing 2016-05-17 17:29:13 +03:00
Volkan Şahin
0c2f6892ab Context was extended about execute script 2016-05-17 17:28:50 +03:00
Volkan Şahin
014dd0f468 xmpp reconnection 2016-05-17 17:27:51 +03:00
Volkan Şahin
36244b3723 ahenk is running if there is no plugin 2016-05-17 12:32:48 +03:00
Volkan Şahin
7d829bef7d plugin installation process was managed about possible exceptions 2016-05-17 12:31:38 +03:00
Volkan Şahin
7d22232c1c file transfer via ssh was fixed about exception throwing 2016-05-17 12:29:51 +03:00
Volkan Şahin
bff63ae806 registration parameters were updated 2016-05-17 12:28:17 +03:00
Volkan Şahin
1979d4815e ip addresses formatted 2016-05-16 17:28:58 +03:00
Volkan Şahin
114a44c223 mac addresses added to system 2016-05-16 17:27:51 +03:00
Volkan Şahin
ec730ab5ce created system information service 2016-05-12 17:36:43 +03:00
Volkan Şahin
d0b2e62b8d retrive file ahenk to lider via selected protocol was implemented 2016-05-12 17:35:47 +03:00
Volkan Şahin
518acdc784 plugin managers were merged 2016-05-12 17:34:21 +03:00
Volkan Şahin
a30213bf51 registration parameters were extended 2016-05-12 17:33:33 +03:00
Volkan Şahin
046ebe426b log fixed 2016-05-09 17:54:06 +03:00
Volkan Şahin
07b22e66a5 plugin_manager merged 2016-05-09 17:50:39 +03:00
Volkan Şahin
d9f24b877f safe mode enabled for logout 2016-05-09 17:50:12 +03:00
Volkan Şahin
d3b621baac sample plugins 2016-05-09 15:06:28 +03:00
Volkan Şahin
5cf615d1b2 merging 2016-05-09 14:14:33 +03:00
Volkan Şahin
5310354aaf response message was opened 2016-05-09 14:13:41 +03:00
Volkan Şahin
b857e5d15d download file via http way was changed 2016-05-09 14:12:33 +03:00
Volkan Şahin
e124b3039f Update TaskManager.py 2016-05-06 17:30:39 +03:00
Volkan Şahin
e9446d8802 pyc files 2016-05-06 16:48:23 +03:00
Volkan Şahin
9f9f16e5d5 task columns were reviewed 2016-05-06 16:44:21 +03:00
Volkan Şahin
80579a1875 registration parameters were extended 2016-05-06 16:43:18 +03:00
Volkan Şahin
daa078c90d missing plugin message created 2016-05-06 16:42:21 +03:00
Volkan Şahin
95abee215d ping ability was added and logs reviewed 2016-05-06 16:41:19 +03:00
Volkan Şahin
f167d9c8c3 installing missing plugins on running ahenk 2016-05-06 16:40:06 +03:00
Volkan Şahin
46fbff6144 file transfer via ssh 2016-05-06 16:36:50 +03:00
Volkan Şahin
a2676abea4 file transfer via ssh 2016-05-06 16:35:45 +03:00
Volkan Şahin
a8d8aafd46 logs were added, login message created, xmpp reconnection was added 2016-05-06 16:34:58 +03:00
Volkan Şahin
965ba8da2c minor fixes 2016-04-25 17:12:45 +03:00
Volkan Şahin
ffa0c32b61 anonymous connection fixed 2016-04-25 17:07:03 +03:00
Volkan Şahin
414ac032bf kill self process 2016-04-25 16:41:22 +03:00
Volkan Şahin
9ffd543cfb log level changed 2016-04-25 16:36:54 +03:00
Volkan Şahin
9dfbbcf5fc Merge branch 'master' of https://github.com/Pardus-Kurumsal/ahenk 2016-04-20 18:06:53 +03:00
Volkan Şahin
7a2cb4cb78 init added 2016-04-20 18:06:36 +03:00
Volkan Şahin
59cae7567f file transfer via sftp added 2016-04-20 18:06:12 +03:00
Volkan Şahin
5e5b446f6b import fixed about enum 2016-04-20 18:05:05 +03:00
Volkan Şahin
23e0d605de enum classes restored 2016-04-20 18:04:08 +03:00
Volkan Şahin
9886080f81 messager parameters fixed 2016-04-20 18:02:45 +03:00
Volkan Şahin
e6cea55d4b import fixed 2016-04-20 18:02:03 +03:00
İsmail Başaran
ff54ec11e4 safe mode 2016-04-20 16:30:29 +03:00
Volkan Şahin
dcf214ad8a bug fixes 2016-04-16 23:59:54 +03:00
Volkan Şahin
5ec5598177 bug fixes 2016-04-13 23:00:34 +03:00
Volkan Şahin
e25d8f6c5c netiface module dependency is removed 2016-04-13 15:24:15 +03:00
Volkan Şahin
c753082d77 file transfer fixed 2016-04-13 14:20:01 +03:00
Volkan Şahin
429b51b84e imports fixed 2016-04-13 11:55:45 +03:00
Volkan Şahin
b8bfdfa153 bug fixes about file transfering due to using asyncio 2016-04-13 11:55:26 +03:00
Volkan Şahin
0e57c1be1f execution manager fixed about new columns 2016-04-12 17:32:40 +03:00
Volkan Şahin
3e1342b1d9 creating response message fixed 2016-04-12 17:31:38 +03:00
Volkan Şahin
aabb6c51c6 response message format fixed 2016-04-12 17:30:53 +03:00
Volkan Şahin
9cc063f2bc db columns fixed 2016-04-12 17:29:56 +03:00
Volkan Şahin
c37a936b53 model fixes 2016-04-12 17:28:21 +03:00
Volkan Şahin
5816e91bea debugs fixes 2016-04-12 17:27:29 +03:00
Volkan Şahin
737c877894 task process fixed about according to TaskBean 2016-04-11 19:32:05 +03:00
Volkan Şahin
773975bf17 response message fixed according to lider 2016-04-11 19:31:07 +03:00
Volkan Şahin
a8bc4b60f8 event registerer parameter fixed about enum values 2016-04-11 19:30:19 +03:00
Volkan Şahin
b8960de1dd PEP8 standarts 2016-04-11 19:27:26 +03:00
Volkan Şahin
e917e5023f model classes fixed about json issues 2016-04-11 19:26:49 +03:00
Volkan Şahin
b51646f053 new Task model added for sync task with db 2016-04-11 19:26:15 +03:00
Volkan Şahin
beafbc0b0d py files removed about browser plugin 2016-04-11 19:25:35 +03:00
Volkan Şahin
f80d785301 minor bug fixes 2016-04-08 18:43:06 +03:00
Volkan Şahin
85395033d4 registartion process fixed 2016-04-08 15:54:26 +03:00
Volkan Şahin
77455de1dd bug fixes about parameters 2016-04-07 19:18:22 +03:00
Volkan Şahin
dfd1d9b9cc Merge branch 'master' of https://github.com/Pardus-Kurumsal/ahenk 2016-04-06 18:27:47 +03:00
Volkan Şahin
86f681fbac parameters fixed about lider-ahenk messaging format 2016-04-06 18:26:01 +03:00
İsmail Başaran
bdcc764471 created factory for plugin manafer 2016-04-06 17:40:25 +03:00
Volkan Şahin
94d00c420c Merge branch 'master' of https://github.com/Pardus-Kurumsal/ahenk 2016-04-06 14:28:38 +03:00
Volkan Şahin
0b0ea90d3d getting current policies from db 2016-04-06 14:28:29 +03:00
Volkan Şahin
76050d7284 new model classes were added 2016-04-06 14:27:45 +03:00
Volkan Şahin
e404cbdd19 profile and plugin db tables schemas were updated 2016-04-06 14:23:40 +03:00
İsmail Başaran
a341deefee added remove schedule job via task id method 2016-04-05 19:12:40 +03:00
İsmail Başaran
a68ea26f79 updated task manager added function for checking scheduler jobs 2016-04-05 18:47:05 +03:00
İsmail Başaran
e35f538387 Task message init None check 2016-04-05 17:57:35 +03:00
İsmail Başaran
30689c31ad import statement bugfix 2016-04-05 17:56:54 +03:00
İsmail Başaran
85a9bcd5a1 ahenk service init methots 2016-04-05 17:55:15 +03:00
İsmail Başaran
44891af172 scheduler db 2016-04-05 17:28:22 +03:00
İsmail Başaran
61cac2b507 added json fields to task obj 2016-04-05 15:23:20 +03:00
İsmail Başaran
75ce3d84fa custom scheduler impl 2016-04-05 14:30:12 +03:00
Volkan Şahin
f07868f46c added content type 2016-04-04 18:16:02 +03:00
Volkan Şahin
75d818b6a1 get active policies from db and process them 2016-04-04 18:15:18 +03:00
Volkan Şahin
550cad1804 browser plugin implemented user-ahenk 2016-04-04 18:12:19 +03:00
Volkan Şahin
3f856b9dc1 browser plugin user profile 2016-04-03 01:41:10 +03:00
Volkan Şahin
d3ee9ff739 message formats were fixed 2016-04-03 00:58:33 +03:00
Volkan Şahin
7a5271876c browser plugin created 2016-04-01 14:58:24 +03:00
Volkan Şahin
e3c16ea289 Merge branch 'master' of https://github.com/Pardus-Kurumsal/ahenk 2016-04-01 14:57:22 +03:00
Volkan Şahin
2729daa0c2 browser plugin created 2016-04-01 14:57:06 +03:00
İsmail Başaran
c96fe5d251 initial scheduler impl 2016-04-01 14:11:48 +03:00
Volkan Şahin
80079685b5 minor bug fixes 2016-03-31 18:22:25 +03:00
Volkan Şahin
dca5a2d720 response message create-send 2016-03-30 18:51:50 +03:00
Volkan Şahin
a282695c10 conflict merging 2016-03-30 17:37:02 +03:00
Volkan Şahin
84f9d4c32d response model and minor bug fixes 2016-03-30 17:34:10 +03:00
İsmail Başaran
9b63aff8ab created initial context obj for handling task and policy 2016-03-30 17:12:38 +03:00
İsmail Başaran
fdb095cf7c Kill signal for reload plugins 2016-03-30 17:11:47 +03:00
İsmail Başaran
721096b114 Moved register event types to enumaration 2016-03-30 10:51:32 +03:00
İsmail Başaran
f82e7c4f02 event base docstring. response queue exception handling fix 2016-03-30 10:43:38 +03:00
Volkan Şahin
cff628e5df conflict merging 2016-03-29 16:31:49 +03:00
Volkan Şahin
3add386a49 requesting policies on logining - interpreting policy response and handle exiting ahenk 2016-03-29 16:11:39 +03:00
Volkan Şahin
7a236423dd db fixes 2016-03-29 15:29:49 +03:00
İsmail Başaran
5d905432ad implemented policy process 2016-03-29 11:52:18 +03:00
İsmail Başaran
eba656d8ae Execution manager policy type name fixed 2016-03-29 11:09:22 +03:00
Volkan Şahin
fedc9cbd2c bug fixes and check plugin exists 2016-03-25 17:56:15 +02:00
İsmail Başaran
cea2afccc6 changed messge recv type attr to message_type 2016-03-24 18:35:43 +02:00
Volkan Şahin
510b15f1df message case sensitive fixed 2016-03-24 17:55:23 +02:00
Volkan Şahin
35ca11b2e8 minor bugs were fixed 2016-03-23 17:34:12 +02:00
Volkan Şahin
65f4b757ea PEP8 Standard -> https://www.python.org/dev/peps/pep-0008/ 2016-03-23 17:15:27 +02:00
Volkan Şahin
7721e763e7 registration conf section way was replaced to database. some db operations were updated according to dbservice new feature 2016-03-23 16:41:54 +02:00
Volkan Şahin
e501afad33 new feature added(returning single element) to db service and some minor bug fixes 2016-03-23 16:39:39 +02:00
İsmail Başaran
9790371289 bug fix 2016-03-23 10:04:31 +02:00
Volkan Şahin
104530c62b handling events with parameters while running main ahenk process.Sending login-logout messages according to handled events 2016-03-22 16:43:47 +02:00
Volkan Şahin
91b752d97e Message Sender removed because of using single Messager 2016-03-22 16:33:54 +02:00
Volkan Şahin
c003ba5305 receiving task and save to DB 2016-03-21 12:02:15 +02:00
Volkan Şahin
171b0320ee toString and toJson added to model classes 2016-03-21 12:00:45 +02:00
Volkan Şahin
98c02648f8 ahenk start process was fixed depends to previous commits(merging messaging) 2016-03-18 18:45:06 +02:00
Volkan Şahin
bfeb41c1e1 fixes about merging message receiver-sender and new enities 2016-03-18 18:42:36 +02:00
Volkan Şahin
8fabf0d47b table initializing and dbservice minor fixes 2016-03-18 18:40:44 +02:00
Volkan Şahin
28967bd639 messager added to scope 2016-03-18 18:38:33 +02:00
Volkan Şahin
ea22c48c83 Message sender and message receiver merged 2016-03-18 18:37:58 +02:00
Volkan Şahin
1d733e0587 policy,profile and task entities were fixed 2016-03-18 18:20:14 +02:00
Volkan Şahin
77bce1f98f policy request and response handler implemented, dbmservice minor bugs were fixed 2016-03-17 17:55:27 +02:00
Volkan Şahin
656c6aab36 created policy structure 2016-03-16 17:26:25 +02:00
Volkan Şahin
fb16ab2e4f db service bug fixes 2016-03-16 10:40:17 +02:00
Volkan Şahin
4008aae6e6 minor bug fixes 2016-03-14 17:42:17 +02:00
Volkan Şahin
885be4972d merging 2016-03-14 17:19:05 +02:00
Volkan Şahin
4abb84a270 adding new task to task list 2016-03-14 17:16:26 +02:00
İsmail Başaran
683294f808 Merge branch 'master' of github.com:Pardus-Kurumsal/ahenk 2016-03-14 13:44:05 +02:00
Volkan Şahin
78b8d6d870 logger fixes 2016-03-14 12:05:12 +02:00
İsmail Başaran
66dfb8e5fc added db service 2016-03-14 10:58:18 +02:00
İsmail Başaran
240ab35292 created message type 2016-03-14 10:55:28 +02:00
Volkan Şahin
352073b3f8 logs were added, anonymous connection problem fixed 2016-03-11 17:51:26 +02:00
Volkan Şahin
8f81512560 new json messages created 2016-03-11 17:39:32 +02:00
Volkan Şahin
c55432b6c8 logs were added and some bugs were fixed 2016-03-11 17:37:38 +02:00
Volkan Şahin
8eac2d6615 implemented execution manager for lider events 2016-03-11 17:36:11 +02:00
Volkan Şahin
0644a12548 execution manager added to scope 2016-03-11 17:33:22 +02:00
Volkan Şahin
077b57a095 ldap registration added 2016-03-10 09:53:51 +02:00
Volkan Şahin
7ef39c3fd3 receiver and sender fixed for file transfering 2016-03-10 09:53:07 +02:00
Volkan Şahin
eb4ee5009b execution manager implementing 2016-03-10 09:48:33 +02:00
Volkan Şahin
b6b5e53740 process were extended 2016-03-08 18:09:26 +02:00
Volkan Şahin
3752a968ac parameters are fixed according to lider 2016-03-08 18:09:02 +02:00
Volkan Şahin
8b62344e48 file transfers were fixed and receive messages triggers events now 2016-03-08 18:08:07 +02:00
Volkan Şahin
e0f68c9bf2 prepare json messages for fix events 2016-03-08 18:05:42 +02:00
Volkan Şahin
3005bc4b3f execution commands handlers 2016-03-08 18:05:00 +02:00
Volkan Şahin
74ffa7d20e Merge branch 'master' of https://github.com/Pardus-Kurumsal/ahenk 2016-03-07 17:59:07 +02:00
Volkan Şahin
8dd50c3ea1 messaging with event trigger and fix messages 2016-03-07 17:59:02 +02:00
İsmail Başaran
a7e729e18a ahenk db service 2016-03-07 17:13:03 +02:00
Volkan Şahin
fbe9b68fe1 ahenk file send implementation 2016-03-07 12:55:14 +02:00
Volkan Şahin
19e76a1b3a message receiver action call way 2016-03-07 00:16:36 +02:00
Volkan Şahin
390d1f3b12 merge conflicts 2016-03-04 19:24:43 +02:00
Volkan Şahin
80006577ed initial registration processimplemented using anonymous connection via xmpp 2016-03-04 19:23:21 +02:00
İsmail Başaran
b4c8608cb4 added event manager 2016-03-04 18:01:47 +02:00
Volkan Şahin
092cb69d43 merging 2016-03-02 18:35:59 +02:00
Volkan Şahin
0f2322c173 registration and messaging mechanism is implementing 2016-03-02 18:31:29 +02:00
İsmail Başaran
3956c0539b message response queue and added classes to ahenkd service 2016-03-02 17:20:42 +02:00
İsmail Başaran
8939ac4a36 plugin and task manager 2016-03-02 15:45:36 +02:00
İsmail Başaran
55c430ed40 plugin manager and task manager (in progress) 2016-03-02 11:59:19 +02:00
İsmail Başaran
6951f0b238 model and database initial classes 2016-03-02 11:33:48 +02:00
İsmail Başaran
3952cafc1a plugin queue and load modules 2016-03-02 10:27:43 +02:00
İsmail Başaran
83f4e86329 implementing plugin manager (in progress) 2016-03-01 18:43:26 +02:00
İsmail Başaran
5e2a058412 Abstract command class 2016-03-01 17:26:10 +02:00
İsmail Başaran
de36cfae35 Merge branch 'master' of github.com:Pardus-Kurumsal/ahenk 2016-03-01 13:47:57 +02:00
Volkan Şahin
a736a12ec6 Messaging Thread on construction 2016-03-01 12:41:55 +02:00
İsmail Başaran
5656c8764b added task base 2016-02-29 17:13:39 +02:00
Volkan Şahin
e082797042 modified for compiling python3 2016-02-29 10:48:00 +02:00
İsmail Başaran
a22487f8ce bugifix 2016-02-25 17:24:07 +02:00
İsmail Başaran
d69f743e29 merge fix 2016-02-25 11:41:51 +02:00
İsmail Başaran
165634db60 ahenk deb config 2016-02-25 11:35:16 +02:00
İsmail Başaran
f3e637b673 added scope instance method 2016-02-25 01:46:27 +02:00
İsmail Başaran
f0e023cc82 updated ahenk deamon 2016-02-21 03:56:08 +02:00
İsmail Başaran
128290359d added logger to scope 2016-02-21 03:32:22 +02:00
İsmail Başaran
b44e46d20f scope implemented 2016-02-21 03:24:54 +02:00
İsmail Başaran
79b8b083f1 added connectToServer and updated config and logger 2016-02-21 01:57:26 +02:00
İsmail Başaran
cd904daac4 initial plugin manager 2016-02-18 16:38:30 +02:00
Volkan Şahin
12ae1bc696 xmpp client features were implemented 2016-02-16 17:50:37 +02:00
İsmail Başaran
49f638ddee ahenk deamon 2016-02-08 19:03:38 +02:00
İsmail Başaran
86484d114c ahenk logging file 2016-02-08 19:03:04 +02:00
İsmail Başaran
306334ddc9 ahenk base configuration impl 2016-02-08 19:02:31 +02:00
İsmail Başaran
b5c3b77b69 ahenk deamon class 2016-02-08 18:59:56 +02:00
İsmail Başaran
ae57488025 ahenk config parser 2016-02-01 17:49:17 +02:00
İsmail Başaran
811f1f605a removed iplıgin interface 2016-02-01 17:02:11 +02:00