version: 1.7.4
version: 1.7.6
repo:
name: AdvantEDGE
......@@ -182,11 +182,16 @@ repo:
codecov: true
# supports linting
lint: true
# location of API specification
# location of API specifications
api:
meep-auth-svc: go-apps/meep-auth-svc/api/swagger.yaml
# AdvantEDGE resources included in Docker container image
- name: 'AdvantEDGE Auth Service REST API'
file: go-apps/meep-auth-svc/api/swagger.yaml
# location of user supplied API specifications
user-api:
# resources available to docker container image
docker-data:
# location of entry script
'entrypoint.sh': go-apps/meep-auth-svc/entrypoint.sh
# location of REST API permissions file
'permissions.yaml': config/permissions.yaml
meep-ingress-certs:
......@@ -224,9 +229,6 @@ repo:
codecov: true
# supports linting
lint: true
# location of API specification
api:
meep-mon-engine: go-apps/meep-mon-engine/api/swagger.yaml
# list of dependencies pods to monitor
dependency-pods:
- meep-cert-manager
......@@ -249,14 +251,24 @@ repo:
# list of sandbox pods to monitor
sandbox-pods:
- meep-gis-engine
- meep-loc-serv
# - meep-loc-serv
- meep-metrics-engine
# - meep-mg-manager
- meep-rnis
- meep-wais
# - meep-rnis
# - meep-wais
- meep-sandbox-ctrl
- meep-app-enablement
# - meep-tc-engine
# - meep-app-enablement
# location of API specifications
api:
- name: 'AdvantEDGE Monitoring Engine REST API'
file: go-apps/meep-mon-engine/api/swagger.yaml
# location of user supplied API specifications
user-api:
# resources available to docker container image
docker-data:
# location of entry script
'entrypoint.sh': go-apps/meep-mon-engine/entrypoint.sh
meep-platform-ctrl:
# location of source code
src: go-apps/meep-platform-ctrl
......@@ -276,13 +288,18 @@ repo:
codecov: true
# supports linting
lint: true
# location of API specification
# location of API specifications
api:
meep-platform-ctrl: go-apps/meep-platform-ctrl/api/swagger.yaml
# AdvantEDGE resources included in Docker container image
- name: 'AdvantEDGE Platform Controller REST API'
file: go-apps/meep-platform-ctrl/api/swagger.yaml
# location of user supplied API specifications
user-api:
# resources available to docker container image
docker-data:
# location of AdvantEDGE swagger files
swagger: bin/meep-platform-swagger-ui
# location of entry script
'entrypoint.sh': go-apps/meep-platform-ctrl/entrypoint.sh
# location of Swagger UI
swagger: js-apps/meep-swagger-ui
# location of AdvantEDGE frontend
frontend: bin/meep-frontend
meep-virt-engine:
......@@ -317,19 +334,19 @@ repo:
meep-wais: charts/meep-wais
meep-sandbox-ctrl: charts/meep-sandbox-ctrl
meep-tc-engine: charts/meep-tc-engine
meep-virt-chart-templates: charts/meep-virt-chart-templates
meep-app-enablement: charts/meep-app-enablement
meep-virt-chart-templates: charts/meep-virt-chart-templates
# list of sandbox specific pods
sandbox-pods:
- meep-gis-engine
- meep-loc-serv
# - meep-loc-serv
- meep-metrics-engine
# - meep-mg-manager
- meep-rnis
- meep-wais
# - meep-rnis
# - meep-wais
- meep-sandbox-ctrl
- meep-app-enablement
# - meep-tc-engine
# - meep-app-enablement
meep-webhook:
# location of source code
src: go-apps/meep-webhook
......@@ -377,49 +394,6 @@ repo:
meep-mon-engine-api: js-packages/meep-mon-engine-client
meep-gis-engine-api: js-packages/meep-gis-engine-client
meep-auth-svc-client: js-packages/meep-auth-svc-client
meep-platform-swagger-ui:
# location of source code
src: js-apps/meep-swagger-ui
# location of binary
bin: bin/meep-platform-swagger-ui
# enable meepctl build
build: true
# enable meepctl dockerize -> bundled with meep-platform-ctrl
dockerize: false
# enable meepctl deploy/delete -> deployed via meep-platform-ctrl
deploy: false
# supports linting
lint: false
# list of platform level swagger specs
api-bundle:
- core.go-apps.meep-auth-svc
- core.go-apps.meep-platform-ctrl
- core.go-apps.meep-mon-engine
meep-sandbox-swagger-ui:
# location of source code
src: js-apps/meep-swagger-ui
# location of binary
bin: bin/meep-sandbox-swagger-ui
# enable meepctl build
build: true
# enable meepctl dockerize -> bundled with meep-sandbox-ctrl
dockerize: false
# enable meepctl deploy/delete -> deployed via meep-sandbox-ctrl
deploy: false
# supports linting
lint: false
# list of sandbox level swagger specs
api-bundle:
- sandbox.go-apps.meep-sandbox-ctrl
- sandbox.go-apps.meep-gis-engine
- sandbox.go-apps.meep-loc-serv
- sandbox.go-apps.meep-rnis
- sandbox.go-apps.meep-wais
- sandbox.go-apps.meep-metrics-engine
- packages.go-packages.meep-metrics-engine-notification-client
- sandbox.go-apps.meep-app-enablement
# - sandbox.go-apps.meep-mg-manager
# - packages.go-packages.meep-mg-app-client
#------------------------------
# Sandbox Subsystem
......@@ -428,6 +402,44 @@ repo:
# Go Applications
go-apps:
meep-app-enablement:
# location of source code
src: go-apps/meep-app-enablement
# location of binary
bin: bin/meep-app-enablement
# location of deployment chart
chart: charts/meep-app-enablement
# user supplied value file located @ .meep/user/values (use below file name)
chart-user-values: meep-app-enablement.yaml
# extra build flags
build-flags:
- -mod=vendor
# enable meepctl build
build: true
# enable meepctl dockerize
dockerize: true
# enable meepctl deploy/delete
deploy: true
# supports code coverage measurement when built in codecov mode
codecov: false
# supports linting
lint: true
# location of API specifications
api:
- name: 'AdvantEDGE MEC Application Support REST API'
file: go-apps/meep-app-enablement/api/app-support/swagger.yaml
- name: 'AdvantEDGE MEC Service Management REST API'
file: go-apps/meep-app-enablement/api/service-mgmt/swagger.yaml
# location of user supplied API specifications
user-api:
- name: 'MEC Application Support API'
file: config/api/.yaml
- name: 'MEC Service Management API'
file: config/api/.yaml
# resources available to docker container image
docker-data:
# location of entry script
'entrypoint.sh': go-apps/meep-app-enablement/entrypoint.sh
meep-gis-engine:
# location of source code
src: go-apps/meep-gis-engine
......@@ -444,12 +456,19 @@ repo:
# enable meepctl deploy/delete
deploy: true
# supports code coverage measurement when built in codecov mode
codecov: false
codecov: true
# supports linting
lint: true
# location of API specification
# location of API specifications
api:
meep-gis-engine: go-apps/meep-gis-engine/api/swagger.yaml
- name: 'AdvantEDGE GIS Engine REST API'
file: go-apps/meep-gis-engine/api/swagger.yaml
# location of user supplied API specifications
user-api:
# resources available to docker container image
docker-data:
# location of entry script
'entrypoint.sh': go-apps/meep-gis-engine/entrypoint.sh
meep-loc-serv:
# location of source code
src: go-apps/meep-loc-serv
......@@ -469,12 +488,21 @@ repo:
# enable meepctl deploy/delete
deploy: true
# supports code coverage measurement when built in codecov mode
codecov: false
codecov: true
# supports linting
lint: true
# location of API specification
# location of API specifications
api:
meep-loc-serv: go-apps/meep-loc-serv/api/swagger.yaml
- name: 'AdvantEDGE Location Service REST API'
file: go-apps/meep-loc-serv/api/swagger.yaml
# location of user supplied API specifications
user-api:
- name: 'Location Service REST API'
file: config/api/.yaml
# resources available to docker container image
docker-data:
# location of entry script
'entrypoint.sh': go-apps/meep-loc-serv/entrypoint.sh
meep-metrics-engine:
# location of source code
src: go-apps/meep-metrics-engine
......@@ -494,12 +522,21 @@ repo:
# enable meepctl deploy/delete
deploy: true
# supports code coverage measurement when built in codecov mode
codecov: false
codecov: true
# supports linting
lint: true
# location of API specification
# location of API specifications
api:
meep-metrics-engine: go-apps/meep-metrics-engine/api/v2/swagger.yaml
- name: 'AdvantEDGE Metrics Service REST API'
file: go-apps/meep-metrics-engine/api/v2/swagger.yaml
- name: 'AdvantEDGE Metrics Service Notification REST API'
file: go-packages/meep-metrics-engine-notification-client/api/swagger.yaml
# location of user supplied API specifications
user-api:
# resources available to docker container image
docker-data:
# location of entry script
'entrypoint.sh': go-apps/meep-metrics-engine/entrypoint.sh
meep-mg-manager:
# location of source code
src: go-apps/meep-mg-manager
......@@ -516,12 +553,21 @@ repo:
# enable meepctl deploy/delete
deploy: false
# supports code coverage measurement when built in codecov mode
codecov: false
codecov: true
# supports linting
lint: false
# location of API specification
# location of API specifications
api:
meep-mg-manager: go-apps/meep-mg-manager/api/swagger.yaml
- name: 'AdvantEDGE Mobility Group Service REST API'
file: go-apps/meep-mg-manager/api/swagger.yaml
- name: 'AdvantEDGE Mobility Group Application Client REST API'
file: go-packages/meep-mg-app-client/api/swagger.yaml
# location of user supplied API specifications
user-api:
# resources available to docker container image
docker-data:
# location of entry script
'entrypoint.sh': go-apps/meep-mg-manager/entrypoint.sh
meep-rnis:
# location of source code
src: go-apps/meep-rnis
......@@ -541,12 +587,21 @@ repo:
# enable meepctl deploy/delete
deploy: true
# supports code coverage measurement when built in codecov mode
codecov: false
codecov: true
# supports linting
lint: true
# location of API specification
# location of API specifications
api:
meep-rnis: go-apps/meep-rnis/api/swagger.yaml
- name: 'AdvantEDGE Radio Network Information Service REST API'
file: go-apps/meep-rnis/api/swagger.yaml
# location of user supplied API specifications
user-api:
- name: 'Radio Network Information Service REST API'
file: config/api/.yaml
# resources available to docker container image
docker-data:
# location of entry script
'entrypoint.sh': go-apps/meep-rnis/entrypoint.sh
meep-wais:
# location of source code
src: go-apps/meep-wais
......@@ -566,12 +621,21 @@ repo:
# enable meepctl deploy/delete
deploy: true
# supports code coverage measurement when built in codecov mode
codecov: false
codecov: true
# supports linting
lint: true
# location of API specification
# location of API specifications
api:
meep-wais: go-apps/meep-wais/api/swagger.yaml
- name: 'AdvantEDGE WLAN Access Information Service REST API'
file: go-apps/meep-wais/api/swagger.yaml
# location of user supplied API specifications
user-api:
- name: 'WLAN Access Information Service REST API'
file: config/api/.yaml
# resources available to docker container image
docker-data:
# location of entry script
'entrypoint.sh': go-apps/meep-wais/entrypoint.sh
meep-sandbox-ctrl:
# location of source code
src: go-apps/meep-sandbox-ctrl
......@@ -588,15 +652,21 @@ repo:
# enable meepctl deploy/delete
deploy: true
# supports code coverage measurement when built in codecov mode
codecov: false
codecov: true
# supports linting
lint: true
# location of API specification
# location of API specifications
api:
meep-sandbox-ctrl: go-apps/meep-sandbox-ctrl/api/swagger.yaml
- name: 'AdvantEDGE Sandbox Controller REST API'
file: go-apps/meep-sandbox-ctrl/api/swagger.yaml
# location of user supplied API specifications
user-api:
# resources available to docker container image
docker-data:
# location of entry script
'entrypoint.sh': go-apps/meep-sandbox-ctrl/entrypoint.sh
swagger: bin/meep-sandbox-swagger-ui
# location of Swagger UI
swagger: js-apps/meep-swagger-ui
meep-tc-engine:
# location of source code
src: go-apps/meep-tc-engine
......@@ -613,7 +683,7 @@ repo:
# enable meepctl deploy/delete
deploy: false
# supports code coverage measurement when built in codecov mode
codecov: false
codecov: true
# supports linting
lint: false
meep-tc-sidecar:
......@@ -631,33 +701,6 @@ repo:
codecov: false
# supports linting
lint: false
meep-app-enablement:
# location of source code
src: go-apps/meep-app-enablement
# location of binary
bin: bin/meep-app-enablement
# location of deployment chart
chart: charts/meep-app-enablement
# user supplied value file located @ .meep/user/values (use below file name)
chart-user-values: meep-app-enablement.yaml
# extra build flags
build-flags:
- -mod=vendor
# enable meepctl build
build: true
# enable meepctl dockerize
dockerize: true
# enable meepctl deploy/delete
deploy: true
# supports code coverage measurement when built in codecov mode
codecov: false
# supports linting
lint: true
# location of API specification
api:
meep-app-support: go-apps/meep-app-enablement/api/app-support/swagger.yaml
meep-service-mgmt: go-apps/meep-app-enablement/api/service-mgmt/swagger.yaml
meep-app-info: go-apps/meep-app-enablement/api/app-info/swagger.yaml
#------------------------------
# Dependencies
......@@ -875,17 +918,11 @@ repo:
src: go-packages/meep-metrics-engine-notification-client
# supports linting
lint: false
# location of API specification
api:
meep-metrics-engine-notification-client: go-packages/meep-metrics-engine-notification-client/api/swagger.yaml
meep-mg-app-client:
# location of source code
src: go-packages/meep-mg-app-client
# supports linting
lint: false
# location of API specification
api:
meep-mg-app-client: go-packages/meep-mg-app-client/api/swagger.yaml
meep-mg-manager-client:
# location of source code
src: go-packages/meep-mg-manager-client
......
This diff is collapsed.
File moved
File moved
This diff is collapsed.
File moved
......@@ -142,9 +142,68 @@ fileservers:
# roles: # role-specific permissions
# admin: 'allow|block'
# user: 'allow|block'
# fileservers: # Service fileserver permissions (overrides default)
# - name 'fs-name' # fileserver name
# path: '/fs-endpoint/path' # fileserver endpoint path
# mode: 'allow|block|verify' # access authorization mode
# roles: # role-specific permissions
# admin: 'allow|block'
# user: 'allow|block'
#------------------------------------------------------------------------------
services:
#------------------------------
# MEC Application Support (Sbox)
#------------------------------
- name: 'meep-app-enablement-app-supp'
path: '/mec_app_support/v1'
sbox: true
default:
mode: 'allow'
fileservers:
- name: 'Api'
path: '/api'
mode: 'verify'
roles:
admin: 'allow'
user: 'block'
- name: 'UserApi'
path: '/user-api'
mode: 'verify'
roles:
admin: 'allow'
user: 'allow'
endpoints:
- name: 'Index'
path: '/'
method: 'GET'
mode: 'block'
#------------------------------
# MEC Service Management (Sbox)
#------------------------------
- name: 'meep-app-enablement-srv-mgmt'
path: '/mec_service_mgmt/v1'
sbox: true
default:
mode: 'allow'
fileservers:
- name: 'Api'
path: '/api'
mode: 'verify'
roles:
admin: 'allow'
user: 'block'
- name: 'UserApi'
path: '/user-api'
mode: 'verify'
roles:
admin: 'allow'
user: 'allow'
endpoints:
- name: 'Index'
path: '/'
method: 'GET'
mode: 'block'
#------------------------------
# GIS Engine (Sbox)
#------------------------------
- name: 'meep-gis-engine'
......@@ -152,6 +211,19 @@ services:
sbox: true
default:
mode: 'block'
fileservers:
- name: 'Api'
path: '/api'
mode: 'verify'
roles:
admin: 'allow'
user: 'block'
- name: 'UserApi'
path: '/user-api'
mode: 'verify'
roles:
admin: 'allow'
user: 'allow'
endpoints:
- name: 'GetAutomationState'
path: '/automation'
......@@ -224,6 +296,19 @@ services:
sbox: true
default:
mode: 'allow'
fileservers:
- name: 'Api'
path: '/api'
mode: 'verify'
roles:
admin: 'allow'
user: 'block'
- name: 'UserApi'
path: '/user-api'
mode: 'verify'
roles:
admin: 'allow'
user: 'allow'
endpoints:
- name: 'Index'
path: '/'
......@@ -237,6 +322,19 @@ services:
sbox: true
default:
mode: 'block'
fileservers:
- name: 'Api'
path: '/api'
mode: 'verify'
roles:
admin: 'allow'
user: 'block'
- name: 'UserApi'
path: '/user-api'
mode: 'verify'
roles:
admin: 'allow'
user: 'allow'
endpoints:
- name: 'PostEventQuery'
path: '/metrics/query/event'
......@@ -323,6 +421,19 @@ services:
sbox: true
default:
mode: 'allow'
fileservers:
- name: 'Api'
path: '/api'
mode: 'verify'
roles:
admin: 'allow'
user: 'block'
- name: 'UserApi'
path: '/user-api'
mode: 'verify'
roles:
admin: 'allow'
user: 'allow'
endpoints:
- name: 'Index'
path: '/'
......@@ -336,6 +447,19 @@ services:
sbox: false
default:
mode: 'block'
fileservers:
- name: 'Api'
path: '/api'
mode: 'verify'
roles:
admin: 'allow'
user: 'block'
- name: 'UserApi'
path: '/user-api'
mode: 'verify'
roles:
admin: 'allow'
user: 'allow'
endpoints:
- name: 'Index'
path: '/'
......@@ -356,6 +480,19 @@ services:
sbox: false
default:
mode: 'block'
fileservers:
- name: 'Api'
path: '/api'
mode: 'verify'
roles:
admin: 'allow'
user: 'block'
- name: 'UserApi'
path: '/user-api'
mode: 'verify'
roles:
admin: 'allow'
user: 'allow'
endpoints:
- name: 'Index'
path: '/'
......@@ -453,6 +590,19 @@ services:
sbox: true
default:
mode: 'allow'
fileservers:
- name: 'Api'
path: '/api'
mode: 'verify'
roles:
admin: 'allow'
user: 'block'
- name: 'UserApi'
path: '/user-api'
mode: 'verify'
roles:
admin: 'allow'
user: 'allow'
endpoints:
- name: 'Index'
path: '/'
......@@ -466,6 +616,19 @@ services:
sbox: true
default:
mode: 'block'
fileservers:
- name: 'Api'
path: '/api'
mode: 'verify'
roles:
admin: 'allow'
user: 'block'
- name: 'UserApi'
path: '/user-api'
mode: 'verify'
roles:
admin: 'allow'
user: 'allow'
endpoints:
- name: 'Index'
path: '/'
......@@ -492,6 +655,41 @@ services:
roles:
admin: 'allow'
user: 'allow'
- name: 'GetActiveScenarioDomain'
path: '/active/domains'
method: 'GET'
mode: 'verify'
roles:
admin: 'allow'
user: 'allow'
- name: 'GetActiveScenarioNetworkLocation'
path: '/active/networkLocations'
method: 'GET'
mode: 'verify'
roles:
admin: 'allow'
user: 'allow'
- name: 'GetActiveScenarioPhysicalLocation'
path: '/active/physicalLocations'
method: 'GET'
mode: 'verify'
roles:
admin: 'allow'
user: 'allow'
- name: 'GetActiveScenarioProcess'
path: '/active/processes'
method: 'GET'
mode: 'verify'
roles:
admin: 'allow'
user: 'allow'
- name: 'GetActiveScenarioZone'
path: '/active/zones'
method: 'GET'
mode: 'verify'
roles:
admin: 'allow'
user: 'allow'
- name: 'TerminateScenario'
path: '/active'
method: 'DELETE'
......@@ -499,6 +697,62 @@ services:
roles:
admin: 'allow'
user: 'allow'
- name: 'ApplicationsAppInstanceIdDELETE'
path: '/applications/{appInstanceId}'
method: 'DELETE'
mode: 'verify'
roles:
admin: 'allow'
user: 'allow'
- name: 'ApplicationsAppInstanceIdGET'
path: '/applications/{appInstanceId}'
method: 'GET'
mode: 'verify'
roles:
admin: 'allow'
user: 'allow'
- name: 'ApplicationsAppInstanceIdPUT'
path: '/applications/{appInstanceId}'
method: 'PUT'
mode: 'verify'
roles:
admin: 'allow'
user: 'block'
- name: 'ApplicationsGET'
path: '/applications'
method: 'GET'
mode: 'verify'
roles:
admin: 'allow'
user: 'allow'
- name: 'ApplicationsPOST'
path: '/applications'
method: 'POST'
mode: 'verify'
roles:
admin: 'allow'
user: 'allow'
- name: 'CreatePduSession'
path: '/connectivity/pdu-session/{ueName}/{pduSessionId}'
method: 'POST'
mode: 'verify'
roles:
admin: 'allow'
user: 'block'
- name: 'GetPduSessionList'
path: '/connectivity/pdu-session'
method: 'GET'
mode: 'verify'
roles:
admin: 'allow'
user: 'block'
- name: 'TerminatePduSession'
path: '/connectivity/pdu-session/{ueName}/{pduSessionId}'
method: 'DELETE'
mode: 'verify'
roles:
admin: 'allow'
user: 'block'
- name: 'CreateReplayFile'
path: '/replay/{name}'
method: 'POST'
......@@ -581,35 +835,21 @@ services:
sbox: true
default:
mode: 'allow'
fileservers:
- name: 'Api'
path: '/api'
mode: 'verify'
roles:
admin: 'allow'
user: 'block'
- name: 'UserApi'
path: '/user-api'
mode: 'verify'
roles:
admin: 'allow'
user: 'allow'
endpoints:
- name: 'Index'
path: '/'
method: 'GET'
mode: 'block'
#------------------------------
# MEC Application Support (Sbox)
#------------------------------
- name: 'meep-app-enablement-app-supp'
path: '/mec_app_support/v1'
sbox: true
default:
mode: 'allow'
endpoints:
- name: 'Index'
path: '/'
method: 'GET'
mode: 'block'
#------------------------------
# MEC Service Management (Sbox)
#------------------------------
- name: 'meep-app-enablement-srv-mgmt'
path: '/mec_service_mgmt/v1'
sbox: true
default:
mode: 'allow'
endpoints:
- name: 'Index'
path: '/'
method: 'GET'
mode: 'block'
......@@ -7,8 +7,8 @@ BASEDIR=$(dirname "$SCRIPT")
MEEPDIR=~/AdvantEDGE
CONFIGDIR=$MEEPDIR/config
DASHBOARDDIR=$MEEPDIR/charts/grafana/dashboards
APIDIR=$MEEPDIR/config/api
FRONTENDDIR=~/.meep/user/frontend
SWAGGERDIR=~/.meep/user/sandbox-swagger
VALUESDIR=~/.meep/user/values
echo ""
......@@ -24,12 +24,20 @@ cd $BASEDIR
cp config/.meepctl-repocfg.yaml $MEEPDIR
cp config/permissions.yaml $CONFIGDIR
cp config/secrets.yaml $CONFIGDIR
cp config/thanos.yaml $CONFIGDIR
cp config/thanos-archive.yaml $CONFIGDIR
cp config/objstore-influx.cfg $CONFIGDIR
cp config/objstore-thanos.yaml $CONFIGDIR
cp config/objstore-thanos-archive.yaml $CONFIGDIR
echo ""
echo "+ Copying swagger api files"
echo "$APIDIR"
mkdir -p $APIDIR
cp -r config/api/* $APIDIR
echo ""
echo "+ Copying dashboards"
echo "$DASHBOARDDIR"
mkdir -p $DASHBOARDDIR
cp -r config/dashboards/* $DASHBOARDDIR
echo ""
......@@ -39,13 +47,6 @@ mkdir -p $FRONTENDDIR
rm -r $FRONTENDDIR/* 2> /dev/null
cp -r bin/frontend/* $FRONTENDDIR
echo ""
echo "+ Deploying swagger UI"
echo "$SWAGGERDIR"
mkdir -p $SWAGGERDIR
rm -r $SWAGGERDIR/* 2> /dev/null
cp -r js-apps/swagger-ui/* $SWAGGERDIR
echo ""
echo "+ Updating configuration user values"
echo "$VALUESDIR"
......
js-apps/swagger-ui/favicon-16x16.png

665 B

js-apps/swagger-ui/favicon-32x32.png

628 B

<!-- HTML for static distribution bundle build -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Swagger UI</title>
<link rel="stylesheet" type="text/css" href="./swagger-ui.css" >
<link rel="icon" type="image/png" href="./favicon-32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="./favicon-16x16.png" sizes="16x16" />
<style>
html
{
box-sizing: border-box;
overflow: -moz-scrollbars-vertical;
overflow-y: scroll;
}
*,
*:before,
*:after
{
box-sizing: inherit;
}
body
{
margin:0;
background: #fafafa;
}
</style>
</head>
<body>
<div id="swagger-ui"></div>
<script src="./swagger-ui-bundle.js"> </script>
<script src="./swagger-ui-standalone-preset.js"> </script>
<script>
window.onload = function() {
const rootUrl = location.protocol + '//' + location.host + location.pathname;
// Begin Swagger UI call region
const ui = SwaggerUIBundle({
urls: [ {"name": "Location Service REST API", "url": rootUrl + "loc-serv-api.yaml"},{"name": "Radio Network Information Service REST API", "url": rootUrl + "rnis-api.yaml"}, ,{"name": "WLAN Access Information Service REST API", "url": rootUrl + "wais-api.yaml"}],
dom_id: '#swagger-ui',
deepLinking: true,
presets: [
SwaggerUIBundle.presets.apis,
SwaggerUIStandalonePreset
],
plugins: [
SwaggerUIBundle.plugins.DownloadUrl
],
layout: "StandaloneLayout",
validatorUrl: null
})
// End Swagger UI call region
window.ui = ui
}
</script>
</body>
</html>
<!doctype html>
<html lang="en-US">
<title>Swagger UI: OAuth2 Redirect</title>
<body onload="run()">
</body>
</html>
<script>
'use strict';
function run () {
var oauth2 = window.opener.swaggerUIRedirectOauth2;
var sentState = oauth2.state;
var redirectUrl = oauth2.redirectUrl;
var isValid, qp, arr;
if (/code|token|error/.test(window.location.hash)) {
qp = window.location.hash.substring(1);
} else {
qp = location.search.substring(1);
}
arr = qp.split("&")
arr.forEach(function (v,i,_arr) { _arr[i] = '"' + v.replace('=', '":"') + '"';})
qp = qp ? JSON.parse('{' + arr.join() + '}',
function (key, value) {
return key === "" ? value : decodeURIComponent(value)
}
) : {}
isValid = qp.state === sentState
if ((
oauth2.auth.schema.get("flow") === "accessCode"||
oauth2.auth.schema.get("flow") === "authorizationCode"
) && !oauth2.auth.code) {
if (!isValid) {
oauth2.errCb({
authId: oauth2.auth.name,
source: "auth",
level: "warning",
message: "Authorization may be unsafe, passed state was changed in server Passed state wasn't returned from auth server"
});
}
if (qp.code) {
delete oauth2.state;
oauth2.auth.code = qp.code;
oauth2.callback({auth: oauth2.auth, redirectUrl: redirectUrl});
} else {
let oauthErrorMsg
if (qp.error) {
oauthErrorMsg = "["+qp.error+"]: " +
(qp.error_description ? qp.error_description+ ". " : "no accessCode received from the server. ") +
(qp.error_uri ? "More info: "+qp.error_uri : "");
}
oauth2.errCb({
authId: oauth2.auth.name,
source: "auth",
level: "error",
message: oauthErrorMsg || "[Authorization failed]: no accessCode received from the server"
});
}
} else {
oauth2.callback({auth: oauth2.auth, token: qp, isValid: isValid, redirectUrl: redirectUrl});
}
window.close();
}
</script>
This diff is collapsed.
This diff is collapsed.
Source diff could not be displayed: it is too large. Options to address this: view the blob.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.