Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
PipelineApp
Please create a React-JS application for the PipelineModule. The application has to offer the following views for the user interface: 1. PipelineView 2. PipelineAbschnittView 3. RegulierungView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 3 views are defined below. 1. The PipelineView must contain the following fields: - name: Endjahr type: LONG - name: HauptGasart type: Gasart - name: HerkunftsLand type: Land - name: LaengeKm type: STRING - name: Name type: STRING - name: Notizen type: STRING - name: Startjahr type: LONG - name: ZielLand type: Land The data source for the [HauptGasart] select control should be loaded from the relative URL: "/GasartService/gasart" (HTTP-GET) The data source for the [ZielLand] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) The data source for the [HerkunftsLand] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Pipeline entity should be loaded from the relative URL: "/PipelineService/pipeline/{id}" (HTTP-GET) If a new Pipeline entity has been created, the new entity should be posted to the relative URL: "/PipelineService/pipeline" (HTTP-POST) If an existing Pipeline entity has been updated, the modified entity should be sent to the relative URL: "/PipelineService/pipeline/{id}" (HTTP-PUT) If an existing Pipeline entity has to be deleted, the following relative URL should be called: "/PipelineService/pipeline/{id}" (HTTP-DELETE) Add a HTML table to the view with the following PipelineAbschnitt columns: - column: ZuAnlage - column: Pipeline - column: LaengeKm - column: VonAnlage - column: Fertigstellung - column: Notizen The table should have the title "PipelineAbschnitts" und the data must be loaded from the server with the following relative URL: "/PipelineService/pipelineabschnitt/pipeline/{id}" Add a HTML table to the view with the following EreignisBeteiligung columns: - column: Notizen - column: Person - column: Organisation - column: Pipeline - column: Rolle - column: Anlage - column: Ereignis The table should have the title "EreignisBeteiligungs" und the data must be loaded from the server with the following relative URL: "/AnlageService/ereignisbeteiligung/pipeline/{id}" Add a HTML table to the view with the following Gasimport columns: - column: VolumenBcm - column: ExportLand - column: Notizen - column: Gasart - column: Jahr - column: PipelineRoute - column: ImportLand The table should have the title "Gasimports" und the data must be loaded from the server with the following relative URL: "/GasartService/gasimport/pipelineroute/{id}" 2. The PipelineAbschnittView must contain the following fields: - name: Fertigstellung type: LONG - name: LaengeKm type: STRING - name: Notizen type: STRING - name: Pipeline type: Pipeline - name: VonAnlage type: Anlage - name: ZuAnlage type: Anlage The data source for the [ZuAnlage] select control should be loaded from the relative URL: "/AnlageService/anlage" (HTTP-GET) The data source for the [VonAnlage] select control should be loaded from the relative URL: "/AnlageService/anlage" (HTTP-GET) The data source for the [Pipeline] select control should be loaded from the relative URL: "/PipelineService/pipeline" (HTTP-GET) An existing PipelineAbschnitt entity should be loaded from the relative URL: "/PipelineService/pipelineabschnitt/{id}" (HTTP-GET) If a new PipelineAbschnitt entity has been created, the new entity should be posted to the relative URL: "/PipelineService/pipelineabschnitt" (HTTP-POST) If an existing PipelineAbschnitt entity has been updated, the modified entity should be sent to the relative URL: "/PipelineService/pipelineabschnitt/{id}" (HTTP-PUT) If an existing PipelineAbschnitt entity has to be deleted, the following relative URL should be called: "/PipelineService/pipelineabschnitt/{id}" (HTTP-DELETE) 3. The RegulierungView must contain the following fields: - name: Beschreibung type: STRING - name: Jahr type: LONG - name: Land type: Land - name: Name type: STRING The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Regulierung entity should be loaded from the relative URL: "/PipelineService/regulierung/{id}" (HTTP-GET) If a new Regulierung entity has been created, the new entity should be posted to the relative URL: "/PipelineService/regulierung" (HTTP-POST) If an existing Regulierung entity has been updated, the modified entity should be sent to the relative URL: "/PipelineService/regulierung/{id}" (HTTP-PUT) If an existing Regulierung entity has to be deleted, the following relative URL should be called: "/PipelineService/regulierung/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum