JDK11 upgrade

Issue-ID: CCSDK-1870

commit2: update surefire plugin to 3.0.0-M5. Need at least M3 for JDK11. S
  Still TODO: what to do about the spring-boot-parent. it may need a bump as well.
commit3: update parent with surefire 3.0.0-M5
commit4: another surefire version update + failsafe version update.
commit5: uncomment surefire def'n in parent pom. It may need to be redefined...
commit6: update to parent 2.0.1-SNAPSHOT
commits... rebasing/minorfixes
commit14: disabling HealthCheckApplicationTests test
commit19: Kapil bugfixes: Jsonfiles "isForce" replaces (incorrect) "force"; bumps kafka scala version to 2_13
commit20: fixe back kafka scala version to 2_11
commit25: reverted + applied patches for 2_13 (due to springboot parent update) + 'application' pom to use forCount=1 and reuseForks=false and reverted scanUatEmpoweredBlueprints modification in BluepritnsAcceptanceTest
commit30: rebase
commit31: SDCListener tests fixes. JMockit updated from 1.19 to 1.49. Since 1.42, need to do these changes https://jmockit.github.io/tutorial/Introduction.html#runningTests
commit32: Dockerfiles cleanup. adduser/group params are different from Alpine.
commit33: Dockerfile for SDClistener typo
commit34: Addressed Dan's comments.
commit35: Image was changed to 1.0.1 (which will be built soon), and the updated base image will already have 'onap' user and group, hence the adduser/group wouldn't be needed.
commit36: rebase
commit37: bumped up BP proc maven-surefire-plugin Xmx
Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
Change-Id: I3d864d500150e7d81bb2ce73333f2db67c004e93
18 files changed
tree: ae86fc0896bc9d58e88a1dc180af992a496850ed
  1. cds-ui/
  2. components/
  3. docs/
  4. ms/
  5. py-modules/
  6. releases/
  7. .editorconfig
  8. .gitignore
  9. .gitreview
  10. .readthedocs.yaml
  11. INFO.yaml
  12. pom.xml
  13. README.md
  14. TagVersion.groovy
  15. version.properties
README.md
Format code with ktlint checkstyle tool use the following command

mvn process-sources -P format

Reference

https://github.com/pinterest/ktlint

Getting started

Basic_Architecture

Basic Requirements

Before you can build this project, you must install and configure the following dependencies on your machine:

1- Java 8 SDK

2- Node and npm installed

3- Angular CLI & Angular v8

4- MySQL Database

5- maven

Running in Development Mode

  • In the main project folder run mvn clean install command to install all libraries and dependencies for maven and npm.

1- Back-end MS

  • create sdnctl table in MySQL
  • (Optional) You could run the project in a specific profile(dev, local) by adding -Dspring.profiles.active=profile-name

2- Loop-back server: that allow your request to reach the backend from cds-ui

  • move to ./cds-ui/server/ folder and run the command npm start

3- cds-ui

  • move to ./cds-ui/designer-client/ folder and run the command npm start, This command will make sure all the files follow the linting rules and then connect to the loopback server.

Using an IDE

Front-end you could use vscode or webstorm.

Back-end Intellij with kotlin plugin or any other editor


For more information check the docs folder.