Age | Commit message (Collapse) | Author | Files | Lines |
|
Allow release-name property to be provided during instantiation that, if
provided, overrides release-name specified in profile.
Additionally updated Makefile to allow easy compilation with different
go version easily.
Issue-ID: MULTICLOUD-1175
Signed-off-by: Konrad Bańka <k.banka@samsung.com>
Change-Id: Id8db484369045cfb0bc99543a80317644fc838f9
|
|
Add the -race flag to detect any race conditions
in the k8splugin code
It is enabled only for tests right now because of performance
impact on builds.
Issue-ID: MULTICLOUD-870
Change-Id: I53a90df39d2d8b51cbdb6c320f2247721ed98a07
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
As ovn4nfv networks are now handled on k8s side by created CRD, this
plugin is no longer necessary. Removed all references to ovn
Issue-ID: MULTICLOUD-733
Signed-off-by: Konrad Bańka <k.banka@samsung.com>
Change-Id: I7ad6c6d9b3b4fd8f249796f437e69c7df4e701cc
|
|
|
|
Remove gopath from builds as go mod
does not require them.
Issue-ID: MULTICLOUD-666
Change-Id: I3fa4057fb4d40c7f509a52fb82beceddc8f3e090
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
The double thread restriction on the build was introduced
to alleviate runtime memory exceptions.
Now that we have a larger VM for builds, this is not required.
Issue-ID: MULTICLOUD-666
Change-Id: I7568c094a3b4ef0b33dde456d4abfacd0606ffc8
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
CI seems to be failing with out of memory issues
This reduces the multiprocess to 2 for the go test
command.
Issue-ID: MULTICLOUD-666
Change-Id: I3f70ecad51cc16f8972346882d5d98fc803427ef
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
Remove build tags as this is causing issues where
mock plugins need to be loaded into files that do
unit testing as well.
Full integration testing is being done in the CSIT.
Issue-ID: MULTICLOUD-559
Change-Id: Icd147dac80d16a6fb8f33048c76d4083158cecd2
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
|
|
-a forces rebuilding of packages
that are already up-to-date. This is
slowing down builds to several minutes
Change-Id: Iac082538b91e60b23dc1a2f3b1f1597e078d7a4a
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
Issue-ID: MULTICLOUD-301
|
|
Bring in all the helper functions added for end to end
integration. This allows the api level upload of helm charts,
profiles and also instantiation of said helm charts.
P3: Plugin index is based on lowercase kind name
whereas the map contains the correct case for kind.
Convert to lower case before loading the plugin.
Changes after rebasing on the new folder structure.
Rebasing over the new folder structure
P8: Add unit tests for Resolve function
Fix the integration tests for createvnf
I had to add a huge blob of base64 encoded data
based on the profile and sample helm chart to test
the flow.
P12: Update the integration test with the rb_profile_id parameter
Issue-ID: MULTICLOUD-291
Change-Id: If04c41cb185074989ab6c96557958140c43e456d
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
|
|
The change that removes duplicate plugins make actions
I0efecdcb70052b4c0d66102c56e0c715481cb34a didn't consider
the flag for net module which it's needed during the runtime.
Change-Id: I534c38d017fcc08294e8ca52cc936dea117914e3
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-301
|
|
The action which compiles all the plugins is duplicated in the
Makefile. This change remove that duplication to define a
consistent build process.
Change-Id: I0efecdcb70052b4c0d66102c56e0c715481cb34a
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-301
|
|
This patch includes support for Network Objects through a new plugin.
It also add the first sub-module plugin for OVN4NFVK8s support.
Change-Id: Ia23c42d50f75a5206e1b6a04052c34e940518428
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-303
|
|
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 cover action target allows the creation of code coverage report
during the Jenkins Job execution, giving an idea of the impact of
the change submitted.
Change-Id: Ia2b8d57a0f9235ace021baaa6f74370b6656e58f
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-301
|
|
Deployment, service and namespace are plugins which offers CRUD
operations to manage their resources. They haven't implemented
Unit Tests which makes fragile to change/refactor the source code.
This change adds their corresponding Unit Tests and defines a
standard interface.
Change-Id: I1e1eb40f1a18ba33c74069a117462c8df17767ac
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-301
|
|
The current tests can be separated in two categories: unit test and
integration tests. The criteria depends on the scope or dependencies
required for the test. This change provides a mechanism to test
only one category.
Change-Id: Ib7bac49cb0b2d14544fb9704345436a7ba71aead
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
|
|
The instruction that compiles the Mock plugin is only required during
the testing, therefore this instruction can be moved in different
place in the Makefile
Change-Id: Ib800b2b39992a1020e466aa3f22cada5ac84bcf6
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-301
|
|
The building process differed from the build.sh script and Makefile.
In other words, the docker images were created with different
instructions than development process. This patch centralizes these
instructions in a single source for building binaries.
Change-Id: Ib214d335b0e696be6a1a09d3cb8126a75bdf2da4
Issue-ID: MULTICLOUD-301
Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
Signed-off-by: Victor Morales <victor.morales@intel.com>
|
|
This patch provides the initial seed code for the multicloud Kubernetes
plugin and also provides the plugin feature to add new Kubernetes
kinds.
Change-Id: Ie5ee414656665070cde2834c4855ac2ebc179a9a
Issue-ID: MULTICLOUD-301
Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
Signed-off-by: Victor Morales <victor.morales@intel.com>
|