[OPT-905] Add demo data Created: 10/Jan/18  Updated: 18/Apr/19  Resolved: 03/Jul/18

Status: Done
Project: Camunda Optimize
Component/s: frontend
Affects Version/s: None
Fix Version/s: 2.2.0-alpha1, 2.2.0

Type: Task Priority: L3 - Default
Reporter: Sebastian Stamm Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

We currently only have the data we import from the invoice demo process. We should add some more demo data in the dev environment to enable manual testing for different scenarios



 Comments   
Comment by Sebastian Stamm [ 15/May/18 ]
  • the dataPreparationPlugin variable could be constructed using a template string to avoid explicit \n and whitespaces
  • data.split('<plugins>') could be precalculated
  • the flow node ids could be more descriptive
Comment by Sebastian Stamm [ 16/May/18 ]
  • the directory of the engine is dynamically constructed based on the configuration in the ./config.js file. So something like const bpmPlatformXmlDir = path.resolve(tmpDir, 'engine_8050/server/apache-tomcat-8.0.47/conf/bpm-platform.xml'); will break when the port is changed in the config.js
  • also, the tomcat version should not be hardcoded. Check line 77 for an example of an alternative way to find a file path
Comment by Johannes Heinemann [ 17/May/18 ]

As an addendum to Sebastians, because I was just using the front-end dev environment:

  • please add a date variable, so we can test if date variables are imported and can be displayed in the front-end
Generated at Sat Jul 20 22:18:55 CEST 2019 using JIRA 6.4.6#64021-sha1:33e5b454af4594f54560ac233c30a6e00459507e.