Overview
Summary
Contact
Donate
Imprint
Prompt for the
MissionView
Please create a React-JS view called "MissionView" for the fields of the Mission entity. The MissionView must contain the following fields: - name: Company type: Company - name: Contract type: Contract - name: Customer type: Customer - name: Description type: STRING - name: LandingSite type: LandingSite - name: LaunchDateTime type: DATE - name: LaunchSite type: LaunchSite - name: LaunchVehicle type: LaunchVehicle - name: MissionType type: MissionType - name: Name type: STRING - name: Notes type: STRING - name: Orbit type: Orbit - name: Program type: Program - name: Spacecraft type: Spacecraft - name: Success type: BOOL The data source for the [Company] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) The data source for the [LandingSite] select control should be loaded from the relative URL: "/MissionService/landingsite" (HTTP-GET) The data source for the [Program] select control should be loaded from the relative URL: "/CompanyService/program" (HTTP-GET) The data source for the [Orbit] select control should be loaded from the relative URL: "/MissionService/orbit" (HTTP-GET) The data source for the [Customer] select control should be loaded from the relative URL: "/CustomerService/customer" (HTTP-GET) The data source for the [Spacecraft] select control should be loaded from the relative URL: "/MissionService/spacecraft" (HTTP-GET) The data source for the [LaunchSite] select control should be loaded from the relative URL: "/FacilityService/launchsite" (HTTP-GET) The data source for the [MissionType] select control should be loaded from the relative URL: "/MissionService/missiontype" (HTTP-GET) The data source for the [Contract] select control should be loaded from the relative URL: "/CompanyService/contract" (HTTP-GET) The data source for the [LaunchVehicle] select control should be loaded from the relative URL: "/LaunchVehicleService/launchvehicle" (HTTP-GET) An existing Mission entity should be loaded from the relative URL: "/MissionService/mission/{id}" (HTTP-GET) If a new Mission entity has been created, the new entity should be posted to the relative URL: "/MissionService/mission" (HTTP-POST) If an existing Mission entity has been updated, the modified entity should be sent to the relative URL: "/MissionService/mission/{id}" (HTTP-PUT) If an existing Mission entity has to be deleted, the following relative URL should be called: "/MissionService/mission/{id}" (HTTP-DELETE) Add a HTML table to the view with the following CrewedFlight columns: - column: Destination - column: DurationDays - column: Notes - column: Mission The table should have the title "CrewedFlights" und the data must be loaded from the server with the following relative URL: "/MissionService/crewedflight/mission/{id}" Add a HTML table to the view with the following MissionPayload columns: - column: Notes - column: Payload - column: PrimaryPayload - column: Deployed - column: DeploymentTime - column: Mission The table should have the title "MissionPayloads" und the data must be loaded from the server with the following relative URL: "/CustomerService/missionpayload/mission/{id}" Add a HTML table to the view with the following ShipAssignment columns: - column: ShipRole - column: Notes - column: Mission - column: Ship The table should have the title "ShipAssignments" und the data must be loaded from the server with the following relative URL: "/CompanyService/shipassignment/mission/{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/mission/{id}" Add a HTML table to the view with the following TestFlight columns: - column: TestType - column: Spacecraft - column: Mission - column: Description - column: RocketStage - column: TestSite - column: Notes - column: LaunchVehicle The table should have the title "TestFlights" und the data must be loaded from the server with the following relative URL: "/LaunchVehicleService/testflight/mission/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint