Added redirect for the /onos/v1/docs Swagger UI URL. Added onos-rsdocs tool to launch REST API docs UI from shell.
Change-Id: Ifb839e0205e5b176ebc7bb48644925eaa3675fd9
diff --git a/tools/dev/bash_profile b/tools/dev/bash_profile
index d084c97..fd609b9 100644
--- a/tools/dev/bash_profile
+++ b/tools/dev/bash_profile
@@ -30,6 +30,11 @@
# Setup cell enviroment
export ONOS_CELL=${ONOS_CELL:-local}
+# Setup default web user; for local dev execution use Karaf defaults
+export ONOS_WEB_USER=${ONOS_WEB_USER:-karaf}
+export ONOS_WEB_PASS=${ONOS_WEB_PASS:-karaf}
+
+# Setup default location of test scenarios
export ONOS_SCENARIOS=$ONOS_ROOT/tools/test/scenarios
# Convenience utility to warp to various ONOS source projects
@@ -78,8 +83,9 @@
# Pretty-print JSON output
alias pp='python -m json.tool'
-# Short-hand to launch API docs and sample topology viewer GUI
+# Short-hand to launch Java API docs, REST API docs and ONOS GUI
alias docs='open $ONOS_ROOT/docs/target/site/apidocs/index.html'
+alias rsdocs='onos-rsdocs'
alias gui='onos-gui'