示例#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)]