Commit f448943b authored by tropea's avatar tropea
Browse files

Merge branch 'master' into 'master'

Merge of private repo to Master

See merge request !4
parents c4a4c05c 8b5fde29
Pipeline #4959 passed with stage
# This file is a template, and might need editing before it works on your project. # This file is a template, and might need editing before it works on your project.
# Official framework image. Look for the different tagged releases at: # Official framework image. Look for the different tagged releases at:
# https://hub.docker.com/r/library/node/tags/ # https://hub.docker.com/r/library/node/tags/
image: node:8 image: node::13.7-alpine
# This folder is cached between builds # This folder is cached between builds
# http://docs.gitlab.com/ce/ci/yaml/README.html#cache # http://docs.rep.com/ce/ci/yaml/README.html#cache
cache: cache:
paths: paths:
- node_modules/ - node_modules/
all_tests: before_script:
- yarn
stages:
- test
test:
stage: test
script: script:
- npm install - echo "Running tests..."
- npm test - yarn test
allow_failure: true
# CONTRIBUTE
## Install app
```
$ yarn
```
## Test
### Test all scripts
```
$ yarn test
```
### Test scripts individually
```
$ yarn validate-examples
$ yarn validate-locally
$ yarn validate-online
$ yarn validate-schema
```
### Bundle ngsi-ld-spec-open-api.json
```
$ yarn combine-files
```
\ No newline at end of file
...@@ -4,12 +4,14 @@ This repository contains OpenAPI descriptions for the NGSI-LD interface defined ...@@ -4,12 +4,14 @@ This repository contains OpenAPI descriptions for the NGSI-LD interface defined
## Online resources ## Online resources
* [Navigate the API in the browser](https://forge.etsi.org/swagger/ui/?url=https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/spec/updated/full_api.json). * [Navigate the API in the browser](https://forge.etsi.org/swagger/ui/?url=https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/full_api.json).
## Contribute ## Contribute
To get an account on ETSI Forge and to learn how to contribute visit the [Forge Getting started wiki](https://forge.etsi.org/wiki/index.php/Get_started). To get an account on ETSI Forge and to learn how to contribute visit the [Forge Getting started wiki](https://forge.etsi.org/wiki/index.php/Get_started).
More info @ [CONTIBUTE](./CONTRIBUTE.md)
Change requests are managed using [Gerrit](https://forge.etsi.org/gerrit). Change requests are managed using [Gerrit](https://forge.etsi.org/gerrit).
## Report issues ## Report issues
......
This diff is collapsed.
This diff is collapsed.
...@@ -72,6 +72,6 @@ ...@@ -72,6 +72,6 @@
"http://example.org/ngsi-ld/commonTerms.jsonld", "http://example.org/ngsi-ld/commonTerms.jsonld",
"http://example.org/ngsi-ld/vehicle.jsonld", "http://example.org/ngsi-ld/vehicle.jsonld",
"http://example.org/ngsi-ld/parking.jsonld", "http://example.org/ngsi-ld/parking.jsonld",
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld" "https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.3.jsonld"
] ]
} }
...@@ -72,6 +72,6 @@ ...@@ -72,6 +72,6 @@
"http://example.org/ngsi-ld/commonTerms.jsonld", "http://example.org/ngsi-ld/commonTerms.jsonld",
"http://example.org/ngsi-ld/vehicle.jsonld", "http://example.org/ngsi-ld/vehicle.jsonld",
"http://example.org/ngsi-ld/parking.jsonld", "http://example.org/ngsi-ld/parking.jsonld",
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld" "https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.3.jsonld"
] ]
}] }]
...@@ -26,6 +26,6 @@ ...@@ -26,6 +26,6 @@
}, },
"@context": [ "@context": [
"https://example.org/ld/vehicle.jsonld", "https://example.org/ld/vehicle.jsonld",
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld" "https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.3.jsonld"
] ]
} }
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
}, },
"@context": [ "@context": [
"https://example.org/ld/vehicle.jsonld", "https://example.org/ld/vehicle.jsonld",
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld" "https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.3.jsonld"
] ]
} }
] ]
...@@ -26,6 +26,6 @@ ...@@ -26,6 +26,6 @@
], ],
"@context": [ "@context": [
"http://example.org/ngsi-ld/vehicle.jsonld", "http://example.org/ngsi-ld/vehicle.jsonld",
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld" "https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.3.jsonld"
] ]
} }
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
], ],
"@context": [ "@context": [
"http://example.org/ngsi-ld/vehicle.jsonld", "http://example.org/ngsi-ld/vehicle.jsonld",
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld" "https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.3.jsonld"
] ]
} }
] ]
...@@ -29,6 +29,6 @@ ...@@ -29,6 +29,6 @@
}, },
"@context": [ "@context": [
"http://example.org/ngsi-ld/vehicle.jsonld", "http://example.org/ngsi-ld/vehicle.jsonld",
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld" "https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.3.jsonld"
] ]
} }
...@@ -31,6 +31,6 @@ ...@@ -31,6 +31,6 @@
}, },
"@context": [ "@context": [
"http://example.org/ngsi-ld/parking.jsonld", "http://example.org/ngsi-ld/parking.jsonld",
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld" "https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.3.jsonld"
] ]
} }
...@@ -10,6 +10,6 @@ ...@@ -10,6 +10,6 @@
}, },
"@context": [ "@context": [
"http://example.org/ngsi-ld/parking.jsonld", "http://example.org/ngsi-ld/parking.jsonld",
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld" "https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.3.jsonld"
] ]
} }
...@@ -30,6 +30,6 @@ ...@@ -30,6 +30,6 @@
}, },
"@context": [ "@context": [
"http://example.org/ngsi-ld/vehicle.jsonld", "http://example.org/ngsi-ld/vehicle.jsonld",
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld" "https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.3.jsonld"
] ]
} }
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
}, },
"@context": [ "@context": [
"http://example.org/cim/vehicle.jsonld", "http://example.org/cim/vehicle.jsonld",
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld" "https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.3.jsonld"
] ]
} }
] ]
...@@ -23,6 +23,6 @@ ...@@ -23,6 +23,6 @@
"http://example.org/ngsi-ld/vehicle.jsonld", "http://example.org/ngsi-ld/vehicle.jsonld",
"http://example.org/ngsi-ld/parking.jsonld", "http://example.org/ngsi-ld/parking.jsonld",
"https://schema.org", "https://schema.org",
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld" "https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.3.jsonld"
] ]
} }
...@@ -25,6 +25,6 @@ ...@@ -25,6 +25,6 @@
"speed#2": "http://example.org/speed", "speed#2": "http://example.org/speed",
"source": "http://example.org/hasSource" "source": "http://example.org/hasSource"
}, },
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld" "https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.3.jsonld"
] ]
} }
\ No newline at end of file
...@@ -7,6 +7,6 @@ ...@@ -7,6 +7,6 @@
"http://example.org/ngsi-ld/commonTerms.jsonld", "http://example.org/ngsi-ld/commonTerms.jsonld",
"http://example.org/ngsi-ld/vehicle.jsonld", "http://example.org/ngsi-ld/vehicle.jsonld",
"http://example.org/ngsi-ld/parking.jsonld", "http://example.org/ngsi-ld/parking.jsonld",
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld" "https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.3.jsonld"
] ]
} }
{
"compilerOptions": {
"baseUrl": "."
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment