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. RegionView 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 EreignisBeteiligung columns: - column: Rolle - column: Notizen - column: Organisation - column: Pipeline - column: Ereignis - column: Person - column: Anlage The table should have the title "EreignisBeteiligungs" und the data must be loaded from the server with the following relative URL: "/OrganisationService/ereignisbeteiligung/pipeline/{id}" Add a HTML table to the view with the following Gasimport columns: - column: VolumenBcm - column: Gasart - column: PipelineRoute - column: ImportLand - column: ExportLand - column: Notizen - column: Jahr 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}" Add a HTML table to the view with the following PipelineAbschnitt columns: - column: Notizen - column: LaengeKm - column: VonAnlage - column: ZuAnlage - column: Fertigstellung - column: Pipeline 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}" 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 RegionView must contain the following fields: - name: Land type: Land - name: Name type: STRING - name: Notizen type: STRING The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Region entity should be loaded from the relative URL: "/PipelineService/region/{id}" (HTTP-GET) If a new Region entity has been created, the new entity should be posted to the relative URL: "/PipelineService/region" (HTTP-POST) If an existing Region entity has been updated, the modified entity should be sent to the relative URL: "/PipelineService/region/{id}" (HTTP-PUT) If an existing Region entity has to be deleted, the following relative URL should be called: "/PipelineService/region/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Stadt columns: - column: Region - column: EinwohnerSchaetzung - column: Notizen - column: Name - column: Land The table should have the title "Stadts" und the data must be loaded from the server with the following relative URL: "/AnlageService/stadt/region/{id}" Add a HTML table to the view with the following Gasnetz columns: - column: Region - column: Land - column: Endjahr - column: BetreiberOrganisation - column: Name - column: Startjahr - column: Notizen The table should have the title "Gasnetzs" und the data must be loaded from the server with the following relative URL: "/TechnologieService/gasnetz/region/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum