Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Olive
Questionnaire Fast Deployment Package
Commits
502be714
Commit
502be714
authored
Jul 17, 2020
by
damianofalcioni
Browse files
updated models
parent
0ae87794
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
4-Open
Questionnaire overview
page.url
→
4-Open
MSC
page.url
View file @
502be714
...
...
@@ -2,5 +2,5 @@
Prop3=19,2
[InternetShortcut]
IDList=
URL=http://127.0.0.1:8080/
overview
/
URL=http://127.0.0.1:8080/
micro-service-controller-rest
/
HotKey=0
MODELS/BPMN/
BIMERR - Facade Renovation Processes
- BPMN Model.adl
→
MODELS/BPMN/
RobotArm - Supermarket
- BPMN Model
s
.adl
View file @
502be714
This diff is collapsed.
Click to expand it.
MODELS/DB/model_questionnaire.sql
0 → 100644
View file @
502be714
-- --------------------------------------------------------
-- Host: 127.0.0.1
-- Server version: 5.7.29 - MySQL Community Server (GPL)
-- Server OS: Win32
-- HeidiSQL Version: 9.4.0.5125
-- --------------------------------------------------------
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */
;
/*!40101 SET NAMES utf8 */
;
/*!50503 SET NAMES utf8mb4 */
;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */
;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */
;
-- Dumping database structure for model_questionnaire
DROP
DATABASE
IF
EXISTS
`model_questionnaire`
;
CREATE
DATABASE
IF
NOT
EXISTS
`model_questionnaire`
/*!40100 DEFAULT CHARACTER SET latin1 */
;
USE
`model_questionnaire`
;
-- Dumping structure for table model_questionnaire.mappings
DROP
TABLE
IF
EXISTS
`mappings`
;
CREATE
TABLE
IF
NOT
EXISTS
`mappings`
(
`model_name`
varchar
(
50
)
NOT
NULL
,
`model_instance_name`
varchar
(
50
)
NOT
NULL
,
`questionnaire_id`
varchar
(
50
)
NOT
NULL
,
`answer_json`
longtext
,
PRIMARY
KEY
(
`model_name`
,
`model_instance_name`
),
KEY
`FK_mappings_questionnaires`
(
`questionnaire_id`
),
CONSTRAINT
`FK_mappings_questionnaires`
FOREIGN
KEY
(
`questionnaire_id`
)
REFERENCES
`questionnaires`
(
`id`
)
ON
DELETE
CASCADE
ON
UPDATE
CASCADE
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
latin1
;
-- Dumping data for table model_questionnaire.mappings: ~1 rows (approximately)
DELETE
FROM
`mappings`
;
/*!40000 ALTER TABLE `mappings` DISABLE KEYS */
;
INSERT
INTO
`mappings`
(
`model_name`
,
`model_instance_name`
,
`questionnaire_id`
,
`answer_json`
)
VALUES
(
'1.1 Supermarket - Fixed Binding'
,
'Rest Robot Arm'
,
'q1'
,
'{"questions":{"q1":{"answer":"answer"},"q2":{"answer":"long answer"},"q3":{"answer":"a2"},"q4":{"answer":"a2"},"q5":{"answer":"a2"}}}'
);
/*!40000 ALTER TABLE `mappings` ENABLE KEYS */
;
-- Dumping structure for table model_questionnaire.questionnaires
DROP
TABLE
IF
EXISTS
`questionnaires`
;
CREATE
TABLE
IF
NOT
EXISTS
`questionnaires`
(
`id`
varchar
(
50
)
NOT
NULL
,
`json`
longtext
NOT
NULL
,
PRIMARY
KEY
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
latin1
;
-- Dumping data for table model_questionnaire.questionnaires: ~1 rows (approximately)
DELETE
FROM
`questionnaires`
;
/*!40000 ALTER TABLE `questionnaires` DISABLE KEYS */
;
INSERT
INTO
`questionnaires`
(
`id`
,
`json`
)
VALUES
(
'q1'
,
'{"results":{"lev0":{"scoreThreshold":0,"scoreDescription":"fail","scoreColor":"red"},"lev1":{"scoreThreshold":6,"scoreDescription":"sufficient","scoreColor":"yellow"}},"questionsOrder":["q1","q2","q3","q4","q5"],"questions":{"q1":{"question":"question 1 ?","image":"https://www.adoxx.org/live/image/layout_set_logo?img_id=179909&t=1591596811747","answer":{"type":0,"facets":{"placeholder":"put your answer here.."},"required":true},"scores":{"answer":1,"answet":1}},"q2":{"question":"question 2 ?","answer":{"type":1,"facets":{"placeholder":"put your long answer here..","minlength":10,"maxlength":100},"required":true},"scores":{"long answer":1,"long answet":1}},"q3":{"question":"question 3 ?","answer":{"type":2,"facets":{"answersOrder":["a1","a2"],"answers":{"a1":{"text":"response 1","image":"https://www.adoxx.org/live/image/layout_set_logo?img_id=179909&t=1591596811747"},"a2":{"text":"response 2"}}},"required":true},"scores":{"a1":-1,"a2":2}},"q4":{"question":"question 4 ?","answer":{"type":3,"facets":{"answersOrder":["a1","a2"],"answers":{"a1":{"text":"response 1"},"a2":{"text":"response 2"}}},"required":true},"scores":{"a1":-1,"a2":2}},"q5":{"question":"question 5 ?","answer":{"type":4,"facets":{"answersOrder":["a1","a2"],"answers":{"a1":{"text":"response 1","image":"https://www.adoxx.org/live/image/layout_set_logo?img_id=179909&t=1591596811747"},"a2":{"text":"response 2"}}},"required":true},"scores":{"a1":-1,"a2":2}}}}'
),
(
'q2'
,
'{}'
);
/*!40000 ALTER TABLE `questionnaires` ENABLE KEYS */
;
/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */
;
/*!40014 SET FOREIGN_KEY_CHECKS=IF(@OLD_FOREIGN_KEY_CHECKS IS NULL, 1, @OLD_FOREIGN_KEY_CHECKS) */
;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */
;
MODELS/MICROSERVICES/f8d7191c-6dce-4bd7-b71a-d3ac1373df44.json
View file @
502be714
This diff is collapsed.
Click to expand it.
UTILS/MySQLClient/portable_settings.txt
View file @
502be714
...
...
@@ -161,8 +161,8 @@ Servers\localhost\SSL_CA<|||>1<|||>
Servers\localhost\SSL_Cipher<|||>1<|||>
Servers\localhost\RefusedCount<|||>3<|||>8
Servers\localhost\ServerVersionFull<|||>1<|||>5.7.29 - MySQL Community Server (GPL)
Servers\localhost\ConnectCount<|||>3<|||>5
2
Servers\localhost\ConnectCount<|||>3<|||>5
3
Servers\localhost\ServerVersion<|||>3<|||>50729
Servers\localhost\LastConnect<|||>1<|||>2020-07-1
5
1
4:54:3
8
Servers\localhost\lastUsedDB<|||>1<|||>
Servers\localhost\LastConnect<|||>1<|||>2020-07-1
7
1
7:38:0
8
Servers\localhost\lastUsedDB<|||>1<|||>
model_questionnaire
Servers\localhost\QueryHistory\3<|||>1<|||>2020-01-14 10:30:19|repo|0|SHOW WARNINGS
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment