#!/bin/bash

scriptDir="`dirname \"$0\"`" # Where we are physically
workDir="`pwd`" # Where we run from
pod=$1 # This instance hostname (pod)
buildId=$2 # Build GUID
dataSourceTitle=$3 # Data source display name
cubePhysicalName=$4 # Cube physical name
originator=$5 # One of: REST/NextECM/Scheduler/CLI
buildIntentType=$6 # One of: NEW/EXISTS
tempPath=$7 # The default temp path for build plugins
tmpEcmModelFile=$8 # ECM model path (only in prebuild)
tmpQueriesFile=$9 # Queries index path (only in postbuild)

. "$scriptDir/../plugin_utils.sh"
. "$scriptDir/../sisense.sh"
log_input
log_info "Starting at $workDir"

# Parameters:
################################################################################

# YOUR PARAMETERS HERE

# Implementation:
################################################################################

# YOUR IMPLEMENTATION HERE

################################################################################

# If we get here, exit value will be 0
log_info "Done"
