Yes Lukasz we've tried that, it is resolved. We need to update wiki page in few 
areas. We're noting down improvements for wiki page in parallel. We will update.

Thank you



From: Rajewski Łukasz - Hurt <lukasz.rajew...@orange.com>
Sent: Tuesday, June 16, 2020 4:35 PM
To: Addepalli, Srinivasa R <srinivasa.r.addepa...@intel.com>; 
onap-discuss@lists.onap.org; Vamshi Namilikonda <vn00480...@techmahindra.com>; 
Sood, Ritu <ritu.s...@intel.com>; k.ba...@samsung.com
Cc: KHICHANE Abderaouf TGI/OLN <abderaouf.khich...@orange.com>
Subject: RE: [onap-discuss] k8splugin - Configuration API

Try please also to include "template-name" parameter in the post

https://github.com/onap/multicloud-k8s/blob/master/src/k8splugin/internal/rb/config_template.go<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fonap%2Fmulticloud-k8s%2Fblob%2Fmaster%2Fsrc%2Fk8splugin%2Finternal%2Frb%2Fconfig_template.go&data=02%7C01%7Cvn00480215%40techmahindra.com%7Cf50f89ba9a1d496daf2108d811e5222b%7Cedf442f5b9944c86a131b42b03a16c95%7C0%7C0%7C637279023112019126&sdata=AI8Yy2PpKGYhYoUYXoQKc8IIscXnPs0sEH1IlxE0q58%3D&reserved=0>

Regards,

[Logo Orange]
Łukasz Rajewski, R&D Expert
Orange Labs Poland, Advanced Network Solutions Agency
Mob.: +48 519 310 854
Orange Polska, Obrzeżna 7, 02-691 Warsaw
www.orange.pl<https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.orange.pl%2F&data=02%7C01%7Cvn00480215%40techmahindra.com%7Cf50f89ba9a1d496daf2108d811e5222b%7Cedf442f5b9944c86a131b42b03a16c95%7C0%7C0%7C637279023112019126&sdata=jcehjvBkY3uer6mrTHJEKY9eRhOtnB%2BZTnuWOYooaX8%3D&reserved=0>


From: Rajewski Łukasz - Hurt
Sent: Tuesday, June 16, 2020 12:34 PM
To: 'Addepalli, Srinivasa R'; 
onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>; 
vn00480...@techmahindra.com<mailto:vn00480...@techmahindra.com>; Sood, Ritu; 
k.ba...@samsung.com<mailto:k.ba...@samsung.com>
Cc: KHICHANE Abderaouf TGI/OLN 
(abderaouf.khich...@orange.com<mailto:abderaouf.khich...@orange.com>)
Subject: RE: [onap-discuss] k8splugin - Configuration API

Hi,

First of all, I would try to call plugin API directly. Second, I would remove 
trailing slash. Below some hints how to use it.

https://github.com/onap/multicloud-k8s/blob/master/src/k8splugin/api/api.go<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fonap%2Fmulticloud-k8s%2Fblob%2Fmaster%2Fsrc%2Fk8splugin%2Fapi%2Fapi.go&data=02%7C01%7Cvn00480215%40techmahindra.com%7Cf50f89ba9a1d496daf2108d811e5222b%7Cedf442f5b9944c86a131b42b03a16c95%7C0%7C0%7C637279023112029122&sdata=sufxq0S09nufDh1kQKMjnTrv7Zd5d2pSfOjS26H%2Ftec%3D&reserved=0>
https://github.com/onap/multicloud-k8s/blob/master/src/k8splugin/api/configtemplatehandler.go<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fonap%2Fmulticloud-k8s%2Fblob%2Fmaster%2Fsrc%2Fk8splugin%2Fapi%2Fconfigtemplatehandler.go&data=02%7C01%7Cvn00480215%40techmahindra.com%7Cf50f89ba9a1d496daf2108d811e5222b%7Cedf442f5b9944c86a131b42b03a16c95%7C0%7C0%7C637279023112039119&sdata=xwGfjW%2BKg9x3iqnS8Wj3QICR0wK6uwRyYrePOWviT%2Bw%3D&reserved=0>

Regards,

[Logo Orange]
Łukasz Rajewski, R&D Expert
Orange Labs Poland, Advanced Network Solutions Agency
Mob.: +48 519 310 854
Orange Polska, Obrzeżna 7, 02-691 Warsaw
www.orange.pl<https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.orange.pl%2F&data=02%7C01%7Cvn00480215%40techmahindra.com%7Cf50f89ba9a1d496daf2108d811e5222b%7Cedf442f5b9944c86a131b42b03a16c95%7C0%7C0%7C637279023112039119&sdata=lOHzL9AFGjhSgMstGAsTPSEKT2RZ6Pr4P%2BFEfXNcJR8%3D&reserved=0>


