osm/NBI.git
4 years agofix 1046. Allow auth_internal.user_list filtering with the _id 39/8739/1
tierno [Tue, 31 Mar 2020 09:46:44 +0000 (09:46 +0000)]
fix 1046. Allow auth_internal.user_list filtering with the _id

Change-Id: I94e190dc3e104a7f98a085368cb0d4ba13a719cd
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoFix 1025. Do not remove last project reference if it will be deleted 19/8719/3
tierno [Mon, 23 Mar 2020 14:42:10 +0000 (14:42 +0000)]
Fix 1025. Do not remove last project reference if it will be deleted

Change-Id: Ib42405a46cf48f99780da37896830d68feb5a2da
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoallow ns-terminate parameters 18/8718/2
tierno [Tue, 24 Mar 2020 11:51:39 +0000 (11:51 +0000)]
allow ns-terminate parameters

Change-Id: I29d4415e1d6af3a86639739eb38a0b92e1349cac
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agobug 1035. Load role permissions from nbi.py 'valid_url_methods' instead of 'resources... 14/8714/2
tierno [Mon, 23 Mar 2020 09:24:10 +0000 (09:24 +0000)]
bug 1035. Load role permissions from nbi.py 'valid_url_methods' instead of 'resources_to_operations.yml'

Change-Id: I84a80f8cef886cbce9b22819ead04ae14d31af79
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoFix Bug 1035 Invalid Permission error on updating a role with K8sclusters, k8srepos... 13/8713/1
vijay.r [Sun, 22 Mar 2020 02:48:27 +0000 (02:48 +0000)]
Fix Bug 1035 Invalid Permission error on updating a role with K8sclusters, k8srepos permission

Change-Id: I59647c89cb467a8976ae0d09f5cab411a5d81c37
Signed-off-by: vijay.r <vijay.r@tataelxsi.co.in>
4 years agofix 1023. Issue getting ip from pdu instances 84/8684/1
tierno [Wed, 18 Mar 2020 09:49:43 +0000 (09:49 +0000)]
fix 1023. Issue getting ip from pdu instances

Change-Id: Ie4fc95d144d3c7987ccd56b090eaf7887ab8b67b
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoallow external port for SDN net 72/8672/2
tierno [Tue, 10 Mar 2020 16:34:25 +0000 (16:34 +0000)]
allow external port for SDN net

Change-Id: I4f827d185678be1529a8774d08ce668b12f653c5
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agofix 1023. Issue getting ip from pdu instances 80/8680/2
tierno [Thu, 12 Mar 2020 17:31:42 +0000 (17:31 +0000)]
fix 1023. Issue getting ip from pdu instances

Change-Id: I00ded05ca164e8dec18b821650ac16679137434c
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agofix user/project creation with domain_name. 17/8617/8
tierno [Wed, 19 Feb 2020 14:29:49 +0000 (14:29 +0000)]
fix user/project creation with domain_name.
Provide the domain when listing users/projects
Allow filtering by domain

Change-Id: Ieccf9ad40f3ef7896e99ee26128d0b590cf615be
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoAdded KDU actions to VnfTopic 90/8290/6
delacruzramo [Mon, 2 Dec 2019 20:00:37 +0000 (21:00 +0100)]
Added KDU actions to VnfTopic

Change-Id: I2797a7b470f84a445bc9b648701112969f8790e6
Signed-off-by: delacruzramo <pedro.delacruzramos@altran.com>
4 years agoMerge "allow extra domain input for token authentication"
tierno [Tue, 18 Feb 2020 16:43:01 +0000 (17:43 +0100)]
Merge "allow extra domain input for token authentication"

4 years agoallow extra domain input for token authentication 90/8590/3
tierno [Thu, 13 Feb 2020 16:30:14 +0000 (16:30 +0000)]
allow extra domain input for token authentication

Change-Id: I546fa3ead2df453d8cf620cd4a6b828a1667c614
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoK8sCluster/Repo association by projects 68/8568/4
delacruzramo [Wed, 5 Feb 2020 11:50:21 +0000 (11:50 +0000)]
K8sCluster/Repo association by projects

Change-Id: I48f5629fea54e414226715554a841b0e30e09077
Signed-off-by: delacruzramo <pedro.delacruzramos@altran.com>
4 years agofix 1014 allow k8snet with null value 73/8573/2
tierno [Fri, 7 Feb 2020 10:18:30 +0000 (10:18 +0000)]
fix 1014 allow k8snet with null value

