Overview
Summary
Contact
Donate
Imprint
Prompt for the
DataCenterView
Please create a React-JS view called "DataCenterView" for the fields of the DataCenter entity. The DataCenterView must contain the following fields: - name: AladdinSystem type: AladdinSystem - name: City type: STRING - name: Country type: STRING - name: Description type: STRING - name: Name type: STRING - name: Organization type: Organization - name: Region type: STRING The data source for the [Organization] select control should be loaded from the relative URL: "/OrganizationService/organization" (HTTP-GET) The data source for the [AladdinSystem] select control should be loaded from the relative URL: "/AladdinSystemService/aladdinsystem" (HTTP-GET) An existing DataCenter entity should be loaded from the relative URL: "/DataCenterService/datacenter/{id}" (HTTP-GET) If a new DataCenter entity has been created, the new entity should be posted to the relative URL: "/DataCenterService/datacenter" (HTTP-POST) If an existing DataCenter entity has been updated, the modified entity should be sent to the relative URL: "/DataCenterService/datacenter/{id}" (HTTP-PUT) If an existing DataCenter entity has to be deleted, the following relative URL should be called: "/DataCenterService/datacenter/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Computer columns: - column: CpuCount - column: MemoryGb - column: Hostname - column: DataCenter - column: Role - column: Status The table should have the title "Computers" und the data must be loaded from the server with the following relative URL: "/DataCenterService/computer/datacenter/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint