Skip to content

Commit 1e51b2b

Browse files
committed
refactor(General): ♻️ Rename live connectitions into open
1 parent d35a5e1 commit 1e51b2b

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

src/pages/Processes/Processes.enum.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export enum ProcessesLabels {
4949
ExposedTitle = 'Exposure status',
5050
IsExposed = 'Exposed',
5151
IsNotExposed = 'Unexposed',
52-
ActiveConnections = 'Live connections',
52+
ActiveConnections = 'Open connections',
5353
OldConnections = 'Connection history',
5454
ProcessPairsEmptyTitle = 'No connections or requests to display',
5555
ProcessPairsEmptyMessage = 'As new connections or requests are established, they will be dynamically added to the table for display',

src/pages/Processes/__tests__/ProcessPairs.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ describe('Begin testing the Processes component', () => {
7373
expect(screen.getByTestId('http2-table')).toBeInTheDocument();
7474
});
7575

76-
it('should render render the TCP Process Pairs Content Component and the tab Live connection is active', async () => {
76+
it('should render render the TCP Process Pairs Content Component and the tab Open connection is active', async () => {
7777
const { queryByTestId, getByText, getByTestId } = render(
7878
<Wrapper>
7979
<Suspense fallback={<LoadingPage />}>

src/pages/Services/Services.constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export const ServiceColumns: SKColumn<ServiceResponse>[] = [
4545
},
4646
{
4747
name: ServicesLabels.CurrentFlowPairs,
48-
columnDescription: 'Live connections',
48+
columnDescription: 'Open connections',
4949

5050
prop: 'currentFlows' as keyof ServiceResponse,
5151
width: 15

src/pages/Services/Services.enum.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export enum ServicesLabels {
2222
TCP = 'TCP',
2323
Description = 'Collection of processes (servers) that are exposed across the Application network, along with their respective connections to the processes (clients) they communicate with',
2424
NoMetricSourceProcessFilter = 'No Clients',
25-
ActiveConnections = 'Live connections',
25+
ActiveConnections = 'Open connections',
2626
OldConnections = 'Connection history',
2727
TcpTrafficTx = 'Outbound traffic ',
2828
TcpTrafficRx = 'Inbound traffic',
@@ -39,6 +39,6 @@ export enum ServicesLabels {
3939
SankeyChartDescription = 'Visualizing relationships and the distribution among processes and sites',
4040
Name = 'Address',
4141
Protocol = 'Protocol',
42-
CurrentFlowPairs = 'Tcp live connections',
42+
CurrentFlowPairs = 'Tcp open connections',
4343
TotalFLowPairs = 'Total'
4444
}

src/pages/Services/__tests__/TcpService.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ describe('Begin testing the TCP service component', () => {
7474
expect(getByText(processResult[0].name)).toBeInTheDocument();
7575
});
7676

77-
it('should render the Connection view -> Live connections after the data loading is complete', async () => {
77+
it('should render the Connection view -> Open connections after the data loading is complete', async () => {
7878
render(
7979
<Wrapper>
8080
<Suspense fallback={<LoadingPage />}>

src/pages/shared/Metrics/Metrics.enum.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export enum MetricsLabels {
3131
LatencyDescription = 'TCP: TTFB for terminated connections. HTTP: Response time',
3232
ConnectionTitle = 'Tcp connections',
3333
TerminatedConnections = 'Closed connections',
34-
LiveConnections = 'Live connections',
34+
LiveConnections = 'Open connections',
3535
LiveConnectionsChartLabel = 'Connections',
3636
RequestsTitle = 'Http requests',
3737
RequestRateTitle = 'Request rate',

src/pages/shared/Metrics/components/TcpConnection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ const TcpConnection: FC<TcpConnectionProps> = function ({
9393
{connections.liveConnectionsSerie && (
9494
<>
9595
<Title headingLevel="h4">{MetricsLabels.LiveConnectionsChartLabel} </Title>
96-
<SkChartArea data={connections.liveConnectionsSerie} legendLabels={['live connections']} />
96+
<SkChartArea data={connections.liveConnectionsSerie} legendLabels={['open connections']} />
9797
</>
9898
)}
9999
</FlexItem>

0 commit comments

Comments
 (0)