Age | Commit message (Collapse) | Author | Files | Lines |
|
docker-compose.yml and start.sh script cannot be used
in installer.sh to start k8splugin and mongo.
This commit modifies start.sh script to be usable in
installer.sh to start plugin before tests.
Also fixed kud_tests variable in installer.sh.
Issue-ID: MULTICLOUD-640
Change-Id: I60cc850d6f5b58df574f79ad3c65b801c59b3a14
Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
|
|
Service port should be configurable.
This patch removes the hardcoded value.
The default value is 9015
Issue-ID: MULTICLOUD-609
Change-Id: Iae05f42bd06ecd061ec68a3a7c4a4a87f33b22fa
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Move k8splugin configuration into config files
instead of using environment variables.
Issue-ID: MULTICLOUD-579
Change-Id: I7b76d5a14d24f002a8db484097a31fb5e908b6f8
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
The default environment variables required by docker-compose.yml
file was exported to .env file to have better control on them.
Change-Id: I52408cbf6e6918621a10158866d899d5f66a47eb
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-301
|
|
Migrating to mongodb from consul.
The main reason being the value size limitation of 512kb in consul.
See https://jira.onap.org/browse/MULTICLOUD-426 for details.
This requires a little bit of hierarchy management
and data management.
We are no longer converting structs to json encoded
strings. The underlying db supports structs without any modifications.
Also, since Mongo has the concept of collections, each submodule can
use its own collection for storage as needed.
Definition uses a collection called rbdef right now.
P10: Enabling unit tests for mongo.go. This requires the usage
of aliased functions.
P11: Expanded unit tests for all functions in mongo.go
P12: Refactored parameter validation.
Removed TestHealthCheck as we are not mocking any of the
db commands right now
Checking return value of read with an expected value
P13: Adding back consul support.
Fixing functional test
Full consul implementation check and modifications is
being tracked by MULTICLOUD-427
P15: Fix ReadAll unit test and corresponding code
ReadAll now returns error when no objects are found
Issue-ID: MULTICLOUD-426
Change-Id: I42d239b324025fc4ef4e561790aceeff794001ef
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
The start bash script is used during development phase to quickly
test some changes in source code. This script requires to get the
IP address of the Consul database and export the image name. This
change fixes those instructions
Change-Id: I73c4c4be0a9476304bedcd4c62a723ff1ecc7f7c
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-301
|
|
Migrate from dep to go mod which is
native package management functionality in golang 1.11
Issue-ID: MULTICLOUD-392
Change-Id: I9a94cb38bd230738d7d0e586e6956b7a46472dd7
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
The build process is used by Jenkins Daily Jobs to generate images
as well as the provisioning vagrant process. This change pretends
to satisfy both processes.
Change-Id: I53d77b0e64f2482e612e59d5a3881fae53c63cbd
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-301
|
|
Apparently this instruction is overriding the GOROOT value during
the execution in the Jenkins Jobs.
Change-Id: I97768db029ae21939bfde4753f87387ea976985c
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-301
|
|
It was fixed the issue to connect the plugin with the consul DB.
This was a main roadblock to complete the functional Tests for the
plugin.
Change-Id: I3032e82a8f6baf4739c7433a5ffa97dac23daac8
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-301
|
|
The current architecture offers the possibility to add more plugins
and extend the its functionality. This flexibility has to be supported
during the compilation process. This change modify the Makefile to find
plugins and compile them.
It also adds a start.sh script which allows to run MultiCloud services
without the need of packaging their binaries in a container.
Change-Id: I9271c51daa4fd9156717e37f1818886c72e36c27
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-301
|