Skip to content
This repository has been archived by the owner on Mar 8, 2020. It is now read-only.

Commit

Permalink
20 july docs fixes (#1619)
Browse files Browse the repository at this point in the history
* homepage and support pages stackoverflow changes

* typography changes for readme section

* initial dropdown styling

* code cleanup for dropdown component

* further code cleanup for dropdowns

* added comments

* new loading page

* code mirror background colour change

* select state in code mirror colour change

* table heading spacing change and transaction button alignment fix

* header padding changes

* notification typography changes

* minor updates to the code section styling in the docs.

* new 404 page and styles + homepage callout width fix

* typography fix for side-nav

* button svg spacing and colour fixes

* jsdoc readme fix

* support page fix

* support page new name

* async fix for loading copy button

* conref fix in query docs

* playground tutorial ACL fix, sample network default update
  • Loading branch information
winslet authored Jul 20, 2017
1 parent d867656 commit 6cfc5a3
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 9 deletions.
2 changes: 1 addition & 1 deletion packages/composer-playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
"babel-loader": "^6.2.10",
"babel-polyfill": "^6.23.0",
"babel-preset-latest": "^6.24.1",
"basic-sample-network": "^0.1.0",
"basic-sample-network": "^0.1.2",
"bootstrap": "4.0.0-alpha.5",
"browserfs": "^1.1.0",
"buffer-loader": "0.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/composer-website/jekylldocs/_includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
<link href="{{site.baseurl}}/assets/css/new-style.min.css" rel="stylesheet">
<link href="{{site.baseurl}}/assets/css/grid-layout.min.css" rel="stylesheet">
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script async type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/1.6.0/clipboard.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/1.6.0/clipboard.min.js"></script>
{% endif %}
</head>
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Note: Queries are supported by the {{site.data.conrefs.hlf_full}} v1.0, embedded

## Types of Queries

{site.data.conrefs.composer}} supports two types of queries: named queries and dynamic queries. Named queries are specified in the business network definition and are exposed as GET methods by the composer-rest-server component. Dynamic queries may be constructed dynamically at runtime within a Transaction Processor function, or from client code.
{{site.data.conrefs.composer_full}} supports two types of queries: named queries and dynamic queries. Named queries are specified in the business network definition and are exposed as GET methods by the composer-rest-server component. Dynamic queries may be constructed dynamically at runtime within a Transaction Processor function, or from client code.

## Writing Named Queries

Expand All @@ -47,9 +47,9 @@ The named query below is defined in terms of 3 parameters:

```
query Q18 {
description: "Select all drivers aged older than PARAM"
statement:
SELECT org.acme.Driver
description: "Select all drivers aged older than PARAM"
statement:
SELECT org.acme.Driver
WHERE (_$ageParam < age)
ORDER BY [lastName ASC, firstName DESC]
LIMIT _$limitParam
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
index-order: 909
layout: default
title: API Documentation
section: reference
layout: default
exception: API
excerpt: The Client, Admin, and Runtime components of Hyperledger Composer contain [JavaScript APIs](../jsdoc/index.html) for application integration.
sidebar: sidebars/accordion-toc0.md
excerpt: The Client, Admin, and Runtime components of Hyperledger Composer contain [JavaScript APIs](../jsdoc/index.html) for application integration.
index-order: 909
---

# Hyperledger Composer API
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,14 @@ rule Default {
resource: "org.acme.mynetwork.*"
action: ALLOW
}
rule SystemACL {
description: "System ACL to permit all access"
participant: "org.hyperledger.composer.system.Participant"
operation: ALL
resource: "org.hyperledger.composer.system.**"
action: ALLOW
}
```

This access control simply allows all participants access to all resources.
Expand Down

0 comments on commit 6cfc5a3

Please sign in to comment.