Change-Id: I1c9922fd63a495422eb7029af04d7ea60b35c678
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agominor fixes at dependencies 63/8563/3
tierno [Wed, 5 Feb 2020 12:43:44 +0000 (12:43 +0000)]
minor fixes at dependencies

Change-Id: Ic30ce0df9b837ac519784e3438611e1163d7e17e
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoFix Bug 1011: Multiple interface referenced to a single connection point 69/8569/2
delacruzramo [Thu, 6 Feb 2020 13:37:01 +0000 (13:37 +0000)]
Fix Bug 1011: Multiple interface referenced to a single connection point

Change-Id: Idaff83f5f7cae88adb73896662ea61bdb1823407
Signed-off-by: delacruzramo <pedro.delacruzramos@altran.com>
4 years agoModifications for test of feature 7953 02/8502/4
magnussonl [Mon, 20 Jan 2020 17:38:18 +0000 (18:38 +0100)]
Modifications for test of feature 7953
Updated after review
Resolved merge conflict in osm_nbi/__init__.py

Change-Id: Ie7fd9c21d3d3369986e96e48b6dc9d29b79b36af
Signed-off-by: magnussonl <lars-goran.magnusson@arctoslabs.com>
4 years agomove version package to __init__ 58/8558/1
tierno [Tue, 4 Feb 2020 15:47:18 +0000 (15:47 +0000)]
move version package to __init__

Change-Id: Ie0b02033af9bb7420977b9fb968662a5482a0d99
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agofix getting kafka aioread exception 01/8501/2 v7.0.1 v7.0.1rc2 v7.0.1rc3
tierno [Tue, 21 Jan 2020 00:10:09 +0000 (00:10 +0000)]
fix getting kafka aioread exception

Change-Id: I11d243b4b16a0757415aa72ded1e6b2134f7f3f8
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoToken Cache Management 71/8371/13
delacruzramo [Tue, 10 Dec 2019 15:26:34 +0000 (16:26 +0100)]
Token Cache Management

Change-Id: I09ea3a8c0c537a5eeba0ac5bc1426167133db998
Signed-off-by: delacruzramo <pedro.delacruzramos@altran.com>
4 years agodocker: Fix debian channel to stable 05/8105/2
Philippe Coval [Wed, 30 Oct 2019 13:42:36 +0000 (14:42 +0100)]
docker: Fix debian channel to stable

Currently there is no "testing" directory in:

http://osm-download.etsi.org/repository/osm/debian/ReleaseFIVE/dists/

Change-Id: Ib43722865573a7ec386082bd1af4375af26db108
Signed-off-by: Philippe Coval <rzr@users.sf.net>
4 years agoFix Bug 870: Getting unauthorized when using keystone as back-end for NBI 52/8452/2
delacruzramo [Thu, 26 Dec 2019 10:09:04 +0000 (10:09 +0000)]
Fix Bug 870: Getting unauthorized when using keystone as back-end for NBI

Change-Id: I085be0f780388aed0d269c298c17ceb960fa14cc
Signed-off-by: delacruzramo <pedro.delacruzramos@altran.com>
4 years agoAllow to disable /test URL 82/8482/1
tierno [Wed, 15 Jan 2020 14:41:48 +0000 (14:41 +0000)]
Allow to disable /test URL

Change-Id: I01b2a4836ab66ff5cdca72d1a0637d83e0a5b9fb
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agochange from tapi to ietfl2vpn 34/8434/2 v7.0.1rc1
tierno [Fri, 20 Dec 2019 14:11:35 +0000 (14:11 +0000)]
change from tapi to ietfl2vpn

Change-Id: I6b57324f6952c835fc83aaa0f98ae8438fad1b43
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoadding timeout as instantiate parameter 77/8477/1
tierno [Tue, 14 Jan 2020 15:54:48 +0000 (15:54 +0000)]
adding timeout as instantiate parameter

Change-Id: If630ad62f4450707123367863ff376847e559e09
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoUbuntu18 + pip upgraded 72/8472/3
calvinosanch [Thu, 9 Jan 2020 15:10:12 +0000 (16:10 +0100)]
Ubuntu18 + pip upgraded

Change-Id: Ia2b7c42455271883daa885491e77319a854ea9ce
Signed-off-by: calvinosanch <guillermo.calvinosanchez@altran.com>
4 years agoupdate initial status of NS and NSLCMOP 66/8466/1
tierno [Thu, 9 Jan 2020 12:40:45 +0000 (12:40 +0000)]
update initial status of NS and NSLCMOP

Change-Id: Iba004c8cb47fbaa6b6223684611226895d59b340
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoChange for SDN creation parameters 19/8419/2
tierno [Tue, 17 Dec 2019 16:46:12 +0000 (16:46 +0000)]
Change for SDN creation parameters

Change-Id: I5d0fcf0153c9ad71e0757db45df073f3abf26603
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoGet version from installed package if available instead of code 65/8365/1 v7.0.0
tierno [Tue, 10 Dec 2019 10:57:17 +0000 (10:57 +0000)]
Get version from installed package if available instead of code

Change-Id: I0c9336ff02f90094af580b2fb2e1b8cd55fd67fb
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agofix bug 937. NSs are not deleted from database upon NSI deletion 29/8329/2 v7.0.0rc1
tierno [Thu, 5 Dec 2019 12:26:01 +0000 (12:26 +0000)]
fix bug 937. NSs are not deleted from database upon NSI deletion

Change-Id: Ib69d8921da777e41749aa8511fd64d1d7cc6204a
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoFix bug 875: VIM gets deleted when the Instance is Running 99/8199/5
delacruzramo [Thu, 21 Nov 2019 10:09:16 +0000 (11:09 +0100)]
Fix bug 875: VIM gets deleted when the Instance is Running

Change-Id: I74f942e3ad17e1d61bbe507ddf6ad2e9755be66c
Signed-off-by: delacruzramo <pedro.delacruzramos@altran.com>
4 years agoFix Bug 924: User is not allowed to upload NS Descriptors for project_user(role) 14/8314/2
delacruzramo [Wed, 4 Dec 2019 11:54:49 +0000 (12:54 +0100)]
Fix Bug 924: User is not allowed to upload NS Descriptors for project_user(role)

Change-Id: I69eacd50ff9204d95db99a4211bfa7f100456629
Signed-off-by: delacruzramo <pedro.delacruzramos@altran.com>
4 years agoFix Bug 917: Revoke NBI's Auth token once user is deleted 23/8323/1
delacruzramo [Wed, 4 Dec 2019 12:42:26 +0000 (13:42 +0100)]
Fix Bug 917: Revoke NBI's Auth token once user is deleted

Change-Id: I1060af8065d95beab5b9dc3be27abc8e3601f3e8
Signed-off-by: delacruzramo <pedro.delacruzramos@altran.com>
4 years agochange repo type to helm-chart,juju-bundle 06/8306/2
tierno [Tue, 3 Dec 2019 23:50:49 +0000 (23:50 +0000)]
change repo type to helm-chart,juju-bundle

Change-Id: Id46d9815fbab76b41ebe2bd21cad9d5f8aa056ad
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agofix issue deploying a k8s 92/8292/3
tierno [Tue, 3 Dec 2019 09:39:40 +0000 (09:39 +0000)]
fix issue deploying a k8s

Change-Id: Iaedeac1e96264b4063ad8fd8cd5f6694bcad974d
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoBug 868 - Fixed 33/8233/3
K Sai Kiran [Mon, 25 Nov 2019 12:00:37 +0000 (17:30 +0530)]
Bug 868 - Fixed
NSD and VNFD items with schema type list containing same identifiers are truncated and used without error.
Fix essentially makes a depth traversal of the JSON object and
uses Id or Name of object to uniquely identify object. Key Id takes precedence over Name.

Change-Id: I534c96fb573b651cca71f0309e1a912d6b5889da
Signed-off-by: K Sai Kiran <saikiran.k@tataelxsi.co.in>
4 years agoadditionalParams for Kdu will not get those additionalParamsForVnf 88/8288/1
tierno [Mon, 2 Dec 2019 15:53:25 +0000 (15:53 +0000)]
additionalParams for Kdu will not get those additionalParamsForVnf

Change-Id: I19916bd7d552f107ead206ca26e8b455088387e2
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoAllow additional params for a concrete vdu or kdu 65/8265/3
tierno [Fri, 29 Nov 2019 13:43:26 +0000 (13:43 +0000)]
Allow additional params for a concrete vdu or kdu

Change-Id: Iab191d0f794d27bd06a7bb50c84e1a642f9e4969
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoAdding suport for FsMongo 91/7691/7
Eduardo Sousa [Fri, 21 Jun 2019 10:50:21 +0000 (11:50 +0100)]
Adding suport for FsMongo

