Skip to content

Commit

Permalink
Move RedisClient class to sonic-swss-common repo (sonic-net#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
qiluo-msft authored and Shuotian Cheng committed Nov 8, 2016
1 parent 415c3e6 commit dc040e2
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 342 deletions.
269 changes: 0 additions & 269 deletions common/redisclient.cpp

This file was deleted.

67 changes: 0 additions & 67 deletions common/redisclient.h

This file was deleted.

2 changes: 1 addition & 1 deletion lib/inc/sai_redis.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
extern "C" {
#include "sai.h"
}
#include "common/redisclient.h"

#include "swss/redisclient.h"
#include "swss/dbconnector.h"
#include "swss/producertable.h"
#include "swss/consumertable.h"
Expand Down
3 changes: 1 addition & 2 deletions lib/src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ libsairedis_la_SOURCES = \
sai_redis_generic_set.cpp \
sai_redis_generic_get.cpp \
sai_redis_notifications.cpp \
sai_redis_record.cpp \
../../common/redisclient.cpp
sai_redis_record.cpp

libsairedis_la_CPPFLAGS = $(DBGFLAGS) $(AM_CPPFLAGS) $(CFLAGS_COMMON)
libsairedis_la_LIBADD = -lhiredis -lswsscommon
Expand Down
3 changes: 1 addition & 2 deletions syncd/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ syncd_SOURCES = \
syncd_reinit.cpp \
syncd_hard_reinit.cpp \
syncd_notifications.cpp \
syncd_counters.cpp \
../common/redisclient.cpp
syncd_counters.cpp

syncd_CPPFLAGS = $(DBGFLAGS) $(AM_CPPFLAGS) $(CFLAGS_COMMON) $(SAIFLAGS)
syncd_LDADD = -lhiredis -lswsscommon -lsai -lpthread -L$(top_srcdir)/meta/.libs -lsaimetadata
Expand Down
2 changes: 1 addition & 1 deletion syncd/syncd.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ extern "C" {
#include "sai.h"
}

#include "common/redisclient.h"
#include "meta/saiserialize.h"
#include "meta/saiattributelist.h"
#include "swss/redisclient.h"
#include "swss/dbconnector.h"
#include "swss/producertable.h"
#include "swss/consumertable.h"
Expand Down

0 comments on commit dc040e2

Please sign in to comment.