Create osrd_nge and test project of communication with an iframe #7536
Closed
21 tasks done
Labels
area:front
Work on Standard OSRD Interface modules
area:gateway
kind:feature-task
Work related to a feature epic
module:operational-studies
Multi-train simulation with structured studies management
1st step of meta #7535
Acceptance criteria
osrd-nge
is available as npm packageiframe
proves the communication betweenosrd-nge
and NGEImplementation plan
osrd-nge
: a wrapper (Angular app) that embed a build of NGE with specific settings for OSRD use (standalone mode) (see POC)osrd-nge
in npmosrd-nge
from npm and make the NGE build available within OSRD buildversion-control.service.ts
)environment.customElement
)netzgrafik
) and filters (see Angular ngIf) (setenvironment.disableBackend
)osrd-nge
:Description
NGE will be refacto to be customizable for the use of OSRD (= without back-end, aka standalone mode).
A minimalist Angular project, named
osrd-nge
, will embed the whole application NGE, namednge-app
, with custom settings.Concept diagram:
DevOps / NGE deployment
Create
osrd-nge
, importnge-app
to build it (see POC) and publish it in npm.Don't forget to set
nge-app
with standalone flag.Once it's done, import the build of
osrd-nge
from npm and build NGE forosrd-front
.Split front-end / back-end
Supported by Adrian, enable / disable functions and components in NGE front-end official repos, depending on the value of the standalone flag.
See
version-control.service.ts
(one of the back-end links should be there)See Angular ngIf.
See POC of disabling NGE back-end, to be reproduced in NGE at a larger scale.
Communication through
customElement
See current work
Payloads
See Trainrun data model and TrainrunSection data model
Create
trainrun
:Update
trainrun
:Delete
trainrun
:Resulting POC
The resulting test project should be enough preparation to ease next step of integration (front-end integration and OSRD to NGE communication, through
osrd-nge
)Contacts: @louisgreiner (SNCF Réseau) - @aiAdrian (SBB CFF FFS)
Definition of ready
PO
Technical
General
The text was updated successfully, but these errors were encountered: