Function
Static Public Summary | ||
public |
AddForm(props: [type]): * [AddForm description] |
|
public |
AddMicroServiceForm(submitSucceeded: [type], error: [type], handleSubmit: [type], pristine: [type], reset: [type], submitting: [type]): * This function uses a redux-form to allow users to add new MicroService |
|
public |
This is the basic application page which comprises of Layout components and children components to be rendered. |
|
public |
DetailView(serviceDetails: [type]): * Component to display all fields of a microservice |
|
public |
EditForm(props: *): * |
|
public |
ErrorPage(): * Error Page |
|
public |
Header() Renders the branded Header at the top of the page |
|
public |
A component to allow Page navigation |
|
public |
SearchBox(props: *): * Searchbox Component Used to filter data and search microservice. |
|
public |
ServiceTable(props: *): * Renders the table |
|
public |
A helper function to validate the various form fields |
Static Public
public AddForm(props: [type]): * source
import AddForm from './src/main/app/src/component/AddMicroservice/AddForm.js'
[AddForm description]
Params:
Name | Type | Attribute | Description |
props | [type] | [description] |
Return:
* |
public AddMicroServiceForm(submitSucceeded: [type], error: [type], handleSubmit: [type], pristine: [type], reset: [type], submitting: [type]): * source
import {AddMicroServiceForm} from './src/main/app/src/component/AddMicroservice/AddMicroServiceForm.js'
This function uses a redux-form to allow users to add new MicroService
Params:
Name | Type | Attribute | Description |
submitSucceeded | [type] | ||
error | [type] | ||
handleSubmit | [type] | ||
pristine | [type] | ||
reset | [type] | ||
submitting | [type] |
Return:
* |
public App(children: Object): * source
import App from './src/main/app/src/component/App/App.js'
This is the basic application page which comprises of Layout components and children components to be rendered.
Params:
Name | Type | Attribute | Description |
children | Object | Page to be rendered as a child component |
Return:
* |
public DetailView(serviceDetails: [type]): * source
import DetailView from './src/main/app/src/component/DetailView/DetailView.js'
Component to display all fields of a microservice
Params:
Name | Type | Attribute | Description |
serviceDetails | [type] | [description] |
Return:
* |
public EditForm(props: *): * source
import EditForm from './src/main/app/src/component/AddMicroservice/EditForm.js'
Params:
Name | Type | Attribute | Description |
props | * |
Return:
* |
public ErrorPage(): * source
import ErrorPage from './src/main/app/src/component/Error.js'
Error Page
Return:
* |
public Header() source
import Header from './src/main/app/src/component/layout/Header.js'
Renders the branded Header at the top of the page
public NavInstance() source
import NavInstance from './src/main/app/src/component/layout/Navigation.js'
A component to allow Page navigation
public SearchBox(props: *): * source
import SearchBox from './src/main/app/src/component/SearchBox/SearchBox.js'
Searchbox Component Used to filter data and search microservice.
Params:
Name | Type | Attribute | Description |
props | * |
Return:
* |
public ServiceTable(props: *): * source
import ServiceTable from './src/main/app/src/component/DetailView/ServiceTable.js'
Renders the table
Params:
Name | Type | Attribute | Description |
props | * |
Return:
* |
public validate(values: Object): Object source
import {validate} from './src/main/app/src/component/AddMicroservice/AddServiceFields.js'
A helper function to validate the various form fields
Params:
Name | Type | Attribute | Description |
values | Object | A object that comprises of the values of the details entered in the add new Microservice form. |
Return:
Object | A Object that specifies all the different errors that are discovered while performing validations. |