Change-Id: Ic864d65c5ef551237a471ee8c2b8f157b2447791
Signed-off-by: Eduardo Sousa <eduardo.sousa@canonical.com>
4 years agoAdded KDU inspect/readme actions to NsLcmOpTopic 52/8252/3
delacruzramo [Thu, 28 Nov 2019 10:24:09 +0000 (11:24 +0100)]
Added KDU inspect/readme actions to NsLcmOpTopic

Change-Id: I9ee6b50639d9d8719238b25c76ff8fb881dd0326
Signed-off-by: delacruzramo <pedro.delacruzramos@altran.com>
4 years agoMore unit tests for descriptor_topics 41/8241/1
delacruzramo [Fri, 15 Nov 2019 13:45:32 +0000 (14:45 +0100)]
More unit tests for descriptor_topics

Change-Id: I6e9c647d12dd05de270996ed9f571f888d00d3c6
Signed-off-by: delacruzramo <pedro.delacruzramos@altran.com>
5 years agoUnit tests for descriptor_topics 77/8177/9
delacruzramo [Fri, 15 Nov 2019 13:45:32 +0000 (14:45 +0100)]
Unit tests for descriptor_topics

Change-Id: Ie9bec8368f30ed023ed58bb324c38c77b9b61b00
Signed-off-by: delacruzramo <pedro.delacruzramos@altran.com>
5 years agoFix bug 682: NSD cross references between vnffgd classifier and rsp not validated 15/8215/1
delacruzramo [Fri, 22 Nov 2019 14:06:43 +0000 (15:06 +0100)]
Fix bug 682: NSD cross references between vnffgd classifier and rsp not validated

Change-Id: I759844b02afe870403ce317a7f3ec8826128bbbb
Signed-off-by: delacruzramo <pedro.delacruzramos@altran.com>
5 years agofeature8029 do not validate vim_account type 61/8161/3
tierno [Wed, 13 Nov 2019 15:57:51 +0000 (15:57 +0000)]
feature8029 do not validate vim_account type
feature8030 do not validate wim_account type

Change-Id: I0d975b80481dd7562c631155444e3461dcc1dd94
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agofix issue for k8scluster on action "kdu_name" instead 'vdu_name' 16/8116/4
tierno [Tue, 5 Nov 2019 12:45:29 +0000 (12:45 +0000)]
fix issue for k8scluster on action "kdu_name" instead 'vdu_name'
Adding vim_network selection upon instantiation based on selected k8s_cluster["nets"] and vnfd.k8s-cluster
Adding k8s_cluster and k8s_repo to the html develop web

Change-Id: Ie73877c0b7403badd99704ff294d45b695ebc744
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agofixing Dockerfile local after changes in IM 06/8206/1
tierno [Thu, 21 Nov 2019 16:15:33 +0000 (16:15 +0000)]
fixing Dockerfile local after changes in IM

Change-Id: I6a9f0cb2f8d71fa1711844a7ce86ed37f089230f
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoFeature7912- Enhancement of NBI API to collect VNF metrics 68/7968/9
preethika.p [Fri, 20 Sep 2019 11:07:50 +0000 (16:37 +0530)]
Feature7912- Enhancement of NBI API to collect VNF metrics
Addressed the comments
Unittest added
Made changes in tox file
Change-Id: Iad1e625f609272556bcc51b36c96a336d34b5c86
Signed-off-by: preethika.p <preethika.p@tataelxsi.co.in>
5 years agoFix allowed methods for K8sClusters 67/8167/1
delacruzramo [Thu, 14 Nov 2019 08:57:35 +0000 (09:57 +0100)]
Fix allowed methods for K8sClusters

Change-Id: I13227be31d71236fa55edb2219afe84b647f256e
Signed-off-by: delacruzramo <pedro.delacruzramos@altran.com>
5 years agoUnit tests for admin_topics 42/8042/11
delacruzramo [Thu, 10 Oct 2019 14:36:40 +0000 (16:36 +0200)]
Unit tests for admin_topics

Change-Id: I2b52b479e981bfa6a9aa1bb94328fff49dd4b262
Signed-off-by: delacruzramo <pedro.delacruzramos@altran.com>
5 years agoFix allowed methods for administration topics 14/8014/3
delacruzramo [Thu, 3 Oct 2019 12:22:00 +0000 (14:22 +0200)]
Fix allowed methods for administration topics

