aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-08-24Replace sdc clientWojciech Sliwka11-382/+491
Replace old SDC client to use genericRestClient Change-Id: I9b3b567871ac3f319742fca9457e42b6d4db0a8a Issue-ID: VID-268 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2018-08-23Merge "Generic REST client for external services"Ofir Sonsino6-3/+763
2018-08-23Fix NPE in VID UIWojciech Sliwka2-1/+7
Change-Id: Iff006622e6d46c3f3e15c662bf6c28f246cf40e1 Issue-ID: VID-294 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2018-08-23Generic REST client for external servicesgolabek6-3/+763
Initial commit for generic REST client for requests to another components APIs Change-Id: I4af29ab1e45fd805403622e60585a351f3ef5d20 Issue-ID: VID-266 Signed-off-by: tgolabek <tomasz.golabek@nokia.com>
<!---
Copyright © 2021 Orange

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

# Contributing to OOM

Thanks for taking the time to contribute to OOM!
Please see a few informations on how to dot it.

## How to become a contributor and submit your own code

### Environment setup

In order to be able to check on your side before submitting, you'll need to
install some binaries:

* helm (satisfying the targeted version as seen in [setup guide](
docs/oom_cloud_setup_guide.rst#software-requirements).
* chartmuseum (in order to cm-push dependency charts)
* helm cm-push (version 0.10.1 as of today)
* make

### Linting and testing

OOM use helm linting in order to check that the templates rendering is correct
with default values.

first step is to start chartmuseum:

```shell
nohup chartmuseum --storage="local" --storage-local-rootdir="/tmp/chartstorage" \
  --port 6464 &
```

then you add `local` repository to helm:

```shell
helm repo remove local && helm repo add local http://localhost:6464
```

As full rendering may be extremely long (~9h), you can only lint the common
part and the component you're working on.
Here's an example with AAI:

```shell
cd kubernetes
make common && make aai
```

If you work on non default path, it's strongly advised to also render the
template of your component / subcomponent to be sure it's as expected.

Here's an example enabling service mesh on aai graphadmin:

```shell
cd aai/components/
helm template --release-name onap --debug \
  --set global.ingress.virtualhost.baseurl=toto \
  --set global.ingress.enabled=true --set global.masterPassword="toto" \
  --set global.serviceMesh.enabled=true --set global.serviceMesh.tls=true \
  aai-graphadmin
```

All the output will be the rendered YAML if it's OK or you may see an error.
Usually the errors comes from bad indentation or unknown value.

### Contributing A Patch

1. Fork the desired repo, develop and test your code changes.
2. Sign the LFN CLA (<https://www.onap.org/cla>)
3. Submit a pull request.
4. Work with the reviewers on their suggestions.
5. Ensure to rebase to the HEAD of your target branch and squash un-necessary
   commits (
   <https://blog.carbonfive.com/always-squash-and-rebase-your-git-commits/>)
   before final merger of your contribution.
-08-13Renaming vid-automation #4kurczews18-58/+85 Change-Id: I907b9a6c199302d748918e236ee2945d56f4dd26 Issue-ID: VID-205 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com> 2018-08-13Renaming vid-automation #3kurczews20-27/+27 Change-Id: I5eabdb9d06ca9887808bb623dde09d038cf2de53 Issue-ID: VID-205 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com> 2018-08-13Renaming vid-automation #2kurczews15-21/+21 Change-Id: Ide2d71658369e0f0d953e1aa1752f48e9a4bbe96 Issue-ID: VID-205 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com> 2018-08-13Renaming vid-automation #1kurczews29-51/+51 Change-Id: Ib5b576a931e37930119e440e965e491b1711d073 Issue-ID: VID-205 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com> 2018-08-12New VID UI - distribution fixSonsino, Ofir (os0695)1-0/+14 Change-Id: I864ba9f4d4025cc46ea069c4c6137721a00f24af Issue-ID: VID-280 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com> 2018-08-12Build new VID UISonsino, Ofir (os0695)3-54/+7 Change-Id: If106efe90bd5113c2ee137d4f36b20ebdc1f2904 Issue-ID: VID-280 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com> 2018-08-12vid-simulator dev and test toolSonsino, Ofir (os0695)92-597/+42609 Change-Id: I38e7eead042bde3beeebbdf4e05a7f62f174fd1e Issue-ID: VID-281 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com> 2018-08-12Merge "vid-automation selenium tests"Ofir Sonsino398-781/+185739 2018-08-12vid-automation selenium testsSonsino, Ofir (os0695)398-781/+185739 Change-Id: I6c1b0a0cf3bbfa4314c81f0cc72507db805ec632 Issue-ID: VID-281 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com> 2018-08-12Merge "Add transparent proxy support"Ofir Sonsino1-0/+17 2018-08-09Add transparent proxy supportkurczews1-0/+17 Issue-ID: VID-284 Change-Id: I01cbaef07bbb1d8f748e5a2823241602535ca305 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com> 2018-08-08Update URI used to contact SOSonsino, Ofir (os0695)2-10/+10 Change-Id: I9b2e259b29e838cd027e7f9907704443293bef85 Issue-ID: VID-282 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com> 2018-08-06Merge "UI Feature flagging support"Ofir Sonsino48-2263/+3295 2018-08-06UI Feature flagging supportSonsino, Ofir (os0695)48-2263/+3295 Change-Id: Ic2151dab6306c42364483e9064c01bab3dd7378b Issue-ID: VID-208 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com> 2018-08-06Merge "Refactor of an AAIRestInterface"Ofir Sonsino17-309/+1192 2018-08-06Refactor of an AAIRestInterfacetgolabek17-309/+1192 Refactor and some additional tests added (cherry picked from commit 6d8fa7d179b8de802ae386b317ddd1214eac1c47) Change-Id: Ibe7583353499352aa81d100b9995b9c74133c447 Issue-ID: VID-229 Signed-off-by: Stern, Ittay (is9613) <is9613@att.com> [Added proper headers to modified and created files] Signed-off-by: golabek <tomasz.golabek@nokia.com> 2018-08-06Merge "Improve docker installation"Ofir Sonsino2-13/+30 2018-08-06Improve docker installationkurczews2-13/+30 Issue-ID: VID-279 Change-Id: If592225832c2e549182ebbb888f4b92f5b91f0e3 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com> 2018-08-02NPE and other code smells reported by sonarArindam Mondal6-7/+11 Issue-ID: VID-278 Change-Id: Ib06ff30a0cc4e9d361a87b791513c8d38a09294a Signed-off-by: Arindam Mondal <arind.mondal@samsung.com> 2018-07-31Test coveragee vid-common-appArindam Mondal1-0/+114 Issue-ID: VID-277 Change-Id: I4c55fe275a8ee7f86434d91fcecff68df22c2927 Signed-off-by: arindamm <arind.mondal@samsung.com> 2018-07-10New Angular UI from 1806Sonsino, Ofir (os0695)337-0/+46774 Change-Id: I39c160db0e0a6ec2e587ccf007ee1b23c6a08666 Issue-ID: VID-208 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com> 2018-07-10Merge 1806 code of vid-commonSonsino, Ofir (os0695)275-7272/+15165 Change-Id: I75d52abed4a24dfe3827d79edc4a2938726aa87a Issue-ID: VID-208 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com> 2018-06-18Merge "Getter/setter tests inside the aai model"Ofir Sonsino21-1126/+152 2018-06-11Getter/setter tests inside the aai modeltgolabek21-1126/+152 Refactor of a tests of aai model for getters/setters using google matchers Issue-ID: VID-228 Change-Id: I5e7912bbcc4bd605002278b50b63d976a2dc55cc Signed-off-by: tgolabek <tomasz.golabek@nokia.com> 2018-06-06Fix format issue in RNGildas Lanilis1-2/+11 Change-Id: I7f71a8e35622225f60f5ff7f346f793a8e5cfc2d Issue-ID: DOC-271 Signed-off-by: Gildas Lanilis <gildas.lanilis@huawei.com> 2018-06-05VoLTE supportv2.0.02.0.0-ONAP2.0.0-ONAPSonsino, Ofir (os0695)10-11/+88 Change-Id: I506a30d012003d8f6efb7c894435c28f1e421ac4 Issue-ID: VID-189 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com> 2018-06-04Fix SO C.M payloadSonsino, Ofir (os0695)1-2/+2 Change-Id: Ia14a7dc92cfaa01dddec62f2d2d0295126d5f178 Issue-ID: VID-201 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com> 2018-05-31Document Security section of the Release NotesGildas Lanilis1-14/+7 Change-Id: I793f0754bd56b99600c351c391c47b53d99fc4a9 Issue-ID: DOC-271 Signed-off-by: Gildas Lanilis <gildas.lanilis@huawei.com> 2018-06-01Fix SO C.M payloadSonsino, Ofir (os0695)3-1/+3 Change-Id: I84ea1d3981432d1b47690c87dd75d8b94cb848c2 Issue-ID: VID-201 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com> 2018-05-30Update ReadTheDocsSonsino, Ofir (os0695)2-0/+160 Change-Id: Iaed99f1c8d9121ad4ba2ae74030e851dac14654c Issue-ID: VID-216 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com> 2018-05-30Scale out fix for vfmodule countSonsino, Ofir (os0695)1-2/+19 Change-Id: I9bd6fe9439f5779afd9711489a1c3b850f6c864e Issue-ID: VID-188 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com> 2018-05-29error message when model doesn't existSonsino, Ofir (os0695)1-2/+17 Change-Id: I86aa21b380d2c0616846d92680382518e2355b3f Issue-ID: VID-233 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com> 2018-05-28Set VID version to 2.0Sonsino, Ofir (os0695)7-14/+14 Change-Id: Id1eb8f82f1e6c751b1d6c41f32d4a7f035c63eec Issue-ID: VID-234 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com> 2018-05-25Scale out fix for vfmodule nameSonsino, Ofir (os0695)1-7/+4 Change-Id: I3591d1cff63d96609f0a7441784c8d54cc189568 Issue-ID: VID-188 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>