From aadf9d66861ad28451cf70fcea378daa48681800 Mon Sep 17 00:00:00 2001 From: EdProsser Date: Tue, 11 Apr 2017 16:33:01 +0100 Subject: [PATCH 01/33] Updates for work --- .../_includes/sidebars/businessnetworks.md | 4 +- .../_includes/sidebars/installing.md | 2 +- .../_includes/sidebars/introduction.md | 4 +- .../jekylldocs/_includes/sidebars/managing.md | 3 +- .../business-network/businessnetwork.md | 2 +- .../businessnetworkdefinition.md | 26 +++++++ .../business-network/deploybusinessnetwork.md | 6 +- .../jekylldocs/installing/installingindex.md | 25 +++++++ .../jekylldocs/installing/quickstart.md | 18 ++++- .../jekylldocs/introduction/introduction.md | 14 +++- .../jekylldocs/introduction/key-concepts.md | 75 +++++++++++++++++++ .../jekylldocs/managing/managingindex.md | 21 ++++++ .../managing/participantsandidentities.md | 69 +++++++++++++++++ .../tutorials/getting-started-cmd-line.md | 8 +- .../jekylldocs/tutorials/tutorialindex.md | 11 ++- 15 files changed, 265 insertions(+), 23 deletions(-) create mode 100644 packages/composer-website/jekylldocs/business-network/businessnetworkdefinition.md create mode 100644 packages/composer-website/jekylldocs/installing/installingindex.md create mode 100644 packages/composer-website/jekylldocs/introduction/key-concepts.md create mode 100644 packages/composer-website/jekylldocs/managing/managingindex.md create mode 100644 packages/composer-website/jekylldocs/managing/participantsandidentities.md diff --git a/packages/composer-website/jekylldocs/_includes/sidebars/businessnetworks.md b/packages/composer-website/jekylldocs/_includes/sidebars/businessnetworks.md index 7e7a26773d..01aabdd26f 100644 --- a/packages/composer-website/jekylldocs/_includes/sidebars/businessnetworks.md +++ b/packages/composer-website/jekylldocs/_includes/sidebars/businessnetworks.md @@ -2,7 +2,9 @@ **[Tutorials](../tutorials/tutorialindex.html)** **[Installing](../installing/prerequisites.html)** **[Defining Business Networks](../business-network/businessnetwork.html)** -[Defining a business network definition](../business-network/getting-started-coding-bnd.html) +[What is a business network?](../business-network/businessnetwork.html) +[What is a business network definition?](../business-network/businessnetworkdefinition.html) +[Defining a business network](../business-network/getting-started-coding-bnd.html) [Deploying a business network](../business-network/deploybusinessnetwork.html) [Create a business network definition](../business-network/bnd-define.html) [Publish a business network definition](../business-network/bnd-publish.html) diff --git a/packages/composer-website/jekylldocs/_includes/sidebars/installing.md b/packages/composer-website/jekylldocs/_includes/sidebars/installing.md index 7f68e7ab34..30736c885d 100644 --- a/packages/composer-website/jekylldocs/_includes/sidebars/installing.md +++ b/packages/composer-website/jekylldocs/_includes/sidebars/installing.md @@ -1,6 +1,6 @@ **[Introduction](../introduction/introduction.html)** **[Tutorials](../tutorials/tutorialindex.html)** -**[Installing](../installing/prerequisites.html)** +**[Installing](../installing/installingindex.html)** [Prerequisites](../installing/prerequisites.html) [Quickstart](../installing/quickstart.html) [Start a Fabric runtime](../installing/runtime-start.html) diff --git a/packages/composer-website/jekylldocs/_includes/sidebars/introduction.md b/packages/composer-website/jekylldocs/_includes/sidebars/introduction.md index 9a02bfd24f..c13e39876d 100644 --- a/packages/composer-website/jekylldocs/_includes/sidebars/introduction.md +++ b/packages/composer-website/jekylldocs/_includes/sidebars/introduction.md @@ -1,7 +1,5 @@ **[Introduction](../introduction/introduction.html)** -[Understanding Business Networks](../introduction/businessnetwork.html) -[Business Network Definition](../introduction/businessnetworkdefinition.html) -[Participants and Transactions](../introduction/participantsandidentities.html) +[Components and Concepts](../introduction/key-concepts.html) **[Tutorials](../tutorials/tutorialindex.html)** **[Installing](../installing/prerequisites.html)** **[Defining Business Networks](../business-network/businessnetwork.html)** diff --git a/packages/composer-website/jekylldocs/_includes/sidebars/managing.md b/packages/composer-website/jekylldocs/_includes/sidebars/managing.md index 02b6b8b393..380d5d30b9 100644 --- a/packages/composer-website/jekylldocs/_includes/sidebars/managing.md +++ b/packages/composer-website/jekylldocs/_includes/sidebars/managing.md @@ -4,7 +4,8 @@ **[Defining Business Networks](../business-network/businessnetwork.html)** **[Writing Applications](../applications/genapp.html)** **[Integrating Existing Systems](../integrating/integrating-index.html)** -**[Managing and Operating](../managing/participant-add.html)** +**[Managing and Operating](../managing/managingindex.html)** +[Participants and Identities](../managing/participantsandidentities.html) [Adding a participant](../managing/participant-add.html) [Issuing an identity to a participant](../managing/identity-issue.html) [Revoking an identity from a participant](../managing/identity-revoke.html) diff --git a/packages/composer-website/jekylldocs/business-network/businessnetwork.md b/packages/composer-website/jekylldocs/business-network/businessnetwork.md index 19c7d5129b..52d5b12734 100644 --- a/packages/composer-website/jekylldocs/business-network/businessnetwork.md +++ b/packages/composer-website/jekylldocs/business-network/businessnetwork.md @@ -42,7 +42,7 @@ Fabric Composer makes it easy to create these elements in a business network, an ## Related Concepts -[Business Network Definition](../introduction/businessnetworkdefinition.html) +[Business Network Definition](../business-network/businessnetworkdefinition.html) ## Related Tasks diff --git a/packages/composer-website/jekylldocs/business-network/businessnetworkdefinition.md b/packages/composer-website/jekylldocs/business-network/businessnetworkdefinition.md new file mode 100644 index 0000000000..6350a18e67 --- /dev/null +++ b/packages/composer-website/jekylldocs/business-network/businessnetworkdefinition.md @@ -0,0 +1,26 @@ +--- +layout: default +title: Fabric Composer - Business Network Definition +category: concepts +sidebar: sidebars/businessnetworks.md +excerpt: Overview of the Business Network Definition +--- + +# Business Network Definition + +--- + +Business Network Definitions are a key concept of the Fabric Composer programming model. They are represented by the `BusinessNetworkDefinition` class, defined in the `composer-common` module and exported by both `composer-admin` and `composer-client`. + +Business Network Definitions are composed of: + +* a set of model files +* a set of Javascript files + +The model files defined the business domain for a business network, while the Javascript files contain transaction processor functions. The transaction processor functions run on a Hyperledger Fabric and have access to the asset registries that are stored in the world state of the Hyperledger Fabric blockchain. + +The model files are typically created by business analysts, as they define the structure and relationships between model elements: assets, participants and transactions. + +The Javascript files are typically created by developers who are implementing business requirements provided by business analysts. + +Once defined, a Business Network Definition can be packaged into an archive using the `composer` command line interface. These archives can then be deployed, undeployed or updated on a Fabric, using the `AdminConnection` class from the `composer-admin` module. diff --git a/packages/composer-website/jekylldocs/business-network/deploybusinessnetwork.md b/packages/composer-website/jekylldocs/business-network/deploybusinessnetwork.md index 85bd7d3b57..b0e3a9c04f 100644 --- a/packages/composer-website/jekylldocs/business-network/deploybusinessnetwork.md +++ b/packages/composer-website/jekylldocs/business-network/deploybusinessnetwork.md @@ -13,7 +13,7 @@ excerpt: How to deploy a Business Network A business network is deployed using the `composer network deploy` command. ## Procedure -1. Before deploying a business network, a [Business Network Definition](../introduction/businessnetworkdefinition.html) is needed as a `zip` file with the following structure: +1. Before deploying a business network, a [Business Network Definition](../business-network/businessnetworkdefinition.html) is needed as a `zip` file with the following structure: ``` BusinessNetworkArchive.zip @@ -26,13 +26,13 @@ A business network is deployed using the `composer network deploy` command. - **lib** contains all of the transactions processor functions - **models** contains all of the model files written in the [CTO Language](../reference/cto_language.html). - - **package.json** is required, and is used to create the [Business Network Definition](../introduction/businessnetworkdefinition.html)'s identifier + - **package.json** is required, and is used to create the [Business Network Definition](../business-network/businessnetworkdefinition.html)'s identifier You can use the `composer archive` command to create an archive with the correct format. **NOTE**: *Do not zip a a folder containing **lib**, **models**, and **package.json** to create an Business Network Archive, zip the contents themselves* -2. Start [Hyperledger Fabric Peer and Membership Service](../installing/runtime-start.md) +2. Start [Hyperledger Fabric Peer and Membership Service](runtime-start.md) 3. [Create a Connection Profile](../installing/createconnectionprofile.html) or do *not* use `-p` and allow Fabric Composer to create a `Default Connection Profile` for you. diff --git a/packages/composer-website/jekylldocs/installing/installingindex.md b/packages/composer-website/jekylldocs/installing/installingindex.md new file mode 100644 index 0000000000..22888e6787 --- /dev/null +++ b/packages/composer-website/jekylldocs/installing/installingindex.md @@ -0,0 +1,25 @@ +--- +layout: default +title: Installing Fabric Composer +sidebar: sidebars/installing.md +excerpt: Installing Fabric Composer +--- + +# Installing {{site.data.conrefs.composer_full}} + +--- + +There are two ways to install {{site.data.conrefs.composer_short}}. To model, develop, or test business networks, [install the {{site.data.conrefs.composer_short}} Playground locally](../tutorials/getting-started-playground.html) or [use the playground online](https://composer-playground.mybluemix.net). + +If you want to develop and test applications, connect to a running {{site.data.conrefs.hyperledger_fabric_full}} instance, or run {{site.data.conrefs.composer_full}} and {{site.data.conrefs.hyperledger_fabric_full}} locally, see [installing {{site.data.conrefs.composer_full}}](../installing/quickstart.html). + +If you want a more guided "Getting Started" experience, see our [Tutorials and Getting Started guides](../tutorials/tutorialindex.html). + +--- + +## Related Links +* [Installing the Playground locally](../tutorials/getting-started-playground.html) +* [Run the Playground online](../tutorials/) +* [Installation Pre-Requisites](../installing/prerequisites.html) +* [Installing {{site.data.conrefs.composer_full}}](../installing/quickstart.html) +* [Tutorials and Getting Started](../tutorials/tutorialindex.html) diff --git a/packages/composer-website/jekylldocs/installing/quickstart.md b/packages/composer-website/jekylldocs/installing/quickstart.md index 3ee861bfc9..eb9ea34a43 100644 --- a/packages/composer-website/jekylldocs/installing/quickstart.md +++ b/packages/composer-website/jekylldocs/installing/quickstart.md @@ -7,10 +7,26 @@ excerpt: Quickstart --- -# Fabric Composer Quickstart +# Installing {{site.data.conrefs.composer_full}} --- +**shortdesc** + +--- + +## Before you begin + +Ensure that you have the following prerequisites installed. + +* At least Ubuntu Linux v14.04 or Mac OS v10.12 +* At least *Docker* v1.12.5 +* At least *Docker-compose* v1.10.0 +* At least *node.js*: v6.9.5 +* A code editor, for example *Atom* or *VSCode* + + + Check that your system has the required software (at the required versions) installed: **Operating Systems:** Ubuntu Linux 14.04 / 16.04 LTS (both 64-bit), or Mac OS 10.12 diff --git a/packages/composer-website/jekylldocs/introduction/introduction.md b/packages/composer-website/jekylldocs/introduction/introduction.md index 8fc621ec47..36af099d0e 100644 --- a/packages/composer-website/jekylldocs/introduction/introduction.md +++ b/packages/composer-website/jekylldocs/introduction/introduction.md @@ -12,12 +12,14 @@ excerpt: Fabric Composer overview --- -You can use Fabric Composer to easily define your business network, creating and tracking assets and performing transactions. Business networks represent an economic network made up of participants, assets, and the transactions that are performed between them. Assets are tangible or intangible goods, services, or property, and are stored in registries. Transactions are operations which may transform, create, and transfer assets or participants. Participants can interact with multiple business networks and maintain assets as they move between them using set identities. - -Applications can consume the data from business networks, providing end users with simple and controlled access points to the business network. Business networks can also be integrated with existing systems to create assets, transactions, and participants based on existing data. +You can use Fabric Composer to rapidly develop and deploy a blockchain solution; modeling your business network and integrating existing systems and data. Fabric Composer requires and exploits the existing [Hyperledger Fabric blockchain](https://hyperledger.org) technology, using the blockchain consensus protocol to ensure that transactions are validated by business network participants. +Applications can consume the data from business networks, providing end users with simple and controlled access points. Existing data can also be integrated you modeled network, allowing complex systems and solutions to contribute data and . + +You can use Fabric Composer to quickly model your business network, containing your existing assets and the transactions related to them, whether your assets are tangible or intangible goods, services, or property. As part of your business network model, you define the transactions which are used to interact with assets. Business networks also include the participants who interact with them, each of which can be associated with a unique identity across multiple business networks. + --- ## Key Fabric Composer concepts diagram @@ -30,9 +32,13 @@ Fabric Composer requires and exploits the existing [Hyperledger Fabric blockchai ## How does Fabric Composer work in practise? +<<<<<<< HEAD +For an example of a business network in action; a realtor can quickly model their business network; including houses and listings assets, buyers and homeowners as participants, and buying or selling houses, and creating and closing listings as transactions. Participants can have their access to transactions restricted based on their role as either a buyer, seller, or realtor. The realtor can then create an application to present buyers and sellers with a simple user interface for viewing open listings and making offers. This business network could also be integrated with existing inventory system, adding new houses as assets and removing sold properties. Relevant other parties can be registered as participants, for example a land registry might interact with a buyer to transfer ownership of the land. +======= --- For an example of a business network in action; a realtor may have a business network containing houses and listings as assets. Participants could include buyers and homeowners. Transactions might include buying or selling houses, and creating and closing listings. Participants can have their access to transactions restricted based on their role as either a buyer, seller, or realtor. The realtor may want to create an application to present buyers and sellers participants with a simple user interface for viewing open listings and making offers. This business network could also be integrated with the existing inventory system for the realtor, allowing for the addition of new houses as assets. Relevant other parties can be registered as participants whilst maintaining their own business network, for example a land registry might interact with a buyer winner to transfer ownership of the land. +>>>>>>> refs/remotes/fabric-composer/master --- @@ -40,4 +46,4 @@ For an example of a business network in action; a realtor may have a business ne --- -To get started with Fabric Composer right away, try the [Fabric Composer tutorials](../tutorials/tutorialindex.html), to learn more about Fabric Composer read [understanding business networks](../introduction/businessnetwork.html), to get installed and trying the full product immediately go to [installing Fabric Composer](../installing/prerequisites.html). +To get started with Fabric Composer right away, try the [Fabric Composer tutorials](../tutorials/tutorialindex.html), to learn more about Fabric Composer read [understanding Fabric Composer](../introduction/key-concepts.html), to get installed and trying the full product immediately go to [installing Fabric Composer](../installing/prerequisites.html). diff --git a/packages/composer-website/jekylldocs/introduction/key-concepts.md b/packages/composer-website/jekylldocs/introduction/key-concepts.md new file mode 100644 index 0000000000..7d0f8daa11 --- /dev/null +++ b/packages/composer-website/jekylldocs/introduction/key-concepts.md @@ -0,0 +1,75 @@ +--- +layout: default +title: Key Concepts in Fabric Composer +sidebar: sidebars/introduction.md +excerpt: +--- + +# Features and Concepts in {{site.data.conrefs.composer_full}} + +--- + +Fabric Composer is a programming model containing a modeling language, and a set of APIs to quickly define and deploy business networks and applications that allow **participants** to send **transactions** that exchange **assets**. + +--- + +## Framework Features + +| Component | Description | +|:---------:|:-----------:| +| composer-admin, composer-client, composer-common | Composer-admin, composer-client, and composer-common contain the APIs to interact with a {{site.data.conrefs.composer_full}} runtime. Composer-admin contains APIs for deploying and updating a business network, composer-client contains APIs for manipulating resources within registries via transactions. | +| composer-cli | Composer-cli contains | +| composer-runtime | There are several versions of the composer-runtime designed for different environments. The embedded runtime runs within local storage, the hlf and hlfv1 runtimes run on {{site.data.conrefs.hyperledger_fabric_full}} versions 0.6 and 1.0. | +| composer-connector | The composer-connector components connect your {{site.data.conrefs.composer_short}} to a {{site.data.conrefs.hyperledger_fabric_full}} instance. | +| composer-rest-server | The composer-rest-server component creates and connects you to a REST API interface containing APIs for interacting with your business network. | +| generator-fabric-composer | The generator-fabric-composer component contains a Yeoman module for generating applications using data from your business network. | +| loopback-connector-composer | The loopback-connector-composer component allows you to connect loopback-compatible systems to your {{site.data.conrefs.composer_short}} business network. | + +--- + +## Key Concepts in {{site.data.conrefs.composer_full}} + +### Blockchain State Storage + +The current state of assets and participants are stored on the blockchain, administered by {{site.data.conrefs.hyperledger_fabric_full}}. {{site.data.conrefs.hyperledger_fabric_full}} runs consensus checks to ensure the validity of all blocks in the blockchain. For more information on {{site.data.conrefs.hyperledger_fabric_full}} consensus, see the [{{site.data.conrefs.hyperledger_fabric_full}} documentation](https://hyperledger-fabric.readthedocs.io/en/latest/fabric_model.html#consensus). + +--- + +### Assets + +Assets are tangible or intangible goods, services, or property, and are stored in registries. Assets can represent almost anything in a business network, for example, a house for sale, the sale listing, the land registry certificate for that house, and the insurance documents for that house may all be assets in one or more business networks. + +Assets must have a unique identifier, but other than that, they can contain whatever properties you define. + +--- + +### Participants + +Participants are members of a business network. Participant types can be defined and limited by an access control document which makes up part of the business network definition. + +--- + +### Transactions + +Transactions are the mechanism by which participants interact with assets. This could be as simple as a participant placing a bid on a asset in an auction, or an auctioneer marking an auction closed, automatically transferring ownership of the asset to the highest bidder. + +--- + +### APIs + +The `composer-admin`, `composer-client`, and `composer-common` components contain the APIs to interact with a {{site.data.conrefs.composer_full}} runtime. The `composer-rest-server` component generates a unique RESTful API for interacting with your deployed business network. + +--- + diff --git a/packages/composer-website/jekylldocs/managing/managingindex.md b/packages/composer-website/jekylldocs/managing/managingindex.md new file mode 100644 index 0000000000..f208b46a4a --- /dev/null +++ b/packages/composer-website/jekylldocs/managing/managingindex.md @@ -0,0 +1,21 @@ +--- +layout: default +title: Integrating existing systems +category: concepts +sidebar: sidebars/managing.md +excerpt: Managing your {{site.data.conrefs.composer_full}} +--- + +# Managing your {{site.data.conrefs.composer_full}} Solution + +--- + +Operating a business network may require management tasks, for information on how to add participants, issue or revoke identities, enable OAuth authentication, and enabling access control, see the following topics. + +--- +* [What are participants and identities](../managing/participantsandidentities.html) +* [Adding a participant](../managing/participant-add.html) +* [Issuing an identity](../managng/identity-issue.html) +* [Revoking an identity](../managing/identity-revoke.html) +* [Enabling OAuth with GitHub](../managing/github-oauth.html) +* [Enabling access control as a set participant](current-participant.html) diff --git a/packages/composer-website/jekylldocs/managing/participantsandidentities.md b/packages/composer-website/jekylldocs/managing/participantsandidentities.md new file mode 100644 index 0000000000..84945ed08c --- /dev/null +++ b/packages/composer-website/jekylldocs/managing/participantsandidentities.md @@ -0,0 +1,69 @@ +--- +layout: default +title: Fabric Composer - Participants and Identities +category: concepts +sidebar: sidebars/managing.md +excerpt: Business Network +--- + +# Participants and Identities + +--- + +A `Participant` is an actor in a business network. A participant might be an +individual or an organization. A participant can create assets, and also exchange +assets with other participants. A participant works with assets by submitting transactions. + +A participant has a set of `Identity` documents that can be validated to prove the +identity of that participant. For example, an individual may have one or more of +the following identity documents that prove who they are: + +* Passport +* Driving license +* Fingerprints +* Retina scan +* SSL certificate + +In order for a new participant to join a business network, a new instance of that +participant must be created in the business network. An identity document must +then be `Issued` to that participant. The new participant can then use that identity +document to interact with the business network. + +Identity documents usually expire after a set period of time. Identity documents may +also be lost or stolen. If the identity document expires, or if it needs to be +replaced, then it must be `Revoked` so it can no longer be used to interact with +the business network. + +These actions are performed by an existing participant in the business network, +for example a regulatory body, or a participant in the same organization who has +been trusted to manage participants/identities in that organization. + +In {{site.data.conrefs.composer_full}}, the structure of a participant is modelled in a +model file. This structure may include various information about the participant, +for example the participants name, address, e-mail address, date of birth, etc. +New instances of that modelled participant can then be created and stored in a +participant registry. + +{{site.data.conrefs.composer_full}} uses Hyperledger Fabric enrollment certificates as +identity documents. APIs and command line applications are provided to issue and +revoke enrollment certificates to participants that are stored in a participant +registry. When transactions are submitted using those enrollment certificates, the +participant is identified and is made available for the transaction processor +function to use. + +## Related Concepts + +[Business Network](../introduction/businessnetwork.html) + +## Related Tasks + +[Create a Business Domain Model](../business-network/model-define.html) +[Add a Participant](../managing/participant-add.html) +[Issue an Identity to a Participant](../managing/identity-issue.html) +[Revoke an Identity from a Participant](../managing/identity-revoke.html) + +## Related Reference + +[Participant add command](../reference/participant-add.html) +[Identity issue command](../reference/identity-issue.html) +[Identity revoke command](../reference/identity-revoke.html) diff --git a/packages/composer-website/jekylldocs/tutorials/getting-started-cmd-line.md b/packages/composer-website/jekylldocs/tutorials/getting-started-cmd-line.md index af923b83a2..3b12738e26 100644 --- a/packages/composer-website/jekylldocs/tutorials/getting-started-cmd-line.md +++ b/packages/composer-website/jekylldocs/tutorials/getting-started-cmd-line.md @@ -62,7 +62,7 @@ All the resources and scripts you'll need are in a git repository that we'll clo The first thing to do is to ensure that you have a suitable system ready for development. -**Ensure that you have followed the steps in our [Quickstart](../installing/quickstart.md) before continuing!** +**Ensure that you have followed the steps in our [Quickstart](./quickstart.md) before continuing!** Let's go ahead and make a change to start to show how easy it is to develop with Fabric Composer. @@ -226,8 +226,8 @@ We have downloaded the Hyperledger docker containers and stated a fabric. We hav If you want to continue exploring, check out our other Getting Started guides: -[Coding a Business Network Definition](../business-network/getting-started-coding-bnd.md) +[Coding a Business Network Definition](./getting-started-coding-bnd.md) -[Generating a REST API](../integrating/getting-started-rest-api.md) +[Generating a REST API](./getting-started-rest-api.md) -[Writing a Node.js App](../applications/getting-started-nodejs-app.md) +[Writing a Node.js App](./getting-started-nodejs-app.md) diff --git a/packages/composer-website/jekylldocs/tutorials/tutorialindex.md b/packages/composer-website/jekylldocs/tutorials/tutorialindex.md index a59b89bea1..3622157f8a 100644 --- a/packages/composer-website/jekylldocs/tutorials/tutorialindex.md +++ b/packages/composer-website/jekylldocs/tutorials/tutorialindex.md @@ -28,10 +28,13 @@ These getting started guides are intended for more technical users and may requi * [Quickstart](../installing/quickstart.html) installs and tests the prerequisites for the digital property network sample. * [Running a sample with the command line](../tutorials/getting-started-cmd-line.html). -* [Installing and running the {{site.data.conrefs.composer_short}} Playground locally](../tutorials/getting-started-playground.html). To run the [business network tutorial](../tutorials/defining-a-business-network.html) locally, install the playground locally first. +* [Installing and running the {{site.data.conrefs.composer_short}} Playground locally](../tutorials/getting-started-playground.html). To run the [business network tutorial](../tutorials/defining-a-business-network.html) locally, install the playground locally first. -{% for page in site.tutorials %} + From b8aa84cee195f698bf37f865b7ce12de142dc402 Mon Sep 17 00:00:00 2001 From: EdProsser Date: Mon, 24 Apr 2017 12:02:12 +0100 Subject: [PATCH 02/33] Adding Installing Index to ToC --- .../jekylldocs/_includes/sidebars/applications.md | 2 +- .../jekylldocs/_includes/sidebars/businessnetworks.md | 2 +- .../jekylldocs/_includes/sidebars/integrating.md | 2 +- .../jekylldocs/_includes/sidebars/introduction.md | 2 +- .../composer-website/jekylldocs/_includes/sidebars/managing.md | 2 +- .../composer-website/jekylldocs/_includes/sidebars/problems.md | 2 +- .../composer-website/jekylldocs/_includes/sidebars/reference.md | 2 +- .../composer-website/jekylldocs/_includes/sidebars/support.md | 2 +- .../composer-website/jekylldocs/_includes/sidebars/tutorials.md | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/composer-website/jekylldocs/_includes/sidebars/applications.md b/packages/composer-website/jekylldocs/_includes/sidebars/applications.md index aa196ed120..8f7c601e67 100644 --- a/packages/composer-website/jekylldocs/_includes/sidebars/applications.md +++ b/packages/composer-website/jekylldocs/_includes/sidebars/applications.md @@ -1,6 +1,6 @@ **[Introduction](../introduction/introduction.html)** **[Tutorials](../tutorials/tutorialindex.html)** -**[Installing](../installing/prerequisites.html)** +**[Installing](../installing/installingindex.html)** **[Defining Business Networks](../business-network/businessnetwork.html)** **[Writing Applications](../applications/genapp.html)** [Generating a starter application](../applications/genapp.html) diff --git a/packages/composer-website/jekylldocs/_includes/sidebars/businessnetworks.md b/packages/composer-website/jekylldocs/_includes/sidebars/businessnetworks.md index 01aabdd26f..388cca24cd 100644 --- a/packages/composer-website/jekylldocs/_includes/sidebars/businessnetworks.md +++ b/packages/composer-website/jekylldocs/_includes/sidebars/businessnetworks.md @@ -1,6 +1,6 @@ **[Introduction](../introduction/introduction.html)** **[Tutorials](../tutorials/tutorialindex.html)** -**[Installing](../installing/prerequisites.html)** +**[Installing](../installing/installingindex.html)** **[Defining Business Networks](../business-network/businessnetwork.html)** [What is a business network?](../business-network/businessnetwork.html) [What is a business network definition?](../business-network/businessnetworkdefinition.html) diff --git a/packages/composer-website/jekylldocs/_includes/sidebars/integrating.md b/packages/composer-website/jekylldocs/_includes/sidebars/integrating.md index bd170ba7e8..f93a14d8e0 100644 --- a/packages/composer-website/jekylldocs/_includes/sidebars/integrating.md +++ b/packages/composer-website/jekylldocs/_includes/sidebars/integrating.md @@ -1,6 +1,6 @@ **[Introduction](../introduction/introduction.html)** **[Tutorials](../tutorials/tutorialindex.html)** -**[Installing](../installing/prerequisites.html)** +**[Installing](../installing/installingindex.html)** **[Defining Business Networks](../business-network/businessnetwork.html)** **[Writing Applications](../applications/genapp.html)** **[Integrating Existing Systems](../integrating/integrating-index.html)** diff --git a/packages/composer-website/jekylldocs/_includes/sidebars/introduction.md b/packages/composer-website/jekylldocs/_includes/sidebars/introduction.md index c13e39876d..c159cf857e 100644 --- a/packages/composer-website/jekylldocs/_includes/sidebars/introduction.md +++ b/packages/composer-website/jekylldocs/_includes/sidebars/introduction.md @@ -1,7 +1,7 @@ **[Introduction](../introduction/introduction.html)** [Components and Concepts](../introduction/key-concepts.html) **[Tutorials](../tutorials/tutorialindex.html)** -**[Installing](../installing/prerequisites.html)** +**[Installing](../installing/installingindex.html)** **[Defining Business Networks](../business-network/businessnetwork.html)** **[Writing Applications](../applications/genapp.html)** **[Integrating Existing Systems](../integrating/integrating-index.html)** diff --git a/packages/composer-website/jekylldocs/_includes/sidebars/managing.md b/packages/composer-website/jekylldocs/_includes/sidebars/managing.md index 380d5d30b9..c41d91cb52 100644 --- a/packages/composer-website/jekylldocs/_includes/sidebars/managing.md +++ b/packages/composer-website/jekylldocs/_includes/sidebars/managing.md @@ -1,6 +1,6 @@ **[Introduction](../introduction/introduction.html)** **[Tutorials](../tutorials/tutorialindex.html)** -**[Installing](../installing/prerequisites.html)** +**[Installing](../installing/installingindex.html)** **[Defining Business Networks](../business-network/businessnetwork.html)** **[Writing Applications](../applications/genapp.html)** **[Integrating Existing Systems](../integrating/integrating-index.html)** diff --git a/packages/composer-website/jekylldocs/_includes/sidebars/problems.md b/packages/composer-website/jekylldocs/_includes/sidebars/problems.md index f829216cac..ad09d531ce 100644 --- a/packages/composer-website/jekylldocs/_includes/sidebars/problems.md +++ b/packages/composer-website/jekylldocs/_includes/sidebars/problems.md @@ -1,6 +1,6 @@ **[Introduction](../introduction/introduction.html)** **[Tutorials](../tutorials/tutorialindex.html)** -**[Installing](../installing/prerequisites.html)** +**[Installing](../installing/installingindex.html)** **[Defining Business Networks](../business-network/businessnetwork.html)** **[Writing Applications](../applications/genapp.html)** **[Integrating Existing Systems](../integrating/integrating-index.html)** diff --git a/packages/composer-website/jekylldocs/_includes/sidebars/reference.md b/packages/composer-website/jekylldocs/_includes/sidebars/reference.md index 1ce9b92dc1..7db2381284 100644 --- a/packages/composer-website/jekylldocs/_includes/sidebars/reference.md +++ b/packages/composer-website/jekylldocs/_includes/sidebars/reference.md @@ -1,6 +1,6 @@ **[Introduction](../introduction/introduction.html)** **[Tutorials](../tutorials/tutorialindex.html)** -**[Installing](../installing/prerequisites.html)** +**[Installing](../installing/installingindex.html)** **[Defining Business Networks](../business-network/businessnetwork.html)** **[Writing Applications](../applications/genapp.html)** **[Integrating Existing Systems](../integrating/integrating-index.html)** diff --git a/packages/composer-website/jekylldocs/_includes/sidebars/support.md b/packages/composer-website/jekylldocs/_includes/sidebars/support.md index ec30ffc4ca..9829c70a19 100644 --- a/packages/composer-website/jekylldocs/_includes/sidebars/support.md +++ b/packages/composer-website/jekylldocs/_includes/sidebars/support.md @@ -1,6 +1,6 @@ **[Introduction](../introduction/introduction.html)** **[Tutorials](../tutorials/tutorialindex.html)** -**[Installing](../installing/prerequisites.html)** +**[Installing](../installing/installingindex.html)** **[Defining Business Networks](../business-network/businessnetwork.html)** **[Writing Applications](../applications/genapp.html)** **[Integrating Existing Systems](../integrating/integrating-index.html)** diff --git a/packages/composer-website/jekylldocs/_includes/sidebars/tutorials.md b/packages/composer-website/jekylldocs/_includes/sidebars/tutorials.md index e4f8935da8..95a2209701 100644 --- a/packages/composer-website/jekylldocs/_includes/sidebars/tutorials.md +++ b/packages/composer-website/jekylldocs/_includes/sidebars/tutorials.md @@ -3,7 +3,7 @@ [Tutorial 1: Building your first business network](../tutorials/defining-a-business-network.html) [Getting started with the command line](../tutorials/getting-started-cmd-line.html) [Getting started with the playground](../tutorials/getting-started-playground.html) -**[Installing](../installing/prerequisites.html)** +**[Installing](../installing/installingindex.html)** **[Defining Business Networks](../business-network/businessnetwork.html)** **[Writing Applications](../applications/genapp.html)** **[Integrating Existing Systems](../integrating/integrating-index.html)** From 02c32b89ac446476707dd5ef835bbfc9959a2e84 Mon Sep 17 00:00:00 2001 From: EdProsser Date: Mon, 24 Apr 2017 17:34:03 +0100 Subject: [PATCH 03/33] Removing Fabric Composer name --- .../composer-website/jekylldocs/_config.yml | 2 +- .../jekylldocs/_data/conrefs.yml | 2 +- .../jekylldocs/_includes/head.html | 4 +- .../jekylldocs/_includes/header.html | 2 +- .../jekylldocs/_layouts/support.html | 4 +- .../jekylldocs/applications/genapp.md | 10 ++--- .../getting-started-nodejs-app.md | 18 ++++---- .../jekylldocs/applications/index.md | 8 ++-- .../applications/rest-api-server.md | 4 +- .../jekylldocs/business-network/bnd-define.md | 18 ++++---- .../business-network/businessnetwork.md | 6 +-- .../businessnetworkdefinition.md | 4 +- .../business-network/deploybusinessnetwork.md | 2 +- .../getting-started-coding-bnd.md | 6 +-- .../business-network/model-define.md | 6 +-- .../composer-website/jekylldocs/index.html | 2 +- .../installing/createconnectionprofile.md | 2 +- .../jekylldocs/installing/installingindex.md | 4 +- .../jekylldocs/installing/quickstart.md | 4 +- .../integrating/getting-started-rest-api.md | 8 ++-- .../introduction/businessnetwork.md | 6 +-- .../introduction/businessnetworkdefinition.md | 4 +- .../jekylldocs/introduction/introduction.md | 20 ++++----- .../jekylldocs/introduction/key-concepts.md | 4 +- .../introduction/participantsandidentities.md | 2 +- .../jekylldocs/managing/identity-issue.md | 2 +- .../jekylldocs/managing/identity-revoke.md | 2 +- .../managing/participantsandidentities.md | 2 +- .../jekylldocs/overview/overview.md | 20 ++++----- .../jekylldocs/problems/diagnostics.md | 6 +-- .../jekylldocs/reference/MeetTheModules.md | 6 +-- .../jekylldocs/reference/acl_language.md | 10 ++--- .../jekylldocs/reference/commands.md | 10 ++--- .../reference/composer.archive.create.md | 4 +- .../reference/composer.archive.list.md | 4 +- .../reference/composer.generator.create.md | 2 +- .../reference/composer.generator.md | 2 +- .../reference/composer.generator.tests.md | 4 +- .../reference/composer.identity.issue.md | 4 +- .../reference/composer.identity.revoke.md | 4 +- .../reference/composer.network.deploy.md | 4 +- .../reference/composer.network.list.md | 4 +- .../reference/composer.network.ping.md | 4 +- .../reference/composer.network.undeploy.md | 4 +- .../reference/composer.network.update.md | 4 +- .../reference/composer.participant.add.md | 4 +- .../reference/composer.transaction.submit.md | 4 +- .../jekylldocs/reference/connectionprofile.md | 2 +- .../jekylldocs/reference/cto_language.md | 12 ++--- .../jekylldocs/reference/glossary.md | 12 ++--- .../jekylldocs/reference/index.md | 4 +- .../jekylldocs/reference/js_scripts.md | 4 +- .../jekylldocs/support/changelog.md | 6 +-- .../jekylldocs/support/index.md | 2 +- .../tutorials/getting-started-cmd-line.md | 20 ++++----- .../tutorials/getting-started-playground.md | 44 +++++++++---------- 56 files changed, 184 insertions(+), 184 deletions(-) diff --git a/packages/composer-website/jekylldocs/_config.yml b/packages/composer-website/jekylldocs/_config.yml index 718436d9a2..64ac3304c7 100644 --- a/packages/composer-website/jekylldocs/_config.yml +++ b/packages/composer-website/jekylldocs/_config.yml @@ -1,4 +1,4 @@ -title: Fabric Composer +title: Hyperledger Composer description: Create business networks and application for Hyperledger email: diff --git a/packages/composer-website/jekylldocs/_data/conrefs.yml b/packages/composer-website/jekylldocs/_data/conrefs.yml index ab32b4def3..51fa4e46a3 100644 --- a/packages/composer-website/jekylldocs/_data/conrefs.yml +++ b/packages/composer-website/jekylldocs/_data/conrefs.yml @@ -3,7 +3,7 @@ composer_short: Composer composer_full: - Fabric Composer + Hyperledger Composer hyperledger_fabric_full: Hyperledger Fabric diff --git a/packages/composer-website/jekylldocs/_includes/head.html b/packages/composer-website/jekylldocs/_includes/head.html index b9776c9868..6c3b5582ec 100644 --- a/packages/composer-website/jekylldocs/_includes/head.html +++ b/packages/composer-website/jekylldocs/_includes/head.html @@ -1,9 +1,9 @@ {% if page.title %} - {{page.title}} | Fabric Composer + {{page.title}} | Hyperledger Composer {% else %} - Fabric Composer - Create Hyperledger business networks and applications + Hyperledger Composer - Create Hyperledger business networks and applications {% endif %} diff --git a/packages/composer-website/jekylldocs/_includes/header.html b/packages/composer-website/jekylldocs/_includes/header.html index 241ae51ef1..c4755aab9d 100644 --- a/packages/composer-website/jekylldocs/_includes/header.html +++ b/packages/composer-website/jekylldocs/_includes/header.html @@ -7,7 +7,7 @@