Change-Id: I2a318bc3d6d6ead1c27a74652c8f2e990adc662a
Signed-off-by: delacruzramo <pedro.delacruzramos@altran.com>
5 years agoVCD feature 7193-provider_nerwork 57/8057/2
kbsub [Thu, 17 Oct 2019 16:26:56 +0000 (16:26 +0000)]
VCD feature 7193-provider_nerwork

Change-Id: Ia8ea131bd6c0ebe30069aa151ea3bc3f05e7ecfc
Signed-off-by: kbsub <subair.basheer@riftio.com>
5 years agoselecting k8scluster at deployment. Allow day2 action primitive for kdu 12/8112/3
tierno [Wed, 30 Oct 2019 12:13:48 +0000 (12:13 +0000)]
selecting k8scluster at deployment. Allow day2 action primitive for kdu

Change-Id: I8669a35df8b3312df88853900844eb7e0332bff9
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoNew topics: K8sClusters, K8sRepos 88/8088/6
delacruzramo [Wed, 23 Oct 2019 16:25:11 +0000 (18:25 +0200)]
New topics: K8sClusters, K8sRepos

Change-Id: Ia03b8fc80b1efdb0cc6162b85fb84e3b6b1c1b12
Signed-off-by: delacruzramo <pedro.delacruzramos@altran.com>
5 years agoFix VIM/WIM validation schemas 90/8090/1
delacruzramo [Fri, 25 Oct 2019 07:46:33 +0000 (09:46 +0200)]
Fix VIM/WIM validation schemas

Change-Id: I187b251996995f04df1359f8973292dedebecdfd
Signed-off-by: delacruzramo <pedro.delacruzramos@altran.com>
5 years agoadding needed dependency aiohttp 56/8056/2
tierno [Thu, 17 Oct 2019 14:24:58 +0000 (14:24 +0000)]
adding needed dependency aiohttp

Change-Id: I9a2046c4f470d8946f8881b6a3c2dd7684a34679
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoinitial unittest for osm_nbi.instance_topics 99/7899/7
tierno [Mon, 2 Sep 2019 16:03:25 +0000 (16:03 +0000)]
initial unittest for osm_nbi.instance_topics

Change-Id: Ib38b3e6625014c8641e7cadce69624f46b41d1ac
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agofix bug 865 fix error deleting a non-instantiated ns 55/8055/1
tierno [Thu, 17 Oct 2019 13:56:53 +0000 (13:56 +0000)]
fix bug 865 fix error deleting a non-instantiated ns

Change-Id: I7f36893352c17aef89930f8d5b3f0718ba700992
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agobug 864 fix operation (created/edited) published to kafka 53/8053/2
tierno [Wed, 16 Oct 2019 09:00:13 +0000 (09:00 +0000)]
bug 864 fix operation (created/edited) published to kafka

Change-Id: Ia96573a0f79da88d2d893101cc9daed0f46bbc7a
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoBug 864 - NBI publishes created key to kakfa after editing nsd/vnfd. 52/8052/2 feature5837 feature7928
K Sai Kiran [Wed, 16 Oct 2019 12:20:53 +0000 (17:50 +0530)]
Bug 864 - NBI publishes created key to kakfa after editing nsd/vnfd.

Change-Id: Ib4ab08dcb3cada34bb3f95468315f37e52486fcf
Signed-off-by: K Sai Kiran <saikiran.k@tataelxsi.co.in>
5 years agoFix IM installation in NBI 54/8054/6
Felipe Vicens [Wed, 16 Oct 2019 18:13:53 +0000 (20:13 +0200)]
Fix IM installation in NBI

Change-Id: I10287cdb30aac7496eb28b82a06027d196a26a5b
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
5 years agoAdapt NBI to YAML V5 26/8026/1
delacruzramo [Tue, 8 Oct 2019 08:18:02 +0000 (10:18 +0200)]
Adapt NBI to YAML V5

Change-Id: Ia768b60b0304d99a24bbfab2795922d54ca9ca0c
Signed-off-by: delacruzramo <pedro.delacruzramos@altran.com>
5 years agoFix project_user role permissions 99/7999/6
delacruzramo [Mon, 30 Sep 2019 13:50:52 +0000 (15:50 +0200)]
Fix project_user role permissions

Change-Id: If10f6b77d468535516dcd8bdffb712b98cec2c61
Signed-off-by: delacruzramo <pedro.delacruzramos@altran.com>
5 years agoBug 853 - Fix permissions 78/7978/4
delacruzramo [Thu, 26 Sep 2019 08:52:56 +0000 (10:52 +0200)]
Bug 853 - Fix permissions

Change-Id: Ie95624fe6cbea3cd8ee45709eb76cac51cf981f6
Signed-off-by: delacruzramo <pedro.delacruzramos@altran.com>
5 years agoTests for NBI Quotas 73/7973/2
delacruzramo [Wed, 25 Sep 2019 10:01:59 +0000 (12:01 +0200)]
Tests for NBI Quotas

Change-Id: Ib5c2b5afb3ca0ee31f3c0bf98ed16f7b157861b6
Signed-off-by: delacruzramo <pedro.delacruzramos@altran.com>
5 years agobug when migrating from old user format containing project instead project_role_mappings 69/7969/1
tierno [Tue, 3 Sep 2019 14:58:09 +0000 (14:58 +0000)]
bug when migrating from old user format containing project instead project_role_mappings

Change-Id: I9cb853b2eecef2c69661e85f4bbba4b153811559
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoNBI Quotas 51/7951/7
delacruzramo [Fri, 13 Sep 2019 10:24:22 +0000 (12:24 +0200)]
NBI Quotas

Change-Id: I6d9762b3d8eb3610c00355971ac9a0964bc1b212
Signed-off-by: delacruzramo <pedro.delacruzramos@altran.com>
5 years agoTests for Authentication framework (Projects-Users-Roles) 12/7612/21
delacruzramo [Wed, 5 Jun 2019 11:06:47 +0000 (13:06 +0200)]
Tests for Authentication framework (Projects-Users-Roles)

Change-Id: I8e6cc93ffb9913c4ea3f74679b0a6e87e847de64
Signed-off-by: delacruzramo <pedro.delacruzramos@altran.com>
5 years agobug 838 fix vnfd obtained from nsr reference 50/7950/3
tierno [Tue, 3 Sep 2019 11:51:55 +0000 (11:51 +0000)]
bug 838 fix vnfd obtained from nsr reference

Change-Id: I1b2934ea196d3db19717e68874de6fc59d2c9288
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agochange cherrypy version to 18.1.2 49/7949/2
tierno [Tue, 3 Sep 2019 07:24:17 +0000 (07:24 +0000)]
change cherrypy version to 18.1.2

Change-Id: Id9a2e516e253ccf174d2ac7849178da7bdac0576
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agobug 839: fix error looking for nsi using a nst 48/7948/1
tierno [Fri, 13 Sep 2019 09:44:42 +0000 (09:44 +0000)]
bug 839: fix error looking for nsi using a nst

Change-Id: Iba0af5eccc16255eb408531fd5b0da3637651274
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agofix bug 838. Validate action over vdu 97/7897/1
tierno [Mon, 2 Sep 2019 10:48:56 +0000 (10:48 +0000)]
fix bug 838. Validate action over vdu

Change-Id: I9c45cfcc2e0c088a018e79fc06348dc8e03d3717
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoprovide version in json format 88/7888/4
tierno [Fri, 30 Aug 2019 15:37:12 +0000 (15:37 +0000)]
provide version in json format

Change-Id: I69140a3655a0cf95212eae1022d6d34eec30a198
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agofix Dockerfile local to use osm_nbi as a module 93/7893/1 v6.0 v6.0.2 v6.0.2rc1 v6.0.3 v6.0.4 v6.0.4rc1
tierno [Fri, 30 Aug 2019 15:12:47 +0000 (15:12 +0000)]
fix Dockerfile local to use osm_nbi as a module

Change-Id: I9f3f39d99ce595d74f227b902d55c0dba0ff5dad
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agochange version to be aligned with OSM version 72/7872/5
tierno [Thu, 29 Aug 2019 14:21:41 +0000 (14:21 +0000)]
change version to be aligned with OSM version

Change-Id: I8d5f922269574685f4b42a3ea47ef66ab5879919
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agofix bug 802 encrypt vrops_password at vim_account for schema_version=1.11 32/7832/3
tierno [Thu, 1 Aug 2019 16:35:04 +0000 (16:35 +0000)]
fix bug 802 encrypt vrops_password at vim_account for schema_version=1.11

Change-Id: I04d8e634352e6125b7efc93454125fc7dadb2403
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agochange imports with osm_nbi prefix 67/7867/1
tierno [Wed, 28 Aug 2019 13:36:34 +0000 (13:36 +0000)]
change imports with osm_nbi prefix

