-
Notifications
You must be signed in to change notification settings - Fork 1
/
compile_report.json
1 lines (1 loc) · 7.31 KB
/
compile_report.json
1
{"functions":{"get_alert":{"name":"get_alert","comment":"","place":{"start_line":68,"end_line":81},"input":[{"type":"UIService.GetAlertParam","comment":"get_alert"}],"output":[{"type":"UIService.Alert","comment":""},{"type":"UIService.Error","comment":""}]},"get_active_alerts":{"name":"get_active_alerts","comment":"get_active_alerts","place":{"start_line":111,"end_line":122},"input":[],"output":[{"type":"list<UIService.Alert>","comment":null},{"type":"UIService.Error","comment":""}]},"search_alerts":{"name":"search_alerts","comment":"","place":{"start_line":164,"end_line":184},"input":[{"type":"UIService.AlertQuery","comment":"typedef structure {\n string path; \n string op; \n string value;\n} SearchField;\n\n\ntypedef structure {\n string op;\n list<SearchField> args;\n} SearchSubExpression;\n\n\ntypedef structure {\n SearchField field;\n SearchSubExpression expression;\n} SearchArg;\n\ntypedef structure {\n string op;\n list<SearchArg> args;\n} SearchExpression;"}],"output":[{"type":"UIService.SearchAlertsResult","comment":""},{"type":"UIService.Error","comment":""}]},"search_alerts_summary":{"name":"search_alerts_summary","comment":"","place":{"start_line":209,"end_line":228},"input":[{"type":"UIService.SearchExpression","comment":"I give up ..."}],"output":[{"type":"UIService.SearchAlertsSummaryResult","comment":""},{"type":"UIService.Error","comment":""}]},"am_admin_user":{"name":"am_admin_user","comment":"am_admin_user","place":{"start_line":250,"end_line":253},"input":[],"output":[{"type":"UIService.Boolean","comment":""},{"type":"UIService.Error","comment":""}]},"add_alert":{"name":"add_alert","comment":"","place":{"start_line":285,"end_line":296},"input":[{"type":"UIService.AddAlertParam","comment":"add_alert"}],"output":[{"type":"UIService.AddAlertResult","comment":""},{"type":"UIService.Error","comment":""}]},"delete_alert":{"name":"delete_alert","comment":"","place":{"start_line":319,"end_line":329},"input":[{"type":"UIService.AlertID","comment":""}],"output":[{"type":"UIService.DeleteAlertResult","comment":""},{"type":"UIService.Error","comment":""}]},"is_admin_user":{"name":"is_admin_user","comment":"","place":{"start_line":352,"end_line":366},"input":[{"type":"UIService.IsAdminUserParam","comment":""}],"output":[{"type":"UIService.Boolean","comment":""},{"type":"UIService.Error","comment":""}]},"update_alert":{"name":"update_alert","comment":"","place":{"start_line":397,"end_line":407},"input":[{"type":"UIService.UpdateAlertParams","comment":"update alert"}],"output":[{"type":"UIService.Boolean","comment":""},{"type":"UIService.Error","comment":""}]},"set_alert":{"name":"set_alert","comment":"","place":{"start_line":438,"end_line":448},"input":[{"type":"UIService.UpdateAlertParams","comment":"update alert"}],"output":[{"type":"UIService.Boolean","comment":""},{"type":"UIService.Error","comment":""}]}},"module_name":"UIService","sdk_version":"1.2.1","sdk_git_commit":"80aebc46c675d751b8463e74fc29b4dbca7d8352","impl_file_path":"lib/UIService/UIServiceImpl.py","spec_files":[{"content":"/*\nA KBase module: UIService\n*/\n\nmodule UIService {\n /* BASE Types */\n\n typedef int Timestamp;\n\n typedef string AlertStatus;\n\n typedef string AlertType;\n\n typedef string AlertID;\n\n typedef string Username;\n\n typedef int Boolean;\n\n typedef structure {\n AlertID id;\n Timestamp start_at;\n Timestamp end_at;\n AlertType type;\n string title;\n string message;\n AlertStatus status;\n Timestamp created_at;\n string created_by;\n Timestamp updated_at;\n string updated_by;\n } Alert;\n\n typedef structure {\n string message;\n string type;\n string code;\n UnspecifiedObject info;\n } Error;\n\n\n /* METHODS and their in/out types */\n\n \n /* \n get_alert \n */\n typedef structure {\n AlertID id;\n } GetAlertParam;\n\n funcdef get_alert(GetAlertParam param) \n returns (Alert alert, Error error) authentication required;\n\n /*\n get_active_alerts\n */\n\n funcdef get_active_alerts()\n returns (list<Alert> alerts, Error error) authentication optional;\n\n /*\n search_alerts\n */\n\n \n\n typedef structure {\n int start;\n int limit;\n } PagingSpec;\n\n typedef structure {\n string field;\n Boolean is_descending;\n } SortSpec;\n\n /* union type: either field or field_set */\n\n /* I give up ... */\n\n typedef UnspecifiedObject SearchExpression;\n\n /*\n typedef structure {\n string path; \n string op; \n string value;\n } SearchField;\n\n\n typedef structure {\n string op;\n list<SearchField> args;\n } SearchSubExpression;\n\n\n typedef structure {\n SearchField field;\n SearchSubExpression expression;\n } SearchArg;\n\n typedef structure {\n string op;\n list<SearchArg> args;\n } SearchExpression;\n */\n\n typedef structure {\n SearchExpression query;\n PagingSpec paging;\n list<SortSpec> sorting;\n } AlertQuery;\n\n typedef structure {\n list<Alert> alerts;\n } SearchAlertsResult;\n\n funcdef search_alerts(AlertQuery query)\n returns (SearchAlertsResult result, Error error);\n\n\n\n typedef structure {\n mapping<string,int> statuses;\n } SearchAlertsSummaryResult;\n\n funcdef search_alerts_summary(SearchExpression query)\n returns (SearchAlertsSummaryResult result, Error error);\n\n\n /*\n am_admin_user\n */\n\n funcdef am_admin_user()\n returns (Boolean is_admin, Error error) authentication required;\n\n\n /* ADMIN */\n\n /* \n add_alert \n */\n\n typedef structure {\n Alert alert;\n } AddAlertParam;\n\n typedef structure {\n AlertID id;\n } AddAlertResult;\n\n funcdef add_alert(AddAlertParam alert_param)\n returns (AddAlertResult result, Error error) authentication required;\n\n typedef structure {\n AlertID id;\n } DeleteAlertResult;\n\n funcdef delete_alert(AlertID id)\n returns (DeleteAlertResult result, Error error) authentication required;\n\n typedef structure {\n Username username;\n } IsAdminUserParam;\n\n funcdef is_admin_user(IsAdminUserParam param)\n returns (Boolean is_admin, Error error) authentication required;\n\n /* \n update alert \n */\n typedef structure {\n Alert alert;\n } UpdateAlertParams;\n\n funcdef update_alert(UpdateAlertParams alert_param)\n returns (Boolean success, Error error) authentication required;\n\n funcdef set_alert(UpdateAlertParams alert_param)\n returns (Boolean success, Error error) authentication required;\n\n};\n","file_name":"UIService.spec","is_main":1}],"function_places":{"get_alert":{"start_line":68,"end_line":81},"get_active_alerts":{"start_line":111,"end_line":122},"search_alerts":{"start_line":164,"end_line":184},"search_alerts_summary":{"start_line":209,"end_line":228},"am_admin_user":{"start_line":250,"end_line":253},"add_alert":{"start_line":285,"end_line":296},"delete_alert":{"start_line":319,"end_line":329},"is_admin_user":{"start_line":352,"end_line":366},"update_alert":{"start_line":397,"end_line":407},"set_alert":{"start_line":438,"end_line":448}}}