summaryrefslogtreecommitdiffstats
path: root/sms-service/src/quorumclient
AgeCommit message (Collapse)AuthorFilesLines
2018-10-25Move to go mod from depKiran Kamineni4-30/+99
Go 1.11 introduces a native functionality for package management. This replaces dep which is the tool we were using before. This patch switches SMS to use go mod instead of dep for package management. P2: Add GO111MODULE=on to the makefile Issue-ID: AAF-404 Change-Id: I462d210fbbe71bff1310a50993410ebc7d8f6fa8 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2018-04-30Using SNI for service names to support k8sKiran Kamineni2-6/+14
Using SNI in quorum client connection to connect to SMS service via https Issue-ID: AAF-265 Change-Id: I5108e9d734f11a4f74c41a41a2d8cd2f72c62b36 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2018-04-26Adding cert files to support httpsKiran Kamineni2-12/+14
Adding cert files generated by AAF CA Incorporating them into the docker build as well Issue-ID: AAF-265 Change-Id: I1ee1e031bf058a0325fe2c6fe8eed5e3948d70e7 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2018-04-26Quorum client creates its data folder before writeKiran Kamineni1-5/+8
Data folder is not guaranteed to exist and therefore needs to be created before writes can be done on it. Issue-ID: AAF-261 Change-Id: I4671f0dac34a04c80639386719639b8c9472a9d3 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2018-04-20Refactor logger and use it everywhereKiran Kamineni1-12/+10
Refactored the logger to print the right line number. This is done by using the runtime.caller function within the logger.output function Issue-ID: AAF-257 Change-Id: Ie26de43ca74c71f382d3b5f93ebd4eaf6d51e2b4 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2018-04-18Added lock for quorum registrationKiran Kamineni1-4/+6
Added lock for quorum registration Removed debug statement Issue-ID: AAF-92 Change-Id: Ib2de5ae7ed31b93b6853c78a70305a401ba3c014 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2018-04-13Adding secure init code for backendKiran Kamineni4-33/+135
Changes to allow quorum client to SMS communication Introducing a registration api for quorum clients to get their shard piece in PGP encrypted form from SMS Tested with 3 quorum clients. This is now ready for review. Issue-ID: AAF-168 Change-Id: I7a6ade792c1e5ebcf00cbc8c4a1f1942c006e7c7 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2018-04-11Refactoring some code and adding disable_tls flagKiran Kamineni2-14/+35
Refactored some code and adding disable_tls flag This is needed for now to enable some end to end testing of quorum abilities and will be enabled once certificate support is added to ONAP Also updated test script to take port as argument Issue-ID: AAF-95 Change-Id: I4124bbfd22185a83b3c671b8a0499bfb3bde865d Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2018-04-05renaming folder to match go executableKiran Kamineni3-0/+139
Renaming folder from smsquorum to quorumclient Added quorumclient build as part of the makefile Will upload another patch in ci-management that will call the new parent makefile Issue-ID: AAF-213 Change-Id: Ib85ac6b9dc454fc1447cf2221a555d7a7552efa5 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>