133 lines
3.6 KiB
Python
133 lines
3.6 KiB
Python
KML = """{
|
|
"logFormat": "zip",
|
|
"entryType": "@class",
|
|
"spatials": [
|
|
"de.findevielfalt.games.game2.instance.log.entry.LogEntryLocation"
|
|
],
|
|
"actions": [],
|
|
"boards": [
|
|
"de.findevielfalt.games.game2.instance.log.entry.ShowBoardLogEntry"
|
|
],
|
|
"analyzers": {
|
|
"analysis.analyzers": [
|
|
"BiogamesCategorizer",
|
|
"LocationAnalyzer"
|
|
]
|
|
},
|
|
"sequences": {
|
|
"start": "de.findevielfalt.games.game2.instance.log.entry.LogEntryCache",
|
|
"end": {
|
|
"@class": "de.findevielfalt.games.game2.instance.log.entry.LogEntryInstanceAction",
|
|
"action.@class": "de.findevielfalt.games.game2.instance.action.CacheEnableAction"
|
|
}
|
|
},
|
|
"custom": {
|
|
"simulation_rounds": [
|
|
"de.findevielfalt.games.game2.instance.log.entry.LogEntryQuestion"
|
|
],
|
|
"simu_data": [
|
|
"de.findevielfalt.games.game2.instance.data.sequence.simulation.SimulationBoardData"
|
|
],
|
|
"instance_start": "de.findevielfalt.games.game2.instance.log.entry.LogEntryStartInstance",
|
|
"instance_id": "instance_id",
|
|
"instance_config_id": "config.@id",
|
|
"sequences2": {
|
|
"id_field": "sequence_id",
|
|
"start": {
|
|
"@class": "de.findevielfalt.games.game2.instance.log.entry.ShowSequenceLogEntry",
|
|
"action": "START"
|
|
},
|
|
"end": {
|
|
"@class": "de.findevielfalt.games.game2.instance.log.entry.ShowSequenceLogEntry",
|
|
"action": "PAUSE"
|
|
}
|
|
},
|
|
"coordinates": "location.coordinates",
|
|
"metadata": {
|
|
"timestamp": "timestamp",
|
|
"gamefield": "instance_id",
|
|
"user": "player_group_name"
|
|
}
|
|
},
|
|
"source": {
|
|
"type": "Biogames",
|
|
"username": "ba",
|
|
"password": "853451",
|
|
"host": "http://biogames.potato.kinf.wiai.uni-bamberg.de"
|
|
},
|
|
"render": [
|
|
"KMLRender"
|
|
]
|
|
}"""
|
|
|
|
ACTIVITY = """{
|
|
"logFormat": "zip",
|
|
"entryType": "@class",
|
|
"spatials": [
|
|
"de.findevielfalt.games.game2.instance.log.entry.LogEntryLocation"
|
|
],
|
|
"actions": [],
|
|
"boards": [
|
|
"de.findevielfalt.games.game2.instance.log.entry.ShowBoardLogEntry"
|
|
],
|
|
"analyzers": {
|
|
"analysis.analyzers": [
|
|
"BiogamesCategorizer",
|
|
"ActivityMapper"
|
|
]
|
|
},
|
|
"sequences": {
|
|
"start": "de.findevielfalt.games.game2.instance.log.entry.LogEntryCache",
|
|
"end": {
|
|
"@class": "de.findevielfalt.games.game2.instance.log.entry.LogEntryInstanceAction",
|
|
"action.@class": "de.findevielfalt.games.game2.instance.action.CacheEnableAction"
|
|
}
|
|
},
|
|
"custom": {
|
|
"simulation_rounds": [
|
|
"de.findevielfalt.games.game2.instance.log.entry.LogEntryQuestion"
|
|
],
|
|
"simu_data": [
|
|
"de.findevielfalt.games.game2.instance.data.sequence.simulation.SimulationBoardData"
|
|
],
|
|
"instance_start": "de.findevielfalt.games.game2.instance.log.entry.LogEntryStartInstance",
|
|
"instance_id": "instance_id",
|
|
"instance_config_id": "config.@id",
|
|
"sequences2": {
|
|
"id_field": "sequence_id",
|
|
"start": {
|
|
"@class": "de.findevielfalt.games.game2.instance.log.entry.ShowSequenceLogEntry",
|
|
"action": "START"
|
|
},
|
|
"end": {
|
|
"@class": "de.findevielfalt.games.game2.instance.log.entry.ShowSequenceLogEntry",
|
|
"action": "PAUSE"
|
|
}
|
|
},
|
|
"coordinates": "location.coordinates",
|
|
"metadata": {
|
|
"timestamp": "timestamp",
|
|
"gamefield": "instance_id",
|
|
"user": "player_group_name"
|
|
}
|
|
},
|
|
"source": {
|
|
"type": "Biogames",
|
|
"username": "ba",
|
|
"password": "853451",
|
|
"host": "http://biogames.potato.kinf.wiai.uni-bamberg.de"
|
|
},
|
|
"render": [
|
|
"ActivityMapper"
|
|
]
|
|
}"""
|
|
|
|
CONFIGS = { # TODO
|
|
"KML": KML,
|
|
"ActivityMapper": ACTIVITY,
|
|
}
|
|
|
|
URLS = {
|
|
"KML": "/",
|
|
"ActivityMapper": "#",
|
|
} |