Пример #1
0
 def xmlrpc_running_packages(self):
     res = WSB.getRunningPackages()
     return [True, res]
Пример #2
0
 def xmlrpc_misc_send_code(self, code):
     res = WSB.sendCode(code)
     return [True, res]
Пример #3
0
 def repository_push(self, package, rtc):
     res = WSB.pushRTCRepository(package, rtc)
     return [True, res]
Пример #4
0
 def longlist(self,pkg):
     res = WSB.getRTCLongList(pkg)
     return [True, res]
Пример #5
0
 def xmlrpc_get_package_alter(self, pkg, sub):
     res = WSB.getPackageAlternative(pkg, sub)
     return [True, res]
Пример #6
0
 def xmlrpc_repository_rtc(self, rtc):
     res = WSB.getRepositoryRTC(rtc)
     return [True, res]
Пример #7
0
 def xmlrpc_rts_profile(self, pkg, filename):
     res = WSB.getRTSProfile(pkg, filename)
     return [True, res]
Пример #8
0
 def xmlrpc_misc_read_stdout(self, filename):
     res = WSB.readStdout(filename)
     return [True, res]
Пример #9
0
 def xmlrpc_package_rtc(self, pkg, rtc):
     res = WSB.getPackageRTC(pkg, rtc)
     return [True, res]
Пример #10
0
 def xmlrpc_rtcconf_list(self, pkg):
     res = WSB.getRTCConfList(pkg)
     return [True, res]
Пример #11
0
 def xmlrpc_delete_rtc(self, pkg, rtc):
     result, stdout = WSB.deleteRTC(pkg, rtc)
     return [True, result, stdout]
Пример #12
0
 def xmlrpc_clean_rtc(self, pkg, rtc):
     result, stdout = WSB.cleanRTC(pkg, rtc)
     return [True, result, stdout]
Пример #13
0
 def xmlrpc_build_rtc(self, pkg, rtc):
     result, stdout = WSB.buildRTC(pkg, rtc)
     return [True, result, stdout]
Пример #14
0
 def xmlrpc_misc_start_code(self, filename):
     res = WSB.startCode(filename)
     return [True, res]
Пример #15
0
 def xmlrpc_system_update(self, pkg, filename, content):
     res = WSB.updateSystemFile(pkg, filename, content)
     return [True, res]
Пример #16
0
 def xmlrpc_misc_kill_code(self, filename):
     res = WSB.killCode(self, filename)
     return [True, res]
Пример #17
0
 def xmlrpc_rtcprofile_update(self, pkg, rtc, content):
     res = WSB.updateRTCProfile(pkg, rtc, content)
     return [True, res]
Пример #18
0
 def xmlrpc_misc_communicate(self, filename):
     res = WSB.communicate(filename)
     return [True, res]
Пример #19
0
 def xmlrpc_rtcprofile_sync(self, pkg, rtc):
     res = WSB.syncRTCProfile(pkg, rtc)
     return [True, res]
Пример #20
0
 def xmlrpc_repository_package(self, pkg):
     res = WSB.getRepositoryPackage(pkg)
     return [True, res]
Пример #21
0
 def xmlrpc_system_copy(self, pkg, srcfilename, dstfilename):
     res = WSB.copySystem(pkg, srcfilename, dstfilename)
     return [True, res]
Пример #22
0
 def repositories(self, pkg):
     res = WSB.getRtcRepositoryList(pkg)
     return [True, res]
Пример #23
0
 def xmlrpc_system_delete(self, pkg, filename):
     res = WSB.deleteSystem(pkg, filename)
     return [True, res]
Пример #24
0
 def repository_commit(self, package, rtc, comment):
     res = WSB.commitRTCRepository(package, rtc, comment)
     return [True, res]
Пример #25
0
 def xmlrpc_system_list(self, pkg):
     res = WSB.getSystemList(pkg)
     return [True, res]
Пример #26
0
 def profile(self, pkg, rtc):
     res = WSB.getRTCProfile(pkg, rtc)
     return [True, res]
Пример #27
0
 def xmlrpc_running_packages(self, request):
     res = WSB.getRunningPackages()
     #res = '<package></package>'
     
     return [True, (res)]