Commit 51bce0d3 authored by Kevin Di Lallo's avatar Kevin Di Lallo
Browse files

removed js-packages taken from AdvantEDGE repo

parent ad9be78f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -6,3 +6,4 @@ pkg/
vendor/
dist/
bin
js-packages/meep-*
+9 −8
Original line number Diff line number Diff line
@@ -73,10 +73,15 @@ Build and deploy the MEC Sandbox as follows:
     - `meepctl delete core`
     - `meepctl delete dep`
     - **NOTE:** This will clear all sessions in Redis DB
1. Build & Deploy STF Frontend:
   - Fetch required MEC Sandbox baseline
     - Clone & upload this repo to the MEC Sandbox deployment VM
1. Clone MEC Sandbox & AdvantEDGE repositories:
   - Fetch required MEC Sandbox baseline:
     - Clone this repo to the MEC Sandbox deployment VM
     - Place repo in home folder
   - Fetch required AdvantEDGE baseline:
     - Clone AdvantEDGE repo to the MEC Sandbox deployment VM
     - Place repo in home folder
     - Checkout the required AdvantEDGE version tag
1. Build & Deploy STF Frontend:
   - SSH to MEC Sandbox deployment VM
   - Build STF Frontend:
     - `cd ~/mec-sandbox`
@@ -84,11 +89,7 @@ Build and deploy the MEC Sandbox as follows:
   - Deploy STF Frontend & Configuration files:
     - `./deploy.sh`
     - **NOTE:** This updates the `~/.meep/user/` folder with the user frontend, sandbox swagger UI, and user chart values.yaml overrides
1. Fetch & Configure AdvantEDGE:
   - Fetch required AdvantEDGE baseline
     - Clone & upload AdvantEDGE repo to the MEC Sandbox deployment VM
     - Place repo in home folder
     - Checkout the required AdvantEDGE version tag
1. Configure AdvantEDGE:
   - Update deployment config & permissions files (from MEC Sandbox):
     - `cp ~/mec-sandbox/config/.meepctl-repocfg.yaml ~/AdvantEDGE/.meepctl-repocfg.yaml`
       - **NOTE:** Verify the Deployment config section values before deploying the platform
+17 −22
Original line number Diff line number Diff line
@@ -4,6 +4,17 @@
SCRIPT=$(readlink -f "$0")
BASEDIR=$(dirname "$SCRIPT")

MEEPDIR=~/AdvantEDGE

install_package() {
    echo ""
    echo "+ Installing $1"
    rm -rf $BASEDIR/js-packages/$1
    cp -r $MEEPDIR/js-packages/$1 $BASEDIR/js-packages
    cd $BASEDIR/js-packages/$1
    npm ci
}

echo ""
echo ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
echo ">> Building MEC Sandbox Frontend"
@@ -17,29 +28,13 @@ echo "+ Linting Frontend"
cd $BASEDIR/js-apps/frontend
eslint src

echo "+ Building GIS Engine client package"
cd $BASEDIR/js-packages/meep-gis-engine-client
npm ci

echo ""
echo "+ Building Metrics Engine client package"
cd $BASEDIR/js-packages/meep-metrics-engine-client
npm ci

echo ""
echo "+ Building Platform Controller client package"
cd $BASEDIR/js-packages/meep-platform-ctrl-client
npm ci

echo ""
echo "+ Building Sandbox Controller client package"
cd $BASEDIR/js-packages/meep-sandbox-ctrl-client
npm ci

echo ""
echo "+ Building Monitoring Engine client package"
cd $BASEDIR/js-packages/meep-mon-engine-client
npm ci
echo "+ Installing client packages"
install_package meep-gis-engine-client
install_package meep-metrics-engine-client
install_package meep-platform-ctrl-client
install_package meep-sandbox-ctrl-client
install_package meep-mon-engine-client

echo ""
echo "+ Building Frontend"
+0 −23
Original line number Diff line number Diff line
# Swagger Codegen Ignore
# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen

# Use this file to prevent files from being overwritten by the generator.
# The patterns follow closely to .gitignore or .dockerignore.

# As an example, the C# client generator defines ApiClient.cs.
# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line:
#ApiClient.cs

# You can match any string of characters against a directory, file or extension with a single asterisk (*):
#foo/*/qux
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux

# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
#foo/**/qux
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux

# You can also negate patterns with an exclamation (!).
# For example, you can ignore all files in a docs folder with the file extension .md:
#docs/*.md
# Then explicitly reverse the ignore rule for a single file:
#!docs/README.md
+0 −1
Original line number Diff line number Diff line
2.4.9
 No newline at end of file
Loading