Re: [onap-discuss] About the time out of generic-resource-api ////////////////////答复: 【SDNC SO 讨论纪要】

2017-09-01 Thread TIMONEY, DAN
We don’t really have an explicit timeout within SDN-C for invoking a DG.  There 
are, however, cases where a node within a DG could time out (for example, if 
some interface doesn’t reply within the HttpClient timeout window).  In cases 
like that, it really depends on how the directed graph is designed how that is 
handled.  If there’s an alternative path it could take, it could choose to 
ignore that error, or it could return an error back to the platform, which 
would generally cause it to return an HTTP status code of 500 and the details 
of the error should be contained within the body of the HTTP response.

In general, the http response code itself is not all that helpful (as you 
noted, its almost always the same), but in the body of the response there are 
fields called “response-code” and “response-message” which are more 
informative. The “response-code” is usually something like an http status code, 
and the “response-message” is text describing the error.


Dan Timoney
Principal Technical Staff Member
AT
Email : dtimo...@att.com
Office : +1 (732) 420-3226
Mobile : +1 (201) 960-1211
200 S Laurel Ave, Rm E2-2A03
Middletown, NJ 08873

From: "huang.zhuo...@zte.com.cn" 
Date: Friday, September 1, 2017 at 4:06 AM
To: "TIMONEY, DAN" 
Cc: "chenchua...@huawei.com" , 
"yangchunxi...@huawei.com" , "zhouj...@huawei.com" 
, "saw@huawei.com" , 
"onap-discuss@lists.onap.org" 
Subject: About the time out of generic-resource-api 答复: 
【SDNC SO 讨论纪要】


Hi, Dan



As I know, generic-resource-api invoke DG in a synchronous way. But I'm not 
sure how long it would go time out after the invoking the DG with no response. 
And it seams 500 return for all kinds of internal exception including time out 
exception. How could I know whether is it a timeout exception? Would you please 
help me about the time out issue?  And if I'm wrong, please correct me. 
Besides, is it possible for generic-resource-api to run in a asynchronous way, 
which could return fast and support progress feedback?



Thank you and best regards!











黄卓垚huangzhuoyao



职位position
承载网管开发部/有线研究院/有线产品经营部Strategy & IT-IT Dept.


[cid:image001.gif@01D32322.46540CD0]

[cid:image002.gif@01D32322.46540CD0]
深圳市南山区科技南路55号中兴通讯研发大楼33楼
33/F, R Building, ZTE Corporation Hi-tech Road South,
Hi-tech Industrial Park Nanshan District, Shenzhen, P..R.China, 518057
T: +86 755    F: +86 755 
M: +86 xxx
E: huang.zhuo...@zte.com.cn
www.zte.com.cn



原始邮件
发件人: ;
收件人:黄卓垚10112215;
抄送人: ; ; 
; ;
日 期 :2017年09月01日 11:36
主 题 :【SDNC SO 讨论纪要】


Hi



  1.  关于SO 提供给USECASEUI 
提供的北向接口,https://wiki.onap.org/display/DW/SO+R1+Interfaces?preview=/13600660/13600657/SO%20API%20v0.1.pdf
  2.  在VOLTE用例中,关于SDC发给SO,刷新catalog-db刷新的数据,麻烦传雨反馈下最新进展。



  1.  SO Main Process 和 SO SDN-C Sub Process 之间的参数。



输入参数如下:

Map  inputsMap = HashMap()

inputsMap.put(“key1”,“value1”)

inputsMap.put(“key2”,“value2”)
execution.setVariable(“SDCADAPTOR_INPUTS”, inputsMap)
execution.setVariable(“SDNC_Service_TEMPLATE_ID”, wanTemplateID)   
//这个依赖于SDNC提供的数据,可能是模板ID,可能是CSAR ID

输出参数,麻烦zhuoyao确认下,SDNC 提供接口,是否耗时,SDNC测是否会提供耗时的处理建议。






Best wishes
Jinxin

***
本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件!**

***
This e-mail and its attachments contain confidential information from HUAWEI, 
which is intended only for the person  or entity whose address is listed above. 
Any use of the information contained herein in any way (including, but not   
limited to, total or partial disclosure, reproduction, or dissemination) by 
persons other than the intended recipient(s) is  prohibited. If you receive 
this e-mail in error, please notify the sender by phone or email immediately 
and delete it!
***







[onap-discuss] About the time out of generic-resource-api ////////////////////答复: 【SDNC SO 讨论纪要】

2017-09-01 Thread huang.zhuoyao
Hi, Dan





As I know, generic-resource-api invoke DG in a synchronous way. But I'm not 
sure how long it would go time out after the invoking the DG with no response. 
And it seams 500 return for all kinds of internal exception including time out 
exception. How could I know whether is it a timeout exception? Would you please 
help me about the time out issue?  And if I'm wrong, please correct me. 
Besides, is it possible for generic-resource-api to run in a asynchronous way, 
which could return fast and support progress feedback? 




Thank you and best regards!




















黄卓垚huangzhuoyao






职位position 
承载网管开发部/有线研究院/有线产品经营部Strategy & IT-IT Dept.









深圳市南山区科技南路55号中兴通讯研发大楼33楼 
33/F, R Building, ZTE Corporation Hi-tech Road South, 
Hi-tech Industrial Park Nanshan District, Shenzhen, P..R.China, 518057 
T: +86 755    F: +86 755  
M: +86 xxx 
E: huang.zhuo...@zte.com.cn 
www.zte.com.cn





原始邮件



发件人: 
收件人:黄卓垚10112215
抄送人:    

日 期 :2017年09月01日 11:36
主 题 :【SDNC SO 讨论纪要】







Hi


 


 


1.  关于SO 提供给USECASEUI 
提供的北向接口,https://wiki.onap.org/display/DW/SO+R1+Interfaces?preview=/13600660/13600657/SO%20API%20v0.1.pdf


2.  在VOLTE用例中,关于SDC发给SO,刷新catalog-db刷新的数据,麻烦传雨反馈下最新进展。


 


3.  SO Main Process 和 SO SDN-C Sub Process 之间的参数。


 


输入参数如下:


Map  inputsMap = HashMap()


inputsMap.put(“key1”,“value1”)


inputsMap.put(“key2”,“value2”)


execution.setVariable(“SDCADAPTOR_INPUTS”, inputsMap)


execution.setVariable(“SDNC_Service_TEMPLATE_ID”, wanTemplateID)   
//这个依赖于SDNC提供的数据,可能是模板ID,可能是CSAR ID


 


输出参数,麻烦zhuoyao确认下,SDNC 提供接口,是否耗时,SDNC测是否会提供耗时的处理建议。


 


 


 


 


 


 


Best wishes


Jinxin


 


***
 
本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件!**
 
 
***
 This e-mail and its attachments contain confidential information from HUAWEI, 
which is intended only for the person  or entity whose address is listed above. 
Any use of the information contained herein in any way (including, but not   
limited to, total or partial disclosure, reproduction, or dissemination) by 
persons other than the intended recipient(s) is  prohibited. If you receive 
this e-mail in error, please notify the sender by phone or email immediately 
and delete it!
 
***___
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss