[WIFI-13031] Add support for radius endpoints

Signed-off-by: Charles <charles.bourque96@gmail.com>
This commit is contained in:
Charles
2023-10-17 17:02:57 +01:00
parent cede218789
commit ebc6e3463f
12 changed files with 1237 additions and 1237 deletions

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "wlan-cloud-owprov-ui",
"version": "2.11.0(57)",
"version": "2.11.0(59)",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "wlan-cloud-owprov-ui",
"version": "2.11.0(57)",
"version": "2.11.0(59)",
"license": "ISC",
"dependencies": {
"@chakra-ui/anatomy": "^2.1.1",

View File

@@ -1,6 +1,6 @@
{
"name": "wlan-cloud-owprov-ui",
"version": "2.11.0(57)",
"version": "2.11.0(59)",
"description": "",
"main": "index.tsx",
"scripts": {

File diff suppressed because it is too large Load Diff

View File

@@ -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>

View File

@@ -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
*/

View File

@@ -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>

View File

@@ -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;

View File

@@ -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}

View File

@@ -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;

View File

@@ -15,7 +15,7 @@ const secondColProps = {} as const;
const prettyTypes = {
orion: 'Google Orion',
globalreach: 'Global Reach',
globalreach: 'GlobalReach',
generic: 'Generic',
radsec: 'RadSec',
} as const;

View File

@@ -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>

View File

@@ -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,
},
{