-- http://www.phpmyadmin.net
--




-- --------------------------------------------------------

--
-- Table structure for table `devices`
--

CREATE TABLE IF NOT EXISTS `devices` (
  `device_id` bigint(10) NOT NULL AUTO_INCREMENT,
  `device_name` varchar(255) NOT NULL,
  `device_type` varchar(255) NOT NULL,
  `device_loc_type` varchar(255) NOT NULL,
  `device_url_access` varchar(255) NOT NULL,
  `display_order` bigint(10) NOT NULL DEFAULT '0',
  `is_active` tinyint(1) NOT NULL DEFAULT '1',
  `created_on` datetime NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`device_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 AUTO_INCREMENT=14 ;

--
-- Dumping data for table `devices`
--

INSERT INTO `devices` (`device_id`, `device_name`, `device_type`, `device_loc_type`, `device_url_access`, `display_order`, `is_active`, `created_on`, `updated_on`) VALUES
(1, 'ARCWEB Server', 'SERVER_INTEL', 'INTERNAL', 'https://arcweb.iot.webeons.net', 1, 1, '2020-12-11 00:00:00', '2021-01-07 23:29:31'),
(2, 'ARCNEXUS Server', 'SERVER_INTEL', 'INTERNAL', 'https://arcnexus.iot.webeons.net', 2, 1, '2020-12-11 00:00:00', '2021-01-07 23:32:48'),
(3, 'ARCDATA', 'STORAGE', 'INTERNAL', 'https://portal.webeons.cloud', 3, 1, '2020-12-11 00:00:00', '2020-12-17 21:42:06'),
(4, 'Smart Power Switch-1', 'IOT', 'INTERNAL', 'https://spsw1.iot.webeons.net', 4, 1, '2020-12-11 00:00:00', '2021-01-10 23:17:47'),
(5, 'Smart Power Switch-2', 'IOT', 'INTERNAL', 'https://spsw2.iot.webeons.net', 5, 1, '2020-12-11 00:00:00', '2020-12-19 19:12:29'),
(6, 'Smart Power Switch-3', 'IOT', 'INTERNAL', 'https://spsw3.iot.webeons.net', 6, 1, '2020-12-11 00:00:00', '2020-12-19 19:12:33'),
(7, 'Smart Power Switch-4', 'IOT', 'INTERNAL', 'https://spsw4.iot.webeons.net', 7, 0, '2020-12-11 00:00:00', '2020-12-20 02:42:36'),
(8, 'Smart IR Transmitter 1227MS-IP', 'IOT', 'INTERNAL', 'https://sirt.tv.micasaweb.xyz', 8, 1, '2020-12-11 00:00:00', '2020-12-17 21:42:25'),
(9, 'ARCWATCHBOX-1', 'IOT', 'EXTERNAL', 'https://arcwatchbox1.iot.webeons.net', 10, 0, '2020-12-11 00:00:00', '2021-04-01 21:40:47'),
(10, 'ARCEON-1 Server', 'VM', 'EXTERNAL', 'https://arceon1.iot.webeons.net', 11, 1, '2020-12-11 00:00:00', '2021-04-01 21:40:55'),
(11, 'ARCEON-2 Server', 'VM', 'EXTERNAL', 'https://arceon2.iot.webeons.net', 12, 1, '2020-12-11 00:00:00', '2021-04-01 21:41:17'),
(12, 'ARCWATCH Server', 'VM', 'EXTERNAL', 'https://arcwatch.iot.webeons.net', 13, 1, '2020-12-11 00:00:00', '2021-04-01 21:41:24'),
(13, 'CAM-1', 'CAM', 'INTERNAL', 'https://status.arcweb.webeons.net/api/status/cmx1', 9, 1, '2021-04-01 22:40:14', '2021-04-01 21:40:14');


-- --------------------------------------------------------

--
-- Table structure for table `services`
--

CREATE TABLE IF NOT EXISTS `services` (
  `service_id` bigint(10) NOT NULL AUTO_INCREMENT,
  `service_name` varchar(255) NOT NULL,
  `service_url` varchar(255) NOT NULL,
  `service_type` varchar(255) NOT NULL,
  `service_loc_type` varchar(255) NOT NULL DEFAULT 'INTERNAL',
  `display_order` bigint(10) NOT NULL DEFAULT '0',
  `is_active` tinyint(1) NOT NULL DEFAULT '1',
  `created_on` datetime NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`service_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 AUTO_INCREMENT=26 ;

--
-- Dumping data for table `services`
--

INSERT INTO `services` (`service_id`, `service_name`, `service_url`, `service_type`, `service_loc_type`, `display_order`, `is_active`, `created_on`, `updated_on`) VALUES
(1, 'Webeons Cloud Gateway Portal', 'https://gateway.webeons.cloud', 'WEBEONS_CLOUD', 'INTERNAL', 1, 0, '2020-12-12 00:00:00', '2020-12-19 19:09:24'),
(2, 'Webeons Cloud Services Portal', 'https://portal.webeons.cloud', 'WEBEONS_CLOUD', 'INTERNAL', 2, 1, '2020-12-12 00:00:00', '2020-12-20 02:41:55'),
(3, 'Webeons Cloud Drive', 'https://drive.webeons.cloud', 'WEBEONS_CLOUD', 'INTERNAL', 3, 1, '2020-12-11 00:00:00', '2020-12-13 01:54:21'),
(4, 'Webeons Cloud Music', 'https://music.webeons.cloud', 'WEBEONS_CLOUD', 'INTERNAL', 4, 1, '2020-12-11 00:00:00', '2020-12-13 01:54:25'),
(5, 'Webeons Cloud Videos', 'https://videos.webeons.cloud', 'WEBEONS_CLOUD', 'INTERNAL', 5, 1, '2020-12-11 00:00:00', '2020-12-13 01:54:28'),
(6, 'Webeons Cloud Notes', 'https://notes.webeons.cloud', 'WEBEONS_CLOUD', 'INTERNAL', 7, 1, '2020-12-11 00:00:00', '2021-04-01 17:07:13'),
(7, 'Webeons Cloud ebooks', 'https://ebooks.webeons.cloud', 'WEBEONS_CLOUD', 'INTERNAL', 8, 1, '2020-12-11 00:00:00', '2021-04-01 17:06:44'),
(8, 'Webeons Cloud Calendar', 'https://calendar.webeons.cloud', 'WEBEONS_CLOUD', 'INTERNAL', 9, 1, '2020-12-11 00:00:00', '2021-04-01 17:06:50'),
(9, 'Webeons Cloud DevOps Portal', 'https://portal.devops.webeons.cloud', 'WEBEONS_CLOUD_DEVOPS', 'INTERNAL', 1, 1, '2020-12-12 00:00:00', '2021-01-16 04:14:05'),
(10, 'Webeons Cloud DevOps CodeRepository', 'https://repo.devops.webeons.cloud', 'WEBEONS_CLOUD_DEVOPS', 'INTERNAL', 2, 1, '2020-12-11 00:00:00', '2020-12-13 01:56:44'),
(11, 'Webeons Cloud DevOps CodeBuild', 'https://build.devops.webeons.cloud/login', 'WEBEONS_CLOUD_DEVOPS', 'INTERNAL', 3, 1, '2020-12-11 00:00:00', '2020-12-16 07:10:41'),
(12, 'MiCasaWeb Portal', 'https://portal.micasaweb.xyz', 'MICASAWEB', 'INTERNAL', 1, 1, '2020-12-12 00:00:00', '2021-01-16 04:13:36'),
(13, 'MiCasaWeb Radio (RadioMax) Portal', 'https://radiomax.webeons.net', 'MICASAWEB', 'INTERNAL', 2, 1, '2020-12-12 00:00:00', '2020-12-16 01:46:37'),
(14, 'MiCasaWeb Radio (RadioMax) Stream-1', 'https://play.stream1.radiomax.webeons.net:8034/index.html', 'MICASAWEB', 'INTERNAL', 3, 1, '2020-12-12 00:00:00', '2021-02-10 19:48:06'),
(15, 'MiCasaWeb Radio (RadioMax) Stream-2', 'https://play.stream2.radiomax.webeons.net:8035/about/swyh.html', 'MICASAWEB', 'INTERNAL', 4, 1, '2020-12-12 00:00:00', '2020-12-24 04:15:48'),
(16, 'MiCasaWeb TV - TV Remote', 'https://sirt.tv.micasaweb.xyz', 'MICASAWEB', 'INTERNAL', 5, 1, '2020-12-12 00:00:00', '2020-12-13 01:39:16'),
(17, 'MiCasaWeb Cam', 'https://cam.micasaweb.xyz', 'MICASAWEB', 'INTERNAL', 6, 1, '2020-12-12 00:00:00', '2020-12-13 01:39:19'),
(18, 'IOT HUB Portal', 'https://hub.iot.webeons.net', 'IOT_SERVICE_ARCWEB', 'EXTERNAL', 1, 1, '2020-12-11 00:00:00', '2021-01-10 23:27:11'),
(19, 'Temp Sensor-1', 'https://tempsensor1.iot.webeons.net', 'IOT_SERVICE_ARCWEB', 'INTERNAL', 2, 1, '2021-01-10 23:20:34', '2021-01-10 23:27:28'),
(20, 'Webeons Cloud DevOps CodeIDE', 'https://code.devops.webeons.cloud', 'WEBEONS_CLOUD_DEVOPS', 'INTERNAL', 3, 1, '2021-01-15 00:00:00', '2021-01-16 04:15:32'),
(21, 'Webeons Cloud Videos 2', 'https://videos2.webeons.cloud', 'WEBEONS_CLOUD', 'INTERNAL', 6, 1, '2021-04-01 18:06:20', '2021-04-01 17:06:20'),
(22, 'Status Relay API', 'https://status.arcweb.webeons.net', 'IOT_SERVICE_ARCWEB', 'INTERNAL', 3, 1, '2021-04-20 06:17:12', '2021-04-20 05:17:12'),
(23, 'RadioMax Management API', 'https://api.radiomax.webeons.net:8035/', 'IOT_SERVICE_ARCWEB', 'INTERNAL', 4, 1, '2021-04-20 18:20:37', '2021-04-20 17:20:48'),
(24, 'Internet Status Primary', 'https://status.arcweb.webeons.net/api/gateway-status/primary', 'INTERNET_STATUS', 'INTERNAL', 7, 1, '2021-04-23 23:51:08', '2021-04-23 22:51:08'),
(25, 'Internet Status Secondary-1', 'https://status.arcweb.webeons.net/api/gateway-status/secondary1', 'INTERNET_STATUS', 'INTERNAL', 8, 1, '2021-04-23 23:51:38', '2021-04-23 22:51:38');

