From f0b5ce8b19a289438a1a6ce507f9cbec9072d021 Mon Sep 17 00:00:00 2001 From: crusader Date: Thu, 14 Jun 2018 17:53:42 +0900 Subject: [PATCH] ing --- pom.xml | 10 +- src/main/resources/{ => common}/init.meta.sql | 268 ++++++------------ .../velocity.properties | 0 .../vmtemplates/overFlow_logo.png | Bin .../vmtemplates/password_reset.vm | 0 .../vmtemplates/signup.vm | 0 src/main/resources/local/velocity.properties | 10 - .../local/vmtemplates/overFlow_logo.png | Bin 2304 -> 0 bytes .../local/vmtemplates/password_reset.vm | 72 ----- .../resources/local/vmtemplates/signup.vm | 72 ----- .../development/cache.properties | 0 .../development/database.properties | 0 .../{ => profiles}/development/logback.xml | 0 .../development/mail.properties | 0 .../development/redis.properties | 0 .../{ => profiles}/local/cache.properties | 0 .../{ => profiles}/local/database.properties | 0 .../{ => profiles}/local/init.sample.sql | 6 +- .../{ => profiles}/local/mail.properties | 0 .../{ => profiles}/local/redis.properties | 0 20 files changed, 99 insertions(+), 339 deletions(-) rename src/main/resources/{ => common}/init.meta.sql (77%) rename src/main/resources/{development => common}/velocity.properties (100%) rename src/main/resources/{development => common}/vmtemplates/overFlow_logo.png (100%) rename src/main/resources/{development => common}/vmtemplates/password_reset.vm (100%) rename src/main/resources/{development => common}/vmtemplates/signup.vm (100%) delete mode 100644 src/main/resources/local/velocity.properties delete mode 100644 src/main/resources/local/vmtemplates/overFlow_logo.png delete mode 100644 src/main/resources/local/vmtemplates/password_reset.vm delete mode 100644 src/main/resources/local/vmtemplates/signup.vm rename src/main/resources/{ => profiles}/development/cache.properties (100%) rename src/main/resources/{ => profiles}/development/database.properties (100%) rename src/main/resources/{ => profiles}/development/logback.xml (100%) rename src/main/resources/{ => profiles}/development/mail.properties (100%) rename src/main/resources/{ => profiles}/development/redis.properties (100%) rename src/main/resources/{ => profiles}/local/cache.properties (100%) rename src/main/resources/{ => profiles}/local/database.properties (100%) rename src/main/resources/{ => profiles}/local/init.sample.sql (99%) rename src/main/resources/{ => profiles}/local/mail.properties (100%) rename src/main/resources/{ => profiles}/local/redis.properties (100%) diff --git a/pom.xml b/pom.xml index 09d631b..1b986b8 100644 --- a/pom.xml +++ b/pom.xml @@ -51,7 +51,7 @@ com.loafle.overflow commons-java - 1.0.62-SNAPSHOT + 1.0.63-SNAPSHOT @@ -236,7 +236,13 @@ - src/main/resources/${activatedProperties} + src/main/resources/common + + **/*.* + + + + src/main/resources/profiles/${activatedProperties} true diff --git a/src/main/resources/init.meta.sql b/src/main/resources/common/init.meta.sql similarity index 77% rename from src/main/resources/init.meta.sql rename to src/main/resources/common/init.meta.sql index 29888d1..d09dcd5 100644 --- a/src/main/resources/init.meta.sql +++ b/src/main/resources/common/init.meta.sql @@ -136,186 +136,94 @@ INSERT INTO public.meta_target_type_category ( id , meta_infra_type_id , key , " INSERT INTO public.meta_target_type_category ( id , meta_infra_type_id , key , "name" ) VALUES ( 6 , 3 , 'MAIL' , 'Zone' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1 , 1 , 'UNKNOWN' , 'Unknown' , 'true' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 2 , 1 , 'ZONE' , 'Zone' , 'true' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 100 , 2 , 'UNKNOWN' , 'Unknown' , 'true' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 101 , 2 , 'ALPINE_LINUX' , 'Alpine Linux' , 'true' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 102 , 2 , 'AMAZON_LINUX' , 'Amazon Linux' , 'false' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 103 , 2 , 'ANDROID' , 'Android' , 'false' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 104 , 2 , 'CENTOS' , 'CentOS' , 'true' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 105 , 2 , 'CISCO_IOS' , 'Cisco IOS' , 'false' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 106 , 2 , 'COREOS' , 'CoreOS' , 'true' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 107 , 2 , 'DARWIN' , 'Darwin' , 'true' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 108 , 2 , 'DEBIAN' , 'Debian' , 'true' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 109 , 2 , 'FEDORA' , 'Fedora' , 'true' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 110 , 2 , 'FREEBSD' , 'FreeBSD' , 'false' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 111 , 2 , 'HP_UX' , 'HP-UX' , 'false' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 112 , 2 , 'IBM_AIX' , 'IBM AIX' , 'false' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 113 , 2 , 'IBM_AS_400' , 'IBM AS/400' , 'false' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 114 , 2 , 'IBM_POWER8' , 'IBM Power8' , 'false' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 115 , 2 , 'IOS' , 'iOS' , 'false' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 116 , 2 , 'LINUX' , 'Linux' , 'true' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 117 , 2 , 'MAC_OS_X' , 'Mac OS X' , 'true' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 118 , 2 , 'MAC_OS_X_SERVER' , 'Mac OS X Server' , 'true' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 119 , 2 , 'NETBSD' , 'NetBSD' , 'false' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 120 , 2 , 'NOVELL_NETWARE' , 'Novell Netware' , 'false' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 121 , 2 , 'OPENBSD' , 'OpenBSD' , 'false' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 122 , 2 , 'ORACLE_LINUX' , 'Oracle Linux' , 'true' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 123 , 2 , 'RASPBIAN' , 'Raspbian' , 'false' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 124 , 2 , 'RHEL' , 'Red Hat Enterprise Linux' , 'true' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 125 , 2 , 'SOLARIS' , 'Solaris' , 'false' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 126 , 2 , 'SUSE' , 'SUSE Linux' , 'true' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 127 , 2 , 'UBUNTU' , 'Ubuntu' , 'true' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 128 , 2 , 'UBUNTU_SERVER' , 'Ubuntu Server' , 'true' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 129 , 2 , 'WINDOWS' , 'Windows' , 'true' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 130 , 2 , 'WINDOWS_SERVER' , 'Windows Server' , 'true' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1000 , 3 , 'UNKNOWN' , 'Unknown' , 'true' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1001 , 3 , 'ACTIVE_DIRECTORY' , 'Active Directory' , 'true' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1002 , 3 , 'APACHE_HTTPD' , 'Apache Httpd' , 'false' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1003 , 3 , 'CASSANDRA' , 'Cassandra' , 'false' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1004 , 3 , 'COUCHBASE' , 'CouchBase' , 'false' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1005 , 3 , 'COUCHDB' , 'CouchDB' , 'false' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1006 , 3 , 'DB2' , 'DB2' , 'false' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1007 , 3 , 'DHCP' , 'DHCP' , 'true' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1008 , 3 , 'DNS' , 'DNS' , 'true' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1009 , 3 , 'EXCHANGE_SERVER' , 'Exchange Server' , 'false' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1010 , 3 , 'EXIM' , 'Exim' , 'false' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1011 , 3 , 'FIREBIRD' , 'Firebird' , 'false' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1012 , 3 , 'FTP' , 'FTP' , 'true' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1013 , 3 , 'GLASSFISH' , 'Glassfish' , 'false' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1014 , 3 , 'HTTP' , 'HTTP' , 'true' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1015 , 3 , 'HTTPS' , 'HTTPS' , 'false' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1016 , 3 , 'IMAP' , 'IMAP' , 'true' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1017 , 3 , 'INFLUXDB' , 'InfluxDB' , 'false' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1018 , 3 , 'INGRES' , 'Ingres' , 'false' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1019 , 3 , 'JBOSS' , 'JBoss' , 'false' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1020 , 3 , 'JMX' , 'JMX' , 'true' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1021 , 3 , 'LDAP' , 'LDAP' , 'true' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1022 , 3 , 'LIGHTTPD' , 'Lighttpd' , 'false' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1023 , 3 , 'MARIADB' , 'MariaDB' , 'true' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1024 , 3 , 'MEMCACHED' , 'Memcached' , 'false' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1025 , 3 , 'IIS' , 'Microsoft IIS' , 'false' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1026 , 3 , 'SQL_SERVER' , 'Microsoft SQL Server' , 'true' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1027 , 3 , 'MONGODB' , 'MongoDB' , 'true' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1028 , 3 , 'MYSQL' , 'MySQL' , 'true' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1029 , 3 , 'NETBIOS' , 'NetBIOS' , 'true' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1030 , 3 , 'NGINX' , 'Nginx' , 'false' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1031 , 3 , 'NNTP' , 'NNTP' , 'false' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1032 , 3 , 'ORACLE' , 'Oracle' , 'true' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1033 , 3 , 'POP' , 'POP' , 'true' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1034 , 3 , 'POSTFIX' , 'Postfix' , 'false' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1035 , 3 , 'POSTGRESQL' , 'PostgreSQL' , 'true' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1036 , 3 , 'REDIS' , 'Redis' , 'true' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1037 , 3 , 'REDIS_SENTINEL' , 'Redis Sentinel' , 'false' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1038 , 3 , 'SENDMAIL' , 'Sendmail' , 'false' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1039 , 3 , 'SMB' , 'SMB' , 'true' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1040 , 3 , 'SMTP' , 'SMTP' , 'true' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1041 , 3 , 'SNMP' , 'SNMP' , 'true' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1042 , 3 , 'SNMP_V2' , 'SNMP V2' , 'true' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1043 , 3 , 'SNMP_V3' , 'SNMP V3' , 'true' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1044 , 3 , 'SQLITE' , 'SQLite' , 'false' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1045 , 3 , 'SQUID_CACHE' , 'Squid cache' , 'false' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1046 , 3 , 'SQUID_PROXY' , 'Squid proxy' , 'false' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1047 , 3 , 'SSH' , 'SSH' , 'true' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1048 , 3 , 'SYBASE' , 'Sybase' , 'false' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1049 , 3 , 'TELNET' , 'Telnet' , 'true' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1050 , 3 , 'TOMCAT' , 'Tomcat' , 'true' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1051 , 3 , 'VARNISH' , 'Varnish' , 'false' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1052 , 3 , 'WEBSPHERE' , 'Websphere' , 'true' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1053 , 3 , 'WMI' , 'WMI' , 'true' ); -INSERT INTO public.meta_target_type ( id , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1054 , 3 , 'ZIMBRA' , 'Zimbra' , 'false' ); - --- INSERT INTO public.meta_target_zone_type ( id ) VALUES ( 1 ); --- INSERT INTO public.meta_target_zone_type ( id ) VALUES ( 2 ); - --- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 100 ); --- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 101 ); --- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 102 ); --- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 103 ); --- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 104 ); --- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 105 ); --- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 106 ); --- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 107 ); --- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 108 ); --- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 109 ); --- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 110 ); --- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 111 ); --- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 112 ); --- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 113 ); --- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 114 ); --- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 115 ); --- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 116 ); --- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 117 ); --- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 118 ); --- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 119 ); --- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 120 ); --- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 121 ); --- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 122 ); --- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 123 ); --- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 124 ); --- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 125 ); --- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 126 ); --- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 127 ); --- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 128 ); --- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 129 ); --- INSERT INTO public.meta_target_host_type ( id ) VALUES ( 130 ); - - --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1000 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1001 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1002 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1003 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1004 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1005 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1006 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1007 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1008 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1009 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1010 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1011 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1012 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1013 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1014 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1015 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1016 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1017 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1018 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1019 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1020 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1021 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1022 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1023 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1024 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1025 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1026 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1027 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1028 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1029 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1030 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1031 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1032 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1033 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1034 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1035 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1036 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1037 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1038 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1039 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1040 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1041 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1042 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1043 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1044 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1045 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1046 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1047 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1048 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1049 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1050 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1051 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1052 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1053 ); --- INSERT INTO public.meta_target_service_type ( id ) VALUES ( 1054 ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1 , 1 , 1 , 'UNKNOWN' , 'Unknown' , 'true' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 2 , 1 , 1 , 'ZONE' , 'Zone' , 'true' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 100 , 2 , 2 , 'UNKNOWN' , 'Unknown' , 'true' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 101 , 2 , 2 , 'ALPINE_LINUX' , 'Alpine Linux' , 'true' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 102 , 2 , 2 , 'AMAZON_LINUX' , 'Amazon Linux' , 'false' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 103 , 2 , 2 , 'ANDROID' , 'Android' , 'false' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 104 , 2 , 2 , 'CENTOS' , 'CentOS' , 'true' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 105 , 2 , 2 , 'CISCO_IOS' , 'Cisco IOS' , 'false' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 106 , 2 , 2 , 'COREOS' , 'CoreOS' , 'true' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 107 , 2 , 2 , 'DARWIN' , 'Darwin' , 'true' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 108 , 2 , 2 , 'DEBIAN' , 'Debian' , 'true' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 109 , 2 , 2 , 'FEDORA' , 'Fedora' , 'true' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 110 , 2 , 2 , 'FREEBSD' , 'FreeBSD' , 'false' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 111 , 2 , 2 , 'HP_UX' , 'HP-UX' , 'false' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 112 , 2 , 2 , 'IBM_AIX' , 'IBM AIX' , 'false' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 113 , 2 , 2 , 'IBM_AS_400' , 'IBM AS/400' , 'false' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 114 , 2 , 2 , 'IBM_POWER8' , 'IBM Power8' , 'false' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 115 , 2 , 2 , 'IOS' , 'iOS' , 'false' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 116 , 2 , 2 , 'LINUX' , 'Linux' , 'true' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 117 , 2 , 2 , 'MAC_OS_X' , 'Mac OS X' , 'true' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 118 , 2 , 2 , 'MAC_OS_X_SERVER' , 'Mac OS X Server' , 'true' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 119 , 2 , 2 , 'NETBSD' , 'NetBSD' , 'false' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 120 , 2 , 2 , 'NOVELL_NETWARE' , 'Novell Netware' , 'false' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 121 , 2 , 2 , 'OPENBSD' , 'OpenBSD' , 'false' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 122 , 2 , 2 , 'ORACLE_LINUX' , 'Oracle Linux' , 'true' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 123 , 2 , 2 , 'RASPBIAN' , 'Raspbian' , 'false' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 124 , 2 , 2 , 'RHEL' , 'Red Hat Enterprise Linux' , 'true' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 125 , 2 , 2 , 'SOLARIS' , 'Solaris' , 'false' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 126 , 2 , 2 , 'SUSE' , 'SUSE Linux' , 'true' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 127 , 2 , 2 , 'UBUNTU' , 'Ubuntu' , 'true' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 128 , 2 , 2 , 'UBUNTU_SERVER' , 'Ubuntu Server' , 'true' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 129 , 2 , 2 , 'WINDOWS' , 'Windows' , 'true' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 130 , 2 , 2 , 'WINDOWS_SERVER' , 'Windows Server' , 'true' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1000 , 3 , 3 , 'UNKNOWN' , 'Unknown' , 'true' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1001 , 3 , 3 , 'ACTIVE_DIRECTORY' , 'Active Directory' , 'true' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1002 , 3 , 3 , 'APACHE_HTTPD' , 'Apache Httpd' , 'false' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1003 , 3 , 3 , 'CASSANDRA' , 'Cassandra' , 'false' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1004 , 3 , 3 , 'COUCHBASE' , 'CouchBase' , 'false' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1005 , 3 , 3 , 'COUCHDB' , 'CouchDB' , 'false' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1006 , 3 , 3 , 'DB2' , 'DB2' , 'false' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1007 , 3 , 3 , 'DHCP' , 'DHCP' , 'true' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1008 , 3 , 3 , 'DNS' , 'DNS' , 'true' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1009 , 3 , 3 , 'EXCHANGE_SERVER' , 'Exchange Server' , 'false' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1010 , 3 , 3 , 'EXIM' , 'Exim' , 'false' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1011 , 3 , 3 , 'FIREBIRD' , 'Firebird' , 'false' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1012 , 3 , 3 , 'FTP' , 'FTP' , 'true' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1013 , 3 , 3 , 'GLASSFISH' , 'Glassfish' , 'false' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1014 , 3 , 3 , 'HTTP' , 'HTTP' , 'true' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1015 , 3 , 3 , 'HTTPS' , 'HTTPS' , 'false' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1016 , 3 , 3 , 'IMAP' , 'IMAP' , 'true' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1017 , 3 , 3 , 'INFLUXDB' , 'InfluxDB' , 'false' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1018 , 3 , 3 , 'INGRES' , 'Ingres' , 'false' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1019 , 3 , 3 , 'JBOSS' , 'JBoss' , 'false' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1020 , 3 , 3 , 'JMX' , 'JMX' , 'true' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1021 , 3 , 3 , 'LDAP' , 'LDAP' , 'true' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1022 , 3 , 3 , 'LIGHTTPD' , 'Lighttpd' , 'false' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1023 , 3 , 3 , 'MARIADB' , 'MariaDB' , 'true' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1024 , 3 , 3 , 'MEMCACHED' , 'Memcached' , 'false' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1025 , 3 , 3 , 'IIS' , 'Microsoft IIS' , 'false' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1026 , 3 , 3 , 'SQL_SERVER' , 'Microsoft SQL Server' , 'true' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1027 , 3 , 3 , 'MONGODB' , 'MongoDB' , 'true' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1028 , 3 , 3 , 'MYSQL' , 'MySQL' , 'true' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1029 , 3 , 3 , 'NETBIOS' , 'NetBIOS' , 'true' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1030 , 3 , 3 , 'NGINX' , 'Nginx' , 'false' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1031 , 3 , 3 , 'NNTP' , 'NNTP' , 'false' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1032 , 3 , 3 , 'ORACLE' , 'Oracle' , 'true' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1033 , 3 , 3 , 'POP' , 'POP' , 'true' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1034 , 3 , 3 , 'POSTFIX' , 'Postfix' , 'false' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1035 , 3 , 3 , 'POSTGRESQL' , 'PostgreSQL' , 'true' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1036 , 3 , 3 , 'REDIS' , 'Redis' , 'true' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1037 , 3 , 3 , 'REDIS_SENTINEL' , 'Redis Sentinel' , 'false' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1038 , 3 , 3 , 'SENDMAIL' , 'Sendmail' , 'false' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1039 , 3 , 3 , 'SMB' , 'SMB' , 'true' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1040 , 3 , 3 , 'SMTP' , 'SMTP' , 'true' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1041 , 3 , 3 , 'SNMP' , 'SNMP' , 'true' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1042 , 3 , 3 , 'SNMP_V2' , 'SNMP V2' , 'true' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1043 , 3 , 3 , 'SNMP_V3' , 'SNMP V3' , 'true' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1044 , 3 , 3 , 'SQLITE' , 'SQLite' , 'false' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1045 , 3 , 3 , 'SQUID_CACHE' , 'Squid cache' , 'false' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1046 , 3 , 3 , 'SQUID_PROXY' , 'Squid proxy' , 'false' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1047 , 3 , 3 , 'SSH' , 'SSH' , 'true' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1048 , 3 , 3 , 'SYBASE' , 'Sybase' , 'false' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1049 , 3 , 3 , 'TELNET' , 'Telnet' , 'true' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1050 , 3 , 3 , 'TOMCAT' , 'Tomcat' , 'true' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1051 , 3 , 3 , 'VARNISH' , 'Varnish' , 'false' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1052 , 3 , 3 , 'WEBSPHERE' , 'Websphere' , 'true' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1053 , 3 , 3 , 'WMI' , 'WMI' , 'true' ); +INSERT INTO public.meta_target_type ( id , infra_type , meta_infra_type_id , key , "name" , is_supported ) VALUES ( 1054 , 3 , 3 , 'ZIMBRA' , 'Zimbra' , 'false' ); INSERT INTO public.meta_probe_status ( id , key , "name" ) VALUES ( 1 , 'INITIAL' , 'Initial' ); diff --git a/src/main/resources/development/velocity.properties b/src/main/resources/common/velocity.properties similarity index 100% rename from src/main/resources/development/velocity.properties rename to src/main/resources/common/velocity.properties diff --git a/src/main/resources/development/vmtemplates/overFlow_logo.png b/src/main/resources/common/vmtemplates/overFlow_logo.png similarity index 100% rename from src/main/resources/development/vmtemplates/overFlow_logo.png rename to src/main/resources/common/vmtemplates/overFlow_logo.png diff --git a/src/main/resources/development/vmtemplates/password_reset.vm b/src/main/resources/common/vmtemplates/password_reset.vm similarity index 100% rename from src/main/resources/development/vmtemplates/password_reset.vm rename to src/main/resources/common/vmtemplates/password_reset.vm diff --git a/src/main/resources/development/vmtemplates/signup.vm b/src/main/resources/common/vmtemplates/signup.vm similarity index 100% rename from src/main/resources/development/vmtemplates/signup.vm rename to src/main/resources/common/vmtemplates/signup.vm diff --git a/src/main/resources/local/velocity.properties b/src/main/resources/local/velocity.properties deleted file mode 100644 index d2a5cc2..0000000 --- a/src/main/resources/local/velocity.properties +++ /dev/null @@ -1,10 +0,0 @@ -#resource.loader=jar -#jar.resource.loader.class=org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader -#jar.runtime.log.logsystem.class=org.apache.velocity.runtime.log.SimpleLog4JLogSystem -#jar.runtime.log.logsystem.log4j.category=velocity -#jar.resource.loader.cache=true -resource.loader=class -class.resource.loader.class = org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader -class.runtime.log.logsystem.log4j.category=velocity - -input.encoding=UTF-8 \ No newline at end of file diff --git a/src/main/resources/local/vmtemplates/overFlow_logo.png b/src/main/resources/local/vmtemplates/overFlow_logo.png deleted file mode 100644 index b95826f258eed5cd1103fef1e2b7793cab564ed9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2304 zcmbVOX;f2Z8jfN>BxprMmY|meWl^$|Oolw$Y2H33T8mGNN__(5k<$bV=pSs{P6V0+-RW z9TgWGg^SX%WGM=MrcM@-s#ey`Sdmx z1-ye8lyua4r{bfc0hUH51A;N+APJsC04N{^PsV`+(kg&}!&9(03KmZc!r^H+GK~lV zA1)MRO(#vJt!HyT*n(DcREoi%rD3r~qY+~yVl+BA77v0T7DvDm2tg1cNS~oLh)h9h zJ$gogEz?VM3avq*Q3KP8BC#gjKu1BIz7IjAjf(mxtk!=>6qGWoNuTbxP(9D(pWl~$e_{1YBZ@c6%d`G zF=+HD8ZE$zAp`z#3bj;Y)CWu-&--ZEGM!?pOv=@1RKUCZ(iESt4>Ac%2AM=5bExd; zxETy4l|^Q4_xX0lQS&j40gIW{-;=Gwx9}}o_;KSXz{UmWNN5mbWm$- zdv06;gTZm(Y(}hU@KNG;+MzJSEz>nvoH=H89CTxLlxIh1*W#8}xWFOa132EK}IO)sdsX^9iI z#Q=|eqlHID{8Mrh4I6$4ysmW(VHYEX&efy-(o$|Q*O}+j!4U5M=1_@`$VN&>4{^!G z=c)NjeU0YZ@>g`FEwR6LA#dU*Ae*yyL2&gwd`-ioIZG1i+f>=7w?{PYSYQ*(*BiaD zz(7v-=#Hc@?c4fa{gSDl^$t&^9_uV>1a(ha3k#FzSKRwsRt{Eph27x_;=rlmIjxme zlTwNy{{t;qUNLTWXX*T}g)@`mDJ6-Y!_N4H^>McoQ8iYmqcY%**tCJvB z-r}%#1nJF31dtp34^Jgg8+Qz?BNVz=k~1C${_a){s~YvVI)rpDL+7CnXj&ZXip+%i zAIsh%9(u1=o`MT|$n>?R`xr zFUdQJtl(KIwFzdd|Ml z9&g0>A9B=Jxrv)ugy|c?L;5= z%{%7F>O7ZiVe^q{-HJ?jxzDj=BwXlJ_b@H24wGOP;aATVjeq6VUR8}={6+td{JAA` zSK56io@OQ2G)Q3mdvznlImFd*w(aEthP8Lat=)U>{tNHG^PSAkK9Qvu@htCZc(%9e zPBwP8EV5I=FwuKS zp|vp{Owz5;&&bI zsD2=9VD;TB^NT&psb~b56YYQNtP8T|je(_wBQ<%85dvYZ*FkXTCw8>!Z>f$6x|}o1 z)Kq<1?j=1cdDg)&s{I({isinVY6Wv@4^h*O9tq=^yToCuNVH2@=AjZX#!^#YTO;l5 zcgs`TqlbHLIyH&mQKdhNIQ@IpDpl4RLab~`#l;JbBd(et&! zrOo#Zzl%vP&R5uIZ+-~pqZrF>By7p{8FXZyu1=>CFPKda+_5@@% z{36|E95|Kguz!2e_hqk&ON~DIzht@fo_sV=dyn=XoCA;QjauG5mq)A_GLtW!@NO1% zV0oQ)5$2|CE>{A_ds38^Cy)EDBPSL{9i6A?@sM*$UK#y1nr|BHu>!8au8d4bo36gS6n&s%^d!s<_OQXeGr#`Xtm%J}aE^do I&rCA^0b_=jKL7v# diff --git a/src/main/resources/local/vmtemplates/password_reset.vm b/src/main/resources/local/vmtemplates/password_reset.vm deleted file mode 100644 index 3956c3f..0000000 --- a/src/main/resources/local/vmtemplates/password_reset.vm +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - - - - - -
- - - - - - -
- - - - - - - - - - - - - - - -
-
- Resset Your Password -
- -

Dear ${firstName} ${lastName},

- -

Sending Email ${content}

- - - - - - - - - -
- RESSET PASSWORD NOW -
- -

Thanks

- -
-

${signature}

- -

${location}

- -

Copyright ⓒ 2017 LOAFLE. All Rights Reserved.

-

Help Center · - Privacy Policy · - Terms & Conditions

-

Unsubscribe from this email

-
-
-
-
-
-
diff --git a/src/main/resources/local/vmtemplates/signup.vm b/src/main/resources/local/vmtemplates/signup.vm deleted file mode 100644 index 837ba98..0000000 --- a/src/main/resources/local/vmtemplates/signup.vm +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - - - - - -
- - - - - - -
- - - - - - - - - - - - - - - -
-
- Welcome to overFlow. Please Confirm your Email -
- -

Dear ${firstName} ${lastName},

- -

Sending Email ${content}

- - - - - - - - - -
- Register Now -
- -

Thanks

- -
-

${signature}

- -

${location}

- -

Copyright ⓒ 2017 LOAFLE. All Rights Reserved.

-

Help Center · - Privacy Policy · - Terms & Conditions

-

Unsubscribe from this email

-
-
-
-
-
-
diff --git a/src/main/resources/development/cache.properties b/src/main/resources/profiles/development/cache.properties similarity index 100% rename from src/main/resources/development/cache.properties rename to src/main/resources/profiles/development/cache.properties diff --git a/src/main/resources/development/database.properties b/src/main/resources/profiles/development/database.properties similarity index 100% rename from src/main/resources/development/database.properties rename to src/main/resources/profiles/development/database.properties diff --git a/src/main/resources/development/logback.xml b/src/main/resources/profiles/development/logback.xml similarity index 100% rename from src/main/resources/development/logback.xml rename to src/main/resources/profiles/development/logback.xml diff --git a/src/main/resources/development/mail.properties b/src/main/resources/profiles/development/mail.properties similarity index 100% rename from src/main/resources/development/mail.properties rename to src/main/resources/profiles/development/mail.properties diff --git a/src/main/resources/development/redis.properties b/src/main/resources/profiles/development/redis.properties similarity index 100% rename from src/main/resources/development/redis.properties rename to src/main/resources/profiles/development/redis.properties diff --git a/src/main/resources/local/cache.properties b/src/main/resources/profiles/local/cache.properties similarity index 100% rename from src/main/resources/local/cache.properties rename to src/main/resources/profiles/local/cache.properties diff --git a/src/main/resources/local/database.properties b/src/main/resources/profiles/local/database.properties similarity index 100% rename from src/main/resources/local/database.properties rename to src/main/resources/profiles/local/database.properties diff --git a/src/main/resources/local/init.sample.sql b/src/main/resources/profiles/local/init.sample.sql similarity index 99% rename from src/main/resources/local/init.sample.sql rename to src/main/resources/profiles/local/init.sample.sql index 76573bc..46a982e 100644 --- a/src/main/resources/local/init.sample.sql +++ b/src/main/resources/profiles/local/init.sample.sql @@ -62,9 +62,9 @@ INSERT INTO public.probe (authorize_date,cidr,"name", description,encryption_key '2017-08-21 15:00:09.691','192.168.2.0/24','insanity probe','test probe 22222','f1f72c8d2a814580bb7c4615ec43a6a8','95d8bcdc739741dca74c4a0e489e0774',1,1,1,0); -INSERT INTO public.infra (id, meta_infra_type_id, probe_id) VALUES (1, 1, 1); -INSERT INTO public.infra (id, meta_infra_type_id, probe_id) VALUES (2, 2, 1); -INSERT INTO public.infra (id, meta_infra_type_id, probe_id) VALUES (3, 3, 1); +INSERT INTO public.infra (id, infra_type, meta_infra_type_id, probe_id) VALUES (1, 1, 1, 1); +INSERT INTO public.infra (id, infra_type, meta_infra_type_id, probe_id) VALUES (2, 2, 2, 1); +INSERT INTO public.infra (id, infra_type, meta_infra_type_id, probe_id) VALUES (3, 3, 3, 1); INSERT INTO public.infra_zone (id, meta_target_zone_type_id, network, iface, meta_ip_type_id, "address", mac) VALUES (1, 1, '192.168.1.0/24', 'enp3s0', 1, '192.168.1.101', '44:8a:5b:f1:f1:f3'); diff --git a/src/main/resources/local/mail.properties b/src/main/resources/profiles/local/mail.properties similarity index 100% rename from src/main/resources/local/mail.properties rename to src/main/resources/profiles/local/mail.properties diff --git a/src/main/resources/local/redis.properties b/src/main/resources/profiles/local/redis.properties similarity index 100% rename from src/main/resources/local/redis.properties rename to src/main/resources/profiles/local/redis.properties