Change-Id: I4dcbfc71d900269f28ceec6669fe4127bc6a29fc
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agohtml output header: return project name instead of id 65/7865/1
tierno [Wed, 28 Aug 2019 13:30:23 +0000 (13:30 +0000)]
html output header: return project name instead of id

Change-Id: I44134a1fb02006b82a7ed74a04f2737b53f47453
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agobug 832. Fixing non-authorized configuration for testing 57/7857/2
tierno [Mon, 26 Aug 2019 15:59:24 +0000 (15:59 +0000)]
bug 832. Fixing non-authorized configuration for testing

Change-Id: I3c851031e902da8dddf542ee40c64699e088f6e8
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agofix bug 823: make user-show backward compatible providing 'projects' with the list... 51/7851/2
tierno [Tue, 20 Aug 2019 15:38:11 +0000 (15:38 +0000)]
fix bug 823: make user-show backward compatible providing 'projects' with the list of project names
fix returned format of authconn get_user_list
Allow partially the old format for adding/removing projects to an user with the array edition

Change-Id: If8741fd8c73fd16222b1236d30fb92f70b673d49
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoFix bug 815 - Increased the granularity of the netslice subnet filters for shared... 42/7842/1
Felipe Vicens [Fri, 9 Aug 2019 13:52:40 +0000 (15:52 +0200)]
Fix bug 815 - Increased the granularity of the netslice subnet filters for shared nss selection

Change-Id: I71beb2d73da3f31e2314f29e4c9ca1e4e43dcc1f
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
5 years agoRBAC with internal authentication backend - Phase 2 38/7738/22
delacruzramo [Tue, 2 Jul 2019 12:37:47 +0000 (14:37 +0200)]
RBAC with internal authentication backend - Phase 2

Change-Id: Iaca4f3022c4184e03f9346d492e55e902e5ca720
Signed-off-by: delacruzramo <pedro.delacruzramos@altran.com>
5 years agoClear users, projects, roles not using test URL, that is not available when authentic... 01/7701/5
tierno [Tue, 25 Jun 2019 11:15:32 +0000 (11:15 +0000)]
Clear users, projects, roles not using test URL, that is not available when authentication is keystone

Change-Id: I681dd3f4c6aecc59ffc95390e8cf04209ab2106f
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoadding user, project and ids to logs for traceability 16/7816/3
tierno [Mon, 29 Jul 2019 08:54:42 +0000 (08:54 +0000)]
adding user, project and ids to logs for traceability

Change-Id: I5f2cff49bc53dd16b3ec4cc3311e0606e2a5262a
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoRegister operations for VIM, WIM, SDNC 34/7734/4
tierno [Mon, 1 Jul 2019 15:36:49 +0000 (15:36 +0000)]
Register operations for VIM, WIM, SDNC
provide http ACCEPTED 202 on asynchronous operations

Change-Id: I448dd90e74eca736af5b9e1f3f65bc45992228f0
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agofix ssh-keys passed from NSI to NSR 35/7735/1 v6.0.1
tierno [Tue, 2 Jul 2019 09:28:40 +0000 (09:28 +0000)]
fix ssh-keys passed from NSI to NSR

Change-Id: Ie729872b7815e7d5d7ebc4acdc29136282fc3309
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agofix bug 791. Adding input validation for ns-create. It was only for ns-instantiate 27/7727/1
tierno [Thu, 27 Jun 2019 14:31:10 +0000 (14:31 +0000)]
fix bug 791. Adding input validation for ns-create. It was only for ns-instantiate

Change-Id: I06f1c79398a8a2209467f90b21b70ab0ff15e9bb
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoMoved resources_to_operations to internal nbi.py valid_url_methods to avoid inconsist... 00/7700/3
tierno [Tue, 25 Jun 2019 11:13:14 +0000 (11:13 +0000)]
Moved resources_to_operations to internal nbi.py valid_url_methods to avoid inconsistences
refactored session variable into token_info, engine_session, cherrypy.session to bring more clarity
commented unnecesary exception logs
inserted admin query string into roles permissions

Change-Id: Ib3d9d3210e4eb894a3f120c26f6d0ce032ebc797
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoFix Bug 748: Changing the scope using an available token (i.e. without reissuing... 93/7693/6
delacruzramo [Fri, 21 Jun 2019 12:25:38 +0000 (14:25 +0200)]
Fix Bug 748: Changing the scope using an available token (i.e. without reissuing the username and password) doesn't work
RBAC with internal authentication backend

Change-Id: Ibfe38fa484c3574fbc6a7e12c6bb855b947b60aa
Signed-off-by: delacruzramo <pedro.delacruzramos@altran.com>
5 years agoFix Bug 774 - NBI+Keystone: Trying to obtain a token with user+password+project gives... 71/7671/1 v6.0.0
delacruzramo [Mon, 17 Jun 2019 10:23:31 +0000 (12:23 +0200)]
Fix Bug 774 - NBI+Keystone: Trying to obtain a token with user+password+project gives a Keystone authentication error

Change-Id: Ia1460a445b22eb41e5e4d0a4814294888afcc5f5
Signed-off-by: delacruzramo <pedro.delacruzramos@altran.com>
5 years agoFix bug 771 Do not revoke token when try to do a non allowed operation 69/7669/1
tierno [Fri, 14 Jun 2019 12:07:15 +0000 (12:07 +0000)]
Fix bug 771 Do not revoke token when try to do a non allowed operation
Fix nslcmop and nsilcmo (ns and nsi opeartions) URLs

Change-Id: I21d87b5ed210b03237898b726a0386e1d65b591a
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agobug 739 reload roles info when there is a change at roles 68/7668/1
tierno [Fri, 14 Jun 2019 09:45:39 +0000 (09:45 +0000)]
bug 739 reload roles info when there is a change at roles
Adding 'admin' operation to track query string ADMIN

Change-Id: I2af27018643fa5e84dce3c606249d66893178a82
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agobug 767: uniform role format 66/7666/2
tierno [Thu, 13 Jun 2019 22:37:04 +0000 (22:37 +0000)]
bug 767: uniform role format

Change-Id: I5ca0982c20ca018f787071ea9f82857afcc24e5e
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agofix bugs 747 757: fix user-update interface for RBAC+keystone 63/7663/3
tierno [Thu, 13 Jun 2019 09:06:40 +0000 (09:06 +0000)]
fix bugs 747 757: fix user-update interface for RBAC+keystone

Change-Id: I2c3a754b7bd68fa801cc930f13762ca2585612a6
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agofix bug 748: provide a proper error when user is not valid upon new token 40/7640/3
tierno [Mon, 10 Jun 2019 16:44:00 +0000 (16:44 +0000)]
fix bug 748: provide a proper error when user is not valid upon new token
allow authenticate with both project_id and project_name, user_id and username

Change-Id: I463e2aaa469fea8ad656407dd7b48ed5e28aff28
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agofix bug 749 750: Returns a proper Location Header for project-create 39/7639/1
tierno [Mon, 10 Jun 2019 13:57:29 +0000 (13:57 +0000)]
fix bug 749 750: Returns a proper Location Header for project-create
Allow project update to change name

Change-Id: I650c9afd16a5d8b07075f9f56f4dd88cefd7b1e7
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agobug 710: send dummy messages to kafka before subscribe 33/7633/1
tierno [Fri, 7 Jun 2019 14:44:09 +0000 (14:44 +0000)]
bug 710: send dummy messages to kafka before subscribe

Change-Id: I3dd79775026f39c502198a7afac7a4b64f9cd8f6
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoFix bug 742 26/7626/1
Eduardo Sousa [Thu, 6 Jun 2019 14:00:50 +0000 (15:00 +0100)]
Fix bug 742

Change-Id: I66406b2afcdbbb6a0717197a728d65fde45e7b27
Signed-off-by: Eduardo Sousa <eduardo.sousa@canonical.com>
5 years agoFix bug 744 25/7625/1
Eduardo Sousa [Thu, 6 Jun 2019 13:51:23 +0000 (14:51 +0100)]
Fix bug 744

Change-Id: Ife72a5d1c995fd9e7ecb07e06d6a881f4a4ccb99
Signed-off-by: Eduardo Sousa <eduardo.sousa@canonical.com>
5 years agoFix bug 743 24/7624/1
Eduardo Sousa [Thu, 6 Jun 2019 13:20:58 +0000 (14:20 +0100)]
Fix bug 743

Change-Id: I522e3df0e4263185ca334649a123907cae1b1a79
Signed-off-by: Eduardo Sousa <eduardo.sousa@canonical.com>
5 years agoFix [Bug 675] User is able to delete NS instance before deleting NetworkSlice intance 20/7620/2
Felipe Vicens [Wed, 5 Jun 2019 23:03:00 +0000 (01:03 +0200)]
Fix [Bug 675] User is able to delete NS instance before deleting NetworkSlice intance

Change-Id: I232c449d363d014664ea187f46df190871c3b26f
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>