From: Addepalli, Srinivasa R [mailto:srinivasa.r.addepa...@intel.com]
Sent: Monday, June 15, 2020 11:09 PM
To: onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>; 
vn00480...@techmahindra.com<mailto:vn00480...@techmahindra.com>; Sood, Ritu; 
Rajewski Łukasz - Hurt; k.ba...@samsung.com<mailto:k.ba...@samsung.com>
Subject: RE: [onap-discuss] k8splugin - Configuration API

Just an observation

Since I see 'server' responding is 'openresty', it appears that MSB itself is 
returning error. Something to check on MSB integration.

Thanks
Srini

From: onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org> 
<onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>> On Behalf Of 
Vamshi K Namilikonda via lists.onap.org
Sent: Monday, June 15, 2020 11:56 AM
To: onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>; Sood, Ritu 
<ritu.s...@intel.com<mailto:ritu.s...@intel.com>>; Rajewski Łukasz - Hurt 
<lukasz.rajew...@orange.com<mailto:lukasz.rajew...@orange.com>>; 
k.ba...@samsung.com<mailto:k.ba...@samsung.com>
Subject: [onap-discuss] k8splugin - Configuration API


Hi Ritu & K8splugin team,

We've tried using Configuration API from Frankfurt using the instructions given 
the below wiki page, it's giving 404 error. Could you please suggest, are we 
doing something wrong here.  Same behavior is observed in ElAlto branch of code 
as well.  Thank you

https://wiki.onap.org/display/DW/MultiCloud+K8s-Plugin-service+API#MultiCloudK8sPluginserviceAPI-ConfigurationAPI<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.onap.org%2Fdisplay%2FDW%2FMultiCloud%2BK8s-Plugin-service%2BAPI%23MultiCloudK8sPluginserviceAPI-ConfigurationAPI&data=02%7C01%7Cvn00480215%40techmahindra.com%7Cf50f89ba9a1d496daf2108d811e5222b%7Cedf442f5b9944c86a131b42b03a16c95%7C0%7C0%7C637279023112049114&sdata=xlzhnQuOdw5b1iFnnjViuyIw%2FwflivzSPUoVQ0wrLw0%3D&reserved=0>

curl -i -k -d @create_config_template.json -X POST 
https://<ip>30283/api/multicloud-k8s/v1/v1/rb/definition/test-rbdef/v1/config-template/<https://%3cip%3e30283/api/multicloud-k8s/v1/v1/rb/definition/test-rbdef/v1/config-template/>
HTTP/1.1 404 Not Found
Server: openresty
Date: Mon, 15 Jun 2020 18:39:22 GMT
Content-Type: text/plain; charset=utf-8
Content-Length: 19
Connection: keep-alive
X-Content-Type-Options: nosniff

404 page not found

cat create_config_template.json
{
    "name": "vault-consul-dev-2",
    "description": "testing vault_check Day 2 config configuration"
}

curl -i -k  GET 
https://10.211.1.20:30283/api/multicloud-k8s/v1/v1/rb/definition/test-rbdef<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2F10.211.1.20%3A30283%2Fapi%2Fmulticloud-k8s%2Fv1%2Fv1%2Frb%2Fdefinition%2Ftest-rbdef&data=02%7C01%7Cvn00480215%40techmahindra.com%7Cf50f89ba9a1d496daf2108d811e5222b%7Cedf442f5b9944c86a131b42b03a16c95%7C0%7C0%7C637279023112049114&sdata=ZQqklUsiaVX7uxRD2JcT%2BrJYCS2Wl4KeysbT8a9GKPk%3D&reserved=0>
HTTP/1.1 200 OK
[{"rb-name":"test-rbdef","rb-version":"v1","chart-name":"vault-consul-dev","description":"testing
 resource bundle definition api","labels":{}}]

Vamshi Namilikonda | Network Services | Tech Mahindra
* Desk: +91 20 66018100 x 3942   Mobile: +91 9848639561

[cid:image003.jpg@01D643DE.C09C7C90]Connected World and Connected Experiences


============================================================================================================================
 Disclaimer: This message and the information contained herein is proprietary 
and confidential and subject to the Tech Mahindra policy statement, you may 
review the policy at http://www.techmahindra.com/Disclaimer.html externally 
http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra. 
============================================================================================================================


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#21355): https://lists.onap.org/g/onap-discuss/message/21355
Mute This Topic: https://lists.onap.org/mt/74901579/21656
Group Owner: onap-discuss+ow...@lists.onap.org
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to