aboutsummaryrefslogtreecommitdiffstats
path: root/src/orchestrator/scripts/start-dev.sh
diff options
context:
space:
mode:
authorRitu Sood <ritu.sood@intel.com>2020-08-04 14:46:34 -0700
committerRitu Sood <ritu.sood@intel.com>2020-08-20 11:42:12 -0700
commit6fc3a329aba55dfa2d4867bde9d8a3126b45f59a (patch)
tree21e39a03255198a8f0781a78ad9e2ade1f3c28ed /src/orchestrator/scripts/start-dev.sh
parent6e5ca4741dab0de3b4d89f410f0ff9d0313d6aee (diff)
Add Validation for API's
Adding input validations for API based on Json schemas Issue-ID: MULTICLOUD-1096 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Change-Id: If6591bdef6305f87cbce7ef56d894376f687c6c1
Diffstat (limited to 'src/orchestrator/scripts/start-dev.sh')
-rwxr-xr-xsrc/orchestrator/scripts/start-dev.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/orchestrator/scripts/start-dev.sh b/src/orchestrator/scripts/start-dev.sh
index c97451a6..003773be 100755
--- a/src/orchestrator/scripts/start-dev.sh
+++ b/src/orchestrator/scripts/start-dev.sh
@@ -13,7 +13,7 @@ set -o nounset
set -o pipefail
source _functions.sh
-
+k8s_path="$(git rev-parse --show-toplevel)"
#
# Start from compiled binaries to foreground. This is usable for development use.
#
@@ -28,5 +28,6 @@ echo "Compiling source code"
pushd $opath
generate_config
make all
+cp -r $k8s_path/src/orchestrator/api/json-schemas $k8s_path/src/orchestrator
./orchestrator
popd