Skip to content

Commit

Permalink
Refs #21458: Delete Topic IDLs in topic info JSON
Browse files Browse the repository at this point in the history
Signed-off-by: Carlosespicur <[email protected]>
  • Loading branch information
Carlosespicur authored and JesusPoderoso committed Sep 2, 2024
1 parent c6f7cf7 commit 1b3081b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions include/fastdds_statistics_backend/types/JSONTags.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,6 @@ constexpr const char* METATRAFFIC_TAG = "metatraffic";
constexpr const char* PID_TAG = "pid";
//! Key tag for type name of a topic entity
constexpr const char* DATA_TYPE_TAG = "data_type";
//! Key tag for IDL representation of a data type
constexpr const char* DATA_TYPE_IDL_TAG = "data_type_idl";
//! Key tag for GUID of a participant, datawriter or datareader entity
constexpr const char* GUID_TAG = "guid";
//! Key tag for QoS of a participant, datawriter or datareader entity
Expand Down
6 changes: 0 additions & 6 deletions src/cpp/database/database.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4667,7 +4667,6 @@ DatabaseDump Database::dump_entity_(
entity_info[NAME_TAG] = entity->name;
entity_info[ALIAS_TAG] = entity->alias;
entity_info[DATA_TYPE_TAG] = entity->data_type;
entity_info[DATA_TYPE_IDL_TAG] = get_type_idl(entity->data_type);
entity_info[STATUS_TAG] = entity->status;
entity_info[DOMAIN_ENTITY_TAG] = id_to_string(entity->domain->id);

Expand Down Expand Up @@ -5289,11 +5288,6 @@ Info Database::get_info(
std::shared_ptr<const Topic> topic =
std::dynamic_pointer_cast<const Topic>(entity);
info[DATA_TYPE_TAG] = topic->data_type;
// Add IDL representation of the data type if available
if (is_type_in_database(topic->data_type))
{
info[DATA_TYPE_IDL_TAG] = get_type_idl(topic->data_type);
}
break;
}
case EntityKind::PARTICIPANT:
Expand Down

0 comments on commit 1b3081b

Please sign in to comment.