Skip to content

Commit c628ef6

Browse files
authoredMay 20, 2020
Merge pull request #268 from CLARIAH/dev
Prepare release 1.3.4
2 parents ef1cbc0 + 5e6986d commit c628ef6

File tree

5 files changed

+12
-15
lines changed

5 files changed

+12
-15
lines changed
 

‎CITATION.cff

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ license: MIT
2525
message: "If you use this software, please cite it as below."
2626
repository-code: "https://github.com/CLARIAH/grlc"
2727
title: grlc
28-
version: "1.3.3"
28+
version: "1.3.4"

‎README.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Syntax:
107107
#+ summary: This is the summary of my query/operation
108108
```
109109

110-
Example [query](https://github.com/CLARIAH/grlc-queries/blob/master/summary.rq) and the equivalent (API operation)[http://dev.grlc.io/api-git/CLARIAH/grlc-queries/#/default/get_summary].
110+
Example [query](https://github.com/CLARIAH/grlc-queries/blob/master/summary.rq) and the equivalent [API operation](http://grlc.io/api-git/CLARIAH/grlc-queries/#/default/get_summary).
111111

112112
### `description`
113113
Creates a description of your query/operation. This is shown as the description of your operation in the swagger-ui.
@@ -117,7 +117,7 @@ Syntax:
117117
#+ description: Extended description of my query/operation.
118118
```
119119

