Overview
Summary
Contact
Donate
Imprint
Prompt for the
TestSiteView
Please create a React-JS view called "TestSiteView" for the fields of the TestSite entity. The TestSiteView must contain the following fields: - name: Description type: STRING - name: Facility type: Facility The data source for the [Facility] select control should be loaded from the relative URL: "/FacilityService/facility" (HTTP-GET) An existing TestSite entity should be loaded from the relative URL: "/LaunchVehicleService/testsite/{id}" (HTTP-GET) If a new TestSite entity has been created, the new entity should be posted to the relative URL: "/LaunchVehicleService/testsite" (HTTP-POST) If an existing TestSite entity has been updated, the modified entity should be sent to the relative URL: "/LaunchVehicleService/testsite/{id}" (HTTP-PUT) If an existing TestSite entity has to be deleted, the following relative URL should be called: "/LaunchVehicleService/testsite/{id}" (HTTP-DELETE) 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/testsite/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint