Skip to content

Commit

Permalink
Merge pull request #188 from stephb9959/main
Browse files Browse the repository at this point in the history
[WIFI-13031] Add support for radius endpoints
  • Loading branch information
BourqueCharles authored Oct 17, 2023
2 parents c3486c8 + ebc6e34 commit c2a9f90
Show file tree
Hide file tree
Showing 12 changed files with 1,237 additions and 1,237 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wlan-cloud-owprov-ui",
"version": "2.11.0(57)",
"version": "2.11.0(59)",
"description": "",
"main": "index.tsx",
"scripts": {
Expand Down
2,448 changes: 1,224 additions & 1,224 deletions public/locales/en/translation.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/components/Modals/Resources/CreateModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const CreateResourceModal: React.FC<Props> = ({ refresh, entityId, isVenue = fal
value="interface.ssid.openroaming"
hidden={!getRadiusEndpoints.data || getRadiusEndpoints.data.length === 0}
>
Open Roaming SSID
OpenRoaming SSID
</option>
<option value="interface.ssid.radius">interface.ssid.radius</option>
<option value="interface.tunnel">interface.tunnel</option>
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/Network/RadiusEndpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export type RadiusEndpointServer = {

export type RadsecServer = {
/**
* It should be the ID of a google orion account OR the certificate ID of the global reach account
* It should be the ID of a google orion account OR the certificate ID of the GlobalReach account
* If not empty, only Weight needs to be populated
* If empty, all fields need to be populated
*/
Expand Down
2 changes: 1 addition & 1 deletion src/pages/OpenRoamingPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const OpenRoamingPage = () => {
return (
<Tabs>
<TabList>
<Tab _selected={tabStyle}>Global Reach</Tab>
<Tab _selected={tabStyle}>GlobalReach</Tab>
<Tab _selected={tabStyle}>Google Orion</Tab>
</TabList>
<TabPanels>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ const CreateRadiusEndpointDetailsStep = ({ formRef, finishStep, orionAccounts, g
}

if (globalReachAccounts.length > 0) {
options.push({ value: 'globalreach', label: 'Global Reach' });
options.push({ value: 'globalreach', label: 'GlobalReach' });
}

return options;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const CreateRadiusEndpointGlobalReachStep = ({ formRef, finishStep, accounts }:
{({ isSubmitting }) => (
<Box>
<Heading mb={4} size="md" textDecoration="underline">
What Global Reach account would like to use?
What GlobalReach account would like to use?
</Heading>
<Select
mb={2}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { RadiusEndpoint } from 'hooks/Network/RadiusEndpoints';

const prettyTypes = {
orion: 'Google Orion',
globalreach: 'Global Reach',
globalreach: 'GlobalReach',
generic: 'Generic',
radsec: 'RadSec',
} as const;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const secondColProps = {} as const;

const prettyTypes = {
orion: 'Google Orion',
globalreach: 'Global Reach',
globalreach: 'GlobalReach',
generic: 'Generic',
radsec: 'RadSec',
} as const;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const GlobalReachEndpointDetails = ({ endpoint }: Props) => {
return (
<Box mt={2}>
<Heading size="md" textDecoration="underline">
Global Reach Certificate
GlobalReach Certificate
</Heading>{' '}
{certificate ? (
<Box>
Expand Down
4 changes: 2 additions & 2 deletions src/router/routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ const routes: Route[] = [
id: 'system-globalroaming',
authorized: ['root', 'partner', 'admin', 'csr', 'system'],
path: '/openRoaming',
name: 'RAW-Open Roaming',
label: 'Open Roaming',
name: 'RAW-OpenRoaming',
label: 'OpenRoaming',
component: OpenRoamingPage,
},
{
Expand Down

0 comments on commit c2a9f90

Please sign in to comment.