120-
Example [query](https://github.com/CLARIAH/grlc-queries/blob/master/description.rq) and the equivalent (API operation)[http://dev.grlc.io/api-git/CLARIAH/grlc-queries/#/default/get_description].
120+
Example [query](https://github.com/CLARIAH/grlc-queries/blob/master/description.rq) and the equivalent [API operation](http://grlc.io/api-git/CLARIAH/grlc-queries/#/default/get_description).
121121

122122
### `endpoint`
123123
Specifies a query-specific endpoint.
@@ -127,7 +127,7 @@ Syntax:
127127
#+ endpoint: http://example.com/sparql
128128
```
129129

130-
Example [query](https://github.com/CLARIAH/grlc-queries/blob/master/endpoint.rq) and the equivalent (API operation)[http://dev.grlc.io/api-git/CLARIAH/grlc-queries/#/default/get_endpoint].
130+
Example [query](https://github.com/CLARIAH/grlc-queries/blob/master/endpoint.rq) and the equivalent [API operation](http://grlc.io/api-git/CLARIAH/grlc-queries/#/default/get_endpoint).
131131

132132
### `pagination`
133133
Paginates the results in groups of (for example) 100. Links to previous, next, first, and last result pages are provided as HTTP response headers to avoid polluting the payload (see details [here](https://developer.github.com/v3/guides/traversing-with-pagination/))
@@ -137,7 +137,7 @@ Syntax:
137137
#+ pagination: 100
138138
```
139139

140-
Example [query](https://github.com/CLARIAH/grlc-queries/blob/master/pagination.rq) and the equivalent (API operation)[http://dev.grlc.io/api-git/CLARIAH/grlc-queries/#/default/get_pagination].
140+
Example [query](https://github.com/CLARIAH/grlc-queries/blob/master/pagination.rq) and the equivalent [API operation](http://grlc.io/api-git/CLARIAH/grlc-queries/#/default/get_pagination).
141141

142142
### `method`
143143
Indicates the HTTP request method (`GET` and `POST` are supported).
@@ -147,7 +147,7 @@ Syntax:
147147
#+ method: GET
148148
```
149149

150-
Example [query](https://github.com/CLARIAH/grlc-queries/blob/master/method.rq) and the equivalent (API operation)[http://dev.grlc.io/api-git/CLARIAH/grlc-queries/#/default/post_method].
150+
Example [query](https://github.com/CLARIAH/grlc-queries/blob/master/method.rq) and the equivalent [API operation](http://grlc.io/api-git/CLARIAH/grlc-queries/#/default/post_method).
151151

152152
### `tags`
153153
Assign tags to your query/operation. Query/operations with the same tag are grouped together in the swagger-ui.
@@ -159,7 +159,7 @@ Syntax:
159159
#+ - secondTag
160160
```
161161

162-
Example [query](https://github.com/CLARIAH/grlc-queries/blob/master/tags.rq) and the equivalent (API operation)[http://dev.grlc.io/api-git/CLARIAH/grlc-queries/#/group1/get_tags].
162+
Example [query](https://github.com/CLARIAH/grlc-queries/blob/master/tags.rq) and the equivalent [API operation](http://grlc.io/api-git/CLARIAH/grlc-queries/#/group1/get_tags).
163163

164164
### `enumerate`
165165
Indicates which parameters of your query/operation should get enumerations (and get dropdown menus in the swagger-ui) using the given values from the SPARQL endpoint. The values for each enumeration variable can also be specified into the query decorators to save endpoint requests and speed up the API generation.
@@ -172,7 +172,7 @@ Syntax:
172172
#+ - value2
173173
```
174174

175-
Example [query](https://github.com/CLARIAH/grlc-queries/blob/master/enumerate.rq) and the equivalent (API operation)[http://dev.grlc.io/api-git/CLARIAH/grlc-queries/#/default/get_enumerate].
175+
Example [query](https://github.com/CLARIAH/grlc-queries/blob/master/enumerate.rq) and the equivalent [API operation](http://grlc.io/api-git/CLARIAH/grlc-queries/#/default/get_enumerate).
176176

177177
Notice that these should be plain variable names without SPARQL/BASIL conventions (so `var1` instead of `?_var1_iri`)
178178

@@ -184,7 +184,7 @@ Syntax:
184184
#+ endpoint_in_url: False
185185
```
186186

187-
Example [query](https://github.com/CLARIAH/grlc-queries/blob/master/endpoint_url.rq) and the equivalent (API operation)[http://dev.grlc.io/api-git/CLARIAH/grlc-queries/#/default/get_endpoint_url].
187+
Example [query](https://github.com/CLARIAH/grlc-queries/blob/master/endpoint_url.rq) and the equivalent [API operation](http://grlc.io/api-git/CLARIAH/grlc-queries/#/default/get_endpoint_url).
188188

189189
### `transform`
190190
Allows query results to be converted to the specified JSON structure, by using [SPARQLTransformer](https://github.com/D2KLab/py-sparql-transformer) syntax.
@@ -198,7 +198,7 @@ Syntax:
198198
#+ }
199199
```
200200

201-
Example [query](https://github.com/CLARIAH/grlc-queries/blob/master/transform.rq) and the equivalent (API operation)[http://dev.grlc.io/api-git/CLARIAH/grlc-queries/#/default/get_transform].
201+
Example [query](https://github.com/CLARIAH/grlc-queries/blob/master/transform.rq) and the equivalent [API operation](http://grlc.io/api-git/CLARIAH/grlc-queries/#/default/get_transform).
202202

203203
### Example APIs
204204

‎docker-assets/assets/runtime/configs/nginx/grlc

-3
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,6 @@ server {
5151
proxy_set_header X-Real-IP $remote_addr;
5252
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
5353
proxy_set_header X-Forwarded-Proto {{NGINX_X_FORWARDED_PROTO}};
54-
55-
add_header Access-Control-Allow-Origin *;
56-
5754
}
5855

5956
}

‎setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
root_dir = root.replace(grlc_base_dir, '')
1414
data_files = os.path.join(root_dir, '*')
1515
grlc_data.append(data_files)
16-
grlc_version = '1.3.3'
16+
grlc_version = '1.3.4'
1717

1818
with codecs.open('requirements.txt', mode='r') as f:
1919
install_requires = f.read().splitlines()

‎src/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.3.3'
1+
__version__ = '1.3.4'

0 commit comments

Comments
 (0)
Please sign in to comment.