Commit Graph

8 Commits

Author SHA1 Message Date
Erich Cordoba 44f220a3b8 Remove version from sm-common folder
The sm-common component had the 1.0.0 version in the folder name, this
change removes that version and updates the centos_pkg_dirs.

Story: 2006623
Task: 36828

Change-Id: I0e998a3e2482bc06f3a91f9494a3e5d21faa28e7
Signed-off-by: Erich Cordoba <erich.cordoba.malibran@intel.com>
2019-09-26 12:00:43 -05:00
Marcela Rosales e08365abf5 Standardize Makefile for service-mgmt/sm-common
Change-Id: I7a2ad5a39f9326f4b6a2dfc49303f980dd824dc3
Story: 2004043
Task: 27542
Signed-off-by: Marcela Rosales <marcela.a.rosales.jimenez@intel.com>
2019-02-07 08:33:52 -06:00
Zuul 0039589298 Merge "Resolve circular references (uuid)" 2019-02-04 23:14:45 +00:00
Luis Botello 196c036013 Improve security by avoiding buffer overflows
This patch adds compiler flags to improve the security of STX code.
Flags added:
Format string vulnerabilities: CFLAGS="-Wformat -Wformat-security"
Compiler will treat string format warnings as errors,
so at compiling level, buffer overflow is avoided.

Story: 2004380
Task: 28823

Signed-off-by: Luis Botello  <luis.botello.ortega@intel.com>
Reviewed-by: Erich Cordoba <erich.cordoba.malibran@intel.com>
             Victor Rodriguez <vm.rod25@gmail.com>
Suggested-by: Victor Rodriguez <vm.rod25@gmail.com>
             Erich Cordoba <erich.cordoba.malibran@intel.com>

Change-Id: I45a0002288db434bc79c477c231f900e477347a1
2019-01-09 05:34:07 -06:00
Bin Qian 28e293bda5 Retrieve hbs cluster info
This change includes:
1. adds code to receive cluster info update from hbsAgent.
2. support of ondemand hbs cluster info query (asynchronous).

Depends-On: I7d294d40e84469df6b6a6f6dd490cf3c4557b711

Story: 2003577
Task: 27816

Change-Id: Idb65abc58b4afe9649aba442f0798c24d9fffb10
Signed-off-by: Bin Qian <bin.qian@windriver.com>
2018-11-30 11:59:23 -05:00
Erick Cardona 8f782bec17 Resolve circular references (uuid)
This commit groups the libraries in order to resolve the references
when linking. It misses linking the libuuid library on libsm_common.so.
This issue can be reproducible on Ubuntu (Xenial) systems.

Story: 2004343

Change-Id: Ib64ce8aa28bd8bcd6bb737ddcccc38d36d552947
Signed-off-by: Erick Cardona <erick.cardona.ruiz@intel.com>
2018-11-27 15:43:26 -06:00
Bin Qian c2c8228d30 sm components to use C++11 standard
This commit does not have any functional or performance change.
This change adds -std=c++11 compile option to Makefiles to
enalbe using C++11 standard features.
This change also cleans errors that c++11 standard complains:
Werror=literal-suffix,
e.g:
   "msg_seq=%"PRIi64"."
   error: invalid suffix on literal;
          C++11 requires a space between literal and identifier
changed to:
   "msg_seq=%" PRIi64 "."

Story: 2003493
Task: 24770

Change-Id: I0225a4326ff8320f36246cc5678698781e903617
Signed-off-by: Bin Qian <bin.qian@windriver.com>
2018-08-20 15:44:01 +00:00
Dean Troyer 17c909ec83 StarlingX open source release updates
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
2018-05-31 07:36:26 -07:00