summaryrefslogtreecommitdiffstats
path: root/kubernetes/portal
AgeCommit message (Collapse)AuthorFilesLines
2021-05-10[COMMON] Fix &> and <<< bashismsGuillaume Lambert1-5/+5
pointed out by checkbashisms. Issue-ID: OOM-2643 Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com> Change-Id: I958443b2e4b4f6391a74f957314d7d3fcf321cd0
2021-05-03[PORTAL] Simplify cert retrieval scriptSylvain Desbureaux2-8/+6
As retrieving values is now done via a generic script, let's clean a little bit cert retrieval in order to remove unneeded part. Issue-ID: OOM-2688 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Ifdd2ce7387d00e0a0c341c395f4454393d3f321d
2021-04-13[COMMON] Fix shell scripts missing shebangsGuillaume Lambert1-1/+2
pointed out by checkbashisms. $ tox -e checkbashisms |grep 'interpreter line' | cut -d' ' -f2 |xargs grep -lv '#!/bin/sh' | xargs sed -i -e '1i#!/bin/sh' -e '1i\\' plus manual fixes Issue-ID: OOM-2643 Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com> Change-Id: Ic41fec6ebadd162cecf889f2b119ac82551bd21d
2021-03-24[DOC][COMMON] Prepare Honolulu releaseSylvain Desbureaux12-24/+24
Updating the documentation and bumping version to 8.0.0 Issue-ID: OOM-1 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I6f942f1466fed64264c44fb8fc0e1ffc93a98f18
2021-02-24[CASSANDRA] Loosen probe check timeSylvain Desbureaux2-4/+8
As for main cassandra chart, with Azure and also some internal deployments, `nodepool status` takes more than 3 seconds and so cassandra is not coming up or quite randomly. This patch gives more room to `nodepool status` to answer. Issue-ID: OOM-2687 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: If6a148a432ed3d83a1e89d38f20fe87e89ab0f57
2021-02-16[PORTAL] Fix Heap config generationSylvain Desbureaux2-11/+19
When tried to apply heap configuration for small flavors, weird side effects have appeared. This patch solves them by doing a more generic way of configuring heap variables for cassandra. Issue-ID: PORTAL-1037 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Iebe2edd5281213580d9e1d4d86f9ca0b2abd2601
2021-02-08[PORTAL][CASSANDRA] Configure HeapSylvain Desbureaux2-3/+17
When on small flavor, limits set are too small to allow a smooth start of cassandra with usual Heap configurations. This patch adds heap configuration when on small. Issue-ID: PORTAL-1037 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Icdbc4fd5892c3f350642ffdd924e4c36f0135019
2021-01-20[PORTAL] Fix ONAP Portal redirect to internal portmarcinrzepeckiwroc1-1/+1
Incorrect redirection to the login page. Unlogged user after entering to https://portal.api.simpledemo.onap.org:30225/ONAPPORTAL/app/applicationsHome should be redirected to https://portal.api.simpledemo.onap.org:30225/ONAPPORTAL/login.htm instead of http://portal.api.simpledemo.onap.org:8989/ONAPPORTAL/login.htm Issue-ID: PORTAL-1055 Signed-off-by: Marcin Rzepecki <marcin.rzepecki@nokia.com> Change-Id: I48673fa45aea66f664e9c22107fcaef00305264a
2021-01-08[PORTAL] Make Portal use generic Cassandra imageGrzegorz-Lis3-17/+59
Portal uses currently a customized, old Cassandra Image (cassandra_music:3.0.0) which doesn't support dual stack (IPv4 and IPv6). Intention of this change is to replace this image with generic, bitnami image. Issue-ID: PORTAL-1037 Signed-off-by: Grzegorz Lis <grzegorz.lis@nokia.com> Change-Id: I6d76a09328adc20b408f1e22fd608cd44b074712
2020-11-30[COMMON][DOC] Bump version GuilinSylvain Desbureaux12-24/+24
Update charts and requirements to 7.0.0. Create release notes for Guilin Update documentation Issue-ID: OOM-2638 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I965ed6b6ebb7d74bfddaff73edd3dd55a657841c
2020-11-21[PORTAL] Uses new tpls for repos / imagesSylvain Desbureaux16-41/+33
This commit makes Portal chart to use the new generator for repositories and images. Issue-ID: OOM-2364 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Ib49380460bbbf581c364033fc0fde707ee84082b
2020-11-05[PORTAL] Update image versionsSandeep Shah4-5/+5
Includes image updates to version 3.4.2 and disabled A&AI Ui from portal platform Issue-ID: OOM-2618 Signed-off-by: SandeepLinux <sandeep.shah@att.com> Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I98f4b477c3ac4d75ae9ef40387c6e931c1afb352
2020-10-27Merge "[PORTAL ] Non-root user DB access from WMS"Krzysztof Opasiak5-8/+105
2020-10-27[PORTAL ] Non-root user DB access from WMSSandeep Shah5-8/+105
Update portal-widget HELM charts to use non- root user access to the portal mariadb backend Issue-ID: OOM-2601 Signed-off-by: SandeepLinux <ss048t@att.com> Change-Id: I434ce85f1d0922d87fca35f692064a9b5e757954 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2020-10-22Merge "[Tree-wide] Add helmignore to ignore components"Sylvain Desbureaux1-24/+22
2020-10-21[PORTAL] change comment styleJakub Latusek33-0/+66
Signed-off-by: Jakub Latusek <j.latusek@samsung.com> Change-Id: If275a72fbfe0c6bc283991c00d7fef6d9b7d686e Issue-ID: OOM-2562
2020-10-21[Tree-wide] Add helmignore to ignore componentsKrzysztof Opasiak1-24/+22
components directory takes up a lot of space and is included during helm package Lets remove it using .helmignore This is just a copy of idea showed in: "[OOF] Add helmignore to ignore components" by krishnaa96 <krishna.moorthy6@wipro.com> Issue-ID: OOM-2534 Suggested-by: krishnaa96 <krishna.moorthy6@wipro.com> Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: I25c82e79ba2c472b7761a63365573188ab8db56b
2020-10-16Update makefiles to use specific helm versionJakub Latusek2-12/+14
Helm is now called by HELM_BIN variable which by default is set to helm and makefiles use helm from path. HELM_BIN can be overwritten so user can have two version of helm in system and choose which one to use. Signed-off-by: Jakub Latusek <j.latusek@samsung.com> Issue-ID: OOM-2562 Change-Id: I0917796aafe234e87afa0ac3c4c15720296276d5
2020-10-09Merge "[Portal] Update docker-entrypoint.sh for portal-mariadb"Sylvain Desbureaux5-147/+310
2020-10-09Merge "[Portal] Added Logging Compliance Specification Details"Sylvain Desbureaux2-2/+2
2020-10-08[Portal] Update docker-entrypoint.sh for portal-mariadbSandeep Shah5-147/+310
Update docker-entrypoint.sh file, since we are going with the latest mariaDB version 10.5.5 and also updated with released images Issue-ID: OOM-2587 Signed-off-by: SandeepLinux <Sandeep.Shah@att.com> Change-Id: If903ccbfb5dc820219b7d0d28d274bd40b033887 Signed-off-by: statta <statta@att.com>
2020-10-02[PORTAL] Bug fixes in Helm chartsSandeep Shah2-4/+34
Bug fixes in deployment.yaml file for both portal-app and sdk components Issue-ID: OOM-2582 Signed-off-by: SandeepLinux <Sandeep.Shah@att.com> Change-Id: I4123ca8f48f503170466f7a965696406c14635d6 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2020-10-02[PORTAL] Non-root user for back-end databaseSandeep Shah11-8/+81
Creation of a non-root user for portal backend mariaDB database. Update portal apps, such as front-end app and sdk app, to use the non-root user to access back-end mariaDB database Issue-ID: OOM-2576 Signed-off-by: SandeepLinux <Sandeep.Shah@att.com> Change-Id: Ie13c7d190c08a4075058b97b352f4b71bbb0aa47 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2020-09-30[Portal] Added Logging Compliance Specification DetailsKishore Reddy Dwaram2-2/+2
Updated Error logger pattern in logback.xml Issue-ID: PORTAL-1008 Signed-off-by: Kishore Reddy Dwaram <kishore.reddy.dwaram@att.com> Change-Id: I2d3e8a1e14870e0dda2b2a85ad8ad30bc5595060
2020-09-30Merge "[Portal] Followed Logging Compliance Specification Guidelines"Sylvain Desbureaux4-10/+16
2020-09-28[PORTAL] Use helm-push pluginJakub Latusek2-0/+10
Signed-off-by: Jakub Latusek <j.latusek@samsung.com> Issue-ID: OOM-2562 Change-Id: I9f5e99287e21ddec51e26d4c55e4d5db7071adb4
2020-09-25[Portal] Followed Logging Compliance Specification GuidelinesKishore Reddy Dwaram4-10/+16
Made changes in logback.xml to support Logging Compliance Specification Standard and music properties updated Issue-ID: PORTAL-1008 Signed-off-by: Kishore Reddy Dwaram <kishore.reddy.dwaram@att.com> Change-Id: I737ac607aea08c0e96a6e7844ada72a061a5008a
2020-09-25Merge "[PORTAL] Deprecate the Policy Engine GUI"Sylvain Desbureaux1-1/+4
2020-09-25[PORTAL] Deprecate the Policy Engine GUISudarshan Kumar1-1/+4
The policy/engine GUI is being deprecated in Guilin and needs to be removed from Portal project as that docker image will no longer be shipped and will be removed from OOM charts soon. Issue-ID: PORTAL-978 Change-Id: I8242f734dfd67c55146ea2952cad82bbd259da5b Signed-off-by: Sudarshan Kumar <sudarshan.kumar@att.com>
2020-09-24[Portal] Remove hardcoded cassandra passwordSandeep Shah14-10/+219
Make cassandra password generate automatically and distribute it to components that use DB. Remove also hardcoded encryption key. Issue-ID: PORTAL-944 Signed-off-by: SandeepLinux <Sandeep.Shah@att.com> Change-Id: I6e579a76efacc7a0921fea7c74a7a9e49347ebd8 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2020-09-07Merge "Removal of zookeeper from portal HELM charts"Sylvain Desbureaux13-296/+1
2020-09-04[GENERAL] Use readiness container v3.0.1Sylvain Desbureaux8-19/+15
Readiness container v3.x and up are now present in ONAP main repository. They're also not using root user anymore and then script path has changed. Finally, "job_complete" script has been integrated in main "ready" script. As those changes are significant, we must upgrade all the components at once. Depends-On: I5afa83892043f4844afe12e61724a8d368a9f2e0 Issue-ID: OOM-2545 Signed-off-by: Grzegorz Lis <grzegorz.lis@nokia.com> Change-Id: I0b4eb5dd86390273532d67d0a9696e1cfcadf110
2020-08-30Removal of zookeeper from portal HELM chartsSandeep Shah13-296/+1
Portal components no more rely on zookeeper and removed from rspective portal and its component HELM charts Issue-ID: PORTAL-998 Signed-off-by: SandeepLinux <Sandeep.Shah@att.com> Change-Id: I9939da45ee03623a4f7cfc379c68785fdcce8b63
2020-08-18No root access to mariadb from portal appSandeep Shah2-1/+9
Updates to helm charts to include an init container to set permissions for volume, so that the existing initialization code when run as a non-root user can access the volume. this is in combination with PORTAL-966. Issue-ID: PORTAL-946 Signed-off-by: SandeepLinux <Sandeep.Shah@att.com> Change-Id: I63a78dc1ab90914d648b0c1f470d3079eb0ddeba
2020-07-27[PORTAL] Make PORTAL compatible with Kubernetes v1.17Grzegorz-Lis6-6/+24
Issue-ID: OOM-2463 Signed-off-by: Grzegorz Lis <grzegorz.lis@nokia.com> Change-Id: I20f44472e2c22b23ef22f477b63479b7e71eff16
2020-06-01Merge "[PORTAL] Use common aaf template in portal-sdk"Krzysztof Opasiak5-41/+18
2020-05-29Merge "[PORTAL] Use common aaf template in portal-app"Sylvain Desbureaux5-40/+17
2020-05-27Update Portal Images for Role Mgt fixstatta3-3/+3
Issue-ID: PORTAL-894 Change-Id: I7cf521518a89be18443148b350ba3d1df1bfec06 Signed-off-by: statta <statta@research.att.com>
2020-05-26[PORTAL] Use common aaf template in portal-appKrzysztof Opasiak5-40/+17
Instead of copy-pasting code around aaf_agent usage let's use a common template that automates this. Issue-ID: AAF-1134 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: Ida183073e70563527d9d218cb247d7028687c167
2020-05-25[PORTAL] Use common aaf template in portal-sdkKrzysztof Opasiak5-41/+18
Instead of copy-pasting code around aaf_agent usage let's use a common template that automates this. Issue-ID: AAF-1134 Change-Id: I49a7da1458b50dd1c550dbed5e686efc1c8e948d Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
2020-05-22[PORTAL] Move portal subcharts to componentsKrzysztof Opasiak81-1/+231
In order to allow to define dependencies per subchart let's move all of them to components and make sure that they can be build independently. Issue-ID: AAF-1134 Change-Id: Ia75ba66d9338dbacaea500c20f6a5b384d1685a1 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
2020-05-20Use non encrypted pwd for AAF communicationChrisC5-9/+8
Issue-ID: PORTAL-894 Signed-off-by: ChrisC <christophe.closset@intl.att.com> Change-Id: Ide962ac7f02d17e4386002a891ab0cf22f38f656
2020-05-07Update Docker Release versionstatta2-2/+2
Modify Update DB script. Issue-ID: PORTAL-900, PORTAL-894 Signed-off-by: statta <statta@research.att.com> Change-Id: I224826ef027e38d88f035fcef64969137154fd4d
2020-05-06[Portal] Fix Ingress configurationSylvain Desbureaux1-1/+1
Set redirect for SSL for HTTPS backend. Issue-ID: OOM-2185 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I44c42968c2d3ab35c61920f47d3bd6c2ae3cd4dc
2020-05-04Merge "Change ingress hosnames for exposed services"Sylvain Desbureaux2-2/+2
2020-05-04Merge "Portal AAF REST API perm fixes for Roles"Sylvain Desbureaux6-22/+20
2020-05-04Portal AAF REST API perm fixes for RolesChrisC6-22/+20
Fixed AAF REST API creds : reuse of X509 identity the use of javax.net.ssl variables overrides basic auth identity the fake password must be slightly updated in order to pass current decryption method in portal code Issue-ID: PORTAL-875 Change-Id: I0497df70f0ff9a30e4ccd634aff67467f5ae04df Signed-off-by: ChrisC <christophe.closset@intl.att.com>
2020-04-29Change ingress hosnames for exposed servicesLucjan Bryndza2-2/+2
Change ingress host to the required hostnames Change-Id: Ic78c8821e2e23e00943d8abdf7b2183b4d940c72 Signed-off-by: Lucjan Bryndza <l.bryndza@samsung.com> Issue-ID: OOM-2391 Signed-off-by: Lucjan Bryndza <l.bryndza@samsung.com>
2020-04-24Changed http to https for SDKLorraine Welch1-1/+1
Issue-ID: PORTAL-890 Signed-off-by: Lorraine Welch <lb2391@att.com> Change-Id: I29db7da917f46a4bd3917fe1b71d714a9bf80022
2020-04-22Merge "[Portal] Move (unused) readinessImage to global"Krzysztof Opasiak2-2/+3