meta ing
This commit is contained in:
parent
d21e88cd99
commit
a6176bad1c
|
@ -1,8 +1,10 @@
|
|||
|
||||
enum PortType {
|
||||
TCP = 1,
|
||||
UDP = 2,
|
||||
TLS = 3,
|
||||
}
|
||||
// enum PortType {
|
||||
// TCP = 1,
|
||||
// UDP = 2,
|
||||
// TLS = 3,
|
||||
// }
|
||||
|
||||
type PortType = "TCP" | "UDP" | "TLS";
|
||||
|
||||
export default PortType;
|
|
@ -9,6 +9,7 @@ class InfraServiceService extends Service {
|
|||
|
||||
public regist(infraService :InfraService): InfraService {
|
||||
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
36
src/ts/meta/api/model/MetaCrawler.ts
Normal file
36
src/ts/meta/api/model/MetaCrawler.ts
Normal file
|
@ -0,0 +1,36 @@
|
|||
|
||||
interface MetaCrawler {
|
||||
id: number;
|
||||
createDate: Date;
|
||||
name: string;
|
||||
description: string;
|
||||
}
|
||||
|
||||
enum MetaCrawler_ID {
|
||||
ACTIVEDIRECTORY_CRAWLER = 1,
|
||||
CASSANDRA_CRAWLER = 2,
|
||||
DHCP_CRAWLER = 3,
|
||||
DNS_CRAWLER = 4,
|
||||
FTP_CRAWLER = 5,
|
||||
HTTP_CRAWLER = 6,
|
||||
IMAP_CRAWLER = 7,
|
||||
LDAP_CRAWLER = 8,
|
||||
MONGODB_CRAWLER = 9,
|
||||
MSSQL_CRAWLER = 10,
|
||||
MYSQL_CRAWLER = 11,
|
||||
NETBIOS_CRAWLER = 12,
|
||||
ORACLE_CRAWLER = 13,
|
||||
POP_CRAWLER = 14,
|
||||
POSTGRESQL_CRAWLER = 15,
|
||||
REDIS_CRAWLER = 16,
|
||||
RMI_CRAWLER = 17,
|
||||
SMB_CRAWLER = 18,
|
||||
SMTP_CRAWLER = 19,
|
||||
SNMP_CRAWLER = 20,
|
||||
SSH_CRAWLER = 21,
|
||||
TELNET_CRAWLER = 22,
|
||||
WMI_CRAWLER = 23,
|
||||
UNKNOWN_CRAWLER = 24
|
||||
}
|
||||
|
||||
export default MetaCrawler;
|
19
src/ts/meta/api/model/MetaCrawlerInputItem.ts
Normal file
19
src/ts/meta/api/model/MetaCrawlerInputItem.ts
Normal file
|
@ -0,0 +1,19 @@
|
|||
|
||||
import MetaInputType from './MetaInputType';
|
||||
import MetaCrawler from './MetaCrawler';
|
||||
|
||||
interface MetaCrawlerInputItem {
|
||||
id: number;
|
||||
metaInputType: MetaInputType;
|
||||
metaCrawler: MetaCrawler;
|
||||
description: string;
|
||||
name: string;
|
||||
createDate: Date;
|
||||
required: boolean;
|
||||
defaultValue: string;
|
||||
pattern: string;
|
||||
keyName: string;
|
||||
keyValue: string;
|
||||
}
|
||||
|
||||
export default MetaCrawlerInputItem;
|
18
src/ts/meta/api/model/MetaInfraType.ts
Normal file
18
src/ts/meta/api/model/MetaInfraType.ts
Normal file
|
@ -0,0 +1,18 @@
|
|||
|
||||
interface MetaInfraType {
|
||||
id: number;
|
||||
name: string;
|
||||
createDate: Date;
|
||||
}
|
||||
|
||||
enum MetaInfraType_ID {
|
||||
MACHINE = 1,
|
||||
HOST = 2,
|
||||
OS = 3,
|
||||
OS_APPLICATION = 4,
|
||||
OS_DAEMON = 5,
|
||||
OS_PORT = 6,
|
||||
OS_SERVICE = 7
|
||||
}
|
||||
|
||||
export default MetaInfraType;
|
67
src/ts/meta/api/model/MetaInfraVendor.ts
Normal file
67
src/ts/meta/api/model/MetaInfraVendor.ts
Normal file
|
@ -0,0 +1,67 @@
|
|||
|
||||
import MetaInfraType from './MetaInfraType';
|
||||
|
||||
interface MetaInfraVendor {
|
||||
id: number;
|
||||
name: string;
|
||||
createDate: Date;
|
||||
metaInfraType: MetaInfraType;
|
||||
}
|
||||
|
||||
enum MetaInfraVendor_Machine_ID {
|
||||
APPLE = 1,
|
||||
MICROSOFT = 2,
|
||||
ASUS = 3,
|
||||
HP = 4,
|
||||
DELL = 5,
|
||||
LENOVO = 6,
|
||||
ACER = 7,
|
||||
SAMSUNG = 8,
|
||||
LG = 9,
|
||||
CISCO = 10
|
||||
}
|
||||
|
||||
enum MetaInfraVendor_HOST_ID {
|
||||
Windows = 11,
|
||||
Linux = 12,
|
||||
MacOS = 13,
|
||||
Ubuntu = 14,
|
||||
CentOS = 15,
|
||||
Fedora = 16,
|
||||
RedHat = 17,
|
||||
Debian = 18,
|
||||
SUSE = 19,
|
||||
CoreOS = 20,
|
||||
AmazonLinux = 21,
|
||||
Kubernetes = 22,
|
||||
Docker = 23,
|
||||
iOS = 24,
|
||||
Android = 25
|
||||
}
|
||||
|
||||
enum MetaInfraVendor_OS_ID {
|
||||
Windows = 26,
|
||||
MacOS = 27,
|
||||
Ubuntu = 28,
|
||||
CentOS = 29,
|
||||
Fedora = 30,
|
||||
RedHat = 31,
|
||||
Debian = 32,
|
||||
SUSE = 33,
|
||||
CoreOS = 34,
|
||||
AmazonLinux = 35,
|
||||
Kubernetes = 36,
|
||||
Docker = 37,
|
||||
iOS = 38,
|
||||
Android = 39
|
||||
}
|
||||
|
||||
enum MetaInfraVendor_SERVICE_ID {
|
||||
MySql = 40,
|
||||
PostgreSQL = 41,
|
||||
WMI = 42,
|
||||
SNMP_V2 = 43,
|
||||
UNKNOWN = 44
|
||||
}
|
||||
|
||||
export default MetaInfraVendor;
|
17
src/ts/meta/api/model/MetaInputType.ts
Normal file
17
src/ts/meta/api/model/MetaInputType.ts
Normal file
|
@ -0,0 +1,17 @@
|
|||
|
||||
interface MetaInputType {
|
||||
id: number;
|
||||
name: string;
|
||||
description: string;
|
||||
createDate: Date;
|
||||
}
|
||||
|
||||
enum MetaInputType_ID {
|
||||
TEXT_TYPE = 1,
|
||||
PASSWORD_TYPE = 2,
|
||||
NUMBER_TYPE = 3,
|
||||
BOOLEAN_TYPE = 4,
|
||||
SELECT_TYPE = 5
|
||||
}
|
||||
|
||||
export default MetaInputType;
|
7
src/ts/meta/api/model/MetaMemberStatus.ts
Normal file
7
src/ts/meta/api/model/MetaMemberStatus.ts
Normal file
|
@ -0,0 +1,7 @@
|
|||
|
||||
interface MetaMemberStatus {
|
||||
id: number;
|
||||
name: string;
|
||||
}
|
||||
|
||||
export default MetaMemberStatus;
|
7
src/ts/meta/api/model/MetaNoAuthProbeStatus.ts
Normal file
7
src/ts/meta/api/model/MetaNoAuthProbeStatus.ts
Normal file
|
@ -0,0 +1,7 @@
|
|||
|
||||
interface MetaNoAuthProbeStatus {
|
||||
id: number;
|
||||
name: string;
|
||||
}
|
||||
|
||||
export default MetaNoAuthProbeStatus;
|
9
src/ts/meta/api/model/MetaNotification.ts
Normal file
9
src/ts/meta/api/model/MetaNotification.ts
Normal file
|
@ -0,0 +1,9 @@
|
|||
|
||||
interface MetaNotification {
|
||||
id: number;
|
||||
createDate: Date;
|
||||
name: string;
|
||||
description: string;
|
||||
}
|
||||
|
||||
export default MetaNotification;
|
8
src/ts/meta/api/model/MetaProbeArchitecture.ts
Normal file
8
src/ts/meta/api/model/MetaProbeArchitecture.ts
Normal file
|
@ -0,0 +1,8 @@
|
|||
|
||||
interface MetaProbeArchitecture {
|
||||
id: number;
|
||||
architecture: string;
|
||||
createDate: Date;
|
||||
}
|
||||
|
||||
export default MetaProbeArchitecture;
|
8
src/ts/meta/api/model/MetaProbeOs.ts
Normal file
8
src/ts/meta/api/model/MetaProbeOs.ts
Normal file
|
@ -0,0 +1,8 @@
|
|||
|
||||
interface MetaProbeOs {
|
||||
id: number;
|
||||
name: string;
|
||||
createDate: Date;
|
||||
}
|
||||
|
||||
export default MetaProbeOs;
|
13
src/ts/meta/api/model/MetaProbePackage.ts
Normal file
13
src/ts/meta/api/model/MetaProbePackage.ts
Normal file
|
@ -0,0 +1,13 @@
|
|||
import MetaProbeVersion from './MetaProbeVersion';
|
||||
import MetaProbeOs from './MetaProbeOs';
|
||||
import MetaProbeArchitecture from './MetaProbeArchitecture';
|
||||
|
||||
interface MetaProbePackage {
|
||||
id: number;
|
||||
version: MetaProbeVersion;
|
||||
os: MetaProbeOs;
|
||||
architecture: MetaProbeArchitecture;
|
||||
createDate: Date;
|
||||
}
|
||||
|
||||
export default MetaProbePackage;
|
7
src/ts/meta/api/model/MetaProbeStatus.ts
Normal file
7
src/ts/meta/api/model/MetaProbeStatus.ts
Normal file
|
@ -0,0 +1,7 @@
|
|||
|
||||
interface MetaProbeStatus {
|
||||
id: number;
|
||||
name: string;
|
||||
}
|
||||
|
||||
export default MetaProbeStatus;
|
9
src/ts/meta/api/model/MetaProbeTaskType.ts
Normal file
9
src/ts/meta/api/model/MetaProbeTaskType.ts
Normal file
|
@ -0,0 +1,9 @@
|
|||
|
||||
interface MetaProbeTaskType {
|
||||
id: number;
|
||||
name: string;
|
||||
description: string;
|
||||
createDate: Date;
|
||||
}
|
||||
|
||||
export default MetaProbeTaskType;
|
8
src/ts/meta/api/model/MetaProbeVersion.ts
Normal file
8
src/ts/meta/api/model/MetaProbeVersion.ts
Normal file
|
@ -0,0 +1,8 @@
|
|||
|
||||
interface MetaProbeVersion {
|
||||
id: number;
|
||||
version: string;
|
||||
createDate: Date;
|
||||
}
|
||||
|
||||
export default MetaProbeVersion;
|
12
src/ts/meta/api/model/MetaSensorItem.ts
Normal file
12
src/ts/meta/api/model/MetaSensorItem.ts
Normal file
|
@ -0,0 +1,12 @@
|
|||
|
||||
import MetaProbeArchitecture from './MetaProbeArchitecture';
|
||||
|
||||
interface MetaSensorItem {
|
||||
id: number;
|
||||
metaSensorItemType: MetaSensorItemType;
|
||||
key: string;
|
||||
name: string;
|
||||
createDate: Date;
|
||||
}
|
||||
|
||||
export default MetaSensorItem;
|
9
src/ts/meta/api/model/MetaSensorItemType.ts
Normal file
9
src/ts/meta/api/model/MetaSensorItemType.ts
Normal file
|
@ -0,0 +1,9 @@
|
|||
|
||||
interface MetaSensorItemType {
|
||||
id: number;
|
||||
name: string;
|
||||
description: string;
|
||||
createDate: Date;
|
||||
}
|
||||
|
||||
export default MetaSensorItemType;
|
7
src/ts/meta/api/model/MetaSensorStatus.ts
Normal file
7
src/ts/meta/api/model/MetaSensorStatus.ts
Normal file
|
@ -0,0 +1,7 @@
|
|||
|
||||
interface MetaSensorStatus {
|
||||
id: number;
|
||||
name: string;
|
||||
}
|
||||
|
||||
export default MetaSensorStatus;
|
9
src/ts/meta/api/model/MetaVendorCrawler.ts
Normal file
9
src/ts/meta/api/model/MetaVendorCrawler.ts
Normal file
|
@ -0,0 +1,9 @@
|
|||
|
||||
interface MetaVendorCrawler {
|
||||
id: number;
|
||||
metaCrawler: MetaCrawler;
|
||||
metaInfraVendor: MetaInfraVendor;
|
||||
createDate: Date;
|
||||
}
|
||||
|
||||
export default MetaVendorCrawler;
|
15
src/ts/meta/api/model/MetaVendorCrawlerSensorItem.ts
Normal file
15
src/ts/meta/api/model/MetaVendorCrawlerSensorItem.ts
Normal file
|
@ -0,0 +1,15 @@
|
|||
|
||||
import MetaInfraVendor from './MetaInfraVendor';
|
||||
import MetaSensorItem from './MetaSensorItem';
|
||||
|
||||
interface MetaVendorCrawlerSensorItem {
|
||||
id: number;
|
||||
interval: string;
|
||||
warnCondition: string;
|
||||
createDate: Date;
|
||||
metaSensorItem: MetaSensorItem;
|
||||
metaInfraVendor: MetaInfraVendor;
|
||||
crawlerId: number;
|
||||
}
|
||||
|
||||
export default MetaVendorCrawlerSensorItem;
|
Loading…
Reference in New Issue
Block a user