Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
AnlageApp
Please create a React-JS application for the AnlageModule. The application has to offer the following views for the user interface: 1. AnlageView 2. EreignisView 3. EreignisBeteiligungView 4. KriegView 5. WirtschaftskriseView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 5 views are defined below. 1. The AnlageView must contain the following fields: - name: Anlagetyp type: STRING - name: BetreiberOrganisation type: Organisation - name: Endjahr type: LONG - name: Land type: Land - name: Name type: STRING - name: Notizen type: STRING - name: Stadt type: Stadt - name: Startjahr type: LONG The data source for the [BetreiberOrganisation] select control should be loaded from the relative URL: "/LandService/organisation" (HTTP-GET) The data source for the [Stadt] select control should be loaded from the relative URL: "/LandService/stadt" (HTTP-GET) The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Anlage entity should be loaded from the relative URL: "/AnlageService/anlage/{id}" (HTTP-GET) If a new Anlage entity has been created, the new entity should be posted to the relative URL: "/AnlageService/anlage" (HTTP-POST) If an existing Anlage entity has been updated, the modified entity should be sent to the relative URL: "/AnlageService/anlage/{id}" (HTTP-PUT) If an existing Anlage entity has to be deleted, the following relative URL should be called: "/AnlageService/anlage/{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/vonanlage/{id}" 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/zuanlage/{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/anlage/{id}" Add a HTML table to the view with the following TechnologieEinsatz columns: - column: Technologie - column: VonJahr - column: Beschreibung - column: Gasnetz - column: BisJahr - column: Anlage The table should have the title "TechnologieEinsatzs" und the data must be loaded from the server with the following relative URL: "/GasnetzService/technologieeinsatz/anlage/{id}" Add a HTML table to the view with the following OrganisationsAnlagenRolle columns: - column: Anlage - column: Organisation - column: Rolle - column: Endjahr - column: Startjahr - column: Notizen The table should have the title "OrganisationsAnlagenRolles" und the data must be loaded from the server with the following relative URL: "/LandService/organisationsanlagenrolle/anlage/{id}" 2. The EreignisView must contain the following fields: - name: Beschreibung type: STRING - name: Ereignisart type: STRING - name: Jahr type: LONG - name: Krieg type: Krieg - name: Land type: Land - name: Monat type: LONG - name: Name type: STRING - name: Stadt type: Stadt - name: Tag type: LONG - name: Wirtschaftskrise type: Wirtschaftskrise The data source for the [Krieg] select control should be loaded from the relative URL: "/AnlageService/krieg" (HTTP-GET) The data source for the [Stadt] select control should be loaded from the relative URL: "/LandService/stadt" (HTTP-GET) The data source for the [Wirtschaftskrise] select control should be loaded from the relative URL: "/AnlageService/wirtschaftskrise" (HTTP-GET) The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Ereignis entity should be loaded from the relative URL: "/AnlageService/ereignis/{id}" (HTTP-GET) If a new Ereignis entity has been created, the new entity should be posted to the relative URL: "/AnlageService/ereignis" (HTTP-POST) If an existing Ereignis entity has been updated, the modified entity should be sent to the relative URL: "/AnlageService/ereignis/{id}" (HTTP-PUT) If an existing Ereignis entity has to be deleted, the following relative URL should be called: "/AnlageService/ereignis/{id}" (HTTP-DELETE) 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/ereignis/{id}" 3. The EreignisBeteiligungView must contain the following fields: - name: Anlage type: Anlage - name: Ereignis type: Ereignis - name: Notizen type: STRING - name: Organisation type: Organisation - name: Person type: Person - name: Pipeline type: Pipeline - name: Rolle type: STRING The data source for the [Organisation] select control should be loaded from the relative URL: "/LandService/organisation" (HTTP-GET) The data source for the [Anlage] select control should be loaded from the relative URL: "/AnlageService/anlage" (HTTP-GET) The data source for the [Ereignis] select control should be loaded from the relative URL: "/AnlageService/ereignis" (HTTP-GET) The data source for the [Person] select control should be loaded from the relative URL: "/PersonService/person" (HTTP-GET) The data source for the [Pipeline] select control should be loaded from the relative URL: "/PipelineService/pipeline" (HTTP-GET) An existing EreignisBeteiligung entity should be loaded from the relative URL: "/AnlageService/ereignisbeteiligung/{id}" (HTTP-GET) If a new EreignisBeteiligung entity has been created, the new entity should be posted to the relative URL: "/AnlageService/ereignisbeteiligung" (HTTP-POST) If an existing EreignisBeteiligung entity has been updated, the modified entity should be sent to the relative URL: "/AnlageService/ereignisbeteiligung/{id}" (HTTP-PUT) If an existing EreignisBeteiligung entity has to be deleted, the following relative URL should be called: "/AnlageService/ereignisbeteiligung/{id}" (HTTP-DELETE) 4. The KriegView must contain the following fields: - name: Endjahr type: LONG - name: Name type: STRING - name: Notizen type: STRING - name: Startjahr type: LONG An existing Krieg entity should be loaded from the relative URL: "/AnlageService/krieg/{id}" (HTTP-GET) If a new Krieg entity has been created, the new entity should be posted to the relative URL: "/AnlageService/krieg" (HTTP-POST) If an existing Krieg entity has been updated, the modified entity should be sent to the relative URL: "/AnlageService/krieg/{id}" (HTTP-PUT) If an existing Krieg entity has to be deleted, the following relative URL should be called: "/AnlageService/krieg/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Ereignis columns: - column: Land - column: Beschreibung - column: Ereignisart - column: Krieg - column: Wirtschaftskrise - column: Name - column: Tag - column: Monat - column: Jahr - column: Stadt The table should have the title "Ereigniss" und the data must be loaded from the server with the following relative URL: "/AnlageService/ereignis/krieg/{id}" 5. The WirtschaftskriseView must contain the following fields: - name: Endjahr type: LONG - name: Name type: STRING - name: Notizen type: STRING - name: Startjahr type: LONG An existing Wirtschaftskrise entity should be loaded from the relative URL: "/AnlageService/wirtschaftskrise/{id}" (HTTP-GET) If a new Wirtschaftskrise entity has been created, the new entity should be posted to the relative URL: "/AnlageService/wirtschaftskrise" (HTTP-POST) If an existing Wirtschaftskrise entity has been updated, the modified entity should be sent to the relative URL: "/AnlageService/wirtschaftskrise/{id}" (HTTP-PUT) If an existing Wirtschaftskrise entity has to be deleted, the following relative URL should be called: "/AnlageService/wirtschaftskrise/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Ereignis columns: - column: Land - column: Beschreibung - column: Ereignisart - column: Krieg - column: Wirtschaftskrise - column: Name - column: Tag - column: Monat - column: Jahr - column: Stadt The table should have the title "Ereigniss" und the data must be loaded from the server with the following relative URL: "/AnlageService/ereignis/wirtschaftskrise/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum