Overview
Summary
Contact
Donate
Imprint
Prompt for the
SatelliteApp
Please create a React-JS application for the SatelliteModule. The application has to offer the following views for the user interface: 1. DeorbitEventView 2. LaserLinkView 3. OrbitShellView 4. SatelliteView 5. SatelliteGroundStationView 6. SatelliteIncidentView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 6 views are defined below. 1. The DeorbitEventView must contain the following fields: - name: Cause type: STRING - name: Date type: DATE - name: Notes type: STRING - name: Satellite type: Satellite The data source for the [Satellite] select control should be loaded from the relative URL: "/SatelliteService/satellite" (HTTP-GET) An existing DeorbitEvent entity should be loaded from the relative URL: "/SatelliteService/deorbitevent/{id}" (HTTP-GET) If a new DeorbitEvent entity has been created, the new entity should be posted to the relative URL: "/SatelliteService/deorbitevent" (HTTP-POST) If an existing DeorbitEvent entity has been updated, the modified entity should be sent to the relative URL: "/SatelliteService/deorbitevent/{id}" (HTTP-PUT) If an existing DeorbitEvent entity has to be deleted, the following relative URL should be called: "/SatelliteService/deorbitevent/{id}" (HTTP-DELETE) 2. The LaserLinkView must contain the following fields: - name: ActivationDate type: DATE - name: SatelliteA type: Satellite - name: SatelliteB type: Satellite - name: Status type: STRING The data source for the [SatelliteA] select control should be loaded from the relative URL: "/SatelliteService/satellite" (HTTP-GET) The data source for the [SatelliteB] select control should be loaded from the relative URL: "/SatelliteService/satellite" (HTTP-GET) An existing LaserLink entity should be loaded from the relative URL: "/SatelliteService/laserlink/{id}" (HTTP-GET) If a new LaserLink entity has been created, the new entity should be posted to the relative URL: "/SatelliteService/laserlink" (HTTP-POST) If an existing LaserLink entity has been updated, the modified entity should be sent to the relative URL: "/SatelliteService/laserlink/{id}" (HTTP-PUT) If an existing LaserLink entity has to be deleted, the following relative URL should be called: "/SatelliteService/laserlink/{id}" (HTTP-DELETE) 3. The OrbitShellView must contain the following fields: - name: AltitudeKm type: DOUBLE - name: InclinationDeg type: DOUBLE - name: NumberOfPlanes type: INT - name: Phase type: STRING - name: SatellitesPerPlane type: INT - name: TotalSatellitesPlanned type: INT An existing OrbitShell entity should be loaded from the relative URL: "/SatelliteService/orbitshell/{id}" (HTTP-GET) If a new OrbitShell entity has been created, the new entity should be posted to the relative URL: "/SatelliteService/orbitshell" (HTTP-POST) If an existing OrbitShell entity has been updated, the modified entity should be sent to the relative URL: "/SatelliteService/orbitshell/{id}" (HTTP-PUT) If an existing OrbitShell entity has to be deleted, the following relative URL should be called: "/SatelliteService/orbitshell/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Satellite columns: - column: MassKg - column: PropulsionType - column: InclinationDeg - column: HeightKm - column: Generation - column: Name - column: OrbitShell - column: Version - column: HasLaserLink - column: MaterialNotes - column: CommunicationCapacityGbit - column: Status - column: SatelliteBatch - column: LaunchDate - column: DeorbitDate The table should have the title "Satellites" und the data must be loaded from the server with the following relative URL: "/SatelliteService/satellite/orbitshell/{id}" 4. The SatelliteView must contain the following fields: - name: CommunicationCapacityGbit type: DOUBLE - name: DeorbitDate type: DATE - name: Generation type: STRING - name: HasLaserLink type: BOOL - name: HeightKm type: DOUBLE - name: InclinationDeg type: DOUBLE - name: LaunchDate type: DATE - name: MassKg type: DOUBLE - name: MaterialNotes type: STRING - name: Name type: STRING - name: OrbitShell type: OrbitShell - name: PropulsionType type: STRING - name: SatelliteBatch type: SatelliteBatch - name: Status type: STRING - name: Version type: STRING The data source for the [SatelliteBatch] select control should be loaded from the relative URL: "/SatelliteBatchService/satellitebatch" (HTTP-GET) The data source for the [OrbitShell] select control should be loaded from the relative URL: "/SatelliteService/orbitshell" (HTTP-GET) An existing Satellite entity should be loaded from the relative URL: "/SatelliteService/satellite/{id}" (HTTP-GET) If a new Satellite entity has been created, the new entity should be posted to the relative URL: "/SatelliteService/satellite" (HTTP-POST) If an existing Satellite entity has been updated, the modified entity should be sent to the relative URL: "/SatelliteService/satellite/{id}" (HTTP-PUT) If an existing Satellite entity has to be deleted, the following relative URL should be called: "/SatelliteService/satellite/{id}" (HTTP-DELETE) Add a HTML table to the view with the following SatelliteIncident columns: - column: Satellite - column: Incident The table should have the title "SatelliteIncidents" und the data must be loaded from the server with the following relative URL: "/SatelliteService/satelliteincident/satellite/{id}" Add a HTML table to the view with the following LaserLink columns: - column: SatelliteA - column: ActivationDate - column: Status - column: SatelliteB The table should have the title "LaserLinks" und the data must be loaded from the server with the following relative URL: "/SatelliteService/laserlink/satellitea/{id}" Add a HTML table to the view with the following LaserLink columns: - column: SatelliteA - column: ActivationDate - column: Status - column: SatelliteB The table should have the title "LaserLinks" und the data must be loaded from the server with the following relative URL: "/SatelliteService/laserlink/satelliteb/{id}" Add a HTML table to the view with the following DeorbitEvent columns: - column: Satellite - column: Cause - column: Notes - column: Date The table should have the title "DeorbitEvents" und the data must be loaded from the server with the following relative URL: "/SatelliteService/deorbitevent/satellite/{id}" Add a HTML table to the view with the following SatelliteFrequencyBand columns: - column: FrequencyBand - column: Satellite The table should have the title "SatelliteFrequencyBands" und the data must be loaded from the server with the following relative URL: "/FrequencyBandService/satellitefrequencyband/satellite/{id}" Add a HTML table to the view with the following SatelliteGroundStation columns: - column: Satellite - column: GroundStation The table should have the title "SatelliteGroundStations" und the data must be loaded from the server with the following relative URL: "/SatelliteService/satellitegroundstation/satellite/{id}" 5. The SatelliteGroundStationView must contain the following fields: - name: GroundStation type: GroundStation - name: Satellite type: Satellite The data source for the [GroundStation] select control should be loaded from the relative URL: "/GroundStationService/groundstation" (HTTP-GET) The data source for the [Satellite] select control should be loaded from the relative URL: "/SatelliteService/satellite" (HTTP-GET) An existing SatelliteGroundStation entity should be loaded from the relative URL: "/SatelliteService/satellitegroundstation/{id}" (HTTP-GET) If a new SatelliteGroundStation entity has been created, the new entity should be posted to the relative URL: "/SatelliteService/satellitegroundstation" (HTTP-POST) If an existing SatelliteGroundStation entity has been updated, the modified entity should be sent to the relative URL: "/SatelliteService/satellitegroundstation/{id}" (HTTP-PUT) If an existing SatelliteGroundStation entity has to be deleted, the following relative URL should be called: "/SatelliteService/satellitegroundstation/{id}" (HTTP-DELETE) 6. The SatelliteIncidentView must contain the following fields: - name: Incident type: Incident - name: Satellite type: Satellite The data source for the [Satellite] select control should be loaded from the relative URL: "/SatelliteService/satellite" (HTTP-GET) The data source for the [Incident] select control should be loaded from the relative URL: "/SatelliteBatchService/incident" (HTTP-GET) An existing SatelliteIncident entity should be loaded from the relative URL: "/SatelliteService/satelliteincident/{id}" (HTTP-GET) If a new SatelliteIncident entity has been created, the new entity should be posted to the relative URL: "/SatelliteService/satelliteincident" (HTTP-POST) If an existing SatelliteIncident entity has been updated, the modified entity should be sent to the relative URL: "/SatelliteService/satelliteincident/{id}" (HTTP-PUT) If an existing SatelliteIncident entity has to be deleted, the following relative URL should be called: "/SatelliteService/satelliteincident/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint