Skip to content
Nawaz Khurshid edited this page Mar 25, 2022 · 9 revisions

The gamification engine configuration can be modified using the following properties that one can pass to the engine run command arguments:

name default value description
--server.port 8080 HTTP server listening port
--spring.profiles.active no-sec the flag activates basic HTTP authentication on web console and engine REST API. Use value sec to activate security.
default user:
* name: sco_master
* password: GenGine.ADMIN
Users can be added and modifying game-engine.web/src/main/resources/users.yml.
Use profile platform to activate Oauth 2.0 authentication
--spring.data.mongodb.database ${MONGO_DBNAME:gamification} mongodb database name
--spring.data.mongodb.uri ${SPRING_DATA_MONGODB_URL:mongodb://localhost:27017/gamification} mongodb connection uri
--task.persistence.activate true this flag activates the persistence of game task state in mongodb to permit task restore if server crashes [useful in production mode]
--org.quartz.jobStore.addresses localhost mongodb host for task persistence database
--org.quartz.jobStore.dbName gamification_task_store mongodb db name for task persistence database
--security.usersFile path of the users file.
If option isn't specified should be used default file game-engine.web/src/main/resources/users.yml