Skip to content

Commit

Permalink
chore(sessiond): Hpp-ify SessionD header files
Browse files Browse the repository at this point in the history
Signed-off-by: GitHub <noreply@github.com>
  • Loading branch information
themarwhal committed Apr 21, 2022
1 parent 476b05f commit d44b39e
Show file tree
Hide file tree
Showing 101 changed files with 413 additions and 413 deletions.
4 changes: 2 additions & 2 deletions lte/gateway/c/session_manager/AAAClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* limitations under the License.
*/

#include "lte/gateway/c/session_manager/AAAClient.h"
#include "lte/gateway/c/session_manager/AAAClient.hpp"

#include <glog/logging.h>
#include <grpcpp/channel.h>
Expand All @@ -26,7 +26,7 @@
#include <utility>
#include <vector>

#include "lte/gateway/c/session_manager/SessionState.h"
#include "lte/gateway/c/session_manager/SessionState.hpp"
#include "lte/gateway/c/session_manager/Types.h"
#include "orc8r/gateway/c/common/service_registry/includes/ServiceRegistrySingleton.hpp"
#include "orc8r/gateway/c/common/logging/magma_logging.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
#include <memory>
#include <string>

#include "lte/gateway/c/session_manager/SessionState.h"
#include "lte/gateway/c/session_manager/SessionStore.h"
#include "lte/gateway/c/session_manager/SessionState.hpp"
#include "lte/gateway/c/session_manager/SessionStore.hpp"
#include "lte/gateway/c/session_manager/StoreClient.h"
#include "orc8r/gateway/c/common/async_grpc/includes/GRPCReceiver.hpp"

Expand Down
2 changes: 1 addition & 1 deletion lte/gateway/c/session_manager/AmfServiceClient.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "lte/gateway/c/session_manager/AmfServiceClient.h"
#include "lte/gateway/c/session_manager/AmfServiceClient.hpp"

#include <glog/logging.h>
#include <grpcpp/channel.h>
Expand Down
70 changes: 35 additions & 35 deletions lte/gateway/c/session_manager/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ package(default_visibility = ["//lte/gateway/c/session_manager/test:__pkg__"])
cc_library(
name = "diameter_codes",
srcs = ["DiameterCodes.cpp"],
hdrs = ["DiameterCodes.h"],
hdrs = ["DiameterCodes.hpp"],
)

