Commit f448943b authored by Giuseppe Tropea's avatar Giuseppe Tropea
Browse files

Merge branch 'master' into 'master'

Merge of private repo to Master

See merge request NGSI-LD/NGSI-LD!4
parents c4a4c05c 8b5fde29
Loading
Loading
Loading
Loading
Loading
+13 −5
Original line number Diff line number Diff line
# 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:
# https://hub.docker.com/r/library/node/tags/
image: node:8
image: node::13.7-alpine

# 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:
  paths:
  - node_modules/

all_tests:
before_script:
  - yarn

stages:
  - test

test:
  stage: test
  script:
   - npm install
   - npm test
   - echo "Running tests..."   
   - yarn test
  allow_failure: true

CONTRIBUTE.md

0 → 100644
+26 −0
Original line number Diff line number Diff line
# 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
+3 −1
Original line number Diff line number Diff line
@@ -4,12 +4,14 @@ This repository contains OpenAPI descriptions for the NGSI-LD interface defined

## 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

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).

## Report issues
+3052 −0

File added.

Preview size limit exceeded, changes collapsed.

+3052 −0

File added.

Preview size limit exceeded, changes collapsed.

Loading