summaryrefslogtreecommitdiffstats
path: root/src/app/vnfSearch
diff options
context:
space:
mode:
authorArul.Nambi <arul.nambi@amdocs.com>2018-09-05 14:44:15 -0400
committerArul.Nambi <arul.nambi@amdocs.com>2018-09-05 14:46:13 -0400
commit6b408bc2ea74ffbe3985c7f90211e59a2f00fad2 (patch)
treed0e3bab15d5c5587ef857051cce68bd389f6d20f /src/app/vnfSearch
parentb68cd9cee606372747f6fee4a864de994b0518a7 (diff)
Upgrade to react 16
Issue-ID: AAI-1576 Change-Id: I2a3035c7922ccabdca446e76341adf6ca8785155 Signed-off-by: Arul.Nambi <arul.nambi@amdocs.com>
Diffstat (limited to 'src/app/vnfSearch')
-rw-r--r--src/app/vnfSearch/VnfSearch.jsx17
-rw-r--r--src/app/vnfSearch/VnfSearchNfRoleVisualization.jsx5
-rw-r--r--src/app/vnfSearch/VnfSearchNfTypeVisualization.jsx5
-rw-r--r--src/app/vnfSearch/VnfSearchOrchestratedStatusVisualization.jsx5
-rw-r--r--src/app/vnfSearch/VnfSearchProvStatusVisualization.jsx5
-rw-r--r--src/app/vnfSearch/VnfSearchTotalCountVisualization.jsx9
6 files changed, 26 insertions, 20 deletions
diff --git a/src/app/vnfSearch/VnfSearch.jsx b/src/app/vnfSearch/VnfSearch.jsx
index a409ce2..edfe8cd 100644
--- a/src/app/vnfSearch/VnfSearch.jsx
+++ b/src/app/vnfSearch/VnfSearch.jsx
@@ -19,6 +19,7 @@
* ============LICENSE_END=========================================================
*/
import React, {Component} from 'react';
+import { PropTypes } from 'prop-types';
import {connect} from 'react-redux';
import {
@@ -159,14 +160,14 @@ let mapActionToProps = (dispatch) => {
export class vnfSearch extends Component {
static propTypes = {
- feedbackMsgText: React.PropTypes.string,
- feedbackSeverity: React.PropTypes.string,
- vnfFilters: React.PropTypes.object,
- selectedFilterValues: React.PropTypes.object,
- vnfFilterValues: React.PropTypes.object,
- vnfVisualizationPanelClass: React.PropTypes.string,
- unifiedFilterValues: React.PropTypes.object,
- nonConvertedFilters: React.PropTypes.object
+ feedbackMsgText: PropTypes.string,
+ feedbackSeverity: PropTypes.string,
+ vnfFilters: PropTypes.object,
+ selectedFilterValues: PropTypes.object,
+ vnfFilterValues: PropTypes.object,
+ vnfVisualizationPanelClass: PropTypes.string,
+ unifiedFilterValues: PropTypes.object,
+ nonConvertedFilters: PropTypes.object
};
componentWillMount() {
diff --git a/src/app/vnfSearch/VnfSearchNfRoleVisualization.jsx b/src/app/vnfSearch/VnfSearchNfRoleVisualization.jsx
index a71b2ab..93a6695 100644
--- a/src/app/vnfSearch/VnfSearchNfRoleVisualization.jsx
+++ b/src/app/vnfSearch/VnfSearchNfRoleVisualization.jsx
@@ -19,6 +19,7 @@
* ============LICENSE_END=========================================================
*/
import React, {Component} from 'react';
+import { PropTypes } from 'prop-types';
import {connect} from 'react-redux';
import {
BarChart,
@@ -50,8 +51,8 @@ let mapStateToProps = ({vnfSearch}) => {
export class VnfSearchNfRoleVisualization extends Component {
static propTypes = {
- processedNfRoleCountChartData: React.PropTypes.object,
- enableBusyFeedback: React.PropTypes.bool
+ processedNfRoleCountChartData: PropTypes.object,
+ enableBusyFeedback: PropTypes.bool
};
render() {
diff --git a/src/app/vnfSearch/VnfSearchNfTypeVisualization.jsx b/src/app/vnfSearch/VnfSearchNfTypeVisualization.jsx
index 492d1c9..71e85e8 100644
--- a/src/app/vnfSearch/VnfSearchNfTypeVisualization.jsx
+++ b/src/app/vnfSearch/VnfSearchNfTypeVisualization.jsx
@@ -19,6 +19,7 @@
* ============LICENSE_END=========================================================
*/
import React, {Component} from 'react';
+import { PropTypes } from 'prop-types';
import {connect} from 'react-redux';
import {
BarChart,
@@ -50,8 +51,8 @@ let mapStateToProps = ({vnfSearch}) => {
export class VnfSearchNfTypeVisualization extends Component {
static propTypes = {
- processedNfTypeCountChartData: React.PropTypes.object,
- enableBusyFeedback: React.PropTypes.bool
+ processedNfTypeCountChartData: PropTypes.object,
+ enableBusyFeedback: PropTypes.bool
};
render() {
diff --git a/src/app/vnfSearch/VnfSearchOrchestratedStatusVisualization.jsx b/src/app/vnfSearch/VnfSearchOrchestratedStatusVisualization.jsx
index 8dc25ca..bb42ef2 100644
--- a/src/app/vnfSearch/VnfSearchOrchestratedStatusVisualization.jsx
+++ b/src/app/vnfSearch/VnfSearchOrchestratedStatusVisualization.jsx
@@ -19,6 +19,7 @@
* ============LICENSE_END=========================================================
*/
import React, {Component} from 'react';
+import { PropTypes } from 'prop-types';
import {connect} from 'react-redux';
import {
BarChart,
@@ -50,8 +51,8 @@ let mapStateToProps = ({vnfSearch}) => {
export class VnfSearchOrchStatusVisualizations extends Component {
static propTypes = {
- processedOrchStatusCountChartData: React.PropTypes.object,
- enableBusyFeedback: React.PropTypes.bool
+ processedOrchStatusCountChartData: PropTypes.object,
+ enableBusyFeedback: PropTypes.bool
};
render() {
diff --git a/src/app/vnfSearch/VnfSearchProvStatusVisualization.jsx b/src/app/vnfSearch/VnfSearchProvStatusVisualization.jsx
index 07ba988..aec5bac 100644
--- a/src/app/vnfSearch/VnfSearchProvStatusVisualization.jsx
+++ b/src/app/vnfSearch/VnfSearchProvStatusVisualization.jsx
@@ -19,6 +19,7 @@
* ============LICENSE_END=========================================================
*/
import React, {Component} from 'react';
+import { PropTypes } from 'prop-types';
import {connect} from 'react-redux';
import {
BarChart,
@@ -50,8 +51,8 @@ let mapStateToProps = ({vnfSearch}) => {
export class VnfSearchProvStatusVisualization extends Component {
static propTypes = {
- processedProvStatusCountChartData: React.PropTypes.object,
- enableBusyFeedback: React.PropTypes.bool
+ processedProvStatusCountChartData: PropTypes.object,
+ enableBusyFeedback: PropTypes.bool
};
render() {
diff --git a/src/app/vnfSearch/VnfSearchTotalCountVisualization.jsx b/src/app/vnfSearch/VnfSearchTotalCountVisualization.jsx
index 3c73d22..e115933 100644
--- a/src/app/vnfSearch/VnfSearchTotalCountVisualization.jsx
+++ b/src/app/vnfSearch/VnfSearchTotalCountVisualization.jsx
@@ -19,6 +19,7 @@
* ============LICENSE_END=========================================================
*/
import React, {Component} from 'react';
+import { PropTypes } from 'prop-types';
import {connect} from 'react-redux';
import i18n from 'utils/i18n/i18n';
@@ -40,11 +41,11 @@ let mapStateToProps = ({vnfSearch}) => {
export class VnfSearchTotalCountVisualization extends Component {
static propTypes = {
- count: React.PropTypes.oneOfType([
- React.PropTypes.string,
- React.PropTypes.number
+ count: PropTypes.oneOfType([
+ PropTypes.string,
+ PropTypes.number
]),
- enableBusyFeedback: React.PropTypes.bool
+ enableBusyFeedback: PropTypes.bool
};
render() {