Skip to content

Commit

Permalink
Addressed review comments.
Browse files Browse the repository at this point in the history
- Removed malformed struct from ws_topology.ecm
- Changed field named Type to be string
- Removed special case mapping of ecm type
  • Loading branch information
kenrowland committed Jul 25, 2023
1 parent 55e976b commit a397adf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
11 changes: 3 additions & 8 deletions esp/scm/ws_topology.ecm
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ ESPStruct TpTargetCluster
{
string Name;
string Prefix;
TpQueryType Type;
string Type;

ESParray<ESPstruct TpCluster> TpClusters;
ESParray<ESPstruct TpEclServer> TpEclCCServers;
Expand All @@ -339,14 +339,9 @@ ESPStruct TpTargetCluster
[min_ver("1.16")] ESParray<ESPstruct TpEclScheduler> TpEclSchedulers;
};

ESPStruct TpQueryType
{
TPCLUSTER;
TPNODE;
};
ESPrequest TpTargetClusterQueryRequest
{
TpQueryType Type;
string Type;
string Name;
bool ShowDetails(false);
};
Expand Down Expand Up @@ -639,7 +634,7 @@ ESPresponse [nil_remove, exceptions_inline] TpDropZoneQueryResponse
ESParray<ESPstruct TpDropZone> TpDropZones;
};

ESPservice [auth_feature("DEFERRED"), noforms, version("1.31"), cache_group("ESPWsTP"), exceptions_inline("./smc_xslt/exceptions.xslt")] WsTopology
ESPservice [auth_feature("DEFERRED"), noforms, version("1.32"), cache_group("ESPWsTP"), exceptions_inline("./smc_xslt/exceptions.xslt")] WsTopology
{
ESPmethod [cache_seconds(180), cache_global(1), resp_xsl_default("/esp/xslt/targetclusters.xslt")] TpTargetClusterQuery(TpTargetClusterQueryRequest, TpTargetClusterQueryResponse);
ESPmethod [cache_seconds(180), cache_global(1), resp_xsl_default("/esp/xslt/topology.xslt")] TpClusterQuery(TpClusterQueryRequest, TpClusterQueryResponse);
Expand Down
2 changes: 0 additions & 2 deletions esp/xslt/esp_service_xml2xsd.xslt
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,6 @@
</xsl:when>
<xsl:when test="@type='int64'">xsd:<xsl:value-of select="'long'"/>
</xsl:when>
<xsl:when test="@type='TpQueryType'">xsd:<xsl:value-of select="'string'"/>
</xsl:when>
<xsl:when test="@type">xsd:<xsl:value-of select="@type"/>
</xsl:when>
<xsl:when test="@complex_type">tns:<xsl:value-of select="@complex_type"/>
Expand Down

0 comments on commit a397adf

Please sign in to comment.