From 2989f11fd81574943dec45220cb0d17bf78731c3 Mon Sep 17 00:00:00 2001 From: Irtiza-h30 Date: Thu, 23 Jul 2020 10:46:11 -0400 Subject: [PATCH 01/11] initial commit --- app/containers/System/containers/AutoProvision/index.js | 8 ++++++++ app/containers/System/index.js | 2 ++ 2 files changed, 10 insertions(+) create mode 100644 app/containers/System/containers/AutoProvision/index.js diff --git a/app/containers/System/containers/AutoProvision/index.js b/app/containers/System/containers/AutoProvision/index.js new file mode 100644 index 0000000..35c092d --- /dev/null +++ b/app/containers/System/containers/AutoProvision/index.js @@ -0,0 +1,8 @@ +import React from 'react'; +import { AutoProvision as AutoProvisionPage } from '@tip-wlan/wlan-cloud-ui-library'; + +const AutoProvision = () => { + return ; +}; + +export default AutoProvision; diff --git a/app/containers/System/index.js b/app/containers/System/index.js index 8ef15eb..3842465 100644 --- a/app/containers/System/index.js +++ b/app/containers/System/index.js @@ -5,6 +5,7 @@ import { System as SystemPage } from '@tip-wlan/wlan-cloud-ui-library'; import Manufacturer from 'containers/System/containers/Manufacturer'; import Firmware from 'containers/System/containers/Firmware'; +import AutoProvision from 'containers/System/containers/AutoProvision'; const System = () => { const { path } = useRouteMatch(); @@ -14,6 +15,7 @@ const System = () => { + From 89d4c756af3da6f1177976b45b4b8a399a7dd3e9 Mon Sep 17 00:00:00 2001 From: Irtiza-h30 Date: Thu, 23 Jul 2020 21:00:14 -0400 Subject: [PATCH 02/11] add/edit/delete equipment --- .../System/containers/AutoProvision/index.js | 85 ++++++++++++++++++- app/graphql/mutations.js | 27 ++++++ app/graphql/queries.js | 13 +++ 3 files changed, 122 insertions(+), 3 deletions(-) diff --git a/app/containers/System/containers/AutoProvision/index.js b/app/containers/System/containers/AutoProvision/index.js index 35c092d..6facc26 100644 --- a/app/containers/System/containers/AutoProvision/index.js +++ b/app/containers/System/containers/AutoProvision/index.js @@ -1,8 +1,87 @@ -import React from 'react'; -import { AutoProvision as AutoProvisionPage } from '@tip-wlan/wlan-cloud-ui-library'; +import React, { useContext } from 'react'; +import { useQuery, useMutation } from '@apollo/react-hooks'; +import { Alert, notification } from 'antd'; +import { GET_CUSTOMER, GET_ALL_LOCATIONS, GET_ALL_PROFILES } from 'graphql/queries'; +import { UPDATE_CUSTOMER } from 'graphql/mutations'; + +import UserContext from 'contexts/UserContext'; +import { AutoProvision as AutoProvisionPage, Loading } from '@tip-wlan/wlan-cloud-ui-library'; const AutoProvision = () => { - return ; + const { customerId } = useContext(UserContext); + const { data, loading, error, refetch } = useQuery(GET_CUSTOMER, { + variables: { id: customerId }, + }); + const [updateCustomer] = useMutation(UPDATE_CUSTOMER); + + const { data: dataLocation, loading: loadingLoaction, error: errorLocation } = useQuery( + GET_ALL_LOCATIONS, + { + variables: { customerId }, + } + ); + const { data: dataProfile, loading: loadingProfile, error: errorProfile } = useQuery( + GET_ALL_PROFILES, + { + variables: { customerId, type: 'equipment_ap' }, + } + ); + + const handleUpdateEquipment = ( + id, + email, + name, + details, + createdTimestamp, + lastModifiedTimestamp + ) => { + updateCustomer({ + variables: { + id, + email, + name, + details, + createdTimestamp, + lastModifiedTimestamp, + }, + }) + .then(() => { + refetch(); + notification.success({ + message: 'Success', + description: 'Settings successfully updated.', + }); + }) + .catch(() => + notification.error({ + message: 'Error', + description: 'Settings could not be updated.', + }) + ); + }; + + if (loading) { + return ; + } + + if (error) { + return ( + + ); + } + + return ( + + ); }; export default AutoProvision; diff --git a/app/graphql/mutations.js b/app/graphql/mutations.js index e03b841..fab84c4 100644 --- a/app/graphql/mutations.js +++ b/app/graphql/mutations.js @@ -239,3 +239,30 @@ export const CREATE_EQUIPMENT = gql` } } `; + +export const UPDATE_CUSTOMER = gql` + mutation UpdateCustomer( + $id: ID! + $email: String! + $name: String! + $details: JSONObject + $createdTimestamp: String + $lastModifiedTimestamp: String + ) { + updateCustomer( + id: $id + email: $email + name: $name + details: $details + createdTimestamp: $createdTimestamp + lastModifiedTimestamp: $lastModifiedTimestamp + ) { + id + email + name + details + createdTimestamp + lastModifiedTimestamp + } + } +`; diff --git a/app/graphql/queries.js b/app/graphql/queries.js index 8acb9c3..fcd0978 100644 --- a/app/graphql/queries.js +++ b/app/graphql/queries.js @@ -274,3 +274,16 @@ export const GET_ALARM_COUNT = gql` getAlarmCount(customerId: $customerId) } `; + +export const GET_CUSTOMER = gql` + query GetCustomer($id: ID!) { + getCustomer(id: $id) { + id + name + email + createdTimestamp + lastModifiedTimestamp + details + } + } +`; From 6a20744f04a67a8b416dfb417f1dcd14c30799d5 Mon Sep 17 00:00:00 2001 From: Irtiza-h30 Date: Fri, 24 Jul 2020 12:10:31 -0400 Subject: [PATCH 03/11] updated changes --- app/containers/System/containers/AutoProvision/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/containers/System/containers/AutoProvision/index.js b/app/containers/System/containers/AutoProvision/index.js index 6facc26..6d8be59 100644 --- a/app/containers/System/containers/AutoProvision/index.js +++ b/app/containers/System/containers/AutoProvision/index.js @@ -27,7 +27,7 @@ const AutoProvision = () => { } ); - const handleUpdateEquipment = ( + const handleUpdateCustomer = ( id, email, name, @@ -79,7 +79,7 @@ const AutoProvision = () => { loadingProfile={loadingProfile} errorLocation={errorLocation} errorProfile={errorProfile} - onUpdateEquipment={handleUpdateEquipment} + onUpdateCustomer={handleUpdateCustomer} /> ); }; From 40ca82ed6882d28ca052e49edffa9199c8eaeef4 Mon Sep 17 00:00:00 2001 From: Irtiza-h30 Date: Fri, 24 Jul 2020 15:50:49 -0400 Subject: [PATCH 04/11] firmware bug fix --- app/containers/System/containers/Firmware/index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/containers/System/containers/Firmware/index.js b/app/containers/System/containers/Firmware/index.js index 8ae7da7..06b6105 100644 --- a/app/containers/System/containers/Firmware/index.js +++ b/app/containers/System/containers/Firmware/index.js @@ -43,6 +43,7 @@ const Firmware = () => { data: firmwareModelData, error: firmwareModelError, loading: firmwareModelLoading, + refetch: refetchFirmwareModels, } = useQuery(GET_ALL_FIRMWARE_MODELS); const [updateTrackAssignment] = useMutation(UPDATE_TRACK_ASSIGNMENT); @@ -151,6 +152,7 @@ const Firmware = () => { }) .then(() => { refetch(); + refetchFirmwareModels(); notification.success({ message: 'Success', description: 'Firmware version successfully created.', @@ -192,6 +194,7 @@ const Firmware = () => { }) .then(() => { refetch(); + refetchFirmwareModels(); notification.success({ message: 'Success', description: 'Firmware version successfully updated.', @@ -213,6 +216,7 @@ const Firmware = () => { }) .then(() => { refetch(); + refetchFirmwareModels(); notification.success({ message: 'Success', description: 'Firmware version successfully deleted.', From 0a87a80a800e2dbb6b2cd55cf6bd615e74fc7450 Mon Sep 17 00:00:00 2001 From: Irtiza-h30 Date: Fri, 24 Jul 2020 16:06:35 -0400 Subject: [PATCH 05/11] undo bug fix --- app/containers/System/containers/Firmware/index.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/containers/System/containers/Firmware/index.js b/app/containers/System/containers/Firmware/index.js index 06b6105..8ae7da7 100644 --- a/app/containers/System/containers/Firmware/index.js +++ b/app/containers/System/containers/Firmware/index.js @@ -43,7 +43,6 @@ const Firmware = () => { data: firmwareModelData, error: firmwareModelError, loading: firmwareModelLoading, - refetch: refetchFirmwareModels, } = useQuery(GET_ALL_FIRMWARE_MODELS); const [updateTrackAssignment] = useMutation(UPDATE_TRACK_ASSIGNMENT); @@ -152,7 +151,6 @@ const Firmware = () => { }) .then(() => { refetch(); - refetchFirmwareModels(); notification.success({ message: 'Success', description: 'Firmware version successfully created.', @@ -194,7 +192,6 @@ const Firmware = () => { }) .then(() => { refetch(); - refetchFirmwareModels(); notification.success({ message: 'Success', description: 'Firmware version successfully updated.', @@ -216,7 +213,6 @@ const Firmware = () => { }) .then(() => { refetch(); - refetchFirmwareModels(); notification.success({ message: 'Success', description: 'Firmware version successfully deleted.', From 605dd42d5bb3e518722f93a5922a5d320697ae4f Mon Sep 17 00:00:00 2001 From: Irtiza-h30 Date: Fri, 24 Jul 2020 16:37:22 -0400 Subject: [PATCH 06/11] udpated changes --- .../System/containers/Firmware/index.js | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/app/containers/System/containers/Firmware/index.js b/app/containers/System/containers/Firmware/index.js index 8ae7da7..c3efcda 100644 --- a/app/containers/System/containers/Firmware/index.js +++ b/app/containers/System/containers/Firmware/index.js @@ -43,6 +43,7 @@ const Firmware = () => { data: firmwareModelData, error: firmwareModelError, loading: firmwareModelLoading, + refetch: refetchFirmwareModels, } = useQuery(GET_ALL_FIRMWARE_MODELS); const [updateTrackAssignment] = useMutation(UPDATE_TRACK_ASSIGNMENT); @@ -67,13 +68,13 @@ const Firmware = () => { refetchAssignmentData(); notification.success({ message: 'Success', - description: 'Track Assignment successfully created.', + description: 'Model Target Version successfully created.', }); }) .catch(() => notification.error({ message: 'Error', - description: 'Track Assignment could not be created.', + description: 'Model Target Version could not be created.', }) ); }; @@ -97,13 +98,13 @@ const Firmware = () => { refetchAssignmentData(); notification.success({ message: 'Success', - description: 'Track Assignment successfully updated.', + description: 'Model Target Version successfully updated.', }); }) .catch(() => notification.error({ message: 'Error', - description: 'Track Assignment could not be updated.', + description: 'Model Target Version could not be updated.', }) ); }; @@ -119,13 +120,13 @@ const Firmware = () => { refetchAssignmentData(); notification.success({ message: 'Success', - description: 'Track Assignment successfully deleted.', + description: 'Model Target Version successfully deleted.', }); }) .catch(() => notification.error({ message: 'Error', - description: 'Track Assignment could not be deleted.', + description: 'Model Target Version could not be deleted.', }) ); }; @@ -151,6 +152,7 @@ const Firmware = () => { }) .then(() => { refetch(); + refetchFirmwareModels(); notification.success({ message: 'Success', description: 'Firmware version successfully created.', @@ -192,6 +194,7 @@ const Firmware = () => { }) .then(() => { refetch(); + refetchFirmwareModels(); notification.success({ message: 'Success', description: 'Firmware version successfully updated.', @@ -213,6 +216,7 @@ const Firmware = () => { }) .then(() => { refetch(); + refetchFirmwareModels(); notification.success({ message: 'Success', description: 'Firmware version successfully deleted.', From 6391baf4eb79918ca08d49bab2bcc171307e1d9d Mon Sep 17 00:00:00 2001 From: Sean Macfarlane Date: Sat, 25 Jul 2020 14:51:27 -0400 Subject: [PATCH 07/11] fixed dashboard --- app/containers/Dashboard/index.js | 2 +- .../containers/AccessPointDetails/index.js | 3 ++- .../Network/containers/AccessPoints/index.js | 18 +++++--------- .../containers/ClientDeviceDetails/index.js | 6 +++-- .../Network/containers/ClientDevices/index.js | 24 +++++++++---------- app/graphql/queries.js | 2 ++ 6 files changed, 26 insertions(+), 29 deletions(-) diff --git a/app/containers/Dashboard/index.js b/app/containers/Dashboard/index.js index c438550..6c9cef4 100644 --- a/app/containers/Dashboard/index.js +++ b/app/containers/Dashboard/index.js @@ -65,7 +65,7 @@ const Dashboard = () => { toTime, equipmentIds: [0], dataTypes: ['StatusChangedEvent'], - limit: 100, + limit: 1000, }, }); diff --git a/app/containers/Network/containers/AccessPointDetails/index.js b/app/containers/Network/containers/AccessPointDetails/index.js index b6e79fb..e0b82a5 100644 --- a/app/containers/Network/containers/AccessPointDetails/index.js +++ b/app/containers/Network/containers/AccessPointDetails/index.js @@ -152,7 +152,7 @@ export const GET_ALL_PROFILES = gql` `; const toTime = moment(); -const fromTime = moment().subtract(24, 'hours'); +const fromTime = moment().subtract(1, 'hour'); const AccessPointDetails = ({ locations }) => { const { id } = useParams(); @@ -179,6 +179,7 @@ const AccessPointDetails = ({ locations }) => { toTime: toTime.valueOf().toString(), equipmentIds: [id], dataTypes: ['ApNode'], + limit: 100, }, }); diff --git a/app/containers/Network/containers/AccessPoints/index.js b/app/containers/Network/containers/AccessPoints/index.js index 87416d7..1dfb3e1 100644 --- a/app/containers/Network/containers/AccessPoints/index.js +++ b/app/containers/Network/containers/AccessPoints/index.js @@ -1,7 +1,7 @@ import React, { useEffect, useContext } from 'react'; import PropTypes from 'prop-types'; import { useLazyQuery } from '@apollo/react-hooks'; -import { Alert, notification } from 'antd'; +import { Alert } from 'antd'; import { NetworkTable, Loading } from '@tip-wlan/wlan-cloud-ui-library'; import UserContext from 'contexts/UserContext'; @@ -93,7 +93,10 @@ const accessPointsTableColumns = [ const AccessPoints = ({ checkedLocations }) => { const { customerId } = useContext(UserContext); const [filterEquipment, { loading, error, data: equipData, fetchMore }] = useLazyQuery( - FILTER_EQUIPMENT + FILTER_EQUIPMENT, + { + errorPolicy: 'all', + } ); const handleLoadMore = () => { @@ -119,15 +122,6 @@ const AccessPoints = ({ checkedLocations }) => { const fetchFilterEquipment = async () => { filterEquipment({ variables: { customerId, locationIds: checkedLocations, equipmentType: 'AP' }, - errorPolicy: 'all', - onError: e => { - e.forEach(({ message }) => { - notification.error({ - message: 'Error', - description: message, - }); - }); - }, }); }; @@ -139,7 +133,7 @@ const AccessPoints = ({ checkedLocations }) => { return ; } - if (error && !(equipData && equipData.filterEquipment && equipData.filterEquipment.items)) { + if (error && !equipData?.filterEquipment?.items) { return ; } diff --git a/app/containers/Network/containers/ClientDeviceDetails/index.js b/app/containers/Network/containers/ClientDeviceDetails/index.js index e08659b..4ac72e4 100644 --- a/app/containers/Network/containers/ClientDeviceDetails/index.js +++ b/app/containers/Network/containers/ClientDeviceDetails/index.js @@ -12,13 +12,14 @@ import UserContext from 'contexts/UserContext'; import { GET_CLIENT_SESSION, FILTER_SERVICE_METRICS } from 'graphql/queries'; const toTime = moment(); -const fromTime = moment().subtract(24, 'hours'); +const fromTime = moment().subtract(1, 'hour'); const ClientDeviceDetails = () => { const { id } = useParams(); const { customerId } = useContext(UserContext); const { loading, error, data, refetch } = useQuery(GET_CLIENT_SESSION, { variables: { customerId, macAddress: id }, + errorPolicy: 'all', }); const { loading: metricsLoading, @@ -32,6 +33,7 @@ const ClientDeviceDetails = () => { toTime: toTime.valueOf().toString(), clientMacs: [id], dataTypes: ['Client'], + limit: 100, }, }); @@ -56,7 +58,7 @@ const ClientDeviceDetails = () => { return ; } - if (error) { + if (error && !data?.getClientSession) { return ( ); diff --git a/app/containers/Network/containers/ClientDevices/index.js b/app/containers/Network/containers/ClientDevices/index.js index ff5d44c..c13d5cc 100644 --- a/app/containers/Network/containers/ClientDevices/index.js +++ b/app/containers/Network/containers/ClientDevices/index.js @@ -1,7 +1,7 @@ import React, { useEffect, useContext } from 'react'; import PropTypes from 'prop-types'; import { useLazyQuery } from '@apollo/react-hooks'; -import { Alert, notification } from 'antd'; +import { Alert } from 'antd'; import { NetworkTable, Loading } from '@tip-wlan/wlan-cloud-ui-library'; import UserContext from 'contexts/UserContext'; @@ -29,7 +29,10 @@ const clientDevicesTableColumns = [ const ClientDevices = ({ checkedLocations }) => { const { customerId } = useContext(UserContext); const [filterClientSessions, { loading, error, data, fetchMore }] = useLazyQuery( - FILTER_CLIENT_SESSIONS + FILTER_CLIENT_SESSIONS, + { + errorPolicy: 'all', + } ); const handleLoadMore = () => { @@ -52,26 +55,21 @@ const ClientDevices = ({ checkedLocations }) => { } }; - useEffect(() => { + const fetchFilterClientSessions = async () => { filterClientSessions({ variables: { customerId, locationIds: checkedLocations, equipmentType: 'AP' }, - errorPolicy: 'all', - onError: e => { - e.forEach(({ message }) => { - notification.error({ - message: 'Error', - description: message, - }); - }); - }, }); + }; + + useEffect(() => { + fetchFilterClientSessions(); }, [checkedLocations]); if (loading) { return ; } - if (error && !(data && data.filterClientSessions && data.filterClientSessions.items)) { + if (error && !data?.filterClientSessions?.items) { return ( ); diff --git a/app/graphql/queries.js b/app/graphql/queries.js index a5d64c8..aedde24 100644 --- a/app/graphql/queries.js +++ b/app/graphql/queries.js @@ -163,6 +163,7 @@ export const FILTER_SERVICE_METRICS = gql` $clientMacs: [String] $equipmentIds: [ID] $dataTypes: [String] + $limit: Int ) { filterServiceMetrics( customerId: $customerId @@ -172,6 +173,7 @@ export const FILTER_SERVICE_METRICS = gql` clientMacs: $clientMacs equipmentIds: $equipmentIds dataTypes: $dataTypes + limit: $limit ) { items { dataType From f487521ccb428d5137520bbed9a244aede799738 Mon Sep 17 00:00:00 2001 From: Sean Macfarlane Date: Sat, 25 Jul 2020 16:53:08 -0400 Subject: [PATCH 08/11] update version --- package-lock.json | 8 ++++---- package.json | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9a8af17..da4e9e2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "wlan-cloud-ui", - "version": "0.2.1", + "version": "0.2.2", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -1874,9 +1874,9 @@ } }, "@tip-wlan/wlan-cloud-ui-library": { - "version": "0.2.1", - "resolved": "https://tip.jfrog.io/artifactory/api/npm/tip-wlan-cloud-npm-repo/@tip-wlan/wlan-cloud-ui-library/-/@tip-wlan/wlan-cloud-ui-library-0.2.1.tgz", - "integrity": "sha1-erMcjUClH8GattvLkFOnhN72kpA=" + "version": "0.2.2", + "resolved": "https://tip.jfrog.io/artifactory/api/npm/tip-wlan-cloud-npm-repo/@tip-wlan/wlan-cloud-ui-library/-/@tip-wlan/wlan-cloud-ui-library-0.2.2.tgz", + "integrity": "sha1-86dCGDXjhQD+7BNFLBnoSpq3w5Q=" }, "@types/anymatch": { "version": "1.3.1", diff --git a/package.json b/package.json index 02cdfc4..c2b5932 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wlan-cloud-ui", - "version": "0.2.1", + "version": "0.2.2", "author": "ConnectUs", "description": "React Portal", "engines": { @@ -20,7 +20,7 @@ "@ant-design/icons": "^4.2.1", "@apollo/react-hoc": "^3.1.4", "@apollo/react-hooks": "^3.1.3", - "@tip-wlan/wlan-cloud-ui-library": "^0.2.1", + "@tip-wlan/wlan-cloud-ui-library": "^0.2.2", "antd": "^4.3.1", "apollo-cache-inmemory": "^1.6.6", "apollo-client": "^2.6.10", From 106952d38c49354fbf198095f4acf852fb9bcc45 Mon Sep 17 00:00:00 2001 From: Sean Macfarlane Date: Sun, 26 Jul 2020 12:27:48 -0400 Subject: [PATCH 09/11] fixed ouiUpload response --- .../System/containers/Manufacturer/index.js | 17 ++++++++++++----- app/graphql/mutations.js | 3 +-- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/app/containers/System/containers/Manufacturer/index.js b/app/containers/System/containers/Manufacturer/index.js index 41b4945..87004a8 100644 --- a/app/containers/System/containers/Manufacturer/index.js +++ b/app/containers/System/containers/Manufacturer/index.js @@ -68,11 +68,18 @@ const System = () => { const handleFileUpload = (fileName, file) => fileUpload({ variables: { fileName, file } }) - .then(() => { - notification.success({ - message: 'Success', - description: 'File successfully uploaded.', - }); + .then(resp => { + if (resp?.ouiUpload?.success) { + notification.success({ + message: 'Success', + description: 'File successfully uploaded.', + }); + } else { + notification.error({ + message: 'Error', + description: 'File could not be uploaded.', + }); + } }) .catch(() => notification.error({ diff --git a/app/graphql/mutations.js b/app/graphql/mutations.js index e03b841..f445fde 100644 --- a/app/graphql/mutations.js +++ b/app/graphql/mutations.js @@ -86,8 +86,7 @@ export const FILE_UPLOAD = gql` export const OUI_UPLOAD = gql` mutation OuiUpload($fileName: String, $file: Upload) { ouiUpload(fileName: $fileName, file: $file) { - fileName - baseUrl + success } } `; From 21ced72c2e97b73cfd5f3769fd36c3d7d1847652 Mon Sep 17 00:00:00 2001 From: Sean Macfarlane Date: Sun, 26 Jul 2020 15:20:34 -0400 Subject: [PATCH 10/11] update version --- app/containers/System/containers/AutoProvision/index.js | 6 +++--- package.json | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/containers/System/containers/AutoProvision/index.js b/app/containers/System/containers/AutoProvision/index.js index 6d8be59..9cfbd9a 100644 --- a/app/containers/System/containers/AutoProvision/index.js +++ b/app/containers/System/containers/AutoProvision/index.js @@ -1,11 +1,11 @@ import React, { useContext } from 'react'; import { useQuery, useMutation } from '@apollo/react-hooks'; import { Alert, notification } from 'antd'; -import { GET_CUSTOMER, GET_ALL_LOCATIONS, GET_ALL_PROFILES } from 'graphql/queries'; -import { UPDATE_CUSTOMER } from 'graphql/mutations'; +import { AutoProvision as AutoProvisionPage, Loading } from '@tip-wlan/wlan-cloud-ui-library'; import UserContext from 'contexts/UserContext'; -import { AutoProvision as AutoProvisionPage, Loading } from '@tip-wlan/wlan-cloud-ui-library'; +import { GET_CUSTOMER, GET_ALL_LOCATIONS, GET_ALL_PROFILES } from 'graphql/queries'; +import { UPDATE_CUSTOMER } from 'graphql/mutations'; const AutoProvision = () => { const { customerId } = useContext(UserContext); diff --git a/package.json b/package.json index c2b5932..00f1333 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wlan-cloud-ui", - "version": "0.2.2", + "version": "0.2.3", "author": "ConnectUs", "description": "React Portal", "engines": { @@ -20,7 +20,7 @@ "@ant-design/icons": "^4.2.1", "@apollo/react-hoc": "^3.1.4", "@apollo/react-hooks": "^3.1.3", - "@tip-wlan/wlan-cloud-ui-library": "^0.2.2", + "@tip-wlan/wlan-cloud-ui-library": "^0.2.3", "antd": "^4.3.1", "apollo-cache-inmemory": "^1.6.6", "apollo-client": "^2.6.10", From d642c6b5e2385e60b699497ff2230a5d158ebf5b Mon Sep 17 00:00:00 2001 From: Sean Macfarlane Date: Sun, 26 Jul 2020 23:07:54 -0400 Subject: [PATCH 11/11] update version --- package-lock.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index da4e9e2..8d853dc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "wlan-cloud-ui", - "version": "0.2.2", + "version": "0.2.3", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -1874,9 +1874,9 @@ } }, "@tip-wlan/wlan-cloud-ui-library": { - "version": "0.2.2", - "resolved": "https://tip.jfrog.io/artifactory/api/npm/tip-wlan-cloud-npm-repo/@tip-wlan/wlan-cloud-ui-library/-/@tip-wlan/wlan-cloud-ui-library-0.2.2.tgz", - "integrity": "sha1-86dCGDXjhQD+7BNFLBnoSpq3w5Q=" + "version": "0.2.3", + "resolved": "https://tip.jfrog.io/artifactory/api/npm/tip-wlan-cloud-npm-repo/@tip-wlan/wlan-cloud-ui-library/-/@tip-wlan/wlan-cloud-ui-library-0.2.3.tgz", + "integrity": "sha1-m/aF8DLiaeGF8UDtECAabipk2P0=" }, "@types/anymatch": { "version": "1.3.1",