summaryrefslogtreecommitdiffstats
path: root/docs/configuration.rst
blob: 40638733f44042f146ffd40f0cb11a90d4329718 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
.. This work is licensed under a Creative Commons Attribution 4.0 International License.
.. http://creativecommons.org/licenses/by/4.0

Configuration
=============

Configurations .properties files are located under ``WEB-INF/conf/``, while .js files are under ``scripts/constants/``

system.properties file
----------------------

``db.connectionURL``
  The connection URL for the VID database

``db.userName``
  The username for the VID database

``db.password``
  The password for the VID database

``role_management_activated``
  Role management activation flag, "false" by defauly. Change to "true" in order to activate this feature.
  
``aai.server.url.base``
  Base URL for the A&AI server

``aai.server.url``
  URL for the A&AI server including its version (default: v11)

``aai.vid.username``, ``aai.vid.pass``
  Credentials for accessing A&AI server offered APIs

``mso.server.url``
  Base URL for the SO server

``mso.polling.interval.msecs``
  Interval in milliseconds for polling the SO for the instantiation status

``mso.max.polls``
  Max attempts for polling the SO instantiation status
  
``mso.user.name``,  ``mso.password.x``
  Credentials for accessing the SO server

``scheduler.server.url``
  Base URL for the Scheduler

``scheduler.create.new.vnf.change.instance``, ``scheduler.get.time.slots``, ``scheduler.submit.new.vnf.change``, ``scheduler.get.schedules``
  Scheduler endpoints

asdc.properties file
----------------------
``asdc.client.rest.protocol``
  States the protocol used for accessing SDC: http or https

``asdc.client.rest.host``
  States the hostname of the SDC instance

``asdc.client.rest.port``
  States the port of the SDC instance

``asdc.client.rest.auth``
  Basic authorization string for accessing SDC
  
vidConfiguration.js file
------------------------
``MSO_MAX_POLLS``
  Max attempts for polling the SO instantiation status
  
``MSO_POLLING_INTERVAL_MSECS``
  Interval in milliseconds for polling the SO for the instantiation status
  
``SCHEDULER_POLLING_INTERVAL_MSECS``
  Interval in milliseconds for polling the Scheduler

``SCHEDULER_MAX_POLLS``
  Max attempts for polling the Scheduler
e/__init__.py ############################### # remove heatbridge # commented out for testing ################################################################ #if [ -d $path/testsuite/heatbridge ] #then # # Support LF build location # cd $path/testsuite/heatbridge #else # cd ~ # git config --global http.sslVerify false # if [ -d ~/heatbridge ] # then # cd heatbridge # git pull origin master # else # git clone https://gerrit.onap.org/r/testsuite/heatbridge.git # cd heatbridge # fi #fi #pip install \ #--no-cache-dir \ #--upgrade \ #--exists-action s \ #--target="$path/robot/library" \ #./heatbridge #sed -i 's/cinderclient\.v1\.client/cinderclient\.v2\.client/g' /var/opt/ONAP/robot/library/heatbridge/OpenstackManager.py ################################################################ # Go back to execution folder cd $path # if the script is running during the image build skip the rest of it # as required software is installed already. if $BUILDTIME then # we need to update PATH with chromium-chromedriver echo "Adding in-container chromedriver to PATH" ln -s /usr/lib/chromium-browser/chromedriver /usr/local/bin/chromedriver echo "Skipping desktop steps, building container image..." else # # Get the appropriate chromedriver. Default to linux64 # CHROMEDRIVER_URL=http://chromedriver.storage.googleapis.com/75.0.3770.140 CHROMEDRIVER_ZIP=chromedriver_linux64.zip CHROMEDRIVER_TARGET=chromedriver.zip # Handle mac and windows OS=`uname -s` case $OS in MINGW*_NT*) CHROMEDRIVER_ZIP=chromedriver_win32.zip ;; Darwin*) CHROMEDRIVER_ZIP=chromedriver_mac64.zip ;; *) echo "Defaulting to Linux 64" ;; esac if [ $CHROMEDRIVER_ZIP == 'chromedriver_linux64.zip' ] then curl $CHROMEDRIVER_URL/$CHROMEDRIVER_ZIP -o $CHROMEDRIVER_TARGET unzip chromedriver.zip -d /usr/local/bin else curl $CHROMEDRIVER_URL/$CHROMEDRIVER_ZIP -o $CHROMEDRIVER_TARGET unzip $CHROMEDRIVER_TARGET fi rm -rf $CHROMEDRIVER_TARGET fi