Migrating the INTO-CPS Application to the Cloud
Mikkel Bayard Rasmussen Casper Thule Hugo Daniel Macedo Peter Gorm Larsen
DIGIT Aarhus University Centre for Digitalisation, Big Data and Data Analytics
DEPARTMENT OF ENGINEERING
AU AARHUS UNIVERSITY DEPARTMENT OF ENGINEERING October 7, 2019 - - PowerPoint PPT Presentation
Migrating the INTO-CPS Application to the Cloud Mikkel Bayard Rasmussen Casper Thule Peter Gorm Larsen Hugo Daniel Macedo DIGIT Aarhus University Centre for Digitalisation, Big Data and Data Analytics AU AARHUS UNIVERSITY DEPARTMENT OF
DEPARTMENT OF ENGINEERING
The INTO-CPS Interface The INTO-CPS Outputs The INTO-CPS Projects DSEs FMUs Model- Checking Multi- Models Resources SysML Test-Data- Generation Traceability userMetric- Scripts .project.json README.md Models
Git NodeJS Chromium Development Application frame COE JavaScript TypeScript Angular ElectronJS Third Party INTO-CPS Application Desktop JavaScript HTML CSS DSE .... Gulp
COE Service Init DownloadManager FMUBuilder MM Config MM Component MM view COE Simulation Component COE Config Component COE view DSE Config DSE view Traceability Config Traceability Overview Traceability view Handler Browser Fetch New Rename Bottom Proj Main Menu FMU Preview COE Process System Utils IntoCpsApp Settings Service
Actor Login Signup Get available projects Upload project Configure MM Save MM Configure CoSim Save CoSim Simulate Stop View Results Select Project Request New Password Logout
Git NodeJS Development Cloud: AWS (IaaS) COE TypeScript Angular Third Party INTO-CPS Application Browser DSE .... Backend Frontend TypeScript Docker Docker Docker- Compose Docker Docker Firebase Docker Docker Docker NGINX NodeJS
Frontend Server Context Component Menu Component Management Component Status Component Communication Component List projects List selected project context Project Management import / export / delete (git) Project Modification Compoenent Display Json content Modify Json Start simulation Simulation visualization COE status COE Console COE Log Trace Daemon Log User Authentication User Settings Communication Service Backend REST REST
SVN Server DSE Handler COE Handler Storage Handler Authentication Handler Project Settings Database Project Management Git Handler Create Project Upload Project Download Project Download File Upload File Clone / Pull Push Get Project Data Update / Create File Frontend REST REST
FROM openjdk :11− o r a c l e COPY coe . j a r coe . j a r COPY coe . sh coe . sh RUN yum i n s t a l l net−t o o l s −y RUN mkdir −p / data ADD . / data RUN chmod +x ./ coe . sh RUN l s CMD [ ” ./ coe . sh ” ] EXPOSE 8082
#!/ bin / sh # My f i r s t s c r i p t echo ” H e l l o Coe ! ” echo $ ( l s ) myIP=$ ( i f c o n f i g eth0 | grep ’ i n e t ’ | awk ’{ p r i n t $2} ’ ) echo $myIP myPATH=’ / data / ’ cd $myPATH coes=’ coes / ’ mkdir −p $coes$myIP cd $coes$myIP $ ( j a v a −j a r . . / . . / . . / coe . j a r )