onap
latest
Portal Platform
Portal: Tutorials
Building ONAP Portal SDK Web Applications
Introduction
Application architecture
Setting up
Creating a new application
Setting up a database connection
Your AngularJS app
Your Angular app
Pulling DB data
Google Charts
Dynamic content
Enabling Single-Signon
Wrapping up
Building ONAP Portal BE Applications
Portal Platform Release Notes
onap
Docs
»
Portal: Tutorials
»
Building ONAP Portal SDK Web Applications
View page source
Building ONAP Portal SDK Web Applications
ΒΆ
Contents:
Introduction
Application architecture
Setting up
Dependencies
Cloning the Portal SDK repository
Building the base
Setting up the MariaDB database
Adding support for lowercase table names
Database setup
Adding tables
Your project directory
Connecting your app to the backend database
Building your app
Installing your app
Viewing your app
Creating a new application
Java code location
Web code location
Spring controllers
A basic controller
Request routing via definitions.xml
Setting up a database connection
Injecting data
Setting up a connection in Java
Your AngularJS app
myfirstpage.html
app.js
controller.js
data-service.js
route.js
template.html
Adding your new page to the SDK navigation
Your Angular app
SDK angular application
Setup Steps
firstpage.html
Boot the angularJS from angular application
Controller
Data Service
Template
Migrationg existing page to the SDK navigatio
Adding your new page to the SDK navigation
Rollback to angularJs incase if there is blocker
Pulling DB data
AngularJS Promises
Data service
Modifying our Spring controller
Testing our changes
Google Charts
Installing
Configuring our chart
Populating our chart
Updating the template
Dynamic content
Creating the Angularized select/option menu
Enabling Single-Signon
Changing the cookie domain
development - change this file and rebuild the front-end
configuration - change this deployment entry
Apps that are built on the EP-SDK have an entry in a config file that must be changed
Wrapping up
Read the Docs
v: latest
Versions
latest
Downloads
html
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.