summaryrefslogtreecommitdiffstats
path: root/conductor
AgeCommit message (Collapse)AuthorFilesLines
2020-10-23Run AAISIM using mountebankkrishnaa965-3/+278
Mountebank is an over the wire test double. (http://www.mbtest.org/) The AAI api for NSI and NSSI are the same. This makes it difficult to create stub using exisiting web server(web.py). So, lets move aaisim to more flexible mock server Issue-ID: OPTFRA-865 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: I77c48fa3e491b3f73d1d5454625ffa27200f4751
2020-10-23Fix match_hpa with multiple inventory providerskrishnaa967-203/+203
match_hpa is implemented only for AAI inventory provider, but it was called using map_method In order to avoid calling the inventories which have not implemented it, lets create a method "invoke_method" in the inventory provider which will return None, if the method required is not implemented. Issue-ID: OPTFRA-864 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: Idc49be08f10b23404024f9655900b15bc19776e4
2020-10-08Bump HAS to 2.1.22.1.2krishnaa961-1/+1
Issue-ID: OPTFRA-857 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: I23f12df7a27f31c15a27045199d28417186c8493
2020-10-08Fix solver startup issuekrishnaa961-4/+4
Issue-ID: OPTFRA-855 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: Ib1acba8f9bfbf8cd8ba3f264ec66dc5af3253141
2020-10-06Fix bugs related to slice selectionkrishnaa964-62/+60
Issue-ID: OPTFRA-855 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: I3ca5bf8c0f22a6ce2ae84c3286c9977fe2d22744
2020-09-30Fix to support multiple inventory providerskrishnaa9611-767/+296
Add generator plugin to extensions Aggregate candidate from multiple inv providers Limit no of candidates generated by generator Issue-ID: OPTFRA-854 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: I536a62e8616b1b4d9261d9d08540a8db5104af23
2020-09-22Update SSL library in docker2.1.1krishnaa962-2/+2
Issue-ID: OPTFRA-851 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: Id29d11588e029620f232bf549e72869f8a54516c
2020-09-21Increment has release version to 2.1.02.1.0krishnaa961-2/+1
Issue-ID: OPTFRA-850 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: Ib9b9c027712230a6ee58878afbe669d72855b1a2
2020-09-18Remove python2.7 from has imagekrishnaa961-10/+5
- Remove python 2.7 which is not used - Remove nginx which is moved to a seperate container(OPTFRA-794) Issue-ID: OPTFRA-839 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: I94afcc213e8943f27f0fa5e3124d3df04e59fc1e
2020-09-11Add generator plugin to generate slice profilekrishnaa9614-199/+1099
Issue-ID: OPTFRA-802 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: I4dac19a11c560fbf193da46601b938a11a8f5aeb
2020-09-06Add support to generic optimization structurekrishnaa9625-163/+1226
Add a new template version to support the new optmization model Issue-ID: OPTFRA-730 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: I286f7ae1bad0af1fac0da7e96f7274eb9518e031
2020-09-01Add support for NSI candidatedhebeha7-18/+174
Issue-ID: OPTFRA-802 Signed-off-by: dhebeha <dhebeha.mj71@wipro.com> Change-Id: Ibcc6760e6cc80a507a2ea2efab7088e1f09f5672
2020-09-01Add NSSI candidatedhebeha15-230/+465
-Add generic flow for NxI candidate -Add default attributes Issue-ID: OPTFRA-801 Signed-off-by: dhebeha <dhebeha.mj71@wipro.com> Change-Id: I869ebcd35d4c2436676868b26006ca991b34e538
2020-08-17Add new tox env to check for pep8 issueskrishnaa961-3/+11
The linter will check for issues in new and updated files for a new commit Issue-ID: OPTFRA-837 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: Id0759380475f5360c340abb71cd0afe0761beac8
2020-08-12Merge "Model candidates to be object oriented"krishna moorthy7-587/+655
2020-08-12Model candidates to be object orienteddhebeha7-587/+655
Issue-ID: OPTFRA-822 Signed-off-by: dhebeha <dhebeha.mj71@wipro.com> Change-Id: Ia04b4c5f4594dd40843e9d32f6fbdcd2f93cef06
2020-08-01optimize size and time using "--no-cache-dir"Pratik Raj5-8/+8
Using "--no-cache-dir" flag in pip install ,make sure dowloaded packages by pip don't cached on system . This is a best practise which make sure to fetch ftom repo instead of using local cached one . Further , in case of Docker Containers , by restricing caching , we can reduce image size. In term of stats , it depends upon the number of python packages multiplied by their respective size . e.g for heavy packages with a lot of dependencies it reduce a lot by don't caching pip packages. Further , more detail information can be found at https://medium.com/sciforce/strategies-of-docker-images-optimization-2ca9cc5719b6 Issue-ID: OPTFRA-774 Signed-off-by: Pratik Raj <rajpratik71@gmail.com> Change-Id: I40d9eb94ecea623a9ed54b50b1786b154788a17b
2020-06-16remove candidate if threshold field doesn't matchdhebeha3-5/+16
Issue-ID: OPTFRA-777 Signed-off-by: dhebeha <dhebeha.mj71@wipro.com> Change-Id: Ib5a7c312ce2d23d22c36a25857c73fcec28199cd
2020-05-22Increment release version for HASvrvarma1-2/+2
Change-Id: I17e4905fc91f3442ed22f8d8825733e00f861f5c Signed-off-by: vrvarma <vikas.varma@att.com> Issue-ID: OPTFRA-760
2020-04-29Merge "Add generator plugin for candidate generation"Vikas Varma4-1/+462
2020-04-29Merge "Fix aai relationship link query"Vikas Varma1-3/+4
2020-04-30Fix aai relationship link querykrishnaa961-3/+4
Issue-ID: OPTFRA-746 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: Ia0b67b7517100180ce2b47d95d1d2b56d9d5931f
2020-04-29enable https mode when using serverurl in musicdhebeha2-4/+4
Issue-ID: OPTFRA-747 Signed-off-by: dhebeha <dhebeha.mj71@wipro.com> Change-Id: I8ca13756bea53d63aae1bea50705fc531a82088e
2020-04-29Merge "Add nsi info to the candidates"Shankaranarayanan Puzhavakath Narayanan3-17/+37
2020-04-28Modify threshold policy to support multiple constraintskrishnaa964-38/+34
Issue-ID: OPTFRA-730 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: I8f8b4a694048088fcb61b6dbe7428b73f52e65d2
2020-04-28Add nsi info to the candidateskrishnaa963-17/+37
Issue-ID: OPTFRA-746 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: Icdb669e92cd55bfd40aeac61d0aa2ecf1a65de84
2020-04-23Add generator plugin for candidate generation2.0.3krishnaa964-1/+462
Issue-ID: OPTFRA-744 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: I047572609573ca8ab2fa91e087e9f37232eb0371
2020-04-17Change file permissions for nginx files2.0.2krishnaa961-2/+3
Issue-ID: OPTFRA-734 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: I939faa52c1825479e6ad42a755fc357c067de064
2020-04-15Remove encryption of passwords for hasvrvarma2-3/+3
Change-Id: I06134255f2789cdd03dcdfddbe259c85ac81062c Signed-off-by: vrvarma <vikas.varma@att.com> Issue-ID: OPTFRA-732
2020-04-15Fix AAF authentication in conductor apikrishnaa966-13/+13
Fix AAF authentication and move all password decryption to common place Issue-ID: OPTFRA-733 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: I14c119bb246c26b7dc5b5144a843ff627587141b
2020-04-09Nonroot user exposing as default user for the imageIkramullah, Ikram1-19/+24
Defaulting the image user to be 'onap' instead of root Issue-ID: OPTFRA-711 Signed-off-by: Ikramullah, Ikram <ikram@research.att.com> Change-Id: I0241633605a6b7088a2819ddf22c3ef1e65360f2
2020-04-09Fix python3 migration issue in solverkrishnaa961-1/+1
Issue-ID: OPTFRA-728 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: I3b2640acef68fe060e160c939c5b07ef617f89cf
2020-03-23Fix has docker build to conform to self-releasevrvarma3-3/+66
Change-Id: I27671db832cb85517bd7f7a0c587a9a02c2eec61 Signed-off-by: vrvarma <vikas.varma@att.com> Issue-ID: OPTFRA-722
2020-03-20Increment release version for has to 2.0.1vrvarma1-2/+2
Change-Id: I554d2b91467b5b5f84901be64e6d0eeb4fb8cf2e Signed-off-by: vrvarma <vikas.varma@att.com> Issue-ID: OPTFRA-727
2020-03-17Merge "Build changes to generate docker staging images for optf-has"Shankaranarayanan Puzhavakath Narayanan1-0/+66
2020-03-17Migrate unit tests to python3krishnaa9618-103/+61
Issue-ID: OPTFRA-645 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: I094eaa594e7a6f6541ca5d894e0af5127afd3936
2020-03-17Build changes to generate docker staging images for optf-hasvrvarma1-0/+66
Change-Id: I4e9fa87c7b7aed47d73c9a2f39f2f893a57a731a Signed-off-by: vrvarma <vikas.varma@att.com> Issue-ID: OPTFRA-718
2020-03-16Merge "Increment HAS release version"Shankaranarayanan Puzhavakath Narayanan1-2/+2
2020-03-13Add functionalities to support NSSI selectionkrishnaa9615-9/+488
Add threshold constraint Modify AAI plugin to get NSSIs from AAI Issue-ID: OPTFRA-677 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: Ic9bc97aca3835eba99d0a3f1580c281c3856b1cf
2020-03-11Increment HAS release versionvrvarma1-2/+2
Change-Id: Iba05adab9d20ba0cb44d73f9a8c96278df957b6e Signed-off-by: vrvarma <vikas.varma@att.com> Issue-ID: OPTFRA-716
2020-02-28Change password in music_api to decrypted passwordkrishnaa961-1/+1
Issue-ID: OPTFRA-683 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: If0ee6a09571062706b77bd747522a28b64041d80
2020-02-27Change requirement versions for python 3.8krishnaa962-4/+3
Add byte to string conversion after base64 encode Issue-ID: OPTFRA-645 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: I27326dd35b6727da80c159cb34d5d67e0829cf8f
2020-02-26Merge "Python3.8 related changes."Shankaranarayanan Puzhavakath Narayanan23-80/+96
2020-02-26Dockerfile updated to use python 3.8Ikramullah, Ikram1-1/+1
Issue-ID: OPTFRA-645 Signed-off-by: Ikramullah, Ikram <ikram@research.att.com> Change-Id: Ic9ff68036e53feb7938006d4caaf489a23530c7c
2020-02-26Python3.8 related changes.Dingari, Sridevi23-80/+96
Issue-ID: OPTFRA-645 Signed-off-by: Dingari, Sridevi <sridevi.dingari@att.com> Change-Id: I27dfc3bb9c68657658de95ca1ab491db614d35ab
2020-01-24Encryption/Decryption utilityIkram Ikramullah12-18/+153
Putting in the encryption/decryption utility. Hit cipher-util inside the virutalenv to see its usage. The work is still in progress. Issue-ID: OPTFRA-683 Signed-off-by: dhebeha <dhebeha.mj71@wipro.com> Change-Id: I7a4845c1318db8d14f1efbb0f98e785adf214e06
2020-01-10Add AAF root cert location to conductor.confdhebeha2-0/+10
Modify multicloud.py to verify the session using AAF root certificate if https Issue-ID: OPTFRA-328 Change-Id: Ica47cbda3821120a020f34c97a4e398e2f7bbda5 Signed-off-by: dhebeha <dhebeha.mj71@wipro.com>
2019-11-19Add passthrough attributesLukasz Rajewski9-27/+72
Added passthrough attributes in placement request. Current attributes HAS request section changed to filtering_attributes and new passthrough attributes added in HAS request - this one is read from vnf policy passthroughAttributes section. Issue-ID: OPTFRA-610 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: Ie2719fdd94bb0b42ef7cf2cbf47f5f182a4e7347
2019-09-16Increment HAS to version 1.3.31.3.3Ruoyu Ying1-2/+2
Bump up the version for release use Issue-ID: OPTFRA-546 Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com> Change-Id: I2949c46c41fa55ef9ae88bb6e112ef47d6e6cbd1
2019-08-31Enable AAF RootCA in rest call to MUSICRuoyu Ying6-0/+18
Add AAF RootCA cert in the rest call Switch to Https interface Issue-ID: OPTFRA-562 Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com> Change-Id: Ie1860fe8f8ceb11d911d3f1fd83c1b6feea9b8f5 Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com>