This is an automated email from the ASF dual-hosted git repository. szetszwo pushed a commit to branch asf-site-source in repository https://gitbox.apache.org/repos/asf/ratis-hadoop-projects.git
commit e628b72f9ffef1ecfd8a25d3db333b7cf6b64b7f Author: Márton Elek <[email protected]> AuthorDate: Fri Nov 24 13:23:24 2017 +0100 RATIS-5. First version of the website. Contributed by Anu Engineer, Marton Elek. --- .gitignore | 7 + LICENSE.txt | 404 +++++++++++++++++++++++++++++++++++++++++++ README.md | 33 ++++ build.sh | 33 ++++ config.toml | 86 +++++++++ content/community.md | 49 ++++++ content/getting_started.md | 78 +++++++++ content/post/0.1.0-alpha.md | 27 +++ content/source.md | 22 +++ layouts/_default/list.html | 33 ++++ layouts/_default/single.html | 19 ++ layouts/index.html | 196 +++++++++++++++++++++ layouts/partials/footer.html | 34 ++++ layouts/partials/header.html | 99 +++++++++++ static/apache_incubator.png | Bin 0 -> 8249 bytes static/asf_feather.png | Bin 0 -> 1209 bytes static/doap.rdf | 39 +++++ static/logo-white.png | Bin 0 -> 542 bytes static/style.css | 333 +++++++++++++++++++++++++++++++++++ 19 files changed, 1492 insertions(+) diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0ec2be5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ + +build + +### Hugo ### +hugo.exe +/public/ + diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..c625c54 --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,404 @@ + + 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. +------------------------------------------------------------------------------ +# SLF4J + + Copyright (c) 2004-2013 QOS.ch + All rights reserved. + + 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. +------------------------------------------------------------------------------ +# Mockito + +The MIT License + +Copyright (c) 2007 Mockito contributors + +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. +------------------------------------------------------------------------------ +# Protocol Buffers + +This license applies to all parts of Protocol Buffers except the following: + + - Atomicops support for generic gcc, located in + src/google/protobuf/stubs/atomicops_internals_generic_gcc.h. + This file is copyrighted by Red Hat Inc. + + - Atomicops support for AIX/POWER, located in + src/google/protobuf/stubs/atomicops_internals_power.h. + This file is copyrighted by Bloomberg Finance LP. + +Copyright 2014, Google Inc. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +Code generated by the Protocol Buffer compiler is owned by the owner +of the input file used when generating it. This code is not +standalone and requires a support library to be linked with it. This +support library is itself covered by the above license. +------------------------------------------------------------------------------ +# gRPC + +Copyright 2015, Google Inc. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +------------------------------------------------------------------------------ +# JUnit 4 + +Eclipse Public License - v 1.0 + +THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. + +1. DEFINITIONS + +"Contribution" means: + +a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and + +b) in the case of each subsequent Contributor: + +i) changes to the Program, and + +ii) additions to the Program; + +where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program. + +"Contributor" means any person or entity that distributes the Program. + +"Licensed Patents" mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program. + +"Program" means the Contributions distributed in accordance with this Agreement. + +"Recipient" means anyone who receives the Program under this Agreement, including all Contributors. + +2. GRANT OF RIGHTS + +a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form. + +b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contributio [...] + +c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted here [...] + +d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement. + +3. REQUIREMENTS + +A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that: + +a) it complies with the terms and conditions of this Agreement; and + +b) its license agreement: + +i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose; + +ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits; + +iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and + +iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange. + +When the Program is made available in source code form: + +a) it must be made available under this Agreement; and + +b) a copy of this Agreement must be included with each copy of the Program. + +Contributors may not remove or alter any copyright notices contained within the Program. + +Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution. + +4. COMMERCIAL DISTRIBUTION + +Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Con [...] + +For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims [...] + +5. NO WARRANTY + +EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED 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. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Ag [...] + +6. DISCLAIMER OF LIABILITY + +EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF [...] + +7. GENERAL + +If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. + +If Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed. + +All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Reci [...] + +Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. The Eclipse Foundation is the initial Agreement Steward. The Eclipse Foundation may assign the respons [...] + +This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation. diff --git a/README.md b/README.md new file mode 100644 index 0000000..308d009 --- /dev/null +++ b/README.md @@ -0,0 +1,33 @@ +<!-- + 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. See accompanying LICENSE file. +--> + +# Apache Ratis web page + +This is the source code of the website of Apache Ratis. + +To render it you need hugo static site generator (https://gohugo.io/getting-started/installing) which is available for the most popular platforms as a single binary. + +To render the final website use the following command: + +``` +hugo -d /destination/dir +``` + +To develop the site use + +``` +hugo serve +``` + +which starts an internal server where you can always check the final rendered version. diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..f657d86 --- /dev/null +++ b/build.sh @@ -0,0 +1,33 @@ +#!/usr/bin/env bash +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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. + +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +set -e +mkdir -p build +if [ ! -d "$DIR/build/apache-rat-0.12" ]; then + wget http://xenia.sote.hu/ftp/mirrors/www.apache.org/creadur/apache-rat-0.12/apache-rat-0.12-bin.tar.gz -O $DIR/build/apache-rat.tar.gz + cd $DIR/build + tar zvxf apache-rat.tar.gz + cd - +fi +java -jar $DIR/build/apache-rat-0.12/apache-rat-0.12.jar $DIR -e public -e apache-rat-0.12 -e .git -e .gitignore + +HUGO_EXEC=$(which hugo) +if [ "$?" -ne 0 ]; then + echo "Please install hugo and put it to the path" + exit 1 +fi +$HUGO_EXEC diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..c1cb98e --- /dev/null +++ b/config.toml @@ -0,0 +1,86 @@ +# +# 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. See accompanying LICENSE file. +# +baseurl = "/" +title = "Apache Ratis" +copyright = "© 2017 Apache Software Foundation" +enableEmoji = true +footnotereturnlinkcontents = "<sup>^</sup>" +uglyurls = true + + +[[menu.main]] + name = "Download" + url = "releases.html" + weight = 1 + + +[[menu.main]] + name = "Documentation" + identifier = "documentation" + weight = 2 + +[[menu.main]] + name = "Latest" + parent = "documentation" + url = "http://hadoop.apache.org/docs/current/" + +[[menu.main]] + name = "Stable" + parent = "documentation" + url = "http://hadoop.apache.org/docs/stable/" + + + + +[[menu.main]] + name = "Community" + identifier = "community" + weight = 3 + + + +[[menu.main]] + name = "Development" + identifier = "development" + weight = 4 + +[[menu.main]] + name = "How to Contribute" + url = "https://wiki.apache.org/hadoop/HowToContribute" + parent = "development" + +[[menu.main]] + name = "Help" + identifier = "help" + weight = 5 + +[[menu.main]] + name = "Buy Stuff" + url = "http://www.cafepress.com/hadoop" + parent = "help" + +[[menu.main]] + name = "Sponsorshop" + url = "http://www.apache.org/foundation/sponsorship.html" + parent = "help" + +[[menu.main]] + name = "Thanks" + url = "http://www.apache.org/foundation/thanks.html" + parent = "help" + + +# Configure the English version of the website. +[languages.en] + languageCode = "en-us" diff --git a/content/community.md b/content/community.md new file mode 100644 index 0000000..e1bbe4f --- /dev/null +++ b/content/community.md @@ -0,0 +1,49 @@ +--- +title: Community +--- +<!--- + 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. See accompanying LICENSE file. +--> + +### Mailing list + +#### Developers + +If you'd like to contribute to Apache Ratis, please subscribe to the Ratis developer mailing list. + +The Ratis developer mailing list is: <[email protected]>. + +- [Subscribe to List](mailto: [email protected]) +- [Unsubscribe from List](mailto: [email protected]) +- [Archives](http://mail-archives.apache.org/mod_mbox/ratis-dev/) + + +#### User + +The user@ mailing list is the preferred mailing list for end-user +questions and discussion. + +Please use dev mailing list to address developers on a specific technical question. + +The Ratis user mailing list is: <[email protected]>. + +- [Subscribe to List](mailto: [email protected]) +- [Unsubscribe from List](mailto: [email protected]) +- [Archives](http://mail-archives.apache.org/mod_mbox/ratis-user/) + +To post to the list, it is necessary to subscribe to it. + +### Slack + +There is also a slack instance for discussion at https://apacheratisdev.slack.com. +Please write to the mailing list if you need an invite. diff --git a/content/getting_started.md b/content/getting_started.md new file mode 100644 index 0000000..497f3e9 --- /dev/null +++ b/content/getting_started.md @@ -0,0 +1,78 @@ +--- +title: Getting started +--- +<!--- + 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. See accompanying LICENSE file. +--> + +Ratis is a [Raft](https://raft.github.io/") protocol *library* in Java. It's not a standalone server application like Zookeeper or Consul. + +### Examples + +To demonstrate how to use Ratis from the code, Please look at the following examples. + + * [Arithmetic example](https://github.com/apache/incubator-ratis/tree/master/ratis-examples/src/main/java/org/apache/ratis/examples/arithmetic): This is a simple distributed calculator that replicates the values defined and allows user to perform arithmetic operations on these replicated values. + + * [FileStore example](https://github.com/apache/incubator-ratis/tree/master/ratis-examples/src/main/java/org/apache/ratis/examples/filestore): This is an example of using Ratis for reading and writing files. + +<!-- TODO: We should have the following as documentation in the github. --> +The source code the examples could be found in the ratis-examples subproject. + +Arithmetic example also has some simple cli script to start it: + +1. First do a full build on the ratis source code: ```mvn clean install -DskipTests``` +2. Go the the bin directory of the examples: ```cd ratis-examples/src/main/bin``` +3. Start three Ratis server instances (with arithmetic state matchine). ```./start-all``` (This helper script starts 3 + Java instances in the background). +4. Create a new variable in the state machine: ``` ./client.sh assign --name a --value 3``` +5. Assign a new variable: ```./client.sh assign --name b --value a+5``` +6. Get a variable from the state machine: ```./client.sh get --name b``` + +### Maven usage + +To use in our project you can access the latest binaries from maven central: + + +{{< highlight xml>}} +<dependency> + <artifactId>ratis-server</artifactId> + <groupId>org.apache.ratis</groupId> +</dependency> +{{< /highlight >}} + + +You also need to include *one* of the transports: + +{{< highlight xml>}} +<dependency> + <artifactId>ratis-netty</artifactId> + <groupId>org.apache.ratis</groupId> +</dependency> +{{< /highlight >}} + +{{< highlight xml>}} + <dependency> + <groupId>org.apache.ratis</groupId> + <artifactId>ratis-grpc</artifactId> +</dependency> +{{< /highlight >}} + +{{< highlight xml>}} + <dependency> + <groupId>org.apache.ratis</groupId> + <artifactId>ratis-hadoop-shaded</artifactId> + </dependency> +{{< /highlight >}} + +Please note that Apache Hadoop dependencies are shaded, so it's safe to use hadoop transport with different versions of Hadoop. + diff --git a/content/post/0.1.0-alpha.md b/content/post/0.1.0-alpha.md new file mode 100644 index 0000000..850f401 --- /dev/null +++ b/content/post/0.1.0-alpha.md @@ -0,0 +1,27 @@ +--- +title: Release 0.1.0-alpha is available +date: 2017-05-02 +type: release +linked: true +--- +<!--- + 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. See accompanying LICENSE file. +--> + +This is the first incubator release of Apache Ratis. + +Key features: + + * Pluggable transports (Hadoop Rpc, GRpc, Netty) + * Pluggable statemachine + * Pluggable raft log implementation. diff --git a/content/source.md b/content/source.md new file mode 100644 index 0000000..a9eb9df --- /dev/null +++ b/content/source.md @@ -0,0 +1,22 @@ +--- +title: Source +--- +<!--- + 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. See accompanying LICENSE file. +--> + +Source code is part of every release, you can download the source bundles from download section and build the project according to the included instructions. + +The versioned source code history is available from the [Apache git](git://git.apache.org/incubator-ratis.git) repository or +from the [github mirror](https://github.com/apache/incubator-ratis). It is only for development and not intended for use by the general public. +Only the source code from the released artifacts are checked by the Project Management Committee. diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..2b23419 --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,33 @@ +<!-- + 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. See accompanying LICENSE file. +--> +{{ partial "header.html" . }} +<div class="container"> +{{ $paginator := .Paginate .Data.Pages}} +<section id="main"> + <div> + <h1 id="title">{{ .Title }} Archive</h1> + <ul id="list"> + {{ range $paginator.Pages }} + <h1><a href="{{.URL}}">{{.Title}}</a></h1> + <p><small>{{dateFormat "2006 Jan 2 " .Date}}</small></p> + + {{.Content}} + + {{ end }} + </ul> + </div> +{{ template "_internal/pagination.html" . }} +</section> +</div> +{{ partial "footer.html" . }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..0059f6f --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,19 @@ +<!-- + 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. See accompanying LICENSE file. +--> +{{partial "header.html" .}} +<div class="container"> +<h1>{{.Title}}</h1> +{{.Content}} +</div> +{{partial "footer.html" .}} diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..6d0e0af --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,196 @@ +<!-- + 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. See accompanying LICENSE file. +--> +{{ partial "header.html" . }} +<div class="main-section"> + <div class="container"> + <div class="row"> + <div class="col-md-8 col-md-offset-2"> + <div class="panel panel-default"> + <div class="panel-heading">Disclaimer</div> + <div class="panel-body"> + <img class="pull-right" src="apache_incubator.png" alt="Apache Incubator"></img> + Apache Ratis is an effort undergoing <a href="https://incubator.apache.org">incubation</a> at + <a href="https://www.apache.org">The Apache Software Foundation (ASF)</a>, sponsored by the Apache Incubator PMC. + Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, + communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. + While incubation status is not necessarily a reflection of the completeness or stability of the code, + it does indicate that the project has yet to be fully endorsed by the ASF. + </div> + </div> + </div> + </div> + </div> +</div> + +<div class="whatis bg-light"> + <div class="container"> + <div class="row header"> + <h2>What is Apache Ratis™?</h2> + <p class="lead"> + Apache Ratis is a highly customizable Raft protocol implementation in Java.</p> + <p class="lead"><a href="https://raft.github.io/">Raft</a> is a easily understandable consensus algorithm to manage replicated state.</p> + <p class="lead">Apache Ratis could be used in any Java application where state should be replicated between multiple instances.</p> + </p> + <p></p> + </div> + </div> +</div> + + +<div class="main-section feature-list-group"> + <div class="container"> + <div class="row feature-list"> + <h2>Features</h2> + <div class="col-md-4 col-sm-4 feature-item"> + <span class="glyphicon glyphicon-transfer" aria-hidden="true"></span> + <i class="fa fa-5x fa-fw m-y-3 text-info fa-child"></i> + <h4>Pluggable transport</h4> + <p> + Ratis provides a pluggable transport layer. By default gRPC, Netty+Protobuf and Apache Hadoop RPC based transports are provided. + </p> + <p> + + </p> + <p></p> + </div> + <div class="col-md-4 col-sm-4 feature-item"> + <span class="glyphicon glyphicon-log-in" aria-hidden="true"></span> + <h4>Pluggable state machine</h4> + <p> + Ratis supports a log and state machine. State machine typically contains the data that you want to make highly avialable. Ratis makes it easy to use your own state machine. + </p> + </div> + <div class="col-md-4 col-sm-4 feature-item"> + <span class="glyphicon glyphicon-tasks" aria-hidden="true"></span> + <h4>Pluggable raft log</h4> + <p>RAFT log is also pluggable, users can provide their own log implementation. The default + implementation + stores log in local files.</p> + <p> + Application can define the polices of how to write data and where it should be written easily. + </p> + </div> + + + </div><!-- /.feature-list --> + + + </div><!-- /.container --> +</div><!-- /.feature-list-group --> + + +<a name="news"></a> +<div class="main-section bg-light"> + <div class="container"> + <div class="row header"> + <h2>Latest news</h2> + {{ range where .Data.Pages "Section" "post" }} + <div class="panel-heading clearfix"><a class="pull-left" href="{{.URL}}">{{.Title}}</a> + <small class="pull-right">{{dateFormat "2006 Jan 2 " .Date}}</small> + </div> + {{end}} + </div> + </div> +</div> + +<a name="download"></a> +<div class="main-section"> + <div class="container"> + <div class="row header"> + <h2>Download</h2> + + <p>Apache Ratis is a Java <b>library</b> that can be used directly from your applications.</p> + + <p>It is released as source code tarballs. The downloads are distributed via mirror sites and should be checked + for tampering using <a href="https://www.apache.org/info/verification.html">GPG or SHA-256</a></p> + <p> + + <p>The source tarball contains detailed instruction about how can it be built.</p> + + <p>The binaries are also uploaded to the maven central for convenience. (See the getting started guide for more details)</p> + <table class="table table-striped"> + <thead> + <tr> + <th>Version</th> + <th>Release date</th> + <th>Source download</th> + <th>Announcement</th> + </tr> + </thead> + {{range first 5 (where .Site.Pages ".Params.type" "release")}} + <tr> + <td>{{.BaseFileName }}</td> + <td>{{dateFormat "2006 Jan 2 " .Date}}</td> + <td> + <a href="https://www.apache.org/dyn/closer.cgi/incubator/ratis/{{.BaseFileName }}/apache-ratis-incubating-{{.BaseFileName }}-src.tar.gz">source</a> + (<a href="https://dist.apache.org/repos/dist/release/incubator/ratis/{{.BaseFileName }}/apache-ratis-incubating-{{.BaseFileName }}-src.tar.gz.asc">checksum</a> + <a href="https://dist.apache.org/repos/dist/release/incubator/ratis/{{.BaseFileName }}/apache-ratis-incubating-{{.BaseFileName }}-src.tar.gz.mds">signature</a>) + </td> + + <td> + <a href="post/{{.BaseFileName }}.html">Announcement</a> + </td> + </tr> + {{end}} + </table> + </p> + + + </div> + </div> +</div> + +<a name="gettingstarted"></a> +<div class="main-section bg-light"> + <div class="container"> + <div class="row header"> + {{range where .Site.Pages "Title" "Getting started"}} + <h2>{{.Title}}</h2> + {{.Content}} + {{end}} + </div> + </div> +</div> + +<a name="community"></a> +<div class="main-section"> + <div class="container"> + <div class="row header"> + {{range where .Site.Pages "Title" "Community"}} + <h2>{{.Title}}</h2> + {{.Content}} + {{end}} + </div> + </div> +</div> + +<a name="source"></a> +<div class="main-section bg-light"> + <div class="container"> + <div class="row header"> + {{range where .Site.Pages "Title" "Source"}} + <h2>{{.Title}}</h2> + {{.Content}} + {{end}} + </div> + </div> +</div> + +<a name="source"></a> + + + + + +{{ partial "footer.html" . }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..916ce63 --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,34 @@ +<!-- + 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. See accompanying LICENSE file. +--> +<footer> + <div class="container"> + + <div class="col-md-12 trademark"> + <p>© 2018 <a href="http://apache.org">The Apache Software Foundation</a>, + Apache, Apache Ratis, the Apache feather logo, Apache Ratis logo, Apache Incubator logo are trademarks of The Apache Software Foundation. + <p> + </div> + </div><!-- /.container --> +</footer> + +<!-- Javascript. Placed here so pages load faster --> +<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> +<script src="./js/underscore-min.js"></script> +<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" + integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" + crossorigin="anonymous"></script> + + +</body> +</html> diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..90dc132 --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,99 @@ +<!DOCTYPE html> +<!-- + 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. See accompanying LICENSE file. +--> +<html> + +<head> + <meta charset="utf-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <meta name="description" content="Open source Java implementation for RAFT consensus protocol."> + <meta name="keywords" content="raft, java, ratis, library"/> + <meta name="robots" content="index,follow"/> + <meta name="language" content="en"/> + + <title>Apache Ratis</title> + + <base href="{{.Site.BaseURL}}"> + + <link rel="canonical" href="http://ratis.incubator.apache.org/"> + + <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" + integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous"> + <link rel="stylesheet" href="style.css"> + +</head> + +<body> +<!-- breadcrumbs --> + +<div class="topnav"> + <div class="container"> + <ul class="breadcrumb col-md-6"> + <li> + <img class="asf-logo" src="asf_feather.png"/> + <a href="https://www.apache.org">Apache Software Foundation</span></a> + </li> + <li><img class="asf-logo" src="logo-white.png"/><a href="{{.Site.BaseURL}}">Apache Ratis™</a></li> + </ul> + <div class="col-md-6"> + <ul class="pull-right breadcrumb"> + <li><a href="http://www.apache.org/licenses/">License</a></li> + <li><a href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li> + <li><a href="http://www.apache.org/foundation/thanks.html">Thanks</a></li> + <li><a href="http://www.apache.org/security/">Security</a></li> + </ul> + </div> + </div> + + <nav class="navbar navbar-default navbar-static-top" role="navigation"> + <div class="container"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" + data-target="#ratis-menu" aria-expanded="false"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + + <div id="ratis-menu" class="collapse navbar-collapse"> + <ul class="nav navbar-nav navbar-right"> + <li><a href="#download">Download</a></li> + <li><a href="#gettingstarted">Getting started</a></li> + <li><a href="#source">Source</a></li> + <li><a href="#community">Community</a></li> + </ul> + </div> + + + <div class="jumbotron"> + <h1> + Open source Java implementation for Raft consensus protocol. + </h1> + <p> + <a class="btn btn-default download" role="button" href="#download">Download Apache Ratis</a> + </p> + <p> + + <a class="changelog" + href="#gettingstarted">Getting started + </a> + </p> + </div> + </div> + + </nav> +</div> diff --git a/static/apache_incubator.png b/static/apache_incubator.png new file mode 100644 index 0000000..987c79e Binary files /dev/null and b/static/apache_incubator.png differ diff --git a/static/asf_feather.png b/static/asf_feather.png new file mode 100644 index 0000000..c0ebf11 Binary files /dev/null and b/static/asf_feather.png differ diff --git a/static/doap.rdf b/static/doap.rdf new file mode 100644 index 0000000..4b6ed23 --- /dev/null +++ b/static/doap.rdf @@ -0,0 +1,39 @@ +<?xml version="1.0"?> +<?xml-stylesheet type="text/xsl"?> +<rdf:RDF xml:lang="en" + xmlns="http://usefulinc.com/ns/doap#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:asfext="http://projects.apache.org/ns/asfext#" + xmlns:foaf="http://xmlns.com/foaf/0.1/"> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You 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. +--> + <Project rdf:about="https://ratis.incubator.apache.org"> + <created>2017-12-01</created> + <license rdf:resource="http://www.apache.org/licenses/LICENSE-2.0" /> + <name>Apache Ratis</name> + <homepage rdf:resource="https://ratis.incubator.apache.org" /> + <asfext:pmc rdf:resource="https://ratis.incubator.apache.org" /> + <shortdesc>Apache Ratis is a Raft library in Java.</shortdesc> + <description>Apache Ratis is a higly customizable RAFT protocol implementation in Java supporting pluggable transport, state machine and raft log.</description> + <bug-database rdf:resource="https://issues.apache.org/jira/browse/RATIS" /> + <mailing-list rdf:resource="https://ratis.incubator.apache.org/#community" /> + <download-page rdf:resource="https://ratis.incubator.apache.org/#download" /> + <programming-language>Java</programming-language> + <category rdf:resource="http://projects.apache.org/category/big-data" /> + <category rdf:resource="http://projects.apache.org/category/library" /> + </Project> +</rdf:RDF> diff --git a/static/logo-white.png b/static/logo-white.png new file mode 100644 index 0000000..6650ad7 Binary files /dev/null and b/static/logo-white.png differ diff --git a/static/style.css b/static/style.css new file mode 100644 index 0000000..af3952b --- /dev/null +++ b/static/style.css @@ -0,0 +1,333 @@ +/* +* Licensed to the Apache Software Foundation (ASF) under one or more +* contributor license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright ownership. +* The ASF licenses this file to You 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. +*/ + +/* + * Main website stylesheet + */ +/* Navigation bars. */ +.topnav { + background-color: #2f3030; } + .topnav .breadcrumb { + background-color: #2f3030; + padding: 8px 0px; + margin: auto; + color: #f5f5f5; } + .topnav .breadcrumb .asf-logo { + margin-right: 4px; + margin-top: -4px; + margin-bottom: -8px; + height: 30px; } + .topnav a { + color: #f5f5f5; } + .topnav a:hover, .topnav a:focus { + color: #f5d35f; + text-decoration: none; } + .topnav .navbar { + background-color: #4891d9; + min-height: 120px; + z-index: 0; + margin-bottom: 0px; } + .topnav .navbar .navbar-brand { + min-height: 120px; } + .topnav .navbar .navbar-brand img { + float: left; } + .topnav .navbar .nav { + padding: 30px 0 0 0; + color: #fff; } + .topnav .navbar .nav li a { + text-align: center; + font-size: 24px; + padding: 5px 0 5px 5px; + margin: 0 10px; + color: #f5f5f5; } + .topnav .navbar .nav li a:hover { + color: #f5d35f; + background: none; } + .topnav .navbar .navbar-header { + height: 120px; } + .topnav .navbar .navbar-toggle { + position: relative; + top: 50%; + transform: translateY(-50%); + margin-top: 0; } + .topnav .navbar .navbar-toggle .icon-bar { + background-color: #FFF; } + .topnav .navbar .navbar-toggle:focus .icon-bar { + background-color: #000; } + .topnav .navbar .navbar-collapse { + border-color: transparent; + box-shadow: none; } + +@media (min-width: 768px) and (max-width: 1024px) { + .navbar .nav li a { + padding: 8px 0 15px 8px; } } +/* Jumbotron part. */ +.jumbotron { + background: none; + max-width: 748px; + margin: 30px auto 40px auto; + padding: 0px; } + .jumbotron h1 { + font-size: 40px; + font-family: HelveticaNeue-Light,Helvetica,Arial,sans-serif; + line-height: 1.2; + color: #f5f5f5; + text-align: center; + padding: 0; + margin-bottom: 28px; } + .jumbotron .lead { + line-height: 1.25; + color: white; + font-size: 15px; + font-weight: 100; + letter-spacing: 0.8px; + margin-bottom: 48px; } + .jumbotron p { + text-align: center; + margin-bottom: 0px; } + .jumbotron .btn.download { + border-radius: 8px; + padding: 11px 28px; + margin-bottom: 4px; + color: #2f3030; } + .jumbotron .btn.download:hover, .jumbotron .btn.download:focus { + color: #f5d35f; } + .jumbotron a.changelog { + font-size: 15px; + display: inline-block; + color: #D9F0FF; } + .jumbotron a.changelog:hover, .jumbotron a.changelog:focus { + color: #f5d35f; + text-decoration: none; } + + .bg-dark { + background-color: #83c9f4; + } + + .bg-light { + background-color: #f1f9ff; + } +/* Features list. */ +.feature-list-group { + padding-top: 20px; + padding-bottom: 61px; } + .feature-list-group .header { + text-align: center; } + .feature-list-group .header h3 { + font-size: 30px; + font-weight: 200; + text-align: center; + margin-bottom: 26px; } + .feature-list-group .header .lead { + color: #777777; + font-weight: normal; + line-height: 1.42857143; + } + .feature-list-group .feature-list { + margin-bottom: 25px; } + .feature-list-group .feature-item h4 { + color: #2f3030; + font-family: HelveticaNeue-Medium,Helvetica,Arial,sans-serif; + font-size: 14pt; + text-transform: uppercase; + margin-bottom: 16px; } + .feature-list-group .feature-item p { + font-family: HelveticaNeue-Light,Helvetica,Arial,sans-serif; + } + .feature-list-group .feature-item .glyphicon { + font-size: 70px; + padding: 20px; + padding-bottom: 20px; + display:block; + text-align:center; + color: #6ca5c8; + } + +@media (max-width: 767px) { + .jumbotron > .lead { + font-weight: 200; } + + .feature-list-group { + padding: 36px 9px 6px 9px; } + + .feature-list { + margin-bottom: 0px; } + + .feature-item { + margin-bottom: 48px; } } +footer { + color: #f5f5f5; + background-color: #2f3030; + margin-top: 38px; + padding-top: 10px; + padding-bottom: 20px; } + +.social-blk { + float: right; } + +.nopadding { + padding: 0 !important; + margin: 0 !important; } + +.splash { + display: block; } + +.author_contact { + display: inline-block; } + +.author_gravatar { + display: inline; + padding: 0 20px 20px 5px; } + +.share { + display: block; } + +@media (max-width: 767px) { + .social-blk { + float: left; + width: 100%; + margin-bottom: 32px; } } +pre { + overflow: auto; + overflow-y: hidden; + /* fixes display issues on Chrome browsers */ } + pre code { + overflow: auto; + overflow-y: hidden; +} + +td.linenos pre { + padding: 5px 0px; + border: 0; + background-color: transparent; + color: #aaa; } + +table.highlighttable { + margin-left: 0.5em; } + +table.highlighttable td { + padding: 0 0.5em 0 0.5em; } + +div.code-block-caption { + padding: 2px 5px; + font-size: small; } + +div.code-block-caption code { + background-color: transparent; } + +div.code-block-caption + div > div.highlight > pre { + margin-top: 0; } + +div.code-block-caption span.caption-number { + padding: 0.1em 0.3em; + font-style: italic; } + +div.literal-block-wrapper { + padding: 1em 1em 0; } + +div.literal-block-wrapper div.highlight { + margin: 0; } + +code.descname { + background-color: transparent; + font-weight: bold; + font-size: 1.2em; } + +code.descclassname { + background-color: transparent; } + +code.xref, a code { + background-color: transparent; + font-weight: bold; } + +h1 code, h2 code, h3 code, h4 code, h5 code, h6 code { + background-color: transparent; } + +.viewcode-link { + float: right; } + +.viewcode-back { + float: right; + font-family: sans-serif; } + +div.viewcode-block:target { + margin: -1px -10px; + padding: 0 10px; } + +img { + max-width: 100%; } + +body { + font-size: 14pt; + background-color: #fff; +} + +.content .container { + margin-top: 20px; } + +#wipwarning { + font-size: 14px; + border: 1px solid #ebccd1; + border-radius: 4px; + color: #a94442; + background-color: #f2dede; + padding: 10px 30px; + margin: 30px 20px; } + +.biglink { + font-size: 120%; } + +.linkdescr { + font-size: 90%; } + +.doc-landing-table { + margin: 10px 30px 20px 30px; + width: 90%; } + .doc-landing-table td { + padding-top: 10px; } + .doc-landing-table .right-column { + padding-left: 100px; } + +.doc-landing-metainfos { + margin: 10px 30px 0px 30px; } + .doc-landing-metainfos p { + margin-bottom: 10px; } + +.main-section { + padding-top: 30px; + padding-bottom: 30px; + +} +.main-section h2 { + padding-bottom: 20px; + padding-top: 10px; +} + +.whatis h2 { + padding-bottom: 20px; + padding-top: 10px; +} + +.whatis P{ + color: #777777 +} + +div .row { + padding-left: 30px; + padding-right: 30px; + +} \ No newline at end of file
