-
BrianChen authored
* add charging rules & billing domain * setup billing server by config * fix: waiting group usage for billing server * update pdu charging data filter * frontend: add UE CHARGING RECORD * finish SubscriberCreate & SubscriberUpdate * finish Charging Config in SubscriberRead.tsx * fix: DELETE and PUT policyData.ues.chargingData when editing Subscriber's data * fix: CheckAuth in GetChargingRecord() * fix golangci-linter & reduce frontend vulnerabilities * remove useless code & log in api_webui.go * config/TLS -> cert * fix webuicfg.yaml * Enable to add multiple flow rules in 1 DNN * remove SubscriberUpdate.tsx and integrate it into SubscriberCreate.tsx * change all qfi to QosRef * fix React Component's id naming style * When Offline Charging, disable Quota input box * update UI * change default IP Filter * update UI * fix: when offline, quota != 0 * refactor * implement per S-NSSAI charging config * use frontend/build instead of ./public * add per flow UE Charging Record * fix: 2 flow rules use same charging config * add expand icon * update readme.md * add PerFlowTableView as a React Component * fix: undefined object use map() * fix: the conflict of replicate IP Filter * when delete a subscriber, remove it's CDR file * fix: per slice charging config disappered when edit subscriber data * fix: dnn, filter should not omit empty * update util's hash * fix: per slice Charging Config display error * fix: backend pdu level quota wasn't sent to frontend * fix: when no Charging record && sort charging record by Filter * fix: duplicated SMF Information in REALTIME STATUS * remove cdr file by path * add snssai, dnn to FlowInfo & RatingGroupDataUsage * redesign backend: GetChargingRecord() * frontend: implemented multi snssai expand table for UE Charging Record Page * remove redundant log * sort flow level charging record * Bump github.com/gin-gonic/gin from 1.9.0 to 1.9.1 (#42) Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin) from 1.9.0 to 1.9.1. - [Release notes](https://github.com/gin-gonic/gin/releases) - [Changelog](https://github.com/gin-gonic/gin/blob/master/CHANGELOG.md) - [Commits](https://github.com/gin-gonic/gin/compare/v1.9.0...v1.9.1 ) --- updated-dependencies: - dependency-name: github.com/gin-gonic/gin dependency-type: direct:production ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by:
tim-ywliu <68043973+tim-ywliu@users.noreply.github.com> * Query to NRF for NFProfile instead of getting from mongodb. (#63) * Fix: MSISDN -> GPSI (#65) * fix: msisdn -> identityData * change some function name to GPSI style * SubsListIE.Msisdn -> SubsListIE.Gpsi * continue to fix the gpsi format bug in api_webui.go * Bump @adobe/css-tools from 4.3.1 to 4.3.2 in /frontend (#67) Bumps [@adobe/css-tools](https://github.com/adobe/css-tools) from 4.3.1 to 4.3.2. - [Changelog](https://github.com/adobe/css-tools/blob/main/History.md) - [Commits](https://github.com/adobe/css-tools/commits ) --- updated-dependencies: - dependency-name: "@adobe/css-tools" dependency-type: indirect ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump golang.org/x/crypto from 0.14.0 to 0.17.0 (#68) Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.14.0 to 0.17.0. - [Commits](https://github.com/golang/crypto/compare/v0.14.0...v0.17.0 ) --- updated-dependencies: - dependency-name: golang.org/x/crypto dependency-type: direct:production ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fix: rebase and fix linter error * add singleNssais sd:112233 * Refactor: refactor WebUI and fix bugs * Feature: support offline charging * Fix: remove unused code * UI Modify and fix bugs * Change default values and enhance UX * PDU Level to silce level * Remove comment code and add error handling * Add postman collection * Frontend code improvement and cleaner --------- Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
roy19991013 <80-ChienAn@users.noreply.gitlab.nems.cs.nctu.edu.tw> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by:
tim-ywliu <68043973+tim-ywliu@users.noreply.github.com> Co-authored-by:
Kunihiro Ishiguro <kunihiro@zebra.dev> Co-authored-by:
CTFang@WireLab <ctfang.cs12@nycu.edu.tw>
BrianChen authored* add charging rules & billing domain * setup billing server by config * fix: waiting group usage for billing server * update pdu charging data filter * frontend: add UE CHARGING RECORD * finish SubscriberCreate & SubscriberUpdate * finish Charging Config in SubscriberRead.tsx * fix: DELETE and PUT policyData.ues.chargingData when editing Subscriber's data * fix: CheckAuth in GetChargingRecord() * fix golangci-linter & reduce frontend vulnerabilities * remove useless code & log in api_webui.go * config/TLS -> cert * fix webuicfg.yaml * Enable to add multiple flow rules in 1 DNN * remove SubscriberUpdate.tsx and integrate it into SubscriberCreate.tsx * change all qfi to QosRef * fix React Component's id naming style * When Offline Charging, disable Quota input box * update UI * change default IP Filter * update UI * fix: when offline, quota != 0 * refactor * implement per S-NSSAI charging config * use frontend/build instead of ./public * add per flow UE Charging Record * fix: 2 flow rules use same charging config * add expand icon * update readme.md * add PerFlowTableView as a React Component * fix: undefined object use map() * fix: the conflict of replicate IP Filter * when delete a subscriber, remove it's CDR file * fix: per slice charging config disappered when edit subscriber data * fix: dnn, filter should not omit empty * update util's hash * fix: per slice Charging Config display error * fix: backend pdu level quota wasn't sent to frontend * fix: when no Charging record && sort charging record by Filter * fix: duplicated SMF Information in REALTIME STATUS * remove cdr file by path * add snssai, dnn to FlowInfo & RatingGroupDataUsage * redesign backend: GetChargingRecord() * frontend: implemented multi snssai expand table for UE Charging Record Page * remove redundant log * sort flow level charging record * Bump github.com/gin-gonic/gin from 1.9.0 to 1.9.1 (#42) Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin) from 1.9.0 to 1.9.1. - [Release notes](https://github.com/gin-gonic/gin/releases) - [Changelog](https://github.com/gin-gonic/gin/blob/master/CHANGELOG.md) - [Commits](https://github.com/gin-gonic/gin/compare/v1.9.0...v1.9.1 ) --- updated-dependencies: - dependency-name: github.com/gin-gonic/gin dependency-type: direct:production ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by:
tim-ywliu <68043973+tim-ywliu@users.noreply.github.com> * Query to NRF for NFProfile instead of getting from mongodb. (#63) * Fix: MSISDN -> GPSI (#65) * fix: msisdn -> identityData * change some function name to GPSI style * SubsListIE.Msisdn -> SubsListIE.Gpsi * continue to fix the gpsi format bug in api_webui.go * Bump @adobe/css-tools from 4.3.1 to 4.3.2 in /frontend (#67) Bumps [@adobe/css-tools](https://github.com/adobe/css-tools) from 4.3.1 to 4.3.2. - [Changelog](https://github.com/adobe/css-tools/blob/main/History.md) - [Commits](https://github.com/adobe/css-tools/commits ) --- updated-dependencies: - dependency-name: "@adobe/css-tools" dependency-type: indirect ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump golang.org/x/crypto from 0.14.0 to 0.17.0 (#68) Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.14.0 to 0.17.0. - [Commits](https://github.com/golang/crypto/compare/v0.14.0...v0.17.0 ) --- updated-dependencies: - dependency-name: golang.org/x/crypto dependency-type: direct:production ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fix: rebase and fix linter error * add singleNssais sd:112233 * Refactor: refactor WebUI and fix bugs * Feature: support offline charging * Fix: remove unused code * UI Modify and fix bugs * Change default values and enhance UX * PDU Level to silce level * Remove comment code and add error handling * Add postman collection * Frontend code improvement and cleaner --------- Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
roy19991013 <80-ChienAn@users.noreply.gitlab.nems.cs.nctu.edu.tw> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by:
tim-ywliu <68043973+tim-ywliu@users.noreply.github.com> Co-authored-by:
Kunihiro Ishiguro <kunihiro@zebra.dev> Co-authored-by:
CTFang@WireLab <ctfang.cs12@nycu.edu.tw>
readme.md 1.03 KiB
free5GC Web Console
Install Node.js
sudo apt remove nodejs -y
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt update
sudo apt install nodejs -y
node -v # check that version is 20.x
sudo corepack enable
Build the Server
To be able to run free5gc's webconsole server, consider building its source through the following steps:
# (In directory: ~/free5gc/webconsole)
cd frontend
yarn install
yarn build
rm -rf ../public
cp -R build ../public
Run the Server
To run free5gc's webconsole server, use:
# (In directory: ~/free5gc/webconsole)
go run server.go
Connect to WebConsole
Enter <WebConsole server's IP>:5000
in an internet browser URL bar
Then use the credentials below:
- Username: admin
- Password: free5gc
Run the Frontend Dev Web Server
Run the frontend development server with file watcher
cd frontend/
yarn start
To specify backend server api url
cd frontend/
REACT_APP_HTTP_API_URL=http://127.0.0.1:5000/api PORT=3000 yarn start