Unverified Commit 15b2e677 authored by Jerome Boucher's avatar Jerome Boucher
Browse files

docs() : add samples for complex metadata and update conf.ini.default

parent 883f685a
Pipeline #4475 passed with stage
in 4 minutes and 18 seconds
......@@ -6,7 +6,7 @@ cd $SCRIPT_PATH;
# INIT PATH
LAABS_PATH="$SCRIPT_PATH/../../../../";
BUNDLE_PATH="$LAABS_PATH/src/bundle";
DATA_MAARCHRM_SQL_PATH="$LAABS_PATH/data/maarchRM/sql/";
DATA_MAARCHRM_SQL_PATH="$LAABS_PATH/data/maarchRM/sql/pgsql/";
# HELP TEXT
usage="$(basename "$0") [--options ...] -- This program initializes the database with schemas and basic data
......@@ -62,6 +62,6 @@ esac
done
cat \
$DATA_MAARCHRM_SQL_PATH/pgsql/deleteAllData.sql \
$DATA_MAARCHRM_SQL_PATH/pgsql/demo.sql \
$DATA_MAARCHRM_SQL_PATH/deleteAllData.sql \
$DATA_MAARCHRM_SQL_PATH/demo.sql \
| psql --host=$input_pgsql_host --port=$input_pgsql_port --username="$input_pgsql_user" --dbname="$input_pgsql_database" -f -
......@@ -106,6 +106,14 @@ translationLogType = "{
;The path of the stopword file for fullTextIndexing
stopWordsFilePath = "%laabsDirectory%/data/stopwords/stopwords_fr.txt"
descriptionSchemes = "{
'additionalContent' : {
'label' : 'additionalContent',
'type' : 'json',
'uri' : '%laabsDirectory%/data/maarchRM/samples/sample.json'
}
}"
[audit]
; Send notifications on audit event
;notifications = "{
......
{
"type": "object",
"properties": {
"professional_adress" : {
"title" : "Adresse professionnelle",
"type" : "array",
"items" : {
"type" : "object",
"properties": {
"streetNumber" : {
"title" : "Numéro de voie",
"type" : "number"
},
"street" : {
"title" : "Rue",
"type" : "string"
},
"city" : {
"title" : "Ville",
"type" : "string"
},
"postCode" : {
"title" : "Code postal",
"type" : "number"
},
"country" : {
"title" : "Pays",
"type" : "string"
}
}
}
},
"customer" : {
"title" : "Client",
"type" : "text"
},
"documentId" : {
"title" : "Identifiant de document",
"type" : "string"
},
"dueDate" : {
"title" : "Date d'échéance",
"type" : "date"
},
"empid" : {
"title" : "Matricule",
"type" : "string"
},
"fullname" : {
"title" : "Nom Complet",
"type" : "string"
},
"netPayable" : {
"title" : "Net à payer",
"type" : "number"
},
"orderNumber" : {
"title" : "Numéro de commande",
"type" : "string"
},
"org" : {
"title" : "Organisation",
"type" : "string",
"enum" : ["ACME Paris", "ACME Dakar", "ACME Cotonou"]
},
"salesPerson" : {
"title" : "Vendeur",
"type" : "text"
},
"service" : {
"title" : "Service concerné",
"type" : "string",
"enum" : ["MARK", "DSG", "DSI", "DAF"]
}
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment