Overview
Summary
Contact
Donate
Imprint
Prompt for the
App
Please create a React-JS application for the Module. The application has to offer the following views for the user interface: 1. DeploymentPartnerView 2. PartnerOrganizationView 3. ServiceDeploymentView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 3 views are defined below. 1. The DeploymentPartnerView must contain the following fields: - name: PartnerOrganization type: PartnerOrganization - name: RoleDescription type: STRING - name: ServiceDeployment type: ServiceDeployment The data source for the [PartnerOrganization] select control should be loaded from the relative URL: "/ServiceDeploymentService/partnerorganization" (HTTP-GET) The data source for the [ServiceDeployment] select control should be loaded from the relative URL: "/ServiceDeploymentService/servicedeployment" (HTTP-GET) An existing DeploymentPartner entity should be loaded from the relative URL: "/ServiceDeploymentService/deploymentpartner/{id}" (HTTP-GET) If a new DeploymentPartner entity has been created, the new entity should be posted to the relative URL: "/ServiceDeploymentService/deploymentpartner" (HTTP-POST) If an existing DeploymentPartner entity has been updated, the modified entity should be sent to the relative URL: "/ServiceDeploymentService/deploymentpartner/{id}" (HTTP-PUT) If an existing DeploymentPartner entity has to be deleted, the following relative URL should be called: "/ServiceDeploymentService/deploymentpartner/{id}" (HTTP-DELETE) 2. The PartnerOrganizationView must contain the following fields: - name: Country type: Country - name: Name type: STRING - name: OrganizationType type: STRING - name: Website type: STRING The data source for the [Country] select control should be loaded from the relative URL: "/CountryService/country" (HTTP-GET) An existing PartnerOrganization entity should be loaded from the relative URL: "/ServiceDeploymentService/partnerorganization/{id}" (HTTP-GET) If a new PartnerOrganization entity has been created, the new entity should be posted to the relative URL: "/ServiceDeploymentService/partnerorganization" (HTTP-POST) If an existing PartnerOrganization entity has been updated, the modified entity should be sent to the relative URL: "/ServiceDeploymentService/partnerorganization/{id}" (HTTP-PUT) If an existing PartnerOrganization entity has to be deleted, the following relative URL should be called: "/ServiceDeploymentService/partnerorganization/{id}" (HTTP-DELETE) Add a HTML table to the view with the following DeploymentPartner columns: - column: RoleDescription - column: PartnerOrganization - column: ServiceDeployment The table should have the title "DeploymentPartners" und the data must be loaded from the server with the following relative URL: "/ServiceDeploymentService/deploymentpartner/partnerorganization/{id}" 3. The ServiceDeploymentView must contain the following fields: - name: AverageThroughputMbitPerSec type: STRING - name: Description type: STRING - name: EndDate type: DATE - name: IsEmergencyDeployment type: BOOL - name: PeakUsers type: INT - name: Project type: Project - name: ServiceArea type: ServiceArea - name: StartDate type: DATE The data source for the [Project] select control should be loaded from the relative URL: "/ProjectService/project" (HTTP-GET) The data source for the [ServiceArea] select control should be loaded from the relative URL: "/RegionService/servicearea" (HTTP-GET) An existing ServiceDeployment entity should be loaded from the relative URL: "/ServiceDeploymentService/servicedeployment/{id}" (HTTP-GET) If a new ServiceDeployment entity has been created, the new entity should be posted to the relative URL: "/ServiceDeploymentService/servicedeployment" (HTTP-POST) If an existing ServiceDeployment entity has been updated, the modified entity should be sent to the relative URL: "/ServiceDeploymentService/servicedeployment/{id}" (HTTP-PUT) If an existing ServiceDeployment entity has to be deleted, the following relative URL should be called: "/ServiceDeploymentService/servicedeployment/{id}" (HTTP-DELETE) Add a HTML table to the view with the following DeploymentPartner columns: - column: RoleDescription - column: PartnerOrganization - column: ServiceDeployment The table should have the title "DeploymentPartners" und the data must be loaded from the server with the following relative URL: "/ServiceDeploymentService/deploymentpartner/servicedeployment/{id}" Add a HTML table to the view with the following DeploymentDisasterEvent columns: - column: DisasterEvent - column: ServiceDeployment The table should have the title "DeploymentDisasterEvents" und the data must be loaded from the server with the following relative URL: "/WindLayerService/deploymentdisasterevent/servicedeployment/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint