diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 022787b..0000000 --- a/.gitignore +++ /dev/null @@ -1,11 +0,0 @@ -.tox -.build -*.pyc -repositories/centos/* -repositories/ubuntu/* -*.rpm -*.md5 -doc/build -deployment_scripts/puppet/modules/apt -deployment_scripts/puppet/modules/mariadbrepo -deployment_scripts/puppet/modules/stdlib diff --git a/LICENSE b/LICENSE deleted file mode 100644 index e06d208..0000000 --- a/LICENSE +++ /dev/null @@ -1,202 +0,0 @@ -Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - diff --git a/README.md b/README.md deleted file mode 100644 index 1e79d65..0000000 --- a/README.md +++ /dev/null @@ -1,36 +0,0 @@ -# The Openbook Plugin - -This plugin extends Mirantis OpenStack functionality by adding Openbook customer -onboarding, self-service, and cloud billing / charge-back services. Openbook is cloud -management and reporting software that simplifies the tasks of planning, charging, -and predicting capacity requirements for cloud services. Talligent gives the -administrator and tenant real-time visibility of resources and accrued costs, as well -as the ability to scale up or down according to budget and resource requirements. - -For the Service Provider: Openbook by Talligent is the quickest path to monetizing -OpenStack services. Openbook enables service providers to sell on demand cloud services -based on the OpenStack platform, including dedicated instances, networks, storage, -applications, virtual desktops, and other infrastructure elements or services. Services -can be packaged the way you want: by tiers, metered and sold by the hour, delivered -on-site or as part of a shared infrastructure. Cloud service providers can expand their -customer reach and strengthen their existing relationship via resellers. Openbook natively -supports reseller workflow with corresponding rate plans that support taxation, currency -conversion, proration, discounts, and promotional codes independent from the master -service provider. - -For the Enterprise: Without visibility into the growth of cloud services by department, -it is difficult to accurately predict how much new capacity to add, and when. Openbook -is designed to quickly answer key management questions about the environment – largest -tenants, host utilization, service growth, and project costs. Openbook has a robust -ratings engine tuned to OpenStack and VMware clouds to support hybrid cloud reporting. -Costs can be assigned by tenant, business unit, VP, project, or other cost center. -Managers are automatically updated on their cloud costs as well as performance against -budget. Detailed reports of growth trends, utilization, and seasonal patterns allow -you to better plan for new capacity. - -## Requirements -| Requirement | Version/Comment | -|----------------------------------|-------------------------------------------| -| Mirantis OpenStack compatility | 8.0 | -| Distribution Supported | Ubuntu | -| Talligent Sharefile access | Contact openbook@talligent.com for access | diff --git a/README.rst b/README.rst new file mode 100644 index 0000000..86e34d6 --- /dev/null +++ b/README.rst @@ -0,0 +1,10 @@ +This project is no longer maintained. + +The contents of this repository are still available in the Git +source code management system. To see the contents of this +repository before it reached its end of life, please check out the +previous commit with "git checkout HEAD^1". + +For any further questions, please email +openstack-discuss@lists.openstack.org or join #openstack-dev on +Freenode. diff --git a/TestPlanforOpenbookFuelPlugin.pdf b/TestPlanforOpenbookFuelPlugin.pdf deleted file mode 100644 index 288aa6c..0000000 Binary files a/TestPlanforOpenbookFuelPlugin.pdf and /dev/null differ diff --git a/TestReportforOpenbookFuelPlugin.pdf b/TestReportforOpenbookFuelPlugin.pdf deleted file mode 100644 index ca2d964..0000000 Binary files a/TestReportforOpenbookFuelPlugin.pdf and /dev/null differ diff --git a/deployment_scripts/puppet/manifests/check_environment_configuration.pp b/deployment_scripts/puppet/manifests/check_environment_configuration.pp deleted file mode 100644 index 789404d..0000000 --- a/deployment_scripts/puppet/manifests/check_environment_configuration.pp +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 2015 Talligent, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. - -$openbook = hiera('openbook') - -# Check that JVM size doesn't exceed the physical RAM size -$jvmsize_mb = ($openbook['jvm_heap_size'] + 0.0) * 1024 -$available_mb = $::memorysize_mb - 256 -if $jvmsize_mb > $available_mb { - fail("The configured JVM size (${ $openbook['jvm_heap_size'] } GB) is greater than the total amount of RAM available on the system (${ $available_mb } of ${ ::memorysize_mb }).") -} diff --git a/deployment_scripts/puppet/manifests/deploy.pp b/deployment_scripts/puppet/manifests/deploy.pp deleted file mode 100644 index ff5ad13..0000000 --- a/deployment_scripts/puppet/manifests/deploy.pp +++ /dev/null @@ -1,17 +0,0 @@ -# Copyright 2015 Talligent, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. -# -notice('MODULAR: deploy.pp') -class {'openbook::db::mysql': } -> -class {'openbook::tomcat::server': } diff --git a/deployment_scripts/puppet/manifests/finalize.pp b/deployment_scripts/puppet/manifests/finalize.pp deleted file mode 100644 index 3e2f502..0000000 --- a/deployment_scripts/puppet/manifests/finalize.pp +++ /dev/null @@ -1,17 +0,0 @@ -# Copyright 2015 Talligent, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. -notice('MODULAR: finalize.pp') -$openbook_hash = hiera('openbook') - -class {'openbook::finalize': } diff --git a/deployment_scripts/puppet/modules/openbook/AUTHORS.txt b/deployment_scripts/puppet/modules/openbook/AUTHORS.txt deleted file mode 100644 index 888eee4..0000000 --- a/deployment_scripts/puppet/modules/openbook/AUTHORS.txt +++ /dev/null @@ -1 +0,0 @@ -Jeremy Fluhmann diff --git a/deployment_scripts/puppet/modules/openbook/files/sql/create_openbook_schemas.sql b/deployment_scripts/puppet/modules/openbook/files/sql/create_openbook_schemas.sql deleted file mode 100644 index 8527ba0..0000000 --- a/deployment_scripts/puppet/modules/openbook/files/sql/create_openbook_schemas.sql +++ /dev/null @@ -1,1359 +0,0 @@ -SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0; -SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0; -SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='TRADITIONAL,ALLOW_INVALID_DATES'; - -DROP SCHEMA IF EXISTS openbook; -CREATE SCHEMA openbook DEFAULT CHARACTER SET utf8; - -GRANT ALL PRIVILEGES ON openbook.* TO openbook@'%' IDENTIFIED BY 'Tall!g3nt'; -GRANT ALL PRIVILEGES ON openbook.* TO openbook@localhost IDENTIFIED BY 'Tall!g3nt'; -FLUSH PRIVILEGES; - -USE openbook; - -CREATE TABLE t_audit_event ( - event_id INT UNSIGNED NOT NULL AUTO_INCREMENT, - event_time DATETIME(6) NOT NULL, - event_type VARCHAR(32) NOT NULL, - entity_id VARCHAR(64) NOT NULL, - entity_name VARCHAR(255) NULL, - entity_type VARCHAR(45) NOT NULL, - user_id VARCHAR(128) NULL, - event_data LONGTEXT NULL, - PRIMARY KEY (event_id), - INDEX ix_audit_event_1 (event_time, event_type, entity_id), - INDEX ix_audit_event_2 (user_id, event_time)) -ENGINE = InnoDB -DEFAULT CHARACTER SET = utf8; - -CREATE TABLE t_billable_feature ( - billable_feature_id INT UNSIGNED NOT NULL AUTO_INCREMENT, - billable_feature_category VARCHAR(128) NOT NULL, - billable_feature_vendor_type VARCHAR(128) NOT NULL, - billable_feature_type VARCHAR(128) NOT NULL, - billable_feature_subtypes LONGTEXT NULL DEFAULT NULL, - billable_feature_subtype_classifier LONGTEXT NULL DEFAULT NULL, - billable_feature_description LONGTEXT NULL DEFAULT NULL, - billable_feature_details LONGTEXT NULL DEFAULT NULL, - PRIMARY KEY (billable_feature_id), - UNIQUE INDEX ix_billable_feature_1 (billable_feature_vendor_type ASC, billable_feature_type ASC)) -ENGINE = InnoDB -DEFAULT CHARACTER SET = utf8; - -CREATE TABLE t_credit ( - credit_id INT UNSIGNED NOT NULL AUTO_INCREMENT, - payer_id INT UNSIGNED NOT NULL, - payer_type VARCHAR(64) NOT NULL, - credit_amount DECIMAL(19,2) NULL, - remaining_amount DECIMAL(19,2) NULL, - credit_type VARCHAR(16) NOT NULL, - granted_by VARCHAR(256) NOT NULL, - posted_date DATETIME(6) NOT NUll, - expire_date DATETIME(6) NOT NULL, - currency VARCHAR(3) NOT NULL, - PRIMARY KEY (credit_id), - INDEX ix_credit_1 (payer_id, payer_type, expire_date)) - ENGINE = InnoDB - DEFAULT CHARACTER SET = utf8; - -CREATE TABLE t_customer ( - customer_id INT UNSIGNED NOT NULL AUTO_INCREMENT, - resource_manager_id VARCHAR(36) NULL DEFAULT NULL, - resource_manager_foreign_id VARCHAR(512) NULL DEFAULT NULL, - customer_name VARCHAR(512) NOT NULL, - other_foreign_ids LONGTEXT NULL DEFAULT NULL, - tax_rate DECIMAL(18,4) NULL DEFAULT 0.0000, - currency CHAR(6) NULL DEFAULT NULL, - discount_percent DECIMAL(18,4) NULL DEFAULT 0.0000, - billing_frequency VARCHAR(40) NULL DEFAULT NULL, - last_bill_date DATETIME(6) NULL DEFAULT NULL, - next_bill_date DATETIME(6) NULL DEFAULT NULL, - is_active TINYINT(1) NULL DEFAULT 1, - create_date DATETIME(6) NULL DEFAULT NULL, - activate_date DATETIME(6) NULL DEFAULT NULL, - billing_start_date DATETIME(6) NULL DEFAULT NULL, - last_payment_date DATETIME(6) NULL DEFAULT NULL, - deactivate_date DATETIME(6) NULL DEFAULT NULL, - description VARCHAR(5120) NULL DEFAULT NULL, - minimum_invoice_commitment DECIMAL(19,4) NULL, - invoicing_method VARCHAR(32) NOT NULL, - management_region_id VARCHAR(64) NULL, - infrastructure_region_id VARCHAR(64) NULL, - billing_address_line_1 VARCHAR(512) NULL, - billing_address_line_2 VARCHAR(512) NULL, - billing_address_city VARCHAR(512) NULL, - billing_address_region VARCHAR(128) NULL, - billing_address_country VARCHAR(2) NULL, - billing_address_postal_code VARCHAR(64) NULL, - payer_payment_details VARCHAR(5120) NULL, - payment_method_confirmed TINYINT(1) DEFAULT 0, - balance_due DECIMAL(19,4) NULL DEFAULT 0, - PRIMARY KEY (customer_id), - INDEX ix_customer_1 (resource_manager_id ASC), - INDEX ix_customer_2 (resource_manager_foreign_id(255) ASC), - UNIQUE INDEX ix_customer_3 (management_region_id, customer_name(255))) -ENGINE = InnoDB -DEFAULT CHARACTER SET = utf8; - -CREATE TABLE t_discount ( - discount_id INT UNSIGNED NOT NULL AUTO_INCREMENT, - payer_id INT UNSIGNED NOT NULL, - payer_type VARCHAR(64) NOT NULL, - discount_percent DECIMAL(5,2) NOT NULL, - granted_by VARCHAR(256) NOT NULL, - apply_to_charge_category VARCHAR(32) NOT NULL, - trigger_charge_category VARCHAR(32) NULL, - trigger_amount DECIMAL(19,2) NULL, - start_date DATETIME(6) NOT NULL, - end_date DATETIME(6) NOT NULL, - PRIMARY KEY (discount_id), - INDEX ix_discount_1 (payer_id, payer_type, end_date)) - ENGINE = InnoDB - DEFAULT CHARACTER SET = utf8; - -CREATE TABLE t_email_notification ( - message_id INT UNSIGNED NOT NULL AUTO_INCREMENT, - recipient VARCHAR(128) NOT NULL, - sender VARCHAR(128) NOT NULL, - subject VARCHAR(256) NOT NULL, - message_text LONGTEXT NOT NULL, - smtp_server_details LONGTEXT NOT NULL, - date_generated DATETIME(6) NOT NULL, - date_sent DATETIME(6) NULL, - date_last_send_attempt DATETIME(6) NULL, - send_status VARCHAR(16) NULL, - send_status_detail VARCHAR(5120) NULL, - send_attempt_count SMALLINT NULL, - PRIMARY KEY (message_id), - INDEX ix_email_notification_1 (recipient, date_generated), - INDEX ix_email_notification_2 (sender, date_generated), - INDEX ix_email_notification_3 (date_sent)) -ENGINE = InnoDB -DEFAULT CHARACTER SET = utf8; - -CREATE TABLE t_email_template ( - provider_id INT UNSIGNED NOT NULL AUTO_INCREMENT, - template_subject VARCHAR(256) NOT NULL, - template_name VARCHAR(128) NOT NULL, - template_text LONGTEXT NOT NULL, - PRIMARY KEY (provider_id, template_name)) -ENGINE = InnoDB -DEFAULT CHARACTER SET = utf8; - -CREATE TABLE t_entity_attribute ( - entity_id INT UNSIGNED NOT NULL AUTO_INCREMENT, - attribute_class VARCHAR(32) NOT NULL, - attribute_category VARCHAR(128) NOT NULL, - attribute_name VARCHAR(128) NOT NULL, - attribute_value VARCHAR(512) NOT NULL, - attribute_unit VARCHAR(64) NULL DEFAULT NULL, - add_date DATETIME(6) NULL DEFAULT NULL, - expire_date DATETIME(6) NOT NULL, - PRIMARY KEY (entity_id ASC, expire_date ASC, attribute_class ASC, attribute_category ASC, attribute_name ASC), - INDEX ix_entity_attribute_1 (attribute_class ASC), - INDEX ix_entity_attribute_2 (attribute_category ASC), - INDEX ix_entity_attribute_3 (attribute_name ASC)) -ENGINE = InnoDB -DEFAULT CHARACTER SET = utf8; - -CREATE TABLE t_invoice ( - invoice_id INT UNSIGNED NOT NULL AUTO_INCREMENT, - payer_id INT UNSIGNED NOT NULL, - payer_type VARCHAR(64) NOT NULL, - payer_name VARCHAR(512) NOT NULL, - invoice_number VARCHAR(45) NULL, - invoice_date DATETIME(6) NOT NULL, - period_begin DATETIME(6) NOT NULL, - period_end DATETIME(6) NOT NULL, - invoice_amount DECIMAL(19,2) NOT NULL, - actual_charges DECIMAL(19,2) NOT NULL, - invoice_currency VARCHAR(16) NULL, - management_region_id INT UNSIGNED NOT NULL, - balance_due DECIMAL(19,2) NOT NULL, - PRIMARY KEY (invoice_id), - INDEX ix_invoice_1 (management_region_id, payer_type, payer_id ASC)) -ENGINE = InnoDB -DEFAULT CHARACTER SET = utf8; - -CREATE TABLE t_invoice_detail ( - invoice_id INT UNSIGNED NOT NULL, - customer_id INT UNSIGNED NOT NULL, - resource_group_id VARCHAR(36) NULL, - invoice_group VARCHAR(128) NULL, - item_name VARCHAR(512) NULL, - item_vendor_type VARCHAR(128) NULL, - item_type VARCHAR(128) NOT NULL, - item_subtype VARCHAR(128) NOT NULL, - item_description VARCHAR(512) NOT NULL, - rate_plan_id VARCHAR(36) NULL, - rate_plan_billable_feature_id VARCHAR(36) NULL DEFAULT NULL, - billing_interval VARCHAR(64) NULL DEFAULT NULL, - item_invoice_amount DECIMAL(19,2) NOT NULL, - num_units VARCHAR(32) NOT NULL, - num_units_unit VARCHAR(16) NULL, - INDEX ix_invoice_detail_1 (invoice_id ASC), - INDEX ix_invoice_detail_2 (customer_id ASC), - INDEX ix_invoice_detail_3 (item_vendor_type, item_type, item_subtype ASC), - INDEX ix_invoice_detail_4 (rate_plan_id ASC)) -ENGINE = InnoDB -DEFAULT CHARACTER SET = utf8; - -CREATE TABLE t_job_status ( - job_id VARCHAR(256) NOT NULL, - start_time DATETIME(6) NOT NULL, - end_time DATETIME(6) NULL DEFAULT NULL, - status VARCHAR(32) NULL DEFAULT NULL, - result VARCHAR(32) NULL DEFAULT NULL, - result_detail LONGTEXT NULL DEFAULT NULL, - PRIMARY KEY (job_id(255), start_time)) -ENGINE = InnoDB -DEFAULT CHARACTER SET = utf8; - -CREATE TABLE t_lookup_values ( - type VARCHAR(128) NOT NULL, - name VARCHAR(256) NOT NULL, - value LONGTEXT NOT NULL, - PRIMARY KEY (type, name(255))) -ENGINE = InnoDB -DEFAULT CHARACTER SET = utf8; - -CREATE TABLE t_parent_child_relationships ( - parent_id INT UNSIGNED NOT NULL, - parent_type VARCHAR(64) NOT NULL, - child_id INT UNSIGNED NOT NULL, - child_type VARCHAR(64) NOT NULL, - assigned_quantity INT NOT NULL DEFAULT 1, - add_date DATETIME(6) NOT NULL, - remove_date DATETIME(6) NOT NULL, - PRIMARY KEY (parent_id, parent_type, child_id, child_type, add_date, remove_date), - INDEX ix_parent_child_relationships_1 (child_id, child_type ASC), - INDEX ix_parent_child_relationships_2 (parent_id, parent_type ASC)) -ENGINE = InnoDB -DEFAULT CHARACTER SET = utf8; - -CREATE TABLE t_payment ( - payment_id INT UNSIGNED NOT NULL AUTO_INCREMENT, - payer_id INT UNSIGNED NOT NULL, - payer_type VARCHAR(64) NOT NULL, - payment_date DATETIME(6) NOT NULL, - amount DECIMAL(19,2) NOT NULL, - payment_method VARCHAR(64) NOT NULL, - payment_reference VARCHAR(256) NULL, - payment_method_detail LONGTEXT NULL DEFAULT NULL, - payment_status VARCHAR(64) NULL DEFAULT NULL, - payment_status_detail LONGTEXT NULL DEFAULT NULL, - PRIMARY KEY (payment_id), - INDEX ix_payment_1 (payer_type, payer_id, payment_date)) -ENGINE = InnoDB -DEFAULT CHARACTER SET = utf8; - -CREATE TABLE t_promo_code ( - management_region_id INT UNSIGNED NOT NULL, - promo_code_id INT UNSIGNED NOT NULL AUTO_INCREMENT, - promo_code VARCHAR(128) NOT NULL, - salesperson VARCHAR(128) NULL, - discount_or_credit VARCHAR(8) NOT NULL, - credit_amount DECIMAL(19,2) NULL, - credit_type VARCHAR(16) NULL, - apply_to_charge_category VARCHAR(32) NULL, - trigger_charge_category VARCHAR(32) NULL, - trigger_amount DECIMAL(19,2) NULL, - discount_percent DECIMAL(5,2) NULL, - available_invoice_periods INT NULL, - expire_date DATETIME(6) NULL, - currency VARCHAR(3) NULL DEFAULT NULL, - PRIMARY KEY (promo_code_id), - INDEX ix_promo_code_1 (promo_code), - INDEX ix_promo_code_2 (salesperson), - UNIQUE INDEX ix_promo_code_3 (management_region_id, promo_code)) - ENGINE = InnoDB - DEFAULT CHARACTER SET = utf8; - -CREATE TABLE t_promo_code_redemption ( - promo_code_id INT UNSIGNED NOT NULL, - payer_id INT UNSIGNED NOT NULL, - payer_type VARCHAR(64) NOT NULL, - redemption_date DATETIME(6) NULL, - PRIMARY KEY (payer_id, promo_code_id)) - ENGINE = InnoDB - DEFAULT CHARACTER SET = utf8; - - -CREATE TABLE t_provider ( - provider_id INT UNSIGNED NOT NULL AUTO_INCREMENT, - provider_name VARCHAR(512) NOT NULL, - provider_type VARCHAR(64) NOT NULL, - other_foreign_ids LONGTEXT NULL DEFAULT NULL, - tax_rate DECIMAL(18,4) NULL DEFAULT 0.0000, - currency CHAR(6) NULL DEFAULT NULL, - discount_percent DECIMAL(18,4) NULL DEFAULT 0.0000, - billing_frequency VARCHAR(40) NULL DEFAULT NULL, - last_bill_date DATETIME(6) NULL DEFAULT NULL, - next_bill_date DATETIME(6) NULL DEFAULT NULL, - last_payment_date DATETIME(6) NULL DEFAULT NULL, - is_active TINYINT(1) NULL DEFAULT 1, - create_date DATETIME(6) NULL DEFAULT NULL, - activate_date DATETIME(6) NULL DEFAULT NULL, - billing_start_date DATETIME(6) NULL DEFAULT NULL, - deactivate_date DATETIME(6) NULL DEFAULT NULL, - description LONGTEXT NULL DEFAULT NULL, - minimum_invoice_commitment DECIMAL(19,2) NULL, - invoicing_method VARCHAR(32) NULL DEFAULT NULL, - invoice_processing_method VARCHAR(32) NULL DEFAULT NULL, - billing_address_line_1 VARCHAR(512) NULL, - billing_address_line_2 VARCHAR(512) NULL, - billing_address_city VARCHAR(512) NULL, - billing_address_region VARCHAR(128) NULL, - billing_address_country VARCHAR(2) NULL, - billing_address_postal_code VARCHAR(64) NULL, - legal_address_line_1 VARCHAR(512) NULL, - legal_address_line_2 VARCHAR(512) NULL, - legal_address_city VARCHAR(512) NULL, - legal_address_region VARCHAR(128) NULL, - legal_address_country VARCHAR(2) NULL, - legal_address_postal_code VARCHAR(64) NULL, - payer_payment_details VARCHAR (5120) NULL, - payee_payment_details VARCHAR(5120) NULL, - public_url VARCHAR(512) NOT NULL, - private_url VARCHAR(512) NOT NULL, - management_region_id VARCHAR(64) NOT NULL, - notification_settings LONGTEXT NOT NULL, - personalization_settings LONGTEXT NOT NULL, - balance_due DECIMAL(19,2) NULL, - openbook_processes_payments TINYINT(1) NULL DEFAULT 1, - openbook_processes_past_due_invoices TINYINT(1) NULL DEFAULT 1, - openstack_tenant_id VARCHAR(36) NULL DEFAULT NULL, - PRIMARY KEY (provider_id), - UNIQUE INDEX ix_provider_1 (public_url(255)), - UNIQUE INDEX ix_provider_2 (management_region_id)) - ENGINE = InnoDB - DEFAULT CHARACTER SET = utf8; - -CREATE TABLE t_provider_region ( - provider_id INT UNSIGNED NOT NULL, - region_id INT UNSIGNED NOT NULL, - PRIMARY KEY (provider_id, region_id)) - ENGINE = InnoDB - DEFAULT CHARACTER SET = utf8; - -CREATE TABLE t_provisioned_entity ( - entity_id INT UNSIGNED NOT NULL AUTO_INCREMENT, - billable_feature_id INT UNSIGNED NOT NULL, - entity_name VARCHAR(256) NOT NULL, - entity_subtype VARCHAR(128) NULL DEFAULT NULL, - customer_id INT UNSIGNED NOT NULL, - resource_manager_id INT UNSIGNED NOT NULL, - infrastructure_region_id INT UNSIGNED NOT NULL, - entity_foreign_id VARCHAR(256) NULL DEFAULT NULL, - provisioned_date DATETIME(6) NULL DEFAULT NULL, - deprovisioned_date DATETIME(6) NULL DEFAULT NULL, - PRIMARY KEY (entity_id), - INDEX ix_provisioned_entity_1 (entity_foreign_id(255) ASC), - INDEX ix_provisioned_entity_2 (customer_id), - INDEX ix_provisioned_entity_3 (resource_manager_id ASC)) -ENGINE = InnoDB -DEFAULT CHARACTER SET = utf8; - -CREATE TABLE t_rate_plan ( - rate_plan_id INT UNSIGNED NOT NULL AUTO_INCREMENT, - rate_plan_name VARCHAR(255) NULL DEFAULT NULL, - applies_to VARCHAR(32) NOT NULL, - rate_plan_description VARCHAR(1024) NULL DEFAULT NULL, - proration_details LONGTEXT NULL DEFAULT NULL, - currency CHAR(6) NULL DEFAULT NULL, - discount_percent VARCHAR(20) NULL DEFAULT NULL, - management_region_id VARCHAR(64) NOT NULL, - PRIMARY KEY (rate_plan_id), - INDEX ix_rate_plan_1 (management_region_id ASC), - UNIQUE INDEX ix_rate_plan_2 (management_region_id, rate_plan_name)) -ENGINE = InnoDB -DEFAULT CHARACTER SET = utf8; - -CREATE TABLE t_rate_plan_assignment ( - rate_plan_id INT UNSIGNED NOT NULL, - assignee_id INT UNSIGNED NOT NULL, - assignee_type VARCHAR(64) NOT NULL, - assignment_start_date DATETIME(6) NOT NULL, - assignment_end_date DATETIME(6) NOT NULL, - assignment_type VARCHAR(64) NOT NULL, - PRIMARY KEY (rate_plan_id, assignee_id, assignment_start_date, assignment_end_date), - INDEX ix_rate_plan_assignment_1 (assignee_type, assignee_id, assignment_start_date, assignment_end_date ASC), - INDEX ix_rate_plan_assignment_2 (assignment_type, assignee_id, assignment_start_date, assignment_end_date ASC)) -ENGINE = InnoDB -DEFAULT CHARACTER SET = utf8; - -CREATE TABLE t_rate_plan_billable_attribute ( - rate_plan_id INT UNSIGNED NOT NULL, - feature_type VARCHAR(128) NOT NULL, - attribute_class VARCHAR(32) NOT NULL, - attribute_category VARCHAR(128) NOT NULL, - attribute_name VARCHAR(128) NOT NULL, - attribute_value VARCHAR(512) NOT NULL, - attribute_unit VARCHAR(64) NULL DEFAULT NULL, - attribute_datatype VARCHAR(32) NOT NULL, - charge VARCHAR(32) NOT NULL, - operator VARCHAR(32) NULL DEFAULT NULL, - billing_scheme VARCHAR(64) NOT NULL, - cost_calculation_frequency VARCHAR(64) NOT NULL, - filter TEXT NULL, - infrastructure_region_id INT UNSIGNED NOT NULL DEFAULT 0, - INDEX ix_rate_plan_billable_attribute_1 (rate_plan_id, infrastructure_region_id)) -ENGINE = InnoDB -DEFAULT CHARACTER SET = utf8; - -CREATE TABLE t_rate_plan_billable_feature ( - rate_plan_id INT UNSIGNED NOT NULL, - billable_feature_id INT UNSIGNED NOT NULL, - billable_feature_subtype VARCHAR(128) NOT NULL, - billable_interval_type VARCHAR(64) NOT NULL, - cost_calculation_frequency VARCHAR(64) NOT NULL, - charge VARCHAR(100) NULL DEFAULT NULL, - infrastructure_region_id INT UNSIGNED NOT NULL DEFAULT 0, - PRIMARY KEY (rate_plan_id, infrastructure_region_id, billable_feature_id, billable_feature_subtype, billable_interval_type)) -ENGINE = InnoDB -DEFAULT CHARACTER SET = utf8; - -CREATE TABLE t_rate_plan_billable_metric ( - rate_plan_id INT UNSIGNED NOT NULL, - vendor_type VARCHAR(128) NOT NULL, - metric_name VARCHAR(128) NOT NULL, - metric_unit VARCHAR(32) NULL DEFAULT NULL, - metric_type VARCHAR(32) NULL DEFAULT NULL, - billing_scheme VARCHAR(64) NOT NULL, - billing_scheme_details LONGTEXT NULL DEFAULT NULL, - infrastructure_region_id INT UNSIGNED NOT NULL DEFAULT 0, - PRIMARY KEY (rate_plan_id, infrastructure_region_id, vendor_type, metric_name, billing_scheme)) -ENGINE = InnoDB -DEFAULT CHARACTER SET = utf8; - -CREATE TABLE t_rate_plan_billable_event ( - rate_plan_id INT UNSIGNED NOT NULL, - billable_feature_id INT UNSIGNED NOT NULL, - billable_feature_subtype VARCHAR(128) NOT NULL, - event_type VARCHAR(128) NOT NULL, - charge VARCHAR(100) NOT NULL, - billing_scheme_details LONGTEXT NULL DEFAULT NULL, - infrastructure_region_id INT UNSIGNED NOT NULL DEFAULT 0, - PRIMARY KEY (rate_plan_id, infrastructure_region_id, billable_feature_id, billable_feature_subtype, event_type)) -ENGINE = InnoDB -DEFAULT CHARACTER SET = utf8; - -CREATE TABLE t_region ( - region_id INT UNSIGNED NOT NULL AUTO_INCREMENT, - region_name VARCHAR(128) NOT NULL, - region_type VARCHAR(64) NOT NULL, - parent_region_id INT UNSIGNED NULL DEFAULT NULL, - PRIMARY KEY (region_id), - UNIQUE INDEX ix_region_1 (parent_region_id, region_type, region_name ASC), - INDEX ix_region_2 (parent_region_id)) -ENGINE = InnoDB -DEFAULT CHARACTER SET = utf8; - -CREATE TABLE t_resource_configuration_history ( - resource_id INT UNSIGNED NOT NULL, - resource_name VARCHAR(512) NULL DEFAULT NULL, - resource_foreign_id VARCHAR(146) NULL DEFAULT NULL, - resource_configuration LONGTEXT NOT NULL, - start_date DATETIME(6) NOT NULL, - end_date DATETIME(6) NOT NULL, - customer_id LONGTEXT NULL DEFAULT NULL, - customer_foreign_id VARCHAR(146) NULL DEFAULT NULL, - customer_name VARCHAR(512) NULL DEFAULT NULL, - resource_manager_id VARCHAR(72) NULL DEFAULT NULL, - resource_manager_name VARCHAR(512) NULL DEFAULT NULL, - resource_manager_foreign_id VARCHAR(72) NULL DEFAULT NULL) -ENGINE = InnoDB -DEFAULT CHARACTER SET = utf8; - -CREATE TABLE t_resource_event ( - event_id VARCHAR(100) NOT NULL, - event_type VARCHAR(128) NOT NULL, - event_date DATETIME(6) NOT NULL, - resource_id VARCHAR(36) NULL DEFAULT NULL, - resource_name VARCHAR(256) NULL DEFAULT NULL, - resource_foreign_id VARCHAR(512) NULL DEFAULT NULL, - customer_id VARCHAR(36) NULL DEFAULT NULL, - customer_name VARCHAR(512) NULL DEFAULT NULL, - customer_foreign_id VARCHAR(512) NULL DEFAULT NULL, - resource_manager_id VARCHAR(36) NOT NULL, - resource_manager_foreign_id VARCHAR(512) NULL DEFAULT NULL, - infrastructure_region_id INT UNSIGNED NULL DEFAULT NULL, - management_region_id INT UNSIGNED NULL DEFAULT NULL, - PRIMARY KEY (resource_manager_id, event_id), - INDEX ix_vm_event_1 (resource_foreign_id(255) ASC, event_date ASC), - INDEX ix_vm_event_2 (customer_id ASC), - INDEX ix_vm_event_3 (resource_name(255), event_date DESC), - INDEX ix_vm_event_4 (resource_manager_id ASC)) -ENGINE = InnoDB -DEFAULT CHARACTER SET = utf8; - -CREATE TABLE t_resource_group ( - resource_group_id INT UNSIGNED NOT NULL AUTO_INCREMENT, - resource_group_name VARCHAR(512) NOT NULL, - resource_group_type VARCHAR(64) NULL DEFAULT NULL, - customer_id INT UNSIGNED NOT NULL, - parent_id INT UNSIGNED NOT NULL, - parent_type VARCHAR(64) NOT NULL, - PRIMARY KEY (resource_group_id), - INDEX ix_resource_group_1 (parent_id ASC), - INDEX ix_resource_group_2 (customer_id ASC)) -ENGINE = InnoDB -DEFAULT CHARACTER SET = utf8; - -CREATE TABLE t_resource_in_use_interval ( - resource_id VARCHAR(36) NULL DEFAULT NULL, - resource_name VARCHAR(512) NULL DEFAULT NULL, - resource_foreign_id LONGTEXT NULL DEFAULT NULL, - interval_type VARCHAR(64) NOT NULL, - start_date DATETIME(6) NOT NULL, - end_date DATETIME(6) NOT NULL, - interval_length_milliseconds BIGINT(20) NULL DEFAULT NULL, - resource_manager_id VARCHAR(36) NULL DEFAULT NULL, - resource_manager_name VARCHAR(512) NULL DEFAULT NULL, - resource_manager_foreign_id VARCHAR(512) NULL DEFAULT NULL, - customer_id VARCHAR(36) NULL DEFAULT NULL, - customer_name VARCHAR(512) NULL DEFAULT NULL, - customer_foreign_id VARCHAR(512) NULL DEFAULT NULL, - management_region_id INT UNSIGNED NOT NULL, - PRIMARY KEY (resource_id, interval_type, start_date, end_date), - INDEX ix_resource_in_use_interval_1 (resource_name(255) ASC), - INDEX ix_resource_in_use_interval_2 (customer_name(255) ASC)) -ENGINE = InnoDB -DEFAULT CHARACTER SET = utf8; - -CREATE TABLE t_resource_manager ( - resource_manager_id INT UNSIGNED NOT NULL AUTO_INCREMENT, - resource_manager_name VARCHAR(512) NOT NULL, - resource_manager_description VARCHAR(1024) NULL DEFAULT NULL, - resource_manager_vendor_type VARCHAR(64) NULL DEFAULT NULL, - resource_manager_foreign_id VARCHAR(512) NULL DEFAULT NULL, - metadata LONGTEXT NULL DEFAULT NULL, - last_metric_sync_times VARCHAR(5120) NULL DEFAULT NULL, - last_entity_sync_times VARCHAR(5120) NULL DEFAULT NULL, - infrastructure_region_id INT UNSIGNED NOT NULL, - PRIMARY KEY (resource_manager_id)) -ENGINE = InnoDB -DEFAULT CHARACTER SET = utf8; - -CREATE TABLE t_resource_manager_sync_times ( - resource_manager_id INT UNSIGNED NOT NULL, - sync_time_key VARCHAR(255) NOT NULL, - sync_time VARCHAR(255) NOT NULL, - PRIMARY KEY (resource_manager_id, sync_time_key)) -ENGINE=InnoDB -DEFAULT CHARACTER SET = utf8; - -CREATE TABLE t_usage_metric ( - resource_id INT UNSIGNED NULL DEFAULT 0, - resource_foreign_id VARCHAR(255) NOT NULL, - resource_name VARCHAR(256) NULL DEFAULT NULL, - resource_type VARCHAR(256) NULL DEFAULT NULL, - metric_name VARCHAR(128) NOT NULL, - metric_interval VARCHAR(64) NULL DEFAULT 600, - collection_time DATETIME(6) NOT NULL, - collection_hour varchar(10) NOT NULL, - metric_value DOUBLE NOT NULL, - metric_unit VARCHAR(64) NOT NULL, - customer_id INT UNSIGNED NOT NULL, - customer_name VARCHAR(256) NULL DEFAULT NULL, - customer_foreign_id VARCHAR(255) NULL DEFAULT NULL, - resource_manager_id INT UNSIGNED NOT NULL, - infrastructure_region_id INT UNSIGNED NOT NULL, - management_region_id INT UNSIGNED NOT NULL, - PRIMARY KEY (resource_foreign_id, metric_name, collection_time), - INDEX ix_usage_metrics_2 (customer_id, collection_time, resource_foreign_id, metric_name)) - ENGINE = InnoDB - DEFAULT CHARACTER SET = utf8; - -CREATE TABLE t_user_permissions ( - user_id INT UNSIGNED NOT NULL, - permission LONGTEXT NOT NULL, - PRIMARY KEY (user_id, permission(255))) -ENGINE = InnoDB -DEFAULT CHARACTER SET = utf8; - -CREATE TABLE t_user_roles ( - user_id INT UNSIGNED NOT NULL, - role_name VARCHAR(128) NOT NULL, - role_context INT UNSIGNED NOT NULL, - context_type VARCHAR(64) NOT NULL, - UNIQUE INDEX (user_id, role_name, role_context, context_type)) -ENGINE = InnoDB -DEFAULT CHARACTER SET = utf8; - -CREATE TABLE t_users ( - user_id INT UNSIGNED NOT NULL AUTO_INCREMENT, - username VARCHAR(128) NOT NULL, - first_name VARCHAR(256) NULL DEFAULT NULL, - last_name VARCHAR(256) NULL DEFAULT NULL, - email_address VARCHAR(512) NULL DEFAULT NULL, - phone_number VARCHAR(64) NULL DEFAULT NULL, - password VARCHAR(512) NOT NULL, - is_active TINYINT(1) NULL DEFAULT NULL, - password_change_token VARCHAR(64) NULL, - last_password_change_date DATETIME(6) NULL, - password_change_token_expire_date DATETIME(6) NULL, - PRIMARY KEY (user_id), - UNIQUE INDEX (username)) -ENGINE = InnoDB -DEFAULT CHARACTER SET = utf8; - -CREATE TABLE t_unbilled_charges ( - invoice_id INT UNSIGNED NOT NULL AUTO_INCREMENT, - payer_id INT UNSIGNED NOT NULL, - payer_type VARCHAR(64) NOT NULL, - payer_name VARCHAR(512) NOT NULL, - invoice_number VARCHAR(45) NULL, - invoice_date DATETIME(6) NOT NULL, - period_begin DATETIME(6) NOT NULL, - period_end DATETIME(6) NOT NULL, - invoice_amount DECIMAL(19,2) NOT NULL, - actual_charges DECIMAL(19,2) NOT NULL, - invoice_currency VARCHAR(16) NULL, - management_region_id INT UNSIGNED NOT NULL, - PRIMARY KEY (invoice_id), - INDEX t_unbilled_charges_1 (management_region_id, payer_type, payer_id ASC)) -ENGINE = InnoDB -DEFAULT CHARACTER SET = utf8; - -CREATE TABLE t_unbilled_charges_detail ( - invoice_id INT UNSIGNED NOT NULL, - customer_id INT UNSIGNED NOT NULL, - resource_group_id VARCHAR(36) NULL, - invoice_group VARCHAR(128) NULL, - item_name VARCHAR(512) NULL, - item_vendor_type VARCHAR(128) NULL, - item_type VARCHAR(128) NOT NULL, - item_subtype VARCHAR(128) NOT NULL, - item_description VARCHAR(512) NOT NULL, - rate_plan_id VARCHAR(36) NULL, - rate_plan_billable_feature_id VARCHAR(36) NULL DEFAULT NULL, - billing_interval VARCHAR(64) NULL DEFAULT NULL, - item_invoice_amount DECIMAL(19,2) NOT NULL, - num_units VARCHAR(32) NOT NULL, - num_units_unit VARCHAR(16) NULL, - INDEX ix_unbilled_charges_detail_1 (invoice_id ASC), - INDEX ix_unbilled_charges_detail_2 (customer_id ASC), - INDEX ix_unbilled_charges_detail_3 (item_vendor_type, item_type, item_subtype ASC), - INDEX ix_unbilled_charges_detail_4 (rate_plan_id ASC)) -ENGINE = InnoDB -DEFAULT CHARACTER SET = utf8; - --- ----------------------------------------------------- --- Views --- ----------------------------------------------------- - -CREATE VIEW v_invoice_detail AS SELECT - i.*, - c.customer_name - FROM - (t_invoice_detail i - LEFT JOIN t_customer c ON ((i.customer_id = c.customer_id))); - -CREATE VIEW v_customer AS SELECT - c.*, - r1.region_name as management_region_name, - r2.region_name as infrastructure_region_name - FROM - (t_customer c - LEFT JOIN t_region r1 ON (c.management_region_id = r1.region_id) - LEFT JOIN t_region r2 ON (c.infrastructure_region_id = r2.region_id)); - -CREATE VIEW v_rate_plan_assignment AS SELECT - a.*, - r.management_region_id - FROM - (t_rate_plan_assignment a - LEFT JOIN t_rate_plan r ON (a.rate_plan_id = r.rate_plan_id)); - -CREATE VIEW v_users AS SELECT - u.*, - r.role_name, - r.role_context - FROM - (t_users u - LEFT JOIN t_user_roles r ON (u.user_id = r.user_id)); - -CREATE VIEW v_provider AS SELECT - t_provider.*, - t_region.parent_region_id as parent_management_region_id - FROM - (t_provider - LEFT JOIN t_region ON (t_region.region_id = t_provider.management_region_id)); - -CREATE VIEW v_provider_region AS SELECT - t_region.*, - t_provider_region.provider_id - FROM - (t_region - LEFT JOIN t_provider_region ON (t_region.region_id = t_provider_region.region_id)); - -CREATE VIEW v_unbilled_charges_detail AS SELECT - i.*, - c.customer_name - FROM - (t_unbilled_charges_detail i - LEFT JOIN t_customer c ON ((i.customer_id = c.customer_id))); - -commit; - -SET SQL_MODE=@OLD_SQL_MODE; -SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS; -SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS; - --- ----------------------------------------------------- --- Recreate workflow schema and tables. --- ----------------------------------------------------- - -DROP SCHEMA IF EXISTS openbook_workflow; -CREATE SCHEMA openbook_workflow DEFAULT CHARACTER SET utf8; - -GRANT ALL PRIVILEGES ON openbook_workflow.* TO openbook@'%' IDENTIFIED BY 'Tall!g3nt'; -GRANT ALL PRIVILEGES ON openbook_workflow.* TO openbook@localhost IDENTIFIED BY 'Tall!g3nt'; -FLUSH PRIVILEGES; - -USE openbook_workflow; - -create table ACT_GE_PROPERTY ( - NAME_ varchar(64), - VALUE_ varchar(300), - REV_ integer, - primary key (NAME_) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; - -insert into ACT_GE_PROPERTY -values ('schema.version', '5.14', 1); - -insert into ACT_GE_PROPERTY -values ('schema.history', 'create(5.14)', 1); - -insert into ACT_GE_PROPERTY -values ('next.dbid', '1', 1); - -create table ACT_GE_BYTEARRAY ( - ID_ varchar(64), - REV_ integer, - NAME_ varchar(255), - DEPLOYMENT_ID_ varchar(64), - BYTES_ LONGBLOB, - GENERATED_ TINYINT, - primary key (ID_) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; - -create table ACT_RE_DEPLOYMENT ( - ID_ varchar(64), - NAME_ varchar(255), - CATEGORY_ varchar(255), - DEPLOY_TIME_ timestamp, - primary key (ID_) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; - -create table ACT_RE_MODEL ( - ID_ varchar(64) not null, - REV_ integer, - NAME_ varchar(255), - KEY_ varchar(255), - CATEGORY_ varchar(255), - CREATE_TIME_ timestamp null, - LAST_UPDATE_TIME_ timestamp null, - VERSION_ integer, - META_INFO_ varchar(4000), - DEPLOYMENT_ID_ varchar(64), - EDITOR_SOURCE_VALUE_ID_ varchar(64), - EDITOR_SOURCE_EXTRA_VALUE_ID_ varchar(64), - primary key (ID_) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; - -create table ACT_RU_EXECUTION ( - ID_ varchar(64), - REV_ integer, - PROC_INST_ID_ varchar(64), - BUSINESS_KEY_ varchar(255), - PARENT_ID_ varchar(64), - PROC_DEF_ID_ varchar(64), - SUPER_EXEC_ varchar(64), - ACT_ID_ varchar(255), - IS_ACTIVE_ TINYINT, - IS_CONCURRENT_ TINYINT, - IS_SCOPE_ TINYINT, - IS_EVENT_SCOPE_ TINYINT, - SUSPENSION_STATE_ integer, - CACHED_ENT_STATE_ integer, - primary key (ID_), - unique ACT_UNIQ_RU_BUS_KEY (PROC_DEF_ID_, BUSINESS_KEY_) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; - -create table ACT_RU_JOB ( - ID_ varchar(64) NOT NULL, - REV_ integer, - TYPE_ varchar(255) NOT NULL, - LOCK_EXP_TIME_ timestamp NULL, - LOCK_OWNER_ varchar(255), - EXCLUSIVE_ boolean, - EXECUTION_ID_ varchar(64), - PROCESS_INSTANCE_ID_ varchar(64), - PROC_DEF_ID_ varchar(64), - RETRIES_ integer, - EXCEPTION_STACK_ID_ varchar(64), - EXCEPTION_MSG_ varchar(4000), - DUEDATE_ timestamp NULL, - REPEAT_ varchar(255), - HANDLER_TYPE_ varchar(255), - HANDLER_CFG_ varchar(4000), - primary key (ID_) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; - -create table ACT_RE_PROCDEF ( - ID_ varchar(64) not null, - REV_ integer, - CATEGORY_ varchar(255), - NAME_ varchar(255), - KEY_ varchar(255) not null, - VERSION_ integer not null, - DEPLOYMENT_ID_ varchar(64), - RESOURCE_NAME_ varchar(4000), - DGRM_RESOURCE_NAME_ varchar(4000), - DESCRIPTION_ varchar(4000), - HAS_START_FORM_KEY_ TINYINT, - SUSPENSION_STATE_ integer, - primary key (ID_) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; - -create table ACT_RU_TASK ( - ID_ varchar(64), - REV_ integer, - EXECUTION_ID_ varchar(64), - PROC_INST_ID_ varchar(64), - PROC_DEF_ID_ varchar(64), - NAME_ varchar(255), - PARENT_TASK_ID_ varchar(64), - DESCRIPTION_ varchar(4000), - TASK_DEF_KEY_ varchar(255), - OWNER_ varchar(255), - ASSIGNEE_ varchar(255), - DELEGATION_ varchar(64), - PRIORITY_ integer, - CREATE_TIME_ timestamp, - DUE_DATE_ datetime, - SUSPENSION_STATE_ integer, - primary key (ID_) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; - -create table ACT_RU_IDENTITYLINK ( - ID_ varchar(64), - REV_ integer, - GROUP_ID_ varchar(255), - TYPE_ varchar(255), - USER_ID_ varchar(255), - TASK_ID_ varchar(64), - PROC_INST_ID_ varchar(64), - PROC_DEF_ID_ varchar(64), - primary key (ID_) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; - -create table ACT_RU_VARIABLE ( - ID_ varchar(64) not null, - REV_ integer, - TYPE_ varchar(255) not null, - NAME_ varchar(255) not null, - EXECUTION_ID_ varchar(64), - PROC_INST_ID_ varchar(64), - TASK_ID_ varchar(64), - BYTEARRAY_ID_ varchar(64), - DOUBLE_ double, - LONG_ bigint, - TEXT_ varchar(4000), - TEXT2_ varchar(4000), - primary key (ID_) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; - -create table ACT_RU_EVENT_SUBSCR ( - ID_ varchar(64) not null, - REV_ integer, - EVENT_TYPE_ varchar(255) not null, - EVENT_NAME_ varchar(255), - EXECUTION_ID_ varchar(64), - PROC_INST_ID_ varchar(64), - ACTIVITY_ID_ varchar(64), - CONFIGURATION_ varchar(255), - CREATED_ timestamp not null DEFAULT CURRENT_TIMESTAMP, - primary key (ID_) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; - -create index ACT_IDX_EXEC_BUSKEY on ACT_RU_EXECUTION(BUSINESS_KEY_); -create index ACT_IDX_TASK_CREATE on ACT_RU_TASK(CREATE_TIME_); -create index ACT_IDX_IDENT_LNK_USER on ACT_RU_IDENTITYLINK(USER_ID_); -create index ACT_IDX_IDENT_LNK_GROUP on ACT_RU_IDENTITYLINK(GROUP_ID_); -create index ACT_IDX_EVENT_SUBSCR_CONFIG_ on ACT_RU_EVENT_SUBSCR(CONFIGURATION_); -create index ACT_IDX_VARIABLE_TASK_ID on ACT_RU_VARIABLE(TASK_ID_); -create index ACT_IDX_ATHRZ_PROCEDEF on ACT_RU_IDENTITYLINK(PROC_DEF_ID_); - -alter table ACT_GE_BYTEARRAY -add constraint ACT_FK_BYTEARR_DEPL -foreign key (DEPLOYMENT_ID_) -references ACT_RE_DEPLOYMENT (ID_); - -alter table ACT_RE_PROCDEF -add constraint ACT_UNIQ_PROCDEF -unique (KEY_,VERSION_); - -alter table ACT_RU_EXECUTION -add constraint ACT_FK_EXE_PROCINST -foreign key (PROC_INST_ID_) -references ACT_RU_EXECUTION (ID_) on delete cascade on update cascade; - -alter table ACT_RU_EXECUTION -add constraint ACT_FK_EXE_PARENT -foreign key (PARENT_ID_) -references ACT_RU_EXECUTION (ID_); - -alter table ACT_RU_EXECUTION -add constraint ACT_FK_EXE_SUPER -foreign key (SUPER_EXEC_) -references ACT_RU_EXECUTION (ID_); - -alter table ACT_RU_EXECUTION -add constraint ACT_FK_EXE_PROCDEF -foreign key (PROC_DEF_ID_) -references ACT_RE_PROCDEF (ID_); - -alter table ACT_RU_IDENTITYLINK -add constraint ACT_FK_TSKASS_TASK -foreign key (TASK_ID_) -references ACT_RU_TASK (ID_); - -alter table ACT_RU_IDENTITYLINK -add constraint ACT_FK_ATHRZ_PROCEDEF -foreign key (PROC_DEF_ID_) -references ACT_RE_PROCDEF(ID_); - -alter table ACT_RU_IDENTITYLINK -add constraint ACT_FK_IDL_PROCINST -foreign key (PROC_INST_ID_) -references ACT_RU_EXECUTION (ID_); - -alter table ACT_RU_TASK -add constraint ACT_FK_TASK_EXE -foreign key (EXECUTION_ID_) -references ACT_RU_EXECUTION (ID_); - -alter table ACT_RU_TASK -add constraint ACT_FK_TASK_PROCINST -foreign key (PROC_INST_ID_) -references ACT_RU_EXECUTION (ID_); - -alter table ACT_RU_TASK -add constraint ACT_FK_TASK_PROCDEF -foreign key (PROC_DEF_ID_) -references ACT_RE_PROCDEF (ID_); - -alter table ACT_RU_VARIABLE -add constraint ACT_FK_VAR_EXE -foreign key (EXECUTION_ID_) -references ACT_RU_EXECUTION (ID_); - -alter table ACT_RU_VARIABLE -add constraint ACT_FK_VAR_PROCINST -foreign key (PROC_INST_ID_) -references ACT_RU_EXECUTION(ID_); - -alter table ACT_RU_VARIABLE -add constraint ACT_FK_VAR_BYTEARRAY -foreign key (BYTEARRAY_ID_) -references ACT_GE_BYTEARRAY (ID_); - -alter table ACT_RU_JOB -add constraint ACT_FK_JOB_EXCEPTION -foreign key (EXCEPTION_STACK_ID_) -references ACT_GE_BYTEARRAY (ID_); - -alter table ACT_RU_EVENT_SUBSCR -add constraint ACT_FK_EVENT_EXEC -foreign key (EXECUTION_ID_) -references ACT_RU_EXECUTION(ID_); - -alter table ACT_RE_MODEL -add constraint ACT_FK_MODEL_SOURCE -foreign key (EDITOR_SOURCE_VALUE_ID_) -references ACT_GE_BYTEARRAY (ID_); - -alter table ACT_RE_MODEL -add constraint ACT_FK_MODEL_SOURCE_EXTRA -foreign key (EDITOR_SOURCE_EXTRA_VALUE_ID_) -references ACT_GE_BYTEARRAY (ID_); - -alter table ACT_RE_MODEL -add constraint ACT_FK_MODEL_DEPLOYMENT -foreign key (DEPLOYMENT_ID_) -references ACT_RE_DEPLOYMENT (ID_); - --- ----------------------------------------------------- --- Create history tables --- ----------------------------------------------------- - -create table ACT_HI_PROCINST ( - ID_ varchar(64) not null, - PROC_INST_ID_ varchar(64) not null, - BUSINESS_KEY_ varchar(255), - PROC_DEF_ID_ varchar(64) not null, - START_TIME_ datetime not null, - END_TIME_ datetime, - DURATION_ bigint, - START_USER_ID_ varchar(255), - START_ACT_ID_ varchar(255), - END_ACT_ID_ varchar(255), - SUPER_PROCESS_INSTANCE_ID_ varchar(64), - DELETE_REASON_ varchar(4000), - primary key (ID_), - unique (PROC_INST_ID_), - unique ACT_UNIQ_HI_BUS_KEY (PROC_DEF_ID_, BUSINESS_KEY_) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; - -create table ACT_HI_ACTINST ( - ID_ varchar(64) not null, - PROC_DEF_ID_ varchar(64) not null, - PROC_INST_ID_ varchar(64) not null, - EXECUTION_ID_ varchar(64) not null, - ACT_ID_ varchar(255) not null, - TASK_ID_ varchar(64), - CALL_PROC_INST_ID_ varchar(64), - ACT_NAME_ varchar(255), - ACT_TYPE_ varchar(255) not null, - ASSIGNEE_ varchar(255), - START_TIME_ datetime not null, - END_TIME_ datetime, - DURATION_ bigint, - primary key (ID_) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; - -create table ACT_HI_TASKINST ( - ID_ varchar(64) not null, - PROC_DEF_ID_ varchar(64), - TASK_DEF_KEY_ varchar(255), - PROC_INST_ID_ varchar(64), - EXECUTION_ID_ varchar(64), - NAME_ varchar(255), - PARENT_TASK_ID_ varchar(64), - DESCRIPTION_ varchar(4000), - OWNER_ varchar(255), - ASSIGNEE_ varchar(255), - START_TIME_ datetime not null, - CLAIM_TIME_ datetime, - END_TIME_ datetime, - DURATION_ bigint, - DELETE_REASON_ varchar(4000), - PRIORITY_ integer, - DUE_DATE_ datetime, - FORM_KEY_ varchar(255), - primary key (ID_) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; - -create table ACT_HI_VARINST ( - ID_ varchar(64) not null, - PROC_INST_ID_ varchar(64), - EXECUTION_ID_ varchar(64), - TASK_ID_ varchar(64), - NAME_ varchar(255) not null, - VAR_TYPE_ varchar(100), - REV_ integer, - BYTEARRAY_ID_ varchar(64), - DOUBLE_ double, - LONG_ bigint, - TEXT_ varchar(4000), - TEXT2_ varchar(4000), - primary key (ID_) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; - -create table ACT_HI_DETAIL ( - ID_ varchar(64) not null, - TYPE_ varchar(255) not null, - PROC_INST_ID_ varchar(64), - EXECUTION_ID_ varchar(64), - TASK_ID_ varchar(64), - ACT_INST_ID_ varchar(64), - NAME_ varchar(255) not null, - VAR_TYPE_ varchar(255), - REV_ integer, - TIME_ datetime not null, - BYTEARRAY_ID_ varchar(64), - DOUBLE_ double, - LONG_ bigint, - TEXT_ varchar(4000), - TEXT2_ varchar(4000), - primary key (ID_) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; - -create table ACT_HI_COMMENT ( - ID_ varchar(64) not null, - TYPE_ varchar(255), - TIME_ datetime not null, - USER_ID_ varchar(255), - TASK_ID_ varchar(64), - PROC_INST_ID_ varchar(64), - ACTION_ varchar(255), - MESSAGE_ varchar(4000), - FULL_MSG_ LONGBLOB, - primary key (ID_) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; - -create table ACT_HI_ATTACHMENT ( - ID_ varchar(64) not null, - REV_ integer, - USER_ID_ varchar(255), - NAME_ varchar(255), - DESCRIPTION_ varchar(4000), - TYPE_ varchar(255), - TASK_ID_ varchar(64), - PROC_INST_ID_ varchar(64), - URL_ varchar(4000), - CONTENT_ID_ varchar(64), - primary key (ID_) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; - -create table ACT_HI_IDENTITYLINK ( - ID_ varchar(64), - GROUP_ID_ varchar(255), - TYPE_ varchar(255), - USER_ID_ varchar(255), - TASK_ID_ varchar(64), - PROC_INST_ID_ varchar(64), - primary key (ID_) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; - -create index ACT_IDX_HI_PRO_INST_END on ACT_HI_PROCINST(END_TIME_); -create index ACT_IDX_HI_PRO_I_BUSKEY on ACT_HI_PROCINST(BUSINESS_KEY_); -create index ACT_IDX_HI_ACT_INST_START on ACT_HI_ACTINST(START_TIME_); -create index ACT_IDX_HI_ACT_INST_END on ACT_HI_ACTINST(END_TIME_); -create index ACT_IDX_HI_DETAIL_PROC_INST on ACT_HI_DETAIL(PROC_INST_ID_); -create index ACT_IDX_HI_DETAIL_ACT_INST on ACT_HI_DETAIL(ACT_INST_ID_); -create index ACT_IDX_HI_DETAIL_TIME on ACT_HI_DETAIL(TIME_); -create index ACT_IDX_HI_DETAIL_NAME on ACT_HI_DETAIL(NAME_); -create index ACT_IDX_HI_DETAIL_TASK_ID on ACT_HI_DETAIL(TASK_ID_); -create index ACT_IDX_HI_PROCVAR_PROC_INST on ACT_HI_VARINST(PROC_INST_ID_); -create index ACT_IDX_HI_PROCVAR_NAME_TYPE on ACT_HI_VARINST(NAME_, VAR_TYPE_); -create index ACT_IDX_HI_ACT_INST_PROCINST on ACT_HI_ACTINST(PROC_INST_ID_, ACT_ID_); -create index ACT_IDX_HI_ACT_INST_EXEC on ACT_HI_ACTINST(EXECUTION_ID_, ACT_ID_); -create index ACT_IDX_HI_IDENT_LNK_USER on ACT_HI_IDENTITYLINK(USER_ID_); -create index ACT_IDX_HI_IDENT_LNK_TASK on ACT_HI_IDENTITYLINK(TASK_ID_); -create index ACT_IDX_HI_IDENT_LNK_PROCINST on ACT_HI_IDENTITYLINK(PROC_INST_ID_); - -create table ACT_ID_GROUP ( - ID_ varchar(64), - REV_ integer, - NAME_ varchar(255), - TYPE_ varchar(255), - primary key (ID_) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; - -create table ACT_ID_MEMBERSHIP ( - USER_ID_ varchar(64), - GROUP_ID_ varchar(64), - primary key (USER_ID_, GROUP_ID_) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; - -create table ACT_ID_USER ( - ID_ varchar(64), - REV_ integer, - FIRST_ varchar(255), - LAST_ varchar(255), - EMAIL_ varchar(255), - PWD_ varchar(255), - PICTURE_ID_ varchar(64), - primary key (ID_) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; - -create table ACT_ID_INFO ( - ID_ varchar(64), - REV_ integer, - USER_ID_ varchar(64), - TYPE_ varchar(64), - KEY_ varchar(255), - VALUE_ varchar(255), - PASSWORD_ LONGBLOB, - PARENT_ID_ varchar(255), - primary key (ID_) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; - -alter table ACT_ID_MEMBERSHIP -add constraint ACT_FK_MEMB_GROUP -foreign key (GROUP_ID_) -references ACT_ID_GROUP (ID_); - -alter table ACT_ID_MEMBERSHIP -add constraint ACT_FK_MEMB_USER -foreign key (USER_ID_) -references ACT_ID_USER (ID_); - -COMMIT; - --- ----------------------------------------------------- --- Create Quartz tables --- ----------------------------------------------------- - -DROP SCHEMA IF EXISTS openbook_jobs; -CREATE SCHEMA openbook_jobs DEFAULT CHARACTER SET utf8; - -GRANT ALL PRIVILEGES ON openbook_jobs.* TO openbook@'%' IDENTIFIED BY 'Tall!g3nt'; -GRANT ALL PRIVILEGES ON openbook_jobs.* TO openbook@localhost IDENTIFIED BY 'Tall!g3nt'; -FLUSH PRIVILEGES; - -USE openbook_jobs; - -CREATE TABLE QRTZ_JOB_DETAILS( - SCHED_NAME VARCHAR(120) NOT NULL, - JOB_NAME VARCHAR(200) NOT NULL, - JOB_GROUP VARCHAR(200) NOT NULL, - DESCRIPTION VARCHAR(250) NULL, - JOB_CLASS_NAME VARCHAR(250) NOT NULL, - IS_DURABLE VARCHAR(1) NOT NULL, - IS_NONCONCURRENT VARCHAR(1) NOT NULL, - IS_UPDATE_DATA VARCHAR(1) NOT NULL, - REQUESTS_RECOVERY VARCHAR(1) NOT NULL, - JOB_DATA BLOB NULL, -PRIMARY KEY (SCHED_NAME,JOB_NAME,JOB_GROUP)) -ENGINE=InnoDB; - -CREATE TABLE QRTZ_TRIGGERS ( - SCHED_NAME VARCHAR(120) NOT NULL, - TRIGGER_NAME VARCHAR(200) NOT NULL, - TRIGGER_GROUP VARCHAR(200) NOT NULL, - JOB_NAME VARCHAR(200) NOT NULL, - JOB_GROUP VARCHAR(200) NOT NULL, - DESCRIPTION VARCHAR(250) NULL, - NEXT_FIRE_TIME BIGINT(13) NULL, - PREV_FIRE_TIME BIGINT(13) NULL, - PRIORITY INTEGER NULL, - TRIGGER_STATE VARCHAR(16) NOT NULL, - TRIGGER_TYPE VARCHAR(8) NOT NULL, - START_TIME BIGINT(13) NOT NULL, - END_TIME BIGINT(13) NULL, - CALENDAR_NAME VARCHAR(200) NULL, - MISFIRE_INSTR SMALLINT(2) NULL, - JOB_DATA BLOB NULL, -PRIMARY KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP), -FOREIGN KEY (SCHED_NAME,JOB_NAME,JOB_GROUP) -REFERENCES QRTZ_JOB_DETAILS(SCHED_NAME,JOB_NAME,JOB_GROUP)) -ENGINE=InnoDB; - -CREATE TABLE QRTZ_SIMPLE_TRIGGERS ( - SCHED_NAME VARCHAR(120) NOT NULL, - TRIGGER_NAME VARCHAR(200) NOT NULL, - TRIGGER_GROUP VARCHAR(200) NOT NULL, - REPEAT_COUNT BIGINT(7) NOT NULL, - REPEAT_INTERVAL BIGINT(12) NOT NULL, - TIMES_TRIGGERED BIGINT(10) NOT NULL, -PRIMARY KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP), -FOREIGN KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP) -REFERENCES QRTZ_TRIGGERS(SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP)) -ENGINE=InnoDB; - -CREATE TABLE QRTZ_CRON_TRIGGERS ( - SCHED_NAME VARCHAR(120) NOT NULL, - TRIGGER_NAME VARCHAR(200) NOT NULL, - TRIGGER_GROUP VARCHAR(200) NOT NULL, - CRON_EXPRESSION VARCHAR(120) NOT NULL, - TIME_ZONE_ID VARCHAR(80), -PRIMARY KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP), -FOREIGN KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP) -REFERENCES QRTZ_TRIGGERS(SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP)) -ENGINE=InnoDB; - -CREATE TABLE QRTZ_SIMPROP_TRIGGERS ( - SCHED_NAME VARCHAR(120) NOT NULL, - TRIGGER_NAME VARCHAR(200) NOT NULL, - TRIGGER_GROUP VARCHAR(200) NOT NULL, - STR_PROP_1 VARCHAR(512) NULL, - STR_PROP_2 VARCHAR(512) NULL, - STR_PROP_3 VARCHAR(512) NULL, - INT_PROP_1 INT NULL, - INT_PROP_2 INT NULL, - LONG_PROP_1 BIGINT NULL, - LONG_PROP_2 BIGINT NULL, - DEC_PROP_1 NUMERIC(13,4) NULL, - DEC_PROP_2 NUMERIC(13,4) NULL, - BOOL_PROP_1 VARCHAR(1) NULL, - BOOL_PROP_2 VARCHAR(1) NULL, -PRIMARY KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP), -FOREIGN KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP) -REFERENCES QRTZ_TRIGGERS(SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP)) -ENGINE=InnoDB; - -CREATE TABLE QRTZ_BLOB_TRIGGERS ( - SCHED_NAME VARCHAR(120) NOT NULL, - TRIGGER_NAME VARCHAR(200) NOT NULL, - TRIGGER_GROUP VARCHAR(200) NOT NULL, - BLOB_DATA BLOB NULL, -PRIMARY KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP), -INDEX (SCHED_NAME,TRIGGER_NAME, TRIGGER_GROUP), -FOREIGN KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP) -REFERENCES QRTZ_TRIGGERS(SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP)) -ENGINE=InnoDB; - -CREATE TABLE QRTZ_CALENDARS ( - SCHED_NAME VARCHAR(120) NOT NULL, - CALENDAR_NAME VARCHAR(200) NOT NULL, - CALENDAR BLOB NOT NULL, -PRIMARY KEY (SCHED_NAME,CALENDAR_NAME)) -ENGINE=InnoDB; - -CREATE TABLE QRTZ_PAUSED_TRIGGER_GRPS ( - SCHED_NAME VARCHAR(120) NOT NULL, - TRIGGER_GROUP VARCHAR(200) NOT NULL, -PRIMARY KEY (SCHED_NAME,TRIGGER_GROUP)) -ENGINE=InnoDB; - -CREATE TABLE QRTZ_FIRED_TRIGGERS ( - SCHED_NAME VARCHAR(120) NOT NULL, - ENTRY_ID VARCHAR(95) NOT NULL, - TRIGGER_NAME VARCHAR(200) NOT NULL, - TRIGGER_GROUP VARCHAR(200) NOT NULL, - INSTANCE_NAME VARCHAR(200) NOT NULL, - FIRED_TIME BIGINT(13) NOT NULL, - SCHED_TIME BIGINT(13) NOT NULL, - PRIORITY INTEGER NOT NULL, - STATE VARCHAR(16) NOT NULL, - JOB_NAME VARCHAR(200) NULL, - JOB_GROUP VARCHAR(200) NULL, - IS_NONCONCURRENT VARCHAR(1) NULL, - REQUESTS_RECOVERY VARCHAR(1) NULL, -PRIMARY KEY (SCHED_NAME,ENTRY_ID)) -ENGINE=InnoDB; - -CREATE TABLE QRTZ_SCHEDULER_STATE ( - SCHED_NAME VARCHAR(120) NOT NULL, - INSTANCE_NAME VARCHAR(200) NOT NULL, - LAST_CHECKIN_TIME BIGINT(13) NOT NULL, - CHECKIN_INTERVAL BIGINT(13) NOT NULL, -PRIMARY KEY (SCHED_NAME,INSTANCE_NAME)) -ENGINE=InnoDB; - -CREATE TABLE QRTZ_LOCKS ( - SCHED_NAME VARCHAR(120) NOT NULL, - LOCK_NAME VARCHAR(40) NOT NULL, -PRIMARY KEY (SCHED_NAME,LOCK_NAME)) -ENGINE=InnoDB; - -CREATE INDEX IDX_QRTZ_J_REQ_RECOVERY ON QRTZ_JOB_DETAILS(SCHED_NAME,REQUESTS_RECOVERY); -CREATE INDEX IDX_QRTZ_J_GRP ON QRTZ_JOB_DETAILS(SCHED_NAME,JOB_GROUP); - -CREATE INDEX IDX_QRTZ_T_J ON QRTZ_TRIGGERS(SCHED_NAME,JOB_NAME,JOB_GROUP); -CREATE INDEX IDX_QRTZ_T_JG ON QRTZ_TRIGGERS(SCHED_NAME,JOB_GROUP); -CREATE INDEX IDX_QRTZ_T_C ON QRTZ_TRIGGERS(SCHED_NAME,CALENDAR_NAME); -CREATE INDEX IDX_QRTZ_T_G ON QRTZ_TRIGGERS(SCHED_NAME,TRIGGER_GROUP); -CREATE INDEX IDX_QRTZ_T_STATE ON QRTZ_TRIGGERS(SCHED_NAME,TRIGGER_STATE); -CREATE INDEX IDX_QRTZ_T_N_STATE ON QRTZ_TRIGGERS(SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP,TRIGGER_STATE); -CREATE INDEX IDX_QRTZ_T_N_G_STATE ON QRTZ_TRIGGERS(SCHED_NAME,TRIGGER_GROUP,TRIGGER_STATE); -CREATE INDEX IDX_QRTZ_T_NEXT_FIRE_TIME ON QRTZ_TRIGGERS(SCHED_NAME,NEXT_FIRE_TIME); -CREATE INDEX IDX_QRTZ_T_NFT_ST ON QRTZ_TRIGGERS(SCHED_NAME,TRIGGER_STATE,NEXT_FIRE_TIME); -CREATE INDEX IDX_QRTZ_T_NFT_MISFIRE ON QRTZ_TRIGGERS(SCHED_NAME,MISFIRE_INSTR,NEXT_FIRE_TIME); -CREATE INDEX IDX_QRTZ_T_NFT_ST_MISFIRE ON QRTZ_TRIGGERS(SCHED_NAME,MISFIRE_INSTR,NEXT_FIRE_TIME,TRIGGER_STATE); -CREATE INDEX IDX_QRTZ_T_NFT_ST_MISFIRE_GRP ON QRTZ_TRIGGERS(SCHED_NAME,MISFIRE_INSTR,NEXT_FIRE_TIME,TRIGGER_GROUP,TRIGGER_STATE); - -CREATE INDEX IDX_QRTZ_FT_TRIG_INST_NAME ON QRTZ_FIRED_TRIGGERS(SCHED_NAME,INSTANCE_NAME); -CREATE INDEX IDX_QRTZ_FT_INST_JOB_REQ_RCVRY ON QRTZ_FIRED_TRIGGERS(SCHED_NAME,INSTANCE_NAME,REQUESTS_RECOVERY); -CREATE INDEX IDX_QRTZ_FT_J_G ON QRTZ_FIRED_TRIGGERS(SCHED_NAME,JOB_NAME,JOB_GROUP); -CREATE INDEX IDX_QRTZ_FT_JG ON QRTZ_FIRED_TRIGGERS(SCHED_NAME,JOB_GROUP); -CREATE INDEX IDX_QRTZ_FT_T_G ON QRTZ_FIRED_TRIGGERS(SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP); -CREATE INDEX IDX_QRTZ_FT_TG ON QRTZ_FIRED_TRIGGERS(SCHED_NAME,TRIGGER_GROUP); - -COMMIT; diff --git a/deployment_scripts/puppet/modules/openbook/manifests/db/mysql.pp b/deployment_scripts/puppet/modules/openbook/manifests/db/mysql.pp deleted file mode 100644 index 842eb5e..0000000 --- a/deployment_scripts/puppet/modules/openbook/manifests/db/mysql.pp +++ /dev/null @@ -1,123 +0,0 @@ -# -# Copyright 2015 Talligent, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. -# -class openbook::db::mysql { - - include openbook::params - - #exec {'import mariadb repo key': - # command => '/usr/bin/apt-key --keyring /etc/apt/trusted.gpg.d/mariadb.gpg adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db', - # unless => '/usr/bin/test -f /etc/apt/trusted.gpg.d/mariadb.gpg' - #} - # - #file { 'mariadb.list': - # path => '/etc/apt/sources.list.d/mariadb.list', - # content => "deb http://ftp.osuosl.org/pub/mariadb/repo/10.0/ubuntu ${::lsbdistcodename} main", - #} - # - #exec { "mariadb update": - # command => "/usr/bin/apt-get update", - # subscribe => File['mariadb.list'], - # refreshonly => true, - # require => File['/etc/apt/sources.list.d/mariadb.list'] - #} - # - #package { "$openbook::params::db_server_pkg": - # ensure => present, - # require => Exec['mariadb update'] - #} - #package { "$openbook::params::db_client_pkg": - # ensure => present, - # require => Exec['mariadb update'] - #} - # - #service { 'mysql': - # ensure => running, - # enable => true, - # require => Package[$openbook::params::db_server_pkg] - #} - -# class { 'mariadbrepo': -# version => "$openbook::params::db_version" -# } - - package { "$openbook::params::db_server_pkg" : - ensure => present, - #require => Class['mariadbrepo'] - } - -# package { "$openbook::params::db_client_pkg" : -# ensure => present, -# #require => Class['mariadbrepo'] -# } - - service { 'mysql': - ensure => running, - enable => true, - require => Package["$openbook::params::db_server_pkg"] - } - - exec { 'mysql_set_binlog_format': - notify => Service['mysql'], - path => '/bin:/sbin:/usr/bin:/usr/sbin', - command => 'sed -i "/\[mysqld\]/a\binlog_format = MIXED" /etc/mysql/my.cnf', - require => Package["$openbook::params::db_server_pkg"] - } - - file { '/tmp/openbook': - ensure => directory, - mode => '0755' - } - - file { '/tmp/openbook/create_openbook_schemas.sql': - ensure => present, - require => File['/tmp/openbook'], - source => 'puppet:///modules/openbook/sql/create_openbook_schemas.sql' - } - - exec{ 'openbook-schema-create': - command => "/usr/bin/mysql -p'${openbook::params::db_password}' < /tmp/openbook/create_openbook_schemas.sql && /usr/bin/touch /root/.schema.created", - logoutput => true, - unless => '/usr/bin/test -f /root/.schema.created', - require => [File['/tmp/openbook/create_openbook_schemas.sql'], Package[$openbook::params::db_server_pkg], Exec['mysql_root_password']] - } - - file { '/root/.my.cnf': - ensure => 'present', - path => '/root/.my.cnf', - mode => '0400', - owner => 'root', - group => 'root', - content => template('openbook/root.my.cnf.erb'), - } - - file { '/root/.password': - ensure => 'present', - path => '/root/.password', - mode => '0400', - owner => 'root', - group => 'root', - content => template('openbook/root.password.erb'), - } - - exec { 'mysql_root_password': - subscribe => File['/root/.my.cnf'], - require => Service['mysql'], - path => '/bin:/sbin:/usr/bin:/usr/sbin', - refreshonly => true, - command => "mysql -u root --password='' < /root/.password" - } - -} diff --git a/deployment_scripts/puppet/modules/openbook/manifests/finalize.pp b/deployment_scripts/puppet/modules/openbook/manifests/finalize.pp deleted file mode 100644 index 2fe74b2..0000000 --- a/deployment_scripts/puppet/modules/openbook/manifests/finalize.pp +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 2015 Talligent, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. - -class openbook::finalize { - include openbook::params - $admin_username = $openbook::params::admin_username - $admin_password = $openbook::params::admin_password - $admin_tenant = $openbook::params::admin_tenant - - $management_vip = hiera('management_vip') - $keystone_admin_url = "http://${management_vip}:35357/v2.0" - $os_auth_url = "http://${management_vip}:5000/v2.0" -# $management_vip = $openbook::params::management_vip -# $keystone_admin_url = $openbook::params::keystone_admin_url -# $os_auth_url = $openbook::params::keystone_admin_url - - $keystone_client = $openbook::params::keystone_client - $keystone_command = $openbook::params::keystone_command - $keystone_args = $openbook::params::keystone_args - - $public_ssl_hash = $openbook::params::public_ssl_hash - $ip = $openbook::params::ip - - # Need to add trust chain so that Openbook can talk to https endpoints - class { 'openbook::ssl_add_trust_chain': }-> - - package { "$keystone_client": - ensure => present - } - - file { "test_connectivity.sh": - path => '/tmp/test_connectivity.sh', - ensure => present, - content => template('openbook/test_connectivity.sh.erb') - } - - file { "config_resource_manager.sh": - path => '/tmp/config_resource_manager.sh', - ensure => present, - content => template('openbook/config_resource_manager.sh.erb') - } - - # Point Openbook at this OpenStack environment - exec { 'configure resource manager': - command => '/bin/bash /tmp/config_resource_manager.sh', - onlyif => '/bin/bash /tmp/test_connectivity.sh == *"200 OK"*', - creates => '/tmp/resource_manager_result.txt', - require => [ File['config_resource_manager.sh'], File['test_connectivity.sh'], Package[$keystone_client] ], - logoutput => true, - timeout => 900 - } - -} - diff --git a/deployment_scripts/puppet/modules/openbook/manifests/params.pp b/deployment_scripts/puppet/modules/openbook/manifests/params.pp deleted file mode 100644 index e7f2aa6..0000000 --- a/deployment_scripts/puppet/modules/openbook/manifests/params.pp +++ /dev/null @@ -1,65 +0,0 @@ -# -# Copyright 2015 Talligent, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. -# -class openbook::params { - $admin_settings = hiera_hash('access') - #$admin_username = $admin_settings['user'] - #$admin_password = $admin_settings['password'] - #$admin_tenant = $admin_settings['tenant'] - $admin_username = $admin_settings['user'] - $admin_password = $admin_settings['password'] - $admin_tenant = $admin_settings['tenant'] - -# $management_vip = hiera('management_vip') -# $keystone_admin_url = "http://${management_vip}:35357/v2.0" -# $os_auth_url = "http://${management_vip}:5000/v2.0" - - $keystone_client = 'python-openstackclient' - $keystone_command = 'openstack' - $keystone_args = "project show ${admin_tenant}" - - $public_ssl_hash = hiera('public_ssl') - $ip = hiera('public_vip') - - $openbook = hiera_hash('openbook') - $jvm_heap = $openbook['jvm_heap_size'] - - $sharefile_username = '' #$openbook['sharefile_user'] - $sharefile_password = '' #$openbook['sharefile_pass'] - $sharefile_hostname = 'talligent.sharefile.com' - $sharefile_client_id = 'eC8y8eeoeunxzOizZq2oeknIVfA9Jyjg' - $sharefile_client_secret = 'PehmEqzEgKuGm2XOZWXIOUY3GyrKcfSmNtwPptPwt0tWxihs' - $sharefile_download_path = '/tmp/Openbook.zip' - - $db_password = $openbook['db_password'] - $db_version = '10.1' - $keystore_pass = 'rG8EE69CC0OuQKW+6pC6LytgRQM7QZUmt5CDySUgupY=' - $ipaddress = $::ipaddress - - case $::operatingsystem { - 'Ubuntu', 'Debian': { - $db_server_pkg = 'mariadb-server' -# $db_client_pkg = "mariadb-client-${db_version}" - $app_server_pkg = 'tomcat7' - $java_pkg = 'openjdk-8-jdk' - - } - default: { - fail("unsuported osfamily ${::osfamily}, currently Ubuntu is the only supported platform") - } - } - -} - diff --git a/deployment_scripts/puppet/modules/openbook/manifests/ssl_add_trust_chain.pp b/deployment_scripts/puppet/modules/openbook/manifests/ssl_add_trust_chain.pp deleted file mode 100644 index 2e94a65..0000000 --- a/deployment_scripts/puppet/modules/openbook/manifests/ssl_add_trust_chain.pp +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 2015 Talligent, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. - -class openbook::ssl_add_trust_chain { - - $public_ssl_hash = hiera('public_ssl') - $ip = hiera('public_vip') - - case $::osfamily { - /(?i)redhat/: { - file { '/etc/pki/ca-trust/source/anchors/public_haproxy.pem': - ensure => 'link', - target => '/etc/pki/tls/certs/public_haproxy.pem', - }-> - - exec { 'enable_trust': - path => '/bin:/usr/bin:/sbin:/usr/sbin', - command => 'update-ca-trust force-enable', - }-> - - exec { 'add_trust': - path => '/bin:/usr/bin:/sbin:/usr/sbin', - command => 'update-ca-trust extract', - } - } - /(?i)debian/: { - file { '/usr/local/share/ca-certificates/public_haproxy.crt': - ensure => 'link', - target => '/etc/pki/tls/certs/public_haproxy.pem', - }-> - - exec { 'add_trust': - path => '/bin:/usr/bin:/sbin:/usr/sbin', - command => 'update-ca-certificates', - } - } - default: { - fail("Unsupported OS: ${::osfamily}/${::operatingsystem}") - } - } - - host { $public_ssl_hash['hostname']: - ensure => present, - ip => $ip, - } -} diff --git a/deployment_scripts/puppet/modules/openbook/manifests/tomcat/server.pp b/deployment_scripts/puppet/modules/openbook/manifests/tomcat/server.pp deleted file mode 100644 index 68a4c46..0000000 --- a/deployment_scripts/puppet/modules/openbook/manifests/tomcat/server.pp +++ /dev/null @@ -1,118 +0,0 @@ -# -# Copyright 2015 Talligent, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. -# -class openbook::tomcat::server { - - include openbook::params - include apt - $ipaddress = $::ipaddress - - # Add OpenJDK repo & install version 8 -# apt::ppa { 'ppa:openjdk-r/ppa':} -> - package { "$openbook::params::java_pkg": - ensure => present, - }-> - file { '/usr/lib/jvm/default-java': - ensure => 'link', - target => '/usr/lib/jvm/java-8-openjdk-amd64', - }-> - package { "$openbook::params::app_server_pkg": - ensure => present, - } - package { 'ntp': - ensure => present, - } - package { 'unzip': - ensure => present, - } - - file { "sharefile_download.py": - path => '/tmp/sharefile_download.py', - ensure => present, - content => template('openbook/sharefile_download.py.erb'), - } - -# exec { 'download openbook': -# command => '/usr/bin/python /tmp/sharefile_download.py', -# unless => '/usr/bin/test -f /tmp/Openbook.war', -# require => File['sharefile_download.py'], -# timeout => 1200 -# } - - file { 'Openbook.zip': - path => '/tmp/Openbook.zip', - ensure => present, - source => 'puppet:///modules/openbook/Openbook.zip' - } - - exec { 'unzip openbook': - command => '/usr/bin/unzip -q /tmp/Openbook.zip -d /tmp/', - unless => '/usr/bin/test -d /tmp/Openbook-*', - require => [File['Openbook.zip'], Package['unzip']] - } - -# exec { 'unzip openbook': -# command => '/usr/bin/unzip -q /tmp/Openbook.zip -d /tmp/', -# unless => '/usr/bin/test -d /tmp/Openbook-*', -# require => [File['download openbook'], Package['unzip']] -# } - - file { 'openbook.properties': - path => '/var/lib/tomcat7/webapps/Openbook/WEB-INF/classes/openbook.properties', - ensure => present, - owner => 'tomcat7', - group => 'tomcat7', - content => template('openbook/openbook.properties.erb'), - require => Exec['deploy openbook'], - } - - service{ 'tomcat7': - ensure => running, - enable => true, - require => Package[$openbook::params::app_server_pkg], - subscribe => File['openbook.properties'] - } - - exec{ 'deploy openbook': - command => "/usr/bin/unzip -q /tmp/Openbook-*/Openbook.war -d /var/lib/tomcat7/webapps/Openbook", - logoutput => true, - unless => '/usr/bin/test -d /var/lib/tomcat7/webapps/Openbook', - require => [Package['unzip'], Package[$openbook::params::app_server_pkg], Exec['unzip openbook']], - notify => Service['tomcat7'] - } - - exec{ 'keytool genkey': - command => "/usr/bin/keytool -genkey -keyalg RSA -alias tomcat -dname 'CN=talligent.net, O=Talligent, L=Austin, S=Texas, C=US' -keystore /etc/tomcat7/keystore.jks -storepass ${openbook::params::keystore_pass} -validity 360 -keysize 2048 -keypass ${openbook::params::keystore_pass}", - unless => '/usr/bin/test -f /etc/tomcat7/keystore.jks', - require => Package[$openbook::params::app_server_pkg], - notify => Service['tomcat7'], - } - - file { 'server.xml': - path => '/var/lib/tomcat7/conf/server.xml', - ensure => present, - content => template('openbook/tomcat/server.xml.erb'), - require => Package[$openbook::params::app_server_pkg], - notify => Service['tomcat7'], - } - file { 'etc.default.tomcat7': - path => '/etc/default/tomcat7', - ensure => present, - content => template('openbook/tomcat/etc.default.tomcat7.erb'), - require => Package[$openbook::params::app_server_pkg], - notify => Service['tomcat7'], - } - -} diff --git a/deployment_scripts/puppet/modules/openbook/spec/spec_helper.rb b/deployment_scripts/puppet/modules/openbook/spec/spec_helper.rb deleted file mode 100644 index 5fda588..0000000 --- a/deployment_scripts/puppet/modules/openbook/spec/spec_helper.rb +++ /dev/null @@ -1,17 +0,0 @@ -dir = File.expand_path(File.dirname(__FILE__)) -$LOAD_PATH.unshift File.join(dir, 'lib') - -require 'mocha' -require 'puppet' -require 'rspec' -require 'spec/autorun' - -Spec::Runner.configure do |config| - config.mock_with :mocha -end - -# We need this because the RAL uses 'should' as a method. This -# allows us the same behaviour but with a different method name. -class Object - alias :must :should -end diff --git a/deployment_scripts/puppet/modules/openbook/templates/config_resource_manager.sh.erb b/deployment_scripts/puppet/modules/openbook/templates/config_resource_manager.sh.erb deleted file mode 100644 index 8d06c2e..0000000 --- a/deployment_scripts/puppet/modules/openbook/templates/config_resource_manager.sh.erb +++ /dev/null @@ -1,52 +0,0 @@ -#!/bin/bash - -KEYSTONE_COMMAND="<%= @keystone_command %> --os-username <%= @admin_username %> --os-password <%= @admin_password %> --os-tenant-name <%= @admin_tenant %> --os-auth-url <%= @os_auth_url %>" -KEYSTONE_ARGS=' <%= @keystone_args %>' - -TENANT_ID=$($KEYSTONE_COMMAND $KEYSTONE_ARGS | grep id | awk -F\| '{print $3}' | cut -d ' ' -f2) - -read -d '' METADATA <", - "userName": "<%= @admin_username %>", - "adminTenantId": "$TENANT_ID", - "keystoneVersion": "2", - "password": "<%= @admin_password %>", - "isMemberOfAllProjects": false - }, - "usageMetrics": [ - - ], - "tenantsToIgnore": "", - "regionsToSync": "RegionOne", - "entitiesToSync": [ - "Floating IP", - "Instance", - "Network", - "Port", - "Router", - "Subnet", - "Volume", - "Image", - "Load Balancer VIP", - "Firewall" - ] -} -EOF - -RESULT=$(curl -s -k --user 'openbook:Tall!g3nt' -XPOST -D - 'https://<%= @ipaddress %>:8443/Openbook/resource/serviceManagers' -H 'Content-Type: application/x-www-form-urlencoded' -d 'name=MOS Environment' -d 'description=Mirantis OpenStack Environment' -d 'type=OpenStack' --data-urlencode "$METADATA") - -echo "$RESULT" >> /tmp/resource_manager_result.txt - -if [[ "$RESULT" == *"201 Created"* ]]; then - exit -else - echo "Something went wrong with creating the resource manager. Check /tmp/resource_manager_results.txt and tomcat logs" -fi - diff --git a/deployment_scripts/puppet/modules/openbook/templates/openbook.properties.erb b/deployment_scripts/puppet/modules/openbook/templates/openbook.properties.erb deleted file mode 100644 index f07096b..0000000 --- a/deployment_scripts/puppet/modules/openbook/templates/openbook.properties.erb +++ /dev/null @@ -1,49 +0,0 @@ -#ROOT_PROVIDER_PUBLIC_URL = https://<%= @ipaddress %>:8443 -ROOT_PROVIDER_PUBLIC_URL=https\://127.0.0.1\:8443 - -DB_USER = openbook -DB_PASSWORD = Tall!g3nt -DB_ENTITY_HOST = 127.0.0.1 -DB_ENTITY_PORT = 3306 -DB_ENTITY_DATABASE = openbook -DB_WORKFLOW_HOST = 127.0.0.1 -DB_WORKFLOW_PORT = 3306 -DB_WORKFLOW_DATABASE = openbook_workflow -DB_JOBS_HOST = 127.0.0.1 -DB_JOBS_PORT = 3306 -DB_JOBS_DATABASE = openbook_jobs - -DOJO_HOME = ../static/lib/dojo-release-1.9.5 - -APPLICATION_CONTEXT_ROOT = Openbook -MAIL_LOG_ALL_OUTGOING = false -LICENSE_KEY = 507dd92ddc7b080fdafcd08328ac23451fd065adf7563883b5034c3cd982f49c25fa955751b2dd71dfd1fdd34770055f665485d1385a7af58a74bbde6c36732f - -DEFAULT_CURRENCY = USD -DEFAULT_TAX_RATE = 0 -DEFAULTS_BY_COUNTRY = {"ZA":{"taxRate":"14","currency":"ZAR"}} -DEFAULT_BILLING_FREQUENCY = Monthly -DEFAULT_BILL_DATE = LAST_DAY_OF_MONTH -DEFAULT_DATE_PATTERN = MMM d yyyy - -INACTIVE_REGISTRANT_DELETE_AFTER_HOUR = 0 -PASSWORD_CHANGE_TOKEN_VALID_FOR_HOUR = 72 -METRICS_DELETE_AFTER_DAYS = 60 -EVENTS_DELETE_AFTER_DAYS = 90 -DEPROVISIONED_ENTITIES_DELETE_AFTER_DAYS = 365 -JOB_STATUS_DELETE_AFTER_DAYS = 60 - -OPENSTACK_ADMIN_IS_MEMBER_OF_ALL_TENANTS = false -OPENSTACK_MEMBER_ROLE_NAME = _member_ -OPENSTACK_PROTECTED_TENANTS = admin, services, demo - -SPLA_REPORT_IMAGE_LIST = cirros:6b761277-e919-4c95-baa4-32b2175a44a5, fedora:61e4f65a-bcfb-4d46-afe6-004c061bc052 - -AAA_MAX_FAILED_LOGIN_ATTEMPTS = 5 -AAA_FAILED_LOGIN_LOCKOUT_SECONDS = 120 -PASSWORD_RULES_HELP_TEXT=Must be at least 8 characters long.
\ -Must contain at least 1 alphabetic character.
\ -Must contain at least 1 numeric character.
\ -Must contain at least 1 special character.
\ -Must not contain whitespace.
\ -Must not be the same as your username.

diff --git a/deployment_scripts/puppet/modules/openbook/templates/root.my.cnf.erb b/deployment_scripts/puppet/modules/openbook/templates/root.my.cnf.erb deleted file mode 100644 index aab91ed..0000000 --- a/deployment_scripts/puppet/modules/openbook/templates/root.my.cnf.erb +++ /dev/null @@ -1,5 +0,0 @@ - -# File Managed by Puppet - -[client] -password=<%= scope.lookupvar('openbook::params::db_password') %> diff --git a/deployment_scripts/puppet/modules/openbook/templates/root.password.erb b/deployment_scripts/puppet/modules/openbook/templates/root.password.erb deleted file mode 100644 index 38163ea..0000000 --- a/deployment_scripts/puppet/modules/openbook/templates/root.password.erb +++ /dev/null @@ -1,2 +0,0 @@ -UPDATE mysql.user SET password = PASSWORD('<%= scope.lookupvar("openbook::params::db_password") %>') WHERE user = 'root'; -flush privileges diff --git a/deployment_scripts/puppet/modules/openbook/templates/sharefile_download.py.erb b/deployment_scripts/puppet/modules/openbook/templates/sharefile_download.py.erb deleted file mode 100644 index 61129ac..0000000 --- a/deployment_scripts/puppet/modules/openbook/templates/sharefile_download.py.erb +++ /dev/null @@ -1,129 +0,0 @@ -import json -import httplib -import os -import urlparse -import urllib - -""" -Copyright (c) 2014 Citrix Systems, Inc. - -Permission is hereby granted, free of charge, to any person obtaining a -copy of this software and associated documentation files (the "Software"), -to deal in the Software without restriction, including without limitation -the rights to use, copy, modify, merge, publish, distribute, sublicense, -and/or sell copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -IN THE SOFTWARE. -""" - -""" -This script is a modified version of a Citrix example for interacting with -the Sharefile API. It is used here to allow authentication with Sharefile -to download the latest Openbook package. -""" - -def authenticate(hostname, client_id, client_secret, username, password): - """ Authenticate via username/password. Returns json token object. - - Args: - string hostname - hostname like "myaccount.sharefile.com" - string client_id - OAuth2 client_id key - string client_secret - OAuth2 client_secret key - string username - my@user.name - string password - my password """ - - uri_path = '/oauth/token' - - headers = {'Content-Type':'application/x-www-form-urlencoded'} - params = {'grant_type':'password', 'client_id':client_id, 'client_secret':client_secret, - 'username':username, 'password':password} - - http = httplib.HTTPSConnection(hostname) - http.request('POST', uri_path, urllib.urlencode(params), headers=headers) - response = http.getresponse() - - print response.status, response.reason - token = None - if response.status == 200: - token = json.loads(response.read()) - - http.close() - return token - -def get_authorization_header(token): - return {'Authorization':'Bearer %s'%(token['access_token'])} - -def get_hostname(token): - return '%s.sf-api.com'%(token['subdomain']) - -def query(token, search_term): - """ Performs a simple search based on a search term. Returns the item id. - - Args: - dict json token acquired from authenticate function - string search_term - the term to search""" - - uri_path = '/sf/v3/Items/Search?query=%s'%(search_term) - print 'GET %s%s'%(get_hostname(token), uri_path) - http = httplib.HTTPSConnection(get_hostname(token)) - http.request('GET', uri_path, headers=get_authorization_header(token)) - response = http.getresponse() - results = json.loads(response.read()) - return results['Results'][0]['ItemID'] - - -def download_item(token, item_id, local_path): - """ Downloads a single Item. If downloading a folder the local_path name should end in .zip. - - Args: - dict json token acquired from authenticate function - string item_id - the id of the item to download - string local_path - where to download the item to, like "c:\\path\\to\\the.file" """ - - uri_path = '/sf/v3/Items(%s)/Download'%(item_id) - print 'GET %s%s'%(get_hostname(token), uri_path) - http = httplib.HTTPSConnection(get_hostname(token)) - http.request('GET', uri_path, headers=get_authorization_header(token)) - response = http.getresponse() - location = response.getheader('location') - redirect = None - if location: - redirect_uri = urlparse.urlparse(location) - redirect = httplib.HTTPSConnection(redirect_uri.netloc) - redirect.request('GET', '%s?%s'%(redirect_uri.path, redirect_uri.query)) - response = redirect.getresponse() - - with open(local_path, 'wb') as target: - b = response.read(1024*8) - while b: - target.write(b) - b = response.read(1024*8) - - print response.status, response.reason - http.close() - if redirect: - redirect.close() - - - - -if __name__ == '__main__': - hostname = '<%= scope.lookupvar("openbook::params::sharefile_hostname") %>' - username = '<%= scope.lookupvar("openbook::params::sharefile_username") %>' - password = '<%= scope.lookupvar("openbook::params::sharefile_password") %>' - client_id = '<%= scope.lookupvar("openbook::params::sharefile_client_id") %>' - client_secret = '<%= scope.lookupvar("openbook::params::sharefile_client_secret") %>' - download_path = '<%= scope.lookupvar("openbook::params::sharefile_download_path") %>' - - token = authenticate(hostname, client_id, client_secret, username, password) - download_item(token, query(token, 'zip'), download_path) diff --git a/deployment_scripts/puppet/modules/openbook/templates/test_connectivity.sh.erb b/deployment_scripts/puppet/modules/openbook/templates/test_connectivity.sh.erb deleted file mode 100644 index 36fd050..0000000 --- a/deployment_scripts/puppet/modules/openbook/templates/test_connectivity.sh.erb +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -KEYSTONE_COMMAND="<%= @keystone_command %> --os-username <%= @admin_username %> --os-password <%= @admin_password %> --os-tenant-name <%= @admin_tenant %> --os-auth-url <%= @os_auth_url %>" -KEYSTONE_ARGS=' <%= @keystone_args %>' - -TENANT_ID=$($KEYSTONE_COMMAND $KEYSTONE_ARGS | grep id | awk -F\| '{print $3}' | cut -d ' ' -f2) - -RESULT=$(curl -s -k --user 'openbook:Tall!g3nt' -D - https://<%= @ipaddress %>:8443/Openbook/resource/serviceManagers/testConnection/OpenStack -H "Content-Type: application/x-www-form-urlencoded" -H "X-Connection-Details: {'connectionUrl':'<%= @keystone_admin_url %>','userName':'<%= @admin_username %>','keystoneVersion':2,'adminTenantId':'$TENANT_ID','password':'<%= @admin_password %>'}") - -echo "$RESULT" >> /tmp/connectivity-test-result.txt - diff --git a/deployment_scripts/puppet/modules/openbook/templates/tomcat/etc.default.tomcat7.erb b/deployment_scripts/puppet/modules/openbook/templates/tomcat/etc.default.tomcat7.erb deleted file mode 100644 index f16c96c..0000000 --- a/deployment_scripts/puppet/modules/openbook/templates/tomcat/etc.default.tomcat7.erb +++ /dev/null @@ -1,47 +0,0 @@ -# Run Tomcat as this user ID. Not setting this or leaving it blank will use the -# default of tomcat7. -TOMCAT7_USER=tomcat7 - -# Run Tomcat as this group ID. Not setting this or leaving it blank will use -# the default of tomcat7. -TOMCAT7_GROUP=tomcat7 - -# The home directory of the Java development kit (JDK). You need at least -# JDK version 1.5. If JAVA_HOME is not set, some common directories for -# OpenJDK, the Sun JDK, and various J2SE 1.5 versions are tried. -#JAVA_HOME=/usr/lib/jvm/openjdk-6-jdk - -# You may pass JVM startup parameters to Java here. If unset, the default -# options will be: -Djava.awt.headless=true -Xmx128m -XX:+UseConcMarkSweepGC -# -# Use "-XX:+UseConcMarkSweepGC" to enable the CMS garbage collector (improved -# response time). If you use that option and you run Tomcat on a machine with -# exactly one CPU chip that contains one or two cores, you should also add -# the "-XX:+CMSIncrementalMode" option. -JAVA_OPTS="-Djava.awt.headless=true -Xmx<%= scope.lookupvar("openbook::params::jvm_heap") %>G -XX:+UseConcMarkSweepGC -Djsse.enableSNIExtension=false -Djava.security.egd=file:/dev/urandom" - -# To enable remote debugging uncomment the following line. -# You will then be able to use a java debugger on port 8000. -#JAVA_OPTS="${JAVA_OPTS} -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n" - -# Java compiler to use for translating JavaServer Pages (JSPs). You can use all -# compilers that are accepted by Ant's build.compiler property. -#JSP_COMPILER=javac - -# Use the Java security manager? (yes/no, default: no) -#TOMCAT7_SECURITY=no - -# Number of days to keep logfiles in /var/log/tomcat7. Default is 14 days. -#LOGFILE_DAYS=14 -# Whether to compress logfiles older than today's -#LOGFILE_COMPRESS=1 - -# Location of the JVM temporary directory -# WARNING: This directory will be destroyed and recreated at every startup ! -#JVM_TMP=/tmp/tomcat7-temp - -# If you run Tomcat on port numbers that are all higher than 1023, then you -# do not need authbind. It is used for binding Tomcat to lower port numbers. -# NOTE: authbind works only with IPv4. Do not enable it when using IPv6. -# (yes/no, default: no) -#AUTHBIND=no diff --git a/deployment_scripts/puppet/modules/openbook/templates/tomcat/server.xml.erb b/deployment_scripts/puppet/modules/openbook/templates/tomcat/server.xml.erb deleted file mode 100644 index 215bef9..0000000 --- a/deployment_scripts/puppet/modules/openbook/templates/tomcat/server.xml.erb +++ /dev/null @@ -1,147 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - " - clientAuth="false" sslProtocol="TLS" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/deployment_scripts/puppet/modules/openbook/tests/init.pp b/deployment_scripts/puppet/modules/openbook/tests/init.pp deleted file mode 100644 index 4ccc2d3..0000000 --- a/deployment_scripts/puppet/modules/openbook/tests/init.pp +++ /dev/null @@ -1,12 +0,0 @@ -# The baseline for module testing used by Puppet Labs is that each manifest -# should have a corresponding test manifest that declares that class or defined -# type. -# -# Tests are then run by using puppet apply --noop (to check for compilation -# errors and view a log of events) or by fully applying the test in a virtual -# environment (to compare the resulting system state to the desired state). -# -# Learn more about module testing here: -# http://docs.puppetlabs.com/guides/tests_smoke.html -# -include openbook diff --git a/deployment_tasks.yaml b/deployment_tasks.yaml deleted file mode 100644 index e21248f..0000000 --- a/deployment_tasks.yaml +++ /dev/null @@ -1,74 +0,0 @@ -# Groups -- id: openbook - type: group - role: [openbook] - tasks: #[hiera, globals, netconfig, hosts, deploy_start] - - hiera - - setup_repositories - - fuel_pkgs - - globals - - tools - - logging - - netconfig - - hosts -# - hiera -## - setup_repositories -## - fuel_pkgs -# - globals -# - netconfig -# - hosts -## - hiera -## - globals -## - netconfig - required_for: [deploy_end] - requires: [deploy_start,controller] - parameters: - strategy: - type: one_by_one - #type: parallel - -# Configure haproxy on OpenStack Controllers -#- id: openstack-haproxy-openbook -# type: puppet -# groups: [primary-controller, controller] -# required_for: [deploy_end] -# requires: [deploy_start, openstack-haproxy, rabbitmq] -# parameters: -# puppet_manifest: puppet/manifests/controller-vip.pp -# puppet_modules: puppet/modules:/etc/puppet/modules -# timeout: 720 - -# Tasks -# Enviornment check -- id: environment-check - type: puppet - groups: ['openbook'] - required_for: [deploy_end] - requires: [deploy_start,globals] - parameters: - puppet_manifest: puppet/manifests/check_environment_configuration.pp - puppet_modules: puppet/modules - timeout: 300 - -# Deploy Openbook -- id: deploy-openbook - type: puppet - groups: ['openbook'] - required_for: [deploy_end] - requires: [environment-check] - parameters: - puppet_manifest: puppet/manifests/deploy.pp - puppet_modules: puppet/modules - timeout: 1500 - -# Finalize Openbook deployment -- id: finalize-openbook - type: puppet - groups: ['openbook'] - required_for: [deploy_end] - requires: [deploy-openbook,controller] - parameters: - puppet_manifest: puppet/manifests/finalize.pp - puppet_modules: puppet/modules - timeout: 300 - diff --git a/doc/Makefile b/doc/Makefile deleted file mode 100644 index 36879ad..0000000 --- a/doc/Makefile +++ /dev/null @@ -1,177 +0,0 @@ -# Makefile for Sphinx documentation -# - -# You can set these variables from the command line. -SPHINXOPTS = -SPHINXBUILD = sphinx-build -PAPER = -BUILDDIR = build - -# User-friendly check for sphinx-build -ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1) -$(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don't have Sphinx installed, grab it from http://sphinx-doc.org/) -endif - -# Internal variables. -PAPEROPT_a4 = -D latex_paper_size=a4 -PAPEROPT_letter = -D latex_paper_size=letter -ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source -# the i18n builder cannot share the environment and doctrees with the others -I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source - -.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext - -help: - @echo "Please use \`make ' where is one of" - @echo " html to make standalone HTML files" - @echo " dirhtml to make HTML files named index.html in directories" - @echo " singlehtml to make a single large HTML file" - @echo " pickle to make pickle files" - @echo " json to make JSON files" - @echo " htmlhelp to make HTML files and a HTML help project" - @echo " qthelp to make HTML files and a qthelp project" - @echo " devhelp to make HTML files and a Devhelp project" - @echo " epub to make an epub" - @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter" - @echo " latexpdf to make LaTeX files and run them through pdflatex" - @echo " latexpdfja to make LaTeX files and run them through platex/dvipdfmx" - @echo " text to make text files" - @echo " man to make manual pages" - @echo " texinfo to make Texinfo files" - @echo " info to make Texinfo files and run them through makeinfo" - @echo " gettext to make PO message catalogs" - @echo " changes to make an overview of all changed/added/deprecated items" - @echo " xml to make Docutils-native XML files" - @echo " pseudoxml to make pseudoxml-XML files for display purposes" - @echo " linkcheck to check all external links for integrity" - @echo " doctest to run all doctests embedded in the documentation (if enabled)" - -clean: - rm -rf $(BUILDDIR)/* - -html: - $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html - @echo - @echo "Build finished. The HTML pages are in $(BUILDDIR)/html." - -dirhtml: - $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml - @echo - @echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml." - -singlehtml: - $(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml - @echo - @echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml." - -pickle: - $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle - @echo - @echo "Build finished; now you can process the pickle files." - -json: - $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json - @echo - @echo "Build finished; now you can process the JSON files." - -htmlhelp: - $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp - @echo - @echo "Build finished; now you can run HTML Help Workshop with the" \ - ".hhp project file in $(BUILDDIR)/htmlhelp." - -qthelp: - $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp - @echo - @echo "Build finished; now you can run "qcollectiongenerator" with the" \ - ".qhcp project file in $(BUILDDIR)/qthelp, like this:" - @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/fuel-plugin-openbook.qhcp" - @echo "To view the help file:" - @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/fuel-plugin-openbook.qhc" - -devhelp: - $(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp - @echo - @echo "Build finished." - @echo "To view the help file:" - @echo "# mkdir -p $$HOME/.local/share/devhelp/fuel-plugin-openbook" - @echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/fuel-plugin-openbook" - @echo "# devhelp" - -epub: - $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub - @echo - @echo "Build finished. The epub file is in $(BUILDDIR)/epub." - -latex: - $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex - @echo - @echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex." - @echo "Run \`make' in that directory to run these through (pdf)latex" \ - "(use \`make latexpdf' here to do that automatically)." - -latexpdf: - $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex - @echo "Running LaTeX files through pdflatex..." - $(MAKE) -C $(BUILDDIR)/latex all-pdf - @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex." - -latexpdfja: - $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex - @echo "Running LaTeX files through platex and dvipdfmx..." - $(MAKE) -C $(BUILDDIR)/latex all-pdf-ja - @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex." - -text: - $(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text - @echo - @echo "Build finished. The text files are in $(BUILDDIR)/text." - -man: - $(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man - @echo - @echo "Build finished. The manual pages are in $(BUILDDIR)/man." - -texinfo: - $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo - @echo - @echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo." - @echo "Run \`make' in that directory to run these through makeinfo" \ - "(use \`make info' here to do that automatically)." - -info: - $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo - @echo "Running Texinfo files through makeinfo..." - make -C $(BUILDDIR)/texinfo info - @echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo." - -gettext: - $(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale - @echo - @echo "Build finished. The message catalogs are in $(BUILDDIR)/locale." - -changes: - $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes - @echo - @echo "The overview file is in $(BUILDDIR)/changes." - -linkcheck: - $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck - @echo - @echo "Link check complete; look for any errors in the above output " \ - "or in $(BUILDDIR)/linkcheck/output.txt." - -doctest: - $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest - @echo "Testing of doctests in the sources finished, look at the " \ - "results in $(BUILDDIR)/doctest/output.txt." - -xml: - $(SPHINXBUILD) -b xml $(ALLSPHINXOPTS) $(BUILDDIR)/xml - @echo - @echo "Build finished. The XML files are in $(BUILDDIR)/xml." - -pseudoxml: - $(SPHINXBUILD) -b pseudoxml $(ALLSPHINXOPTS) $(BUILDDIR)/pseudoxml - @echo - @echo "Build finished. The pseudo-XML files are in $(BUILDDIR)/pseudoxml." diff --git a/doc/source/_static/ceilometer-select_s.png b/doc/source/_static/ceilometer-select_s.png deleted file mode 100644 index 8e5018d..0000000 Binary files a/doc/source/_static/ceilometer-select_s.png and /dev/null differ diff --git a/doc/source/_static/deployment-success.png b/doc/source/_static/deployment-success.png deleted file mode 100644 index 278f1ec..0000000 Binary files a/doc/source/_static/deployment-success.png and /dev/null differ diff --git a/doc/source/_static/openbook-node.png b/doc/source/_static/openbook-node.png deleted file mode 100644 index 7e6e068..0000000 Binary files a/doc/source/_static/openbook-node.png and /dev/null differ diff --git a/doc/source/_static/plugin-openbook-config_s.png b/doc/source/_static/plugin-openbook-config_s.png deleted file mode 100644 index e31e9a1..0000000 Binary files a/doc/source/_static/plugin-openbook-config_s.png and /dev/null differ diff --git a/doc/source/_static/service-manager-verify.png b/doc/source/_static/service-manager-verify.png deleted file mode 100644 index 0b91333..0000000 Binary files a/doc/source/_static/service-manager-verify.png and /dev/null differ diff --git a/doc/source/conf.py b/doc/source/conf.py deleted file mode 100644 index c8e1144..0000000 --- a/doc/source/conf.py +++ /dev/null @@ -1,340 +0,0 @@ -# -*- coding: utf-8 -*- -# -# fuel-plugin-openbook documentation build configuration file, created by -# sphinx-quickstart on Wed Oct 7 12:48:35 2015. -# -# This file is execfile()d with the current directory set to its -# containing dir. -# -# Note that not all possible configuration values are present in this -# autogenerated file. -# -# All configuration values have a default; values that are commented out -# serve to show the default. - -import sys -import os - -# If extensions (or modules to document with autodoc) are in another directory, -# add these directories to sys.path here. If the directory is relative to the -# documentation root, use os.path.abspath to make it absolute, like shown here. -#sys.path.insert(0, os.path.abspath('.')) - -# -- General configuration ------------------------------------------------ - -# If your documentation needs a minimal Sphinx version, state it here. -#needs_sphinx = '1.0' - -# Add any Sphinx extension module names here, as strings. They can be -# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom -# ones. -extensions = [ -# 'sphinx.ext.todo', -# 'sphinx.ext.coverage', -] - -# Add any paths that contain templates here, relative to this directory. -templates_path = ['_templates'] - -# The suffix of source filenames. -source_suffix = '.rst' - -# The encoding of source files. -#source_encoding = 'utf-8-sig' - -# The master toctree document. -master_doc = 'index' - -# General information about the project. -project = u'The Openbook plugin for Fuel' -copyright = u'2016, Talligent Inc.' - -# The version info for the project you're documenting, acts as replacement for -# |version| and |release|, also used in various other places throughout the -# built documents. -# -# The short X.Y version. -version = '1.3' -# The full version, including alpha/beta/rc tags. -release = '1.3-1.3.3-1' - -# The language for content autogenerated by Sphinx. Refer to documentation -# for a list of supported languages. -#language = None - -# There are two options for replacing |today|: either, you set today to some -# non-false value, then it is used: -#today = '' -# Else, today_fmt is used as the format for a strftime call. -#today_fmt = '%B %d, %Y' - -# List of patterns, relative to source directory, that match files and -# directories to ignore when looking for source files. -exclude_patterns = [] - -# The reST default role (used for this markup: `text`) to use for all -# documents. -#default_role = None - -# If true, '()' will be appended to :func: etc. cross-reference text. -#add_function_parentheses = True - -# If true, the current module name will be prepended to all description -# unit titles (such as .. function::). -#add_module_names = True - -# If true, sectionauthor and moduleauthor directives will be shown in the -# output. They are ignored by default. -#show_authors = False - -# The name of the Pygments (syntax highlighting) style to use. -pygments_style = 'sphinx' - -# A list of ignored prefixes for module index sorting. -#modindex_common_prefix = [] - -# If true, keep warnings as "system message" paragraphs in the built documents. -#keep_warnings = False - - -# -- Options for HTML output ---------------------------------------------- - -# The theme to use for HTML and HTML Help pages. See the documentation for -# a list of builtin themes. -html_theme = 'default' - -# Theme options are theme-specific and customize the look and feel of a theme -# further. For a list of options available for each theme, see the -# documentation. -#html_theme_options = {} - -# Add any paths that contain custom themes here, relative to this directory. -#html_theme_path = [] - -# The name for this set of Sphinx documents. If None, it defaults to -# " v documentation". -#html_title = None - -# A shorter title for the navigation bar. Default is the same as html_title. -#html_short_title = None - -# The name of an image file (relative to this directory) to place at the top -# of the sidebar. -#html_logo = None - -# The name of an image file (within the static path) to use as favicon of the -# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 -# pixels large. -#html_favicon = None - -# Add any paths that contain custom static files (such as style sheets) here, -# relative to this directory. They are copied after the builtin static files, -# so a file named "default.css" will overwrite the builtin "default.css". -html_static_path = ['_static'] - -# Add any extra paths that contain custom files (such as robots.txt or -# .htaccess) here, relative to this directory. These files are copied -# directly to the root of the documentation. -#html_extra_path = [] - -# If not '', a 'Last updated on:' timestamp is inserted at every page bottom, -# using the given strftime format. -#html_last_updated_fmt = '%b %d, %Y' - -# If true, SmartyPants will be used to convert quotes and dashes to -# typographically correct entities. -#html_use_smartypants = True - -# Custom sidebar templates, maps document names to template names. -#html_sidebars = {} - -# Additional templates that should be rendered to pages, maps page names to -# template names. -#html_additional_pages = {} - -# If false, no module index is generated. -#html_domain_indices = True - -# If false, no index is generated. -#html_use_index = True - -# If true, the index is split into individual pages for each letter. -#html_split_index = False - -# If true, links to the reST sources are added to the pages. -#html_show_sourcelink = True - -# If true, "Created using Sphinx" is shown in the HTML footer. Default is True. -#html_show_sphinx = True - -# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True. -#html_show_copyright = True - -# If true, an OpenSearch description file will be output, and all pages will -# contain a tag referring to it. The value of this option must be the -# base URL from which the finished HTML is served. -#html_use_opensearch = '' - -# This is the file name suffix for HTML files (e.g. ".xhtml"). -#html_file_suffix = None - -# Output file base name for HTML help builder. -htmlhelp_basename = 'fuel-plugin-openbookdoc' - - -# -- Options for LaTeX output --------------------------------------------- - -latex_elements = { -# The paper size ('letterpaper' or 'a4paper'). -#'papersize': 'letterpaper', - -# The font size ('10pt', '11pt' or '12pt'). -#'pointsize': '10pt', - -# Additional stuff for the LaTeX preamble. -#'preamble': '', -} - -# Grouping the document tree into LaTeX files. List of tuples -# (source start file, target name, title, -# author, documentclass [howto, manual, or own class]). -latex_documents = [ - ('index', 'fuel-plugin-openbook.tex', u'The Openbook Plugin for Fuel Documentation', - u'Talligent Inc.', 'manual'), -] - -# The name of an image file (relative to this directory) to place at the top of -# the title page. -#latex_logo = None - -# For "manual" documents, if this is true, then toplevel headings are parts, -# not chapters. -#latex_use_parts = False - -# If true, show page references after internal links. -#latex_show_pagerefs = False - -# If true, show URL addresses after external links. -#latex_show_urls = False - -# Documents to append as an appendix to all manuals. -#latex_appendices = [] - -# If false, no module index is generated. -#latex_domain_indices = True - -# make latex stop printing blank pages between sections -# http://stackoverflow.com/questions/5422997/sphinx-docs-remove-blank-pages-from-generated-pdfs -latex_elements = { 'classoptions': ',openany,oneside', 'babel' : '\\usepackage[english]{babel}' } - - -# -- Options for manual page output --------------------------------------- - -# One entry per manual page. List of tuples -# (source start file, name, description, authors, manual section). -man_pages = [ - ('index', 'fuel-plugin-openbook', u'Guide to the Openbook Plugin ver. 1.3-1.3.3-1 for Fuel', - [u'Talligent Inc.'], 1) -] - -# If true, show URL addresses after external links. -#man_show_urls = False - - -# -- Options for Texinfo output ------------------------------------------- - -# Grouping the document tree into Texinfo files. List of tuples -# (source start file, target name, title, author, -# dir menu entry, description, category) -texinfo_documents = [ - ('index', 'fuel-plugin-openbook', u'The Openbook Plugin for Fuel Documentation', - u'Talligent Inc.', 'fuel-plugin-openbook', 'The Openbook Plugin for Fuel Documentation', - 'Miscellaneous'), -] - -# Documents to append as an appendix to all manuals. -#texinfo_appendices = [] - -# If false, no module index is generated. -#texinfo_domain_indices = True - -# How to display URL addresses: 'footnote', 'no', or 'inline'. -#texinfo_show_urls = 'footnote' - -# If true, do not generate a @detailmenu in the "Top" node's menu. -#texinfo_no_detailmenu = False - -# Insert footnotes where they are defined instead of -# at the end. -pdf_inline_footnotes = True - - - -# -- Options for Epub output ---------------------------------------------- - -# Bibliographic Dublin Core info. -epub_title = u'The Openbook Plugin for Fuel' -epub_author = u'Talligent Inc.' -epub_publisher = u'Talligent Inc.' -epub_copyright = u'2016, Talligent Inc.' - -# The basename for the epub file. It defaults to the project name. -#epub_basename = u'fuel-plugin-openbook' - -# The HTML theme for the epub output. Since the default themes are not optimized -# for small screen space, using the same theme for HTML and epub output is -# usually not wise. This defaults to 'epub', a theme designed to save visual -# space. -#epub_theme = 'epub' - -# The language of the text. It defaults to the language option -# or en if the language is not set. -#epub_language = '' - -# The scheme of the identifier. Typical schemes are ISBN or URL. -#epub_scheme = '' - -# The unique identifier of the text. This can be a ISBN number -# or the project homepage. -#epub_identifier = '' - -# A unique identification for the text. -#epub_uid = '' - -# A tuple containing the cover image and cover page html template filenames. -#epub_cover = () - -# A sequence of (type, uri, title) tuples for the guide element of content.opf. -#epub_guide = () - -# HTML files that should be inserted before the pages created by sphinx. -# The format is a list of tuples containing the path and title. -#epub_pre_files = [] - -# HTML files shat should be inserted after the pages created by sphinx. -# The format is a list of tuples containing the path and title. -#epub_post_files = [] - -# A list of files that should not be packed into the epub file. -epub_exclude_files = ['search.html'] - -# The depth of the table of contents in toc.ncx. -#epub_tocdepth = 3 - -# Allow duplicate toc entries. -#epub_tocdup = True - -# Choose between 'default' and 'includehidden'. -#epub_tocscope = 'default' - -# Fix unsupported image types using the PIL. -#epub_fix_images = False - -# Scale large images. -#epub_max_image_width = 0 - -# How to display URL addresses: 'footnote', 'no', or 'inline'. -#epub_show_urls = 'inline' - -# If false, no index is generated. -#epub_use_index = True diff --git a/doc/source/guide.rst b/doc/source/guide.rst deleted file mode 100644 index ddbf538..0000000 --- a/doc/source/guide.rst +++ /dev/null @@ -1,86 +0,0 @@ -.. _user_guide: - -User Guide -========== - -.. _plugin_configuration: - -Plugin configuration --------------------- - -#. `Create a new environment `_ - with the Fuel UI wizard. At the moment only the Ubuntu distribution is supported. - - .. note:: Please note – the Ceilometer service is not required for all Openbook use cases. Where Ceilometer - is not available or has been disabled, you still have the ability to bill for service instances such as - instances, volumes, or floating IPs in intervals of 15 minutes (service instances created and deleted - within the 15 minute interval will not be billed). In this circumstance, unselect the incremental - sync, and decrease the interval for the full resync. - - With Ceilometer, you have the ability to bill for service instances in intervals of a second or ability - to bill for metered resources such as network bandwidth, object storage bytes on disk. - -#. Click on the Settings tab of the Fuel web UI. - - Select "Other", enable the plugin by clicking on the - "Openbook Plugin" checkbox and fill-in the required fields (default for 'database password' is Tall!g3nt): - - .. image:: _static/plugin-openbook-config_s.png - :alt: A screenshot of the Openbook Plugin settings UI for 8.0 - :scale: 90% - -#. Click *Save Settings* at the bottom of the page to save the configuration parameters. - -#. Switch to the *Nodes* tab. - -#. After `adding all OpenStack nodes/roles `_, - add an Openbook node (optional: rename to something meaningful, such as "openbook"): - - .. image:: _static/openbook-node.png - :alt: A screenshot of the Openbook host name - :scale: 90% - -#. Select the *Networks* tab, select *Connectivity Check*, and `Verify Networks `_. - -#. Then finally, `Deploy Changes `_. - -.. _plugin_install_verification: - -Plugin Install Verification ---------------------------- - -Once the deployment is finished, the Dashboard tab will display the "Success" notification, stating that -the plugin is deployed and will give the URL schema for accessing the Openbook UI. - -.. image:: _static/deployment-success.png - :alt: A screenshot of the Dashboard Success notification - :scale: 90% - -Use the fuel command line to retrieve the IP address of the openbook node. - -.. _retrieve_ip: - -.. code:: bash - - [root@fuel ~]# fuel nodes - id | status | name | cluster | ip | [..] | roles | [..] - ---|----------|---------------|---------|-----------|------|-------------------|------ - 2 | ready | compute-01 | 2 | 10.20.0.4 | | cinder, compute | - 1 | ready | controller-01 | 2 | 10.20.0.3 | | controller | - 3 | ready | openbook | 2 | 10.20.0.5 | | openbook | - .. | ..... | ..............| ... | ......... | | ............... | - -In this example, the Openbook UI would be accessed at ``https://10.20.0.5:8443/Openbook`` - -Using Openbook --------------- - -Official documentation for various features of Openbook can be found below. - -* Guide: `Creating a Rate Plan `_ - -* Guide: `Capacity Reports `_ - -* Guide: `Extracting Data from Openbook (API) `_ - - diff --git a/doc/source/index.rst b/doc/source/index.rst deleted file mode 100644 index a74acf7..0000000 --- a/doc/source/index.rst +++ /dev/null @@ -1,21 +0,0 @@ -.. fuel-plugin-openbook documentation master file, created by - sphinx-quickstart on Wed Oct 7 12:48:35 2015. - You can adapt this file completely to your liking, but it should at least - contain the root `toctree` directive. - -================================================ -Guide to the Openbook Plugin ver. 1.3.3 for Fuel -================================================ - -User documentation -================== - -.. toctree:: - :maxdepth: 2 - - overview - installation - guide - verification - troubleshooting - release diff --git a/doc/source/installation.rst b/doc/source/installation.rst deleted file mode 100644 index 4e88b0c..0000000 --- a/doc/source/installation.rst +++ /dev/null @@ -1,42 +0,0 @@ -Installation Guide -================== - -How to install the plugin -------------------------- - -Per the :ref:`Requirements section `, `Contact Talligent `_ to get access to the -Talligent Sharefile account for downloading Openbook and the Openbook 'How to guide'. - -Please refer to the `Install Fuel Plugins `_ section from the Fuel Installation Guide for installation -of the plugin. You can also refer to the `CLI command reference for Fuel Plugins `_. - -#. Copy the plugin file to the Fuel Master node. - - .. code:: bash - - scp openbook*rpm root@:/root/ - -#. Install the plugin using the fuel command line: - - .. code:: bash - - ssh root@ - fuel plugins --install openbook*.rpm - -#. Verify that the plugin is installed correctly: - - .. code:: bash - - [root@fuel ~]# fuel plugins - id | name | version | package_version - ---|----------|---------|---------------- - 1 | openbook | 1.3.3 | 4.0.0 - -#. Copy the Openbook-*.zip package to the Fuel Master node (note: should be Openbook.zip on the Fuel Master node) - - .. code:: bash - - scp Openbook-*.zip root@:/var/www/nailgun/plugins/Openbook.zip - ssh root@ - cd /var/www/nailgun/plugins/ - mv Openbook.zip openbook-1.3/deployment_scripts/puppet/modules/openbook/files/ diff --git a/doc/source/overview.rst b/doc/source/overview.rst deleted file mode 100644 index 1d81b4b..0000000 --- a/doc/source/overview.rst +++ /dev/null @@ -1,58 +0,0 @@ -.. _user_overview: - -Overview -======== - -This plugin extends Mirantis OpenStack functionality by adding Openbook customer -onboarding, self-service, and cloud billing / charge-back services. Openbook is cloud -management and reporting software that simplifies the tasks of planning, charging, -and predicting capacity requirements for cloud services. Talligent gives the -administrator and tenant real-time visibility of resources and accrued costs, as well -as the ability to scale up or down according to budget and resource requirements. - -For the Service Provider: Openbook by Talligent is the quickest path to monetizing -OpenStack services. Openbook enables service providers to sell on demand cloud services -based on the OpenStack platform, including dedicated instances, networks, storage, -applications, virtual desktops, and other infrastructure elements or services. Services -can be packaged the way you want: by tiers, metered and sold by the hour, delivered -on-site or as part of a shared infrastructure. Cloud service providers can expand their -customer reach and strengthen their existing relationship via resellers. Openbook natively -supports reseller workflow with corresponding rate plans that support taxation, currency -conversion, proration, discounts, and promotional codes independent from the master -service provider. - -For the Enterprise: Without visibility into the growth of cloud services by department, -it is difficult to accurately predict how much new capacity to add, and when. Openbook -is designed to quickly answer key management questions about the environment – largest -tenants, host utilization, service growth, and project costs. Openbook has a robust -ratings engine tuned to OpenStack and VMware clouds to support hybrid cloud reporting. -Costs can be assigned by tenant, business unit, VP, project, or other cost center. -Managers are automatically updated on their cloud costs as well as performance against -budget. Detailed reports of growth trends, utilization, and seasonal patterns allow -you to better plan for new capacity. - -.. _plugin_requirements: - -Requirements ------------- - -+----------------------------------+-----------------------------------------------------------------------+ -| **Requirement** | **Version/Comment** | -+==================================+=======================================================================+ -| Mirantis OpenStack compatility | 8.0 | -+----------------------------------+-----------------------------------------------------------------------+ -| Distribution Supported | Ubuntu | -+----------------------------------+-----------------------------------------------------------------------+ -| Talligent Sharefile access | Contact openbook@talligent.com for access | -+----------------------------------+-----------------------------------------------------------------------+ -| Hardware configuration | The hardware configuration (RAM, CPU, disk) required by this plugin | -| | depends on the size of your cloud, but a typical setup would at least | -| | require a dual-core server with 4GB of RAM and at least 500GB of disk | -+----------------------------------+-----------------------------------------------------------------------+ - -Limitations ------------ - -A current limitation of this plugin is that it not possible to display in the Fuel web UI the URL where the -Openbook interface can be reached when the deployment has completed. Instructions are provided in the -:ref:`User Guide ` about how you can obtain this URL. diff --git a/doc/source/release.rst b/doc/source/release.rst deleted file mode 100644 index fe8efb1..0000000 --- a/doc/source/release.rst +++ /dev/null @@ -1,15 +0,0 @@ -.. _release_notes: - -Release Notes -============= - -The release of Openbook v3 is based on several months of close interaction and detailed feedback from operators of large scale private and public clouds based on OpenStack and VMware. The refined feature set available in v3 includes: - -* Clear reports of utilization and growth trends at the cloud provider, business unit, cost center, and tenant level for capacity and budget planning. - -* A VMware adapter to support hybrid cloud environments and provide costs comparisons of workloads running in VMware or OpenStack instances. Azure support is coming soon. - -* Enhanced chargeback and showback reporting that rolls up multiple tenants to a single cost center, while also providing ad hoc drill down of the detail resource consumption and associated costs. - -* The ability to include non-OpenStack infrastructure elements, custom metrics, or services into rates plans and billing models via API or user-defined fields. - diff --git a/doc/source/troubleshooting.rst b/doc/source/troubleshooting.rst deleted file mode 100644 index b3b9d65..0000000 --- a/doc/source/troubleshooting.rst +++ /dev/null @@ -1,20 +0,0 @@ -.. _troubleshooting: - -Troubleshooting -=============== - -If the dashboard is not accessible, check the following: - -1. Check that the Tomcat service is running:: - - [root@node-12]# service tomcat7 status - -#. If Tomcat service is down, restart it:: - - [root@node-12]# service tomcat7 start - - -If the charts are not updating, check that the license key hasn't expired - -1. Login to the Dashboard as an administrator, select 'License', and verify that there are "Days Remaining" - diff --git a/doc/source/verification.rst b/doc/source/verification.rst deleted file mode 100644 index 36c2f0e..0000000 --- a/doc/source/verification.rst +++ /dev/null @@ -1,14 +0,0 @@ -.. _verification: - -Verification -============ - -The plugin automatically connects Openbook to the OpenStack environment. To verify correct operation, login -as administrator to the Openbook dashboard (using :ref:`the node IP `), select 'Service Managers' -under CONFIGURE, right-click the "MOS Environment" service manager, and select 'Edit Service Manager'. Click -"Test Connection" to see "Authentication Succeeded" message. - - .. image:: _static/service-manager-verify.png - :alt: A screenshot of the Openbook Service Manager verification - :scale: 90% - diff --git a/environment_config.yaml b/environment_config.yaml deleted file mode 100644 index f26bda1..0000000 --- a/environment_config.yaml +++ /dev/null @@ -1,50 +0,0 @@ -attributes: - openbook_text: - value: 'Openbook Fuel Plugin' - label: 'Openbook plugin' - description: 'Deploys Openbook for billing/invoicing and customer lifecycle management for OpenStack' - weight: 25 - type: "text" - db_password: - value: "Tall!g3nt" - label: "database password" - description: "Password for MariaDB" - weight: 30 - type: "password" - node_name: - value: 'openbook' - label: 'Node name' - description: 'The name of the node where the plugin will be deployed.' - weight: 10 - type: "text" - -# sharefile_user: -# type: "text" -# weight: 50 -# value: "" -# label: "Sharefile Username (e-mail)" -# description: "Sharefile username is required to download Openbook" -# regex: &email -# source: '[a-z0-9!#$%&*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.?)?[a-z0-9]?(?:[a-z0-9-]*[a-z0-9])?' -# error: "Invalid email address" -# -# sharefile_pass: -# type: "password" -# weight: 51 -# value: "" -# label: "Sharefile Password" -# description: "Sharefile password is required to download Openbook" -# regex: ¬_empty_parameter -# source: '\S' -# error: "Invalid value" - - jvm_heap_size: - value: '1' - label: 'JVM heap size' - description: 'in GB (between 1 and 32). The amount of memory reserved for the JVM.' - weight: 100 - type: "text" - regex: - source: '^([1-9]|[12][0-9]|3[0-2])$' - error: 'Enter a value between 1 and 32' - diff --git a/functions.sh b/functions.sh deleted file mode 100644 index 8288a4c..0000000 --- a/functions.sh +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/bash -# Copyright 2015 Mirantis, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eux - -ROOT="$(dirname "$(readlink -f "$0")")" -MODULES_DIR="${ROOT}"/deployment_scripts/puppet/modules -RPM_REPO="${ROOT}"/repositories/centos/ -DEB_REPO="${ROOT}"/repositories/ubuntu/ - -# Download RPM or DEB packages and store them in the local repository directory -function download_package { - while [ $# -gt 0 ]; do - if [[ "$1" == *.deb ]]; then - REPO=$DEB_REPO - elif [[ "$1" == *.rpm ]]; then - REPO=$RPM_REPO - else - echo "Invalid URL for download_package(): $1" - fi - - FILE=$(basename "$1") - if [ ! -f "$REPO"/"$FILE" ]; then - wget -qO - "$1" > "$REPO"/"$FILE" - fi - shift - done -} - -# Download official Puppet module and store it in the local directory -function download_puppet_module { - rm -rf "${MODULES_DIR:?}"/"$1" - mkdir -p "${MODULES_DIR}"/"$1" - wget -qO- "$2" | tar -C "${MODULES_DIR}/$1" --strip-components=1 -xz -} - diff --git a/metadata.yaml b/metadata.yaml deleted file mode 100644 index 4117399..0000000 --- a/metadata.yaml +++ /dev/null @@ -1,26 +0,0 @@ -# Plugin name -name: openbook -title: Openbook Plugin -version: '1.3.3' -description: Deploys Openbook for billing/invoicing and customer lifecycle management for OpenStack. Openbook URL schema is https://:8443/Openbook - -fuel_version: ['8.0'] -licenses: ['Apache License Version 2.0'] -authors: ['Talligent Inc.'] -homepage: 'https://github.com/openstack/fuel-plugin-openbook' -groups: ['monitoring'] - -# The plugin is compatible with releases in the list -releases: - - os: ubuntu - version: liberty-8.0 - mode: ['ha'] - deployment_scripts_path: deployment_scripts/ - repository_path: repositories/ubuntu - -# Version of plugin package -#package_version: '3.0.0' -package_version: '4.0.0' - -# Can be installed after MOS environment deployment -is_hotpluggable: true diff --git a/network_roles.yaml b/network_roles.yaml deleted file mode 100644 index cd989e3..0000000 --- a/network_roles.yaml +++ /dev/null @@ -1,15 +0,0 @@ -# Unique network role name -- id: "openbook" - # Role mapping to network - default_mapping: "management" - properties: - # Should be true if network role requires subnet being set - subnet: true - # Should be true if network role requires gateway being set - gateway: true - vip: - - name: "openbook_public" - namespace: "haproxy" - #node_roles: ["openbook"] - alias: "openbook_public" - diff --git a/node_roles.yaml b/node_roles.yaml deleted file mode 100644 index 113f663..0000000 --- a/node_roles.yaml +++ /dev/null @@ -1,14 +0,0 @@ -openbook: - name: 'Openbook' - description: 'Install Openbook' - has_primary: false - public_ip_required: false - weight: 100 - conflicts: - - controller - - compute - - cinder - - ceph-osd - - mongo - - compute-vmware - - cinder-vmware diff --git a/pre_build_hook b/pre_build_hook deleted file mode 100755 index bdee454..0000000 --- a/pre_build_hook +++ /dev/null @@ -1,257 +0,0 @@ -#!/bin/bash -set -eux - -. "$(dirname "$(readlink -f "$0")")"/functions.sh - -# Puppet manifests -APT_TARBALL_URL="https://forgeapi.puppetlabs.com/v3/files/puppetlabs-apt-2.2.1.tar.gz" -STDLIB_TARBALL_URL="https://forgeapi.puppetlabs.com/v3/files/puppetlabs-stdlib-4.11.0.tar.gz" -MARIADBREPO_TARBALL_URL="https://forgeapi.puppet.com/v3/files/yguenane-mariadbrepo-0.2.1.tar.gz" - -# Packages needed for MariaDB (mariadb-server) -#download_package http://ftp.osuosl.org/pub/mariadb/repo/10.0/ubuntu/pool/main/m/mariadb-10.0/mysql-common_10.0.25+maria-1~trusty_all.deb \ -#ttp://ftp.osuosl.org/pub/mariadb/repo/10.0/ubuntu/pool/main/m/mariadb-10.0/mariadb-common_10.0.25+maria-1~trusty_all.deb \ -#http://ftp.osuosl.org/pub/mariadb/repo/10.0/ubuntu/pool/main/m/mariadb-10.0/libmariadbclient18_10.0.25+maria-1~trusty_amd64.deb \ -#http://ftp.osuosl.org/pub/mariadb/repo/10.0/ubuntu/pool/main/m/mariadb-10.0/libmysqlclient18_10.0.25+maria-1~trusty_amd64.deb \ -#http://ftp.osuosl.org/pub/mariadb/repo/10.0/ubuntu/pool/main/m/mariadb-10.0/mariadb-client-core-10.0_10.0.25+maria-1~trusty_amd64.deb \ -#http://ftp.osuosl.org/pub/mariadb/repo/10.0/ubuntu/pool/main/m/mariadb-10.0/mariadb-client-10.0_10.0.25+maria-1~trusty_amd64.deb \ -#http://ftp.osuosl.org/pub/mariadb/repo/10.0/ubuntu/pool/main/m/mariadb-10.0/mariadb-server-core-10.0_10.0.25+maria-1~trusty_amd64.deb \ -#http://ftp.osuosl.org/pub/mariadb/repo/10.0/ubuntu/pool/main/m/mariadb-10.0/mariadb-server-10.0_10.0.25+maria-1~trusty_amd64.deb \ -#http://ftp.osuosl.org/pub/mariadb/repo/10.0/ubuntu/pool/main/m/mariadb-10.0/mariadb-server_10.0.25+maria-1~trusty_all.deb \ -#http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/liba/libaio/libaio1_0.3.109-4_amd64.deb \ -#http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/r/readline5/libreadline5_5.2+dfsg-2_amd64.deb \ -#http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/libd/libdbi-perl/libdbi-perl_1.630-1_amd64.deb \ -#http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/libd/libdbd-mysql-perl/libdbd-mysql-perl_4.025-1_amd64.deb \ -#http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/libh/libhtml-template-perl/libhtml-template-perl_2.95-1_all.deb - - -# Packages needed for Tomcat -#download_package http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/liba/libasyncns/libasyncns0_0.8-4ubuntu2_amd64.deb \ -#http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/a/avahi/libavahi-common-data_0.6.31-4ubuntu1_amd64.deb \ -#http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/a/avahi/libavahi-common3_0.6.31-4ubuntu1_amd64.deb \ -#http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/a/avahi/libavahi-client3_0.6.31-4ubuntu1_amd64.deb \ -#http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/c/cups/libcups2_1.7.2-0ubuntu1.7_amd64.deb \ -#http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/libo/libogg/libogg0_1.3.1-1ubuntu1_amd64.deb \ -#http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/f/flac/libflac8_1.3.0-2ubuntu0.14.04.1_amd64.deb \ -#http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/f/fonts-dejavu/fonts-dejavu-core_2.34-1ubuntu1_all.deb \ -#http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/f/fontconfig/fontconfig-config_2.11.0-0ubuntu4.1_all.deb \ -#http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/f/fontconfig/libfontconfig1_2.11.0-0ubuntu4.1_amd64.deb \ -#http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/libj/libjpeg-turbo/libjpeg-turbo8_1.3.0-0ubuntu2_amd64.deb \ -#http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/l/lcms2/liblcms2-2_2.5-0ubuntu4_amd64.deb \ -#http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/n/nspr/libnspr4_4.10.10-0ubuntu0.14.04.1_amd64.deb \ -#http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/n/nss/libnss3-nssdb_3.19.2.1-0ubuntu0.14.04.2_all.deb \ -#http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/n/nss/libnss3_3.19.2.1-0ubuntu0.14.04.2_amd64.deb \ -#http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/p/pcsc-lite/libpcsclite1_1.8.10-1ubuntu1_amd64.deb \ -#http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/libv/libvorbis/libvorbis0a_1.3.2-1.3ubuntu1_amd64.deb \ -#http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/libv/libvorbis/libvorbisenc2_1.3.2-1.3ubuntu1_amd64.deb \ -#http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/libs/libsndfile/libsndfile1_1.0.25-7ubuntu2.1_amd64.deb \ -#http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/p/pulseaudio/libpulse0_4.0-0ubuntu11.1_amd64.deb \ -#http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/l/lksctp-tools/libsctp1_1.0.15+dfsg-1_amd64.deb \ -#http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/j/java-common/java-common_0.51_all.deb \ -#http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/j/java-common/default-jre-headless_1.7-51_amd64.deb \ -#http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/c/ca-certificates-java/ca-certificates-java_20130815ubuntu1_all.deb \ -#http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/t/tzdata/tzdata_2015g-0ubuntu0.14.04_all.deb \ -#http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/t/tzdata/tzdata-java_2015g-0ubuntu0.14.04_all.deb \ -#http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/libj/libjpeg8-empty/libjpeg8_8c-2ubuntu8_amd64.deb \ -#http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/o/openjdk-7/openjdk-7-jre-headless_7u95-2.6.4-0ubuntu0.14.04.1_amd64.deb \ -#http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/libc/libcommons-collections3-java/libcommons-collections3-java_3.2.1-6_all.deb \ -#http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/c/commons-pool/libcommons-pool-java_1.6-2_all.deb \ -#http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/libc/libcommons-dbcp-java/libcommons-dbcp-java_1.4-3ubuntu1_all.deb \ -#http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/e/ecj/libecj-java_3.9.0-1_all.deb \ -#http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/g/geronimo-jta-1.1-spec/libgeronimo-jta-1.1-spec-java_1.1.1-3ubuntu1_all.deb \ -#http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/t/tomcat7/libservlet3.0-java_7.0.52-1ubuntu0.3_all.deb \ -#http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/t/tomcat7/libtomcat7-java_7.0.52-1ubuntu0.3_all.deb \ -#http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/l/lksctp-tools/lksctp-tools_1.0.15+dfsg-1_amd64.deb \ -#http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/t/tomcat7/tomcat7-common_7.0.52-1ubuntu0.3_all.deb \ -#http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/t/tomcat7/tomcat7_7.0.52-1ubuntu0.3_all.deb \ -#http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/a/authbind/authbind_2.1.1_amd64.deb - - -# Additional dependencies -#download_package http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/a/autogen/libopts25_5.18-2ubuntu2_amd64.deb \ -#http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/n/ntp/ntp_4.2.6.p5+dfsg-3ubuntu2.14.04.6_amd64.deb \ -#http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/u/unzip/unzip_6.0-9ubuntu1.5_amd64.deb - -# Java 8 -download_package http://ppa.launchpad.net/openjdk-r/ppa/ubuntu/pool/main/o/openjdk-8/openjdk-8-jre-headless_8u91-b14-0ubuntu4~14.04_amd64.deb \ -http://ppa.launchpad.net/openjdk-r/ppa/ubuntu/pool/main/o/openjdk-8/openjdk-8-jre_8u91-b14-0ubuntu4~14.04_amd64.deb \ -http://ppa.launchpad.net/openjdk-r/ppa/ubuntu/pool/main/o/openjdk-8/openjdk-8-jdk-headless_8u91-b14-0ubuntu4~14.04_amd64.deb \ -http://ppa.launchpad.net/openjdk-r/ppa/ubuntu/pool/main/o/openjdk-8/openjdk-8-jdk_8u91-b14-0ubuntu4~14.04_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/a/alsa-lib/libasound2-data_1.0.27.2-3ubuntu7_all.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/a/alsa-lib/libasound2_1.0.27.2-3ubuntu7_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/liba/libasyncns/libasyncns0_0.8-4ubuntu2_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/liba/libatasmart/libatasmart4_0.19-3_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/a/atk1.0/libatk1.0-data_2.10.0-2ubuntu2_all.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/a/atk1.0/libatk1.0-0_2.10.0-2ubuntu2_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/a/at-spi2-core/libatspi2.0-0_2.10.2.is.2.10.1-0ubuntu1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/a/at-spi2-atk/libatk-bridge2.0-0_2.10.2-2ubuntu1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/g/gtk+2.0/libgtk2.0-common_2.24.23-0ubuntu1.4_all.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/f/fonts-dejavu/fonts-dejavu-core_2.34-1ubuntu1_all.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/f/fontconfig/fontconfig-config_2.11.0-0ubuntu4.1_all.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/f/fontconfig/libfontconfig1_2.11.0-0ubuntu4.1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/p/pixman/libpixman-1-0_0.30.2-2ubuntu1.1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libx/libxcb/libxcb-render0_1.10-2ubuntu1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libx/libxcb/libxcb-shm0_1.10-2ubuntu1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libx/libxrender/libxrender1_0.9.8-1build0.14.04.1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/c/cairo/libcairo2_1.13.0~20140204-0ubuntu1.1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/a/avahi/libavahi-common-data_0.6.31-4ubuntu1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/a/avahi/libavahi-common3_0.6.31-4ubuntu1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/a/avahi/libavahi-client3_0.6.31-4ubuntu1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/c/cups/libcups2_1.7.2-0ubuntu1.7_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libj/libjpeg-turbo/libjpeg-turbo8_1.3.0-0ubuntu2_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libj/libjpeg8-empty/libjpeg8_8c-2ubuntu8_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/j/jasper/libjasper1_1.900.1-14ubuntu3.3_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/j/jbigkit/libjbig0_2.0-2ubuntu4.1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/t/tiff/libtiff5_4.0.3-7ubuntu0.4_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/g/gdk-pixbuf/libgdk-pixbuf2.0-common_2.30.7-0ubuntu1.2_all.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/g/gdk-pixbuf/libgdk-pixbuf2.0-0_2.30.7-0ubuntu1.2_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libt/libthai/libthai-data_0.1.20-3_all.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libd/libdatrie/libdatrie1_0.2.8-1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libt/libthai/libthai0_0.1.20-3_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/f/fontconfig/fontconfig_2.11.0-0ubuntu4.1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/p/pango1.0/libpango-1.0-0_1.36.3-1ubuntu1.1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/g/graphite2/libgraphite2-3_1.3.6-1ubuntu0.14.04.1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/h/harfbuzz/libharfbuzz0b_0.9.27-1ubuntu1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/p/pango1.0/libpangoft2-1.0-0_1.36.3-1ubuntu1.1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/p/pango1.0/libpangocairo-1.0-0_1.36.3-1ubuntu1.1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libx/libxcomposite/libxcomposite1_0.4.4-1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libx/libxfixes/libxfixes3_5.0.1-1ubuntu1.1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libx/libxcursor/libxcursor1_1.1.14-1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libx/libxdamage/libxdamage1_1.1.4-1ubuntu1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libx/libxi/libxi6_1.7.1.901-1ubuntu1.1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libx/libxinerama/libxinerama1_1.1.3-1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libx/libxrandr/libxrandr2_1.4.2-1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/g/gtk+2.0/libgtk2.0-0_2.24.23-0ubuntu1.4_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/n/nspr/libnspr4_4.10.10-0ubuntu0.14.04.1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/n/nss/libnss3-nssdb_3.21-0ubuntu0.14.04.2_all.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/n/nss/libnss3_3.21-0ubuntu0.14.04.2_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/c/ca-certificates-java/ca-certificates-java_20130815ubuntu1_all.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/j/java-common/java-common_0.51_all.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/l/lcms2/liblcms2-2_2.5-0ubuntu4.1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/p/pcsc-lite/libpcsclite1_1.8.10-1ubuntu1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/x/xorg/x11-common_7.7+1ubuntu8.1_all.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libx/libxtst/libxtst6_1.2.2-1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/m/mesa/libglapi-mesa_10.1.3-0ubuntu0.6_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libx/libx11/libx11-xcb1_1.6.2-1ubuntu2_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libx/libxcb/libxcb-dri2-0_1.10-2ubuntu1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libx/libxcb/libxcb-dri3-0_1.10-2ubuntu1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libx/libxcb/libxcb-glx0_1.10-2ubuntu1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libx/libxcb/libxcb-present0_1.10-2ubuntu1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libx/libxcb/libxcb-sync1_1.10-2ubuntu1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libx/libxshmfence/libxshmfence1_1.1-2_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libx/libxxf86vm/libxxf86vm1_1.1.3-1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/m/mesa/libgl1-mesa-glx_10.1.3-0ubuntu0.6_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/g/giflib/libgif4_4.1.6-11_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libo/libogg/libogg0_1.3.1-1ubuntu1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/f/flac/libflac8_1.3.0-2ubuntu0.14.04.1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libv/libvorbis/libvorbis0a_1.3.2-1.3ubuntu1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libv/libvorbis/libvorbisenc2_1.3.2-1.3ubuntu1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libs/libsndfile/libsndfile1_1.0.25-7ubuntu2.1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/p/pulseaudio/libpulse0_4.0-0ubuntu11.1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/j/java-atk-wrapper/libatk-wrapper-java_0.30.4-4_all.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/j/java-atk-wrapper/libatk-wrapper-java-jni_0.30.4-4_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/a/avahi/libavahi-glib1_0.6.31-4ubuntu1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libb/libbonobo/libbonobo2-common_2.32.1-0ubuntu5_all.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libi/libidl/libidl-common_0.8.14-0.2ubuntu4_all.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libi/libidl/libidl0_0.8.14-0.2ubuntu4_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/o/orbit2/liborbit-2-0_2.14.19-0.3_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/o/orbit2/liborbit2_2.14.19-0.3_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libb/libbonobo/libbonobo2-0_2.32.1-0ubuntu5_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/c/cairo/libcairo-gobject2_1.13.0~20140204-0ubuntu1.1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libt/libtool/libltdl7_2.4.2-1.7ubuntu1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/t/tdb/libtdb1_1.3.8-0ubuntu0.14.04.1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libv/libvorbis/libvorbisfile3_1.3.2-1.3ubuntu1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/s/sound-theme-freedesktop/sound-theme-freedesktop_0.8-1_all.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libc/libcanberra/libcanberra0_0.30-0ubuntu3_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/c/colord/libcolord1_1.0.6-1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/d/d-conf/libdconf1_0.20.0-1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libp/libpciaccess/libpciaccess0_0.13.2-1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libd/libdrm/libdrm-intel1_2.4.64-1~ubuntu14.04.1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libd/libdrm/libdrm-nouveau2_2.4.64-1~ubuntu14.04.1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libd/libdrm/libdrm-radeon1_2.4.64-1~ubuntu14.04.1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libe/libexif/libexif12_0.6.21-1ubuntu1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libf/libfontenc/libfontenc1_1.1.2-1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/g/gconf/gconf2-common_3.2.6-0ubuntu2_all.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/g/gconf/libgconf-2-4_3.2.6-0ubuntu2_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libv/libvpx/libvpx1_1.3.0-2_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libx/libxpm/libxpm4_3.5.10-1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libg/libgd2/libgd3_2.1.0-3_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/l/llvm-toolchain-3.4/libllvm3.4_3.4-1ubuntu3_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/m/mesa/libgl1-mesa-dri_10.1.3-0ubuntu0.6_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/g/gconf/gconf-service-backend_3.2.6-0ubuntu2_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/g/gconf/gconf-service_3.2.6-0ubuntu2_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/d/dbus/dbus-x11_1.6.18-0ubuntu4.3_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/g/gconf/gconf2_3.2.6-0ubuntu2_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/g/gnome-vfs/libgnomevfs2-common_2.24.4-1ubuntu6_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/g/gnome-vfs/libgnomevfs2-0_2.24.4-1ubuntu6_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libg/libgnome/libgnome2-common_2.32.1-4ubuntu1_all.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libg/libgnome/libgnome2-bin_2.32.1-4ubuntu1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libg/libgnome/libgnome2-0_2.32.1-4ubuntu1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libg/libgphoto2/libgphoto2-port10_2.5.3.1-1ubuntu2.2_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libg/libgphoto2/libgphoto2-6_2.5.3.1-1ubuntu2.2_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/d/d-conf/dconf-service_0.20.0-1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/d/d-conf/dconf-gsettings-backend_0.20.0-1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/g/gtk+3.0/libgtk-3-common_3.10.8-0ubuntu1.6_all.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/w/wayland/libwayland-client0_1.4.0-1ubuntu1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/w/wayland/libwayland-cursor0_1.4.0-1ubuntu1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libx/libxkbcommon/libxkbcommon0_0.4.1-0ubuntu1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/g/gtk+3.0/libgtk-3-0_3.10.8-0ubuntu1.6_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/s/systemd/libgudev-1.0-0_204-5ubuntu20.19_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libi/libice/libice6_1.0.8-2_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libi/libieee1284/libieee1284-3_0.2.11-12_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/p/policykit-1/libpolkit-agent-1-0_0.105-4ubuntu3.14.04.1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/p/policykit-1/libpolkit-backend-1-0_0.105-4ubuntu3.14.04.1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/s/sane-backends/libsane-common_1.0.23-3ubuntu3.1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/v/v4l-utils/libv4lconvert0_1.0.1-1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/v/v4l-utils/libv4l-0_1.0.1-1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/s/sane-backends/libsane_1.0.23-3ubuntu3.1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libs/libsecret/libsecret-common_0.16-0ubuntu1_all.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libs/libsecret/libsecret-1-0_0.16-0ubuntu1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libs/libsm/libsm6_1.2.1-2_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/u/udisks2/libudisks2-0_2.1.3-1ubuntu0.1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libx/libxt/libxt6_1.1.4-1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libx/libxmu/libxmu6_1.1.1-1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libx/libxaw/libxaw7_1.0.12-1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libx/libxcb/libxcb-shape0_1.10-2ubuntu1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/x/xft/libxft2_2.3.1-2_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libx/libxv/libxv1_1.0.10-1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libx/libxxf86dga/libxxf86dga1_1.1.4-1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libg/libgusb/libgusb2_0.1.6-5_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/c/colord/libcolorhug1_1.0.6-1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/s/s2tc/libtxc-dxtn-s2tc0_0~git20131104-1.1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/a/at-spi2-core/at-spi2-core_2.10.2.is.2.10.1-0ubuntu1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/p/policykit-1/policykit-1_0.105-4ubuntu3.14.04.1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/c/colord/colord_1.0.6-1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/d/desktop-file-utils/desktop-file-utils_0.22-1ubuntu1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/f/fonts-dejavu/fonts-dejavu-extra_2.34-1ubuntu1_all.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/x/x11-utils/x11-utils_7.7+1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/u/udisks2/udisks2_2.1.3-1ubuntu0.1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/g/gvfs/gvfs-common_1.20.3-0ubuntu1.2_all.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/g/gvfs/gvfs-libs_1.20.3-0ubuntu1.2_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/g/gvfs/gvfs-daemons_1.20.3-0ubuntu1.2_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/g/gvfs/gvfs_1.20.3-0ubuntu1.2_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/h/hicolor-icon-theme/hicolor-icon-theme_0.13-1_all.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/g/gconf/libgconf2-4_3.2.6-0ubuntu2_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libg/libgphoto2/libgphoto2-l10n_2.5.3.1-1ubuntu2.2_all.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/g/gtk+3.0/libgtk-3-bin_3.10.8-0ubuntu1.6_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/g/gtk+2.0/libgtk2.0-bin_2.24.23-0ubuntu1.4_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/x/xorg-sgml-doctools/xorg-sgml-doctools_1.11-1_all.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/x/x11proto-core/x11proto-core-dev_7.0.26-1~ubuntu2_all.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libi/libice/libice-dev_1.0.8-2_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libp/libpthread-stubs/libpthread-stubs0-dev_0.3-4_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libs/libsm/libsm-dev_1.2.1-2_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libx/libxau/libxau-dev_1.0.8-1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libx/libxdmcp/libxdmcp-dev_1.1.1-1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/x/x11proto-input/x11proto-input-dev_2.3-1_all.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/x/x11proto-kb/x11proto-kb-dev_1.0.6-2_all.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/x/xtrans/xtrans-dev_1.3.5-1~ubuntu14.04.1_all.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libx/libxcb/libxcb1-dev_1.10-2ubuntu1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libx/libx11/libx11-dev_1.6.2-1ubuntu2_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libx/libx11/libx11-doc_1.6.2-1ubuntu2_all.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/libx/libxt/libxt-dev_1.1.4-1_amd64.deb \ -http://archive.ubuntu.com/ubuntu/pool/main/p/policykit-1-gnome/policykit-1-gnome_0.105-1ubuntu4_amd64.deb - -# Install puppet manifests -download_puppet_module "apt" "$APT_TARBALL_URL" -download_puppet_module "stdlib" "$STDLIB_TARBALL_URL" -download_puppet_module "mariadbrepo" "$MARIADBREPO_TARBALL_URL" diff --git a/repositories/centos/.gitkeep b/repositories/centos/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/repositories/ubuntu/.gitkeep b/repositories/ubuntu/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/specs/openbook-plugin.rst b/specs/openbook-plugin.rst deleted file mode 100644 index 542a31b..0000000 --- a/specs/openbook-plugin.rst +++ /dev/null @@ -1,150 +0,0 @@ -.. - This work is licensed under a Creative Commons Attribution 3.0 Unported - License. - - http://creativecommons.org/licenses/by/3.0/legalcode - -=================================================== -Guide to the Openbook Plugin version 1.3.0 for Fuel -=================================================== - -This plugin extends Mirantis OpenStack functionality by adding Openbook customer -onboarding, self-service, and cloud billing / charge-back services. Openbook is cloud -management and reporting software that simplifies the tasks of planning, charging, -and predicting capacity requirements for cloud services. Talligent gives the -administrator and tenant real-time visibility of resources and accrued costs, as well -as the ability to scale up or down according to budget and resource requirements. - -For the Service Provider: Openbook by Talligent is the quickest path to monetizing -OpenStack services. Openbook enables service providers to sell on demand cloud services -based on the OpenStack platform, including dedicated instances, networks, storage, -applications, virtual desktops, and other infrastructure elements or services. Services -can be packaged the way you want: by tiers, metered and sold by the hour, delivered -on-site or as part of a shared infrastructure. Cloud service providers can expand their -customer reach and strengthen their existing relationship via resellers. Openbook natively -supports reseller workflow with corresponding rate plans that support taxation, currency -conversion, proration, discounts, and promotional codes independent from the master -service provider. - -For the Enterprise: Without visibility into the growth of cloud services by department, -it is difficult to accurately predict how much new capacity to add, and when. Openbook -is designed to quickly answer key management questions about the environment – largest -tenants, host utilization, service growth, and project costs. Openbook has a robust -ratings engine tuned to OpenStack and VMware clouds to support hybrid cloud reporting. -Costs can be assigned by tenant, business unit, VP, project, or other cost center. -Managers are automatically updated on their cloud costs as well as performance against -budget. Detailed reports of growth trends, utilization, and seasonal patterns allow -you to better plan for new capacity. - -Problem description -=================== - -Cloud owners need a tool to simplify the planning, charging, and predicting capacity -requirements for cloud services. - -Proposed change -=============== - -Implement a Fuel plugin which will deploy Openbook and configure it to connect to a -Mirantis OpenStack environment. - -Alternatives ------------- - -It also might be implemented as a Heat template. - -Data model impact ------------------ - -None - -REST API impact ---------------- - -Openbook gathers data by connecting to the OpenStack API endpoints. - -Upgrade impact --------------- - -Fuel currently supports upgrading of Fuel Master node, so it is necessary to -install a new version of plugin which supports new Fuel release. - -Security impact ---------------- - -None - -Notifications impact --------------------- - -Openbook sends e-mails to project users with detailed monthly usage (invoices). - -Other end user impact ---------------------- - -Openbook plugin uses Fuel pluggable architecture. -After it is installed, the user can enable the plugin on the Setting tab of the Fuel web UI -and customize plugins settings. - -Performance Impact ------------------- - -The hardware configuration (RAM, CPU, disk) required by this plugin -depends on the size of your cloud, but a typical setup would at least -require a dual-core server with 4GB of RAM and at least 500GB of disk. - -Other deployer impact ---------------------- - -None - -Developer impact ----------------- - -None - -Implementation -============== - -Assignee(s) ------------ - -Primary assignee: - -- Jeremy fluhmann - developer - -Other contributors: - -- Stepan Rogov - developer -- Vyacheslav Struk - developer -- Irina Povolotskaya - technical writer - -Work Items ----------- - -* Create Fuel plugin bundle, which contains deployments scripts, puppet modules and metadata -* Implement puppet manifests for deploying and configuring Openbook -* Test Openbook plugin -* Create Documentation - - -Dependencies -============ - -* Fuel 8.0 -* Talligent Sharefile access - -Testing -======= - -* Prepare a test plan -* Test the plugin by deploying environments with all Fuel deployment modes - -Documentation Impact -==================== - -* Deployment Guide -* User Guide (which features the plugin provides, how to use them in the deployed OpenStack environment) -* Test Plan -* Test Report - diff --git a/tasks.yaml b/tasks.yaml deleted file mode 100644 index fe51488..0000000 --- a/tasks.yaml +++ /dev/null @@ -1 +0,0 @@ -[]