cc_library(
name = "grpc_magma_utils",
srcs = ["GrpcMagmaUtils.cpp"],
hdrs = ["GrpcMagmaUtils.h"],
hdrs = ["GrpcMagmaUtils.hpp"],
deps = [
"//orc8r/gateway/c/common/logging",
"@com_github_google_glog//:glog",
Expand All @@ -33,13 +33,13 @@ cc_library(
cc_library(
name = "session_id",
srcs = ["SessionID.cpp"],
hdrs = ["SessionID.h"],
hdrs = ["SessionID.hpp"],
)

cc_library(
name = "utilities",
srcs = ["Utilities.cpp"],
hdrs = ["Utilities.h"],
hdrs = ["Utilities.hpp"],
deps = ["@com_google_protobuf//:protobuf"],
)

Expand Down Expand Up @@ -80,9 +80,9 @@ cc_library(
],
hdrs = [
"ObjectMap.h",
"PolicyLoader.h",
"PolicyLoader.hpp",
"RedisMap.hpp",
"Serializers.h",
"Serializers.hpp",
],
deps = [
"//lte/protos:policydb_cpp_proto",
Expand All @@ -98,7 +98,7 @@ cc_library(
cc_library(
name = "session_reporter",
srcs = ["SessionReporter.cpp"],
hdrs = ["SessionReporter.h"],
hdrs = ["SessionReporter.hpp"],
deps = [
":grpc_magma_utils",
"//lte/protos:session_manager_cpp_grpc",
Expand All @@ -112,7 +112,7 @@ cc_library(
cc_library(
name = "stored_state",
srcs = ["StoredState.cpp"],
hdrs = ["StoredState.h"],
hdrs = ["StoredState.hpp"],
deps = [
":credit_key",
":types",
Expand All @@ -127,7 +127,7 @@ cc_library(
cc_library(
name = "rule_store",
srcs = ["RuleStore.cpp"],
hdrs = ["RuleStore.h"],
hdrs = ["RuleStore.hpp"],
deps = [
":credit_key",
"//lte/protos:pipelined_cpp_grpc",
Expand All @@ -145,10 +145,10 @@ cc_library(
"SessionCredit.cpp",
],
hdrs = [
"ChargingGrant.h",
"EnumToString.h",
"ChargingGrant.hpp",
"EnumToString.hpp",
"Monitor.h",
"SessionCredit.h",
"SessionCredit.hpp",
],
deps = [
":diameter_codes",
Expand All @@ -164,13 +164,13 @@ cc_library(
cc_library(
name = "shard_tracker",
srcs = ["ShardTracker.cpp"],
hdrs = ["ShardTracker.h"],
hdrs = ["ShardTracker.hpp"],
)

cc_library(
name = "session_state",
srcs = ["SessionState.cpp"],
hdrs = ["SessionState.h"],
hdrs = ["SessionState.hpp"],
deps = [
":rule_store",
":session_credit",
Expand All @@ -186,7 +186,7 @@ cc_library(
cc_library(
name = "metering_reporter",
srcs = ["MeteringReporter.cpp"],
hdrs = ["MeteringReporter.h"],
hdrs = ["MeteringReporter.hpp"],
deps = [
":session_credit",
":stored_state",
Expand All @@ -202,9 +202,9 @@ cc_library(
"SessionStore.cpp",
],
hdrs = [
"MemoryStoreClient.h",
"RedisStoreClient.h",
"SessionStore.h",
"MemoryStoreClient.hpp",
"RedisStoreClient.hpp",
"SessionStore.hpp",
"StoreClient.h",
],
deps = [
Expand All @@ -219,7 +219,7 @@ cc_library(
cc_library(
name = "aaa_client",
srcs = ["AAAClient.cpp"],
hdrs = ["AAAClient.h"],
hdrs = ["AAAClient.hpp"],
deps = [
":session_state",
":session_store",
Expand All @@ -231,7 +231,7 @@ cc_library(
cc_library(
name = "directoryd_client",
srcs = ["DirectorydClient.cpp"],
hdrs = ["DirectorydClient.h"],
hdrs = ["DirectorydClient.hpp"],
deps = [
":session_state",
"//orc8r/gateway/c/common/async_grpc:async_grpc_receiver",
Expand All @@ -242,7 +242,7 @@ cc_library(
cc_library(
name = "mobilityd_client",
srcs = ["MobilitydClient.cpp"],
hdrs = ["MobilitydClient.h"],
hdrs = ["MobilitydClient.hpp"],
deps = [
":session_state",
":types",
Expand All @@ -255,7 +255,7 @@ cc_library(
cc_library(
name = "pipelined_client",
srcs = ["PipelinedClient.cpp"],
hdrs = ["PipelinedClient.h"],
hdrs = ["PipelinedClient.hpp"],
deps = [
":session_credit",
":session_state",
Expand All @@ -267,7 +267,7 @@ cc_library(
cc_library(
name = "spgw_service_client",
srcs = ["SpgwServiceClient.cpp"],
hdrs = ["SpgwServiceClient.h"],
hdrs = ["SpgwServiceClient.hpp"],
deps = [
"//lte/protos:spgw_service_cpp_grpc",
"//orc8r/gateway/c/common/async_grpc:async_grpc_receiver",
Expand All @@ -280,7 +280,7 @@ cc_library(
cc_library(
name = "amf_service_client",
srcs = ["AmfServiceClient.cpp"],
hdrs = ["AmfServiceClient.h"],
hdrs = ["AmfServiceClient.hpp"],
deps = [
"//lte/protos:session_manager_cpp_grpc",
"//orc8r/gateway/c/common/async_grpc:async_grpc_receiver",
Expand All @@ -293,7 +293,7 @@ cc_library(
cc_library(
name = "session_events",
srcs = ["SessionEvents.cpp"],
hdrs = ["SessionEvents.h"],
hdrs = ["SessionEvents.hpp"],
deps = [
":session_credit",
":session_state",
Expand All @@ -304,7 +304,7 @@ cc_library(
cc_library(
name = "local_enforcer",
srcs = ["LocalEnforcer.cpp"],
hdrs = ["LocalEnforcer.h"],
hdrs = ["LocalEnforcer.hpp"],
deps = [
":aaa_client",
":directoryd_client",
Expand All @@ -320,7 +320,7 @@ cc_library(
cc_library(
name = "session_state_enforcer",
srcs = ["SessionStateEnforcer.cpp"],
hdrs = ["SessionStateEnforcer.h"],
hdrs = ["SessionStateEnforcer.hpp"],
deps = [
":amf_service_client",
":pipelined_client",
Expand All @@ -337,28 +337,28 @@ cc_library(
cc_library(
name = "stats_poller",
srcs = ["StatsPoller.cpp"],
hdrs = ["StatsPoller.h"],
hdrs = ["StatsPoller.hpp"],
deps = [":local_enforcer"],
)

cc_library(
name = "operational_states_handler",
srcs = ["OperationalStatesHandler.cpp"],
hdrs = ["OperationalStatesHandler.h"],
hdrs = ["OperationalStatesHandler.hpp"],
deps = [":session_store"],
)

cc_library(
name = "restart_handler",
srcs = ["RestartHandler.cpp"],
hdrs = ["RestartHandler.h"],
hdrs = ["RestartHandler.hpp"],
deps = [":local_enforcer"],
)

cc_library(
name = "session_proxy_responder_handler",
srcs = ["SessionProxyResponderHandler.cpp"],
hdrs = ["SessionProxyResponderHandler.h"],
hdrs = ["SessionProxyResponderHandler.hpp"],
deps = [
":local_enforcer",
"//lte/protos:abort_session_cpp_grpc",
Expand All @@ -369,7 +369,7 @@ cc_library(
cc_library(
name = "local_session_manager_handler",
srcs = ["LocalSessionManagerHandler.cpp"],
hdrs = ["LocalSessionManagerHandler.h"],
hdrs = ["LocalSessionManagerHandler.hpp"],
deps = [
":local_enforcer",
":session_id",
Expand All @@ -380,7 +380,7 @@ cc_library(
cc_library(
name = "set_message_manager_handler",
srcs = ["SetMessageManagerHandler.cpp"],
hdrs = ["SetMessageManagerHandler.h"],
hdrs = ["SetMessageManagerHandler.hpp"],
deps = [
":session_id",
":session_state_enforcer",
Expand All @@ -393,7 +393,7 @@ cc_library(
cc_library(
name = "upf_msg_manage_handler",
srcs = ["UpfMsgManageHandler.cpp"],
hdrs = ["UpfMsgManageHandler.h"],
hdrs = ["UpfMsgManageHandler.hpp"],
deps = [
":mobilityd_client",
":session_id",
Expand All @@ -406,7 +406,7 @@ cc_library(
cc_library(
name = "session_manager_server",
srcs = ["SessionManagerServer.cpp"],
hdrs = ["SessionManagerServer.h"],
hdrs = ["SessionManagerServer.hpp"],
deps = [
":local_session_manager_handler",
":session_proxy_responder_handler",
Expand Down

0 comments on commit d44b39e

Please sign in to comment.