diff --git a/src/ts/@overflow/sensor/react/components/SensorDetail.tsx b/src/ts/@overflow/sensor/react/components/SensorDetail.tsx
index 89b841d..4610242 100644
--- a/src/ts/@overflow/sensor/react/components/SensorDetail.tsx
+++ b/src/ts/@overflow/sensor/react/components/SensorDetail.tsx
@@ -36,7 +36,7 @@ export class SensorDetail extends React.Component },
+ { name: 'Info', child: },
{ name: 'Sensor Items', child: },
];
const data = { 'probe': this.props.probe };
@@ -46,6 +46,7 @@ export class SensorDetail extends React.Component {
@@ -61,6 +62,7 @@ export class SensorBasicInfo extends React.Component;
} else {
return ;
@@ -88,52 +94,103 @@ export class SensorBasicInfo extends React.Component
-
+
+
-
+
- {this.props.probe.domain.name}
+ {this.state.sensor.target.infra.type.name}
- {this.props.probe.status.name}
+ {this.state.sensor.status.name}
-
+
- ????
+ {this.state.sensor.crawler.name}
-
+
- ????
+ {44}
-
+
- {this.props.probe.createDate}
+ {this.state.sensor.createDate}
-
+
- {this.props.probe.description}
+ test Snoop
- {this.showStartStopBtn()}
+ {/*{this.showStartStopBtn()}*/}
);
}
}
+
+
+const SensorDetailJson: any = {
+ 'id': 1,
+ 'createDate': 1498475947009,
+ 'description': 'My sensor',
+ 'status': {
+ 'id': 1,
+ 'name': 'RUNNING',
+ },
+ 'target': {
+ 'id': 1,
+ 'createDate': 1498448242854,
+ 'probe': {
+ 'id': 1,
+ 'status': {
+ 'id': 1,
+ 'name': 'INITIAL',
+ },
+ 'description': 'snoop probe',
+ 'createDate': 1498448699813,
+ 'lastPollingDate': null,
+ 'nextPollingDate': null,
+ 'domain': {
+ 'id': 1,
+ 'name': 'overFlow\'s domain',
+ 'createDate': 1498443944866,
+ },
+ 'probeKey': 'a1e1710557de11e78799080027658d13',
+ 'encryptionKey': '9c8d41ab57de11e7a2c9080027658d13',
+ },
+ 'infra': {
+ 'id': 1,
+ 'type': {
+ 'id': 1,
+ 'name': 'MACHINE',
+ 'createDate': 1498379502770,
+ },
+ 'childId': 0,
+ 'createDate': 1498446731809,
+ },
+ },
+ 'crawler': {
+ 'id': 1,
+ 'createDate': 1498794968791,
+ 'name': 'ACTIVEDIRECTORY_CRAWLER',
+ 'description': 'ACTIVEDIRECTORY',
+ },
+ 'crawlerInputItems': null,
+};
diff --git a/src/ts/@overflow/sensor/react/components/SensorItems.tsx b/src/ts/@overflow/sensor/react/components/SensorItems.tsx
index c75aaa3..bb375f3 100644
--- a/src/ts/@overflow/sensor/react/components/SensorItems.tsx
+++ b/src/ts/@overflow/sensor/react/components/SensorItems.tsx
@@ -28,7 +28,36 @@ export class SensorItems extends React.Component {
return (
- Sensor Item List
+
+
+
+ Header
+ Header
+ Header
+
+
+
+
+
+
+ First
+
+ Cell
+ Cell
+
+
+ Cell
+ Cell
+ Cell
+
+
+ Cell
+ Cell
+ Cell
+
+
+
+
);
}