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




--
-- Database: `arcweb_mgmt_portal`
--
CREATE DATABASE IF NOT EXISTS `arcweb_mgmt_portal` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
USE `arcweb_mgmt_portal`;

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

--
-- 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,
  `device_url_amt` varchar(255) NOT NULL,
  `device_url_btrysts` 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=13 ;

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

INSERT INTO `devices` (`device_id`, `device_name`, `device_type`, `device_loc_type`, `device_url_access`, `device_url_amt`, `device_url_btrysts`, `display_order`, `is_active`, `created_on`, `updated_on`) VALUES
(1, 'ARCWEB Server', 'SERVER_INTEL', 'INTERNAL', 'https://arcweb.iot.webeons.net', 'https://d1.ctlx.iot.webeons.net', 'https://d1.btrysts.iot.webeons.net', 1, 1, '2020-12-11 00:00:00', '2020-12-19 19:15:56'),
(2, 'ARCNEXUS Server', 'SERVER_INTEL', 'INTERNAL', 'https://arcnexus.iot.webeons.net', 'https://d2.ctlx.iot.webeons.net', 'https://d2.btrysts.iot.webeons.net', 2, 1, '2020-12-11 00:00:00', '2020-12-19 19:16:01'),
(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', '2020-12-19 19:12:24'),
(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-19 19:12: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', '', '', 9, 0, '2020-12-11 00:00:00', '2020-12-17 21:42:27'),
(10, 'ARCEON-1 Server', 'VM', 'EXTERNAL', 'https://arceon1.iot.webeons.net', '', '', 10, 1, '2020-12-11 00:00:00', '2020-12-17 21:42:30'),
(11, 'ARCEON-2 Server', 'VM', 'EXTERNAL', 'https://arceon2.iot.webeons.net', '', '', 11, 1, '2020-12-11 00:00:00', '2020-12-17 21:42:32'),
(12, 'ARCWATCH Server', 'VM', 'EXTERNAL', 'https://arcwatch.iot.webeons.net', '', '', 12, 1, '2020-12-11 00:00:00', '2020-12-17 21:42:35');

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

--
-- 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=19 ;

--
-- 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-19 19:10:24'),
(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', 6, 1, '2020-12-11 00:00:00', '2020-12-13 01:54:31'),
(7, 'Webeons Cloud ebooks', 'https://ebooks.webeons.cloud', 'WEBEONS_CLOUD', 'INTERNAL', 7, 1, '2020-12-11 00:00:00', '2020-12-13 01:54:34'),
(8, 'Webeons Cloud Calendar', 'https://calendar.webeons.cloud', 'WEBEONS_CLOUD', 'INTERNAL', 8, 1, '2020-12-11 00:00:00', '2020-12-13 01:54:37'),
(9, 'Webeons Cloud DevOps Portal', 'https://portal.devops.webeons.cloud', 'WEBEONS_CLOUD_DEVOPS', 'INTERNAL', 1, 0, '2020-12-12 00:00:00', '2020-12-19 19:09:47'),
(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, 0, '2020-12-12 00:00:00', '2020-12-19 19:09:56'),
(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:8035/index.html', 'MICASAWEB', 'INTERNAL', 3, 1, '2020-12-12 00:00:00', '2020-12-16 07:09:37'),
(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-16 07:09:43'),
(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', '2020-12-16 01:23:33'),
(19, 'Temp Sensor-1', 'https://tempsensor1.iot.webeons.net', 'IOT_SERVICE_ARCWEB', 'EXTERNAL', 2, 1, '2021-01-10 00:00:00', '2021-01-10 00:00:00');

