This commit is contained in:
geek 2017-07-03 16:29:22 +09:00
parent df6e7fb79a
commit 390eb3ac32
19 changed files with 188 additions and 181 deletions

View File

@ -1,36 +1,36 @@
interface MetaCrawler {
id: number;
createDate: Date;
name: string;
description: string;
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
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;

View File

@ -3,17 +3,17 @@ 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;
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;

View File

@ -1,18 +1,18 @@
interface MetaInfraType {
id: number;
name: string;
createDate: Date;
id: number;
name: string;
createDate: Date;
}
export enum MetaInfraType_ID {
MACHINE = 1,
HOST = 2,
OS = 3,
OS_APPLICATION = 4,
OS_DAEMON = 5,
OS_PORT = 6,
OS_SERVICE = 7
MACHINE = 1,
HOST = 2,
OS = 3,
OS_APPLICATION = 4,
OS_DAEMON = 5,
OS_PORT = 6,
OS_SERVICE = 7
}
export default MetaInfraType;

View File

@ -2,66 +2,66 @@
import MetaInfraType from './MetaInfraType';
interface MetaInfraVendor {
id: number;
name: string;
createDate: Date;
metaInfraType: MetaInfraType;
id: number;
name: string;
createDate: Date;
metaInfraType: MetaInfraType;
}
export enum MetaInfraVendor_Machine_ID {
APPLE = 1,
MICROSOFT = 2,
ASUS = 3,
HP = 4,
DELL = 5,
LENOVO = 6,
ACER = 7,
SAMSUNG = 8,
LG = 9,
CISCO = 10
APPLE = 1,
MICROSOFT = 2,
ASUS = 3,
HP = 4,
DELL = 5,
LENOVO = 6,
ACER = 7,
SAMSUNG = 8,
LG = 9,
CISCO = 10
}
export 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
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
}
export 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
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
}
export enum MetaInfraVendor_SERVICE_ID {
MySql = 40,
PostgreSQL = 41,
WMI = 42,
SNMP_V2 = 43,
UNKNOWN = 44
MySql = 40,
PostgreSQL = 41,
WMI = 42,
SNMP_V2 = 43,
UNKNOWN = 44
}
export default MetaInfraVendor;

View File

@ -1,17 +1,17 @@
interface MetaInputType {
id: number;
name: string;
description: string;
createDate: Date;
id: number;
name: string;
description: string;
createDate: Date;
}
export enum MetaInputType_ID {
TEXT_TYPE = 1,
PASSWORD_TYPE = 2,
NUMBER_TYPE = 3,
BOOLEAN_TYPE = 4,
SELECT_TYPE = 5
TEXT_TYPE = 1,
PASSWORD_TYPE = 2,
NUMBER_TYPE = 3,
BOOLEAN_TYPE = 4,
SELECT_TYPE = 5
}
export default MetaInputType;

View File

@ -1,14 +1,14 @@
interface MetaMemberStatus {
id: number;
name: string;
id: number;
name: string;
}
export enum MetaMemberStatus_ID {
NOAUTH = 1,
NORMAL = 2,
DIAPAUSE = 3,
WITHDRAWAL = 4
NOAUTH = 1,
NORMAL = 2,
DIAPAUSE = 3,
WITHDRAWAL = 4,
}
export default MetaMemberStatus;

View File

@ -1,13 +1,13 @@
interface MetaNoAuthProbeStatus {
id: number;
name: string;
id: number;
name: string;
}
export enum MetaNoAuthProbeStatus_ID {
ACCEPT = 1,
DENY = 2,
PROCESS = 3
ACCEPT = 1,
DENY = 2,
PROCESS = 3,
}
export default MetaNoAuthProbeStatus;
export default MetaNoAuthProbeStatus;

View File

@ -1,9 +1,10 @@
interface MetaNotification {
id: number;
createDate: Date;
name: string;
description: string;
id: number;
createDate: Date;
name: string;
description: string;
}
export default MetaNotification;
export default MetaNotification;

View File

@ -1,12 +1,12 @@
interface MetaProbeArchitecture {
id: number;
architecture: string;
createDate: Date;
id: number;
architecture: string;
createDate: Date;
}
export enum MetaProbeArchitecture_ID {
x86_64bit = 1
x86_64bit = 1,
}
export default MetaProbeArchitecture;

View File

@ -1,15 +1,15 @@
interface MetaProbeOs {
id: number;
name: string;
createDate: Date;
id: number;
name: string;
createDate: Date;
}
export enum MetaProbeOs_ID {
Windows = 1,
Debian = 2,
Ubuntu = 3,
Fedora = 4
Windows = 1,
Debian = 2,
Ubuntu = 3,
Fedora = 4,
}
export default MetaProbeOs;

View File

@ -3,11 +3,12 @@ import MetaProbeOs from './MetaProbeOs';
import MetaProbeArchitecture from './MetaProbeArchitecture';
interface MetaProbePackage {
id: number;
version: MetaProbeVersion;
os: MetaProbeOs;
architecture: MetaProbeArchitecture;
createDate: Date;
id: number;
version: MetaProbeVersion;
os: MetaProbeOs;
architecture: MetaProbeArchitecture;
createDate: Date;
}
export default MetaProbePackage;

View File

@ -1,12 +1,12 @@
interface MetaProbeStatus {
id: number;
name: string;
id: number;
name: string;
}
export enum MetaProbeStatus_ID {
INITIAL = 1,
NORMAL = 2
INITIAL = 1,
NORMAL = 2,
}
export default MetaProbeStatus;

View File

@ -1,9 +1,9 @@
interface MetaProbeTaskType {
id: number;
name: string;
description: string;
createDate: Date;
id: number;
name: string;
description: string;
createDate: Date;
}
export default MetaProbeTaskType;
export default MetaProbeTaskType;

View File

@ -1,8 +1,8 @@
interface MetaProbeVersion {
id: number;
version: string;
createDate: Date;
id: number;
version: string;
createDate: Date;
}
export default MetaProbeVersion;
export default MetaProbeVersion;

View File

@ -1,12 +1,13 @@
import MetaProbeArchitecture from './MetaProbeArchitecture';
import MetaSensorItemType from './MetaSensorItemType';
interface MetaSensorItem {
id: number;
metaSensorItemType: MetaSensorItemType;
key: string;
name: string;
createDate: Date;
id: number;
metaSensorItemType: MetaSensorItemType;
key: string;
name: string;
createDate: Date;
}
export default MetaSensorItem;
export default MetaSensorItem;

View File

@ -1,9 +1,9 @@
interface MetaSensorItemType {
id: number;
name: string;
description: string;
createDate: Date;
id: number;
name: string;
description: string;
createDate: Date;
}
export default MetaSensorItemType;
export default MetaSensorItemType;

View File

@ -1,12 +1,14 @@
interface MetaSensorStatus {
id: number;
name: string;
id: number;
name: string;
}
export enum MetaSensorStatus_ID {
RUNNING = 1,
STOPPED = 2
RUNNING = 1,
STOPPED = 2,
}
export default MetaSensorStatus;
export default MetaSensorStatus;

View File

@ -1,9 +1,11 @@
import MetaInfraVendor from './MetaInfraVendor';
import MetaCrawler from './MetaCrawler';
interface MetaVendorCrawler {
id: number;
metaCrawler: MetaCrawler;
metaInfraVendor: MetaInfraVendor;
createDate: Date;
id: number;
metaCrawler: MetaCrawler;
metaInfraVendor: MetaInfraVendor;
createDate: Date;
}
export default MetaVendorCrawler;
export default MetaVendorCrawler;

View File

@ -3,13 +3,13 @@ import MetaInfraVendor from './MetaInfraVendor';
import MetaSensorItem from './MetaSensorItem';
interface MetaVendorCrawlerSensorItem {
id: number;
interval: string;
warnCondition: string;
createDate: Date;
metaSensorItem: MetaSensorItem;
metaInfraVendor: MetaInfraVendor;
crawlerId: number;
id: number;
interval: string;
warnCondition: string;
createDate: Date;
metaSensorItem: MetaSensorItem;
metaInfraVendor: MetaInfraVendor;
crawlerId: number;
}
export default MetaVendorCrawlerSensorItem;
export default MetaVendorCrawlerSensorItem;