You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Kirill Solomko db5c147da1
TT#30650 fix DbString $c declaration
7 years ago
assets TT#7515 Clean up good original polycom template 8 years ago
debian TT#28903 /api/voicemailrecordings add mp3 and ogg support 7 years ago
etc TT#22411 Fix spelling mistakes/typos 8 years ago
inc/Local/Module MT#15033 unify api test authentication 10 years ago
lib/NGCP TT#30650 fix DbString $c declaration 7 years ago
sandbox TT#23775 test DBIx::Class with a small sample Schema 8 years ago
script TT#30650 fix DbString $c declaration 7 years ago
share TT#28828 openapi PUT, PATCH, DELETE 7 years ago
t TT#28510 Fix tests masked by empty total_count for preferences 7 years ago
tools MT#19055 tools/generate_ssl_keys.sh: add ${KEY_FILE} to ssl-cert group too 9 years ago
tools_bin TT#23659 Improved customer/subscriber batch creation 8 years ago
tools_man MT#7543 install API scripts in /usr/bin. Add manpages and some new options. 11 years ago
.gitignore TT#22827 Implement form factory 8 years ago
.gitreview MT#7505 Add .gitreview file for ngcp-panel 11 years ago
.perlcriticrc MT#16907 customize panel-specific perlcritc file 10 years ago
Build.PL MT#15033 clean Build.PL server startup 10 years ago
Changes Initial commit of catalyst skeleton. 12 years ago
ISSUES Implement destination set handling. 12 years ago
MANIFEST MT#6551 Add empty MANIFEST file 11 years ago
MANIFEST.SKIP MT#6551 Add empty MANIFEST file 11 years ago
README provide a mechanism to update README 11 years ago
dialogic_documentation.html MT#11501 dialogic api cleanup 10 years ago
logging.conf MT#14675 fix local logging conf 9 years ago
ngcp_panel.conf TT#16003 implement JWT auth 8 years ago
ngcp_panel.psgi Initial commit of catalyst skeleton. 12 years ago
ngcp_panel_testing.conf use config file ngcp-schema/share/test.conf for testing 12 years ago

README

NGCP-Panel
    A completely overhauled provisioning interface for the NGCP system.

NAME
    Build.PL - NGCP-Panel build system including test fixtures

SYNOPSIS
        perl ./Build
        ./Build test --webdriver='phantomjs --webdriver=4444'
        ./Build test --webdriver='java -jar selenium-server-standalone.jar'
        ./Build test --webdriver='chromedriver --url-base=wd/hub --port=4444'
        ./Build test --webdriver=selenium-rc # from CPAN distro Alien-SeleniumRC
        ./Build test --webdriver=external --wd-server=127.0.0.1:5555

        ./Build test_tap --webdriver=external # outputs tap to tap/ folder

        ./Build testcover --webdriver='phantomjs --webdriver=4444'

  Options
        --webdriver       (required) external webdriver command
        --wd-server       HOST:PORT of an external webdriver to connect to
        --server          URI for socket test server
        --schema-base-dir directory of NGCP::Schema if its not yet installed
        --mysqld-port     port where the mysqld should be started
        --mysql-dump      one or more mysql dumps to be imported to our mysqld
        --help            brief help message
        --man             full documentation

OPTIONS
  `--webdriver'
    (required) command to launch a webdriver external if the webdriver is
    launched externally

  `--wd-server'
    Host:Port of the webdriver to which the tests should connect. Default is
    set by Test::WebDriver to localhost:4444

  `--server'
    URI for the HTTP::Server::PSGI socket server run for testing, default
    `http://localhost:5000'

  `--schema-base-dir'
    If the NGCP::Schema is not installed to a known path to perl, this
    option can specify the base directory of its development location. It
    will then be included via blib, so we have access to its lib and share.

  `--mysqld-port'
    If this option and `--mysqld-dir' are supplied, a mysqld will be started
    at the specified port and be used for the tests. mysqld will be stopped
    and the temporary data deleted when this script finishes.

  `--mysql-dump'
    If this option and `--mysqld-port' are supplied, a mysqld will be
    started and be used for the tests. It will import all dumps supplied
    with this option. This option can be set multiple times. In this case
    all specified files will be dumped into the database.

  `--help'
    Print a brief help message and exits.

  `--man'
    Prints the manual page and exits.

I18N
    1. Update strings from database

        script/ngcp_panel_dump_db_strings.pl

    2. regenerate messages.pot (use -v for verbose output)

        xgettext.pl --output=lib/NGCP/Panel/I18N/messages.pot --directory=lib/ --directory=share/templates/ --directory=share/layout -P perl=tt,pm

    3. Update or create $LANG.po files

        msgmerge --update $LANG.po messages.pot

    In case your language did not exist already:

        msginit --input=lib/NGCP/Panel/I18N/messages.pot --output=lib/NGCP/Panel/I18N/$LANG.po --locale=$LANG