Overview
Summary
Contact
Donate
Imprint
Prompt for the
FacilityView
Please create a React-JS view called "FacilityView" for the fields of the Facility entity. The FacilityView must contain the following fields: - name: City type: STRING - name: Company type: Company - name: Country type: STRING - name: FacilityType type: STRING - name: Latitude type: STRING - name: Longitude type: STRING - name: Name type: STRING - name: Notes type: STRING - name: Region type: STRING The data source for the [Company] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) An existing Facility entity should be loaded from the relative URL: "/FacilityService/facility/{id}" (HTTP-GET) If a new Facility entity has been created, the new entity should be posted to the relative URL: "/FacilityService/facility" (HTTP-POST) If an existing Facility entity has been updated, the modified entity should be sent to the relative URL: "/FacilityService/facility/{id}" (HTTP-PUT) If an existing Facility entity has to be deleted, the following relative URL should be called: "/FacilityService/facility/{id}" (HTTP-DELETE) Add a HTML table to the view with the following TestSite columns: - column: Description - column: Facility The table should have the title "TestSites" und the data must be loaded from the server with the following relative URL: "/LaunchVehicleService/testsite/facility/{id}" Add a HTML table to the view with the following LandingSite columns: - column: Facility - column: Description - column: LandingType - column: Name The table should have the title "LandingSites" und the data must be loaded from the server with the following relative URL: "/MissionService/landingsite/facility/{id}" Add a HTML table to the view with the following StarlinkUserTerminal columns: - column: StarlinkNetwork - column: Notes - column: ProductionFacility - column: HardwareVersion - column: ModelName The table should have the title "StarlinkUserTerminals" und the data must be loaded from the server with the following relative URL: "/FacilityService/starlinkuserterminal/productionfacility/{id}" Add a HTML table to the view with the following Incident columns: - column: IncidentDateTime - column: LaunchVehicle - column: Description - column: Facility - column: RocketStage - column: Notes - column: RootCause - column: Spacecraft - column: Severity - column: Mission The table should have the title "Incidents" und the data must be loaded from the server with the following relative URL: "/FacilityService/incident/facility/{id}" Add a HTML table to the view with the following LaunchSite columns: - column: Facility - column: Description - column: Code The table should have the title "LaunchSites" und the data must be loaded from the server with the following relative URL: "/FacilityService/launchsite/facility/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint