Skip to content

Commit

Permalink
Initial Revision
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-fox committed Mar 13, 2024
0 parents commit db9f101
Show file tree
Hide file tree
Showing 19 changed files with 5,753 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Project name
COMPOSE_PROJECT_NAME=fiware
EXPOSED_PORT=1026

# Orion variables
ORION_PORT=1027
ORION_VERSION=3.8.1

# Orion variables
ORION_LD_PORT=1026
ORION_LD_VERSION=1.5.1

# Scorpio variables
SCORPIO_PORT=9090
SCORPIO_VERSION=4.1.15

# Stellio variables
STELLIO_DOCKER_TAG=2.10.2
STELLIO_PORT=8080
STELLIO_TIMESCALE_POSTGIS=14-2.11.1-3.3

# Curl variables
CURL_VERSION=8.4.0

# MongoDB variables
MONGO_DB_PORT=27017
MONGO_DB_VERSION=4.4

# IoT Agent Ultralight Variables
ULTRALIGHT_VERSION=3.0.0-distroless
IOTA_NORTH_PORT=4041
IOTA_SOUTH_PORT=7896

# Tutorial variables
TUTORIAL_APP_PORT=3000
TUTORIAL_DUMMY_DEVICE_PORT=3001

PIG_COUNT=20
COW_COUNT=20
38 changes: 38 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@

name: "CI"
on:
push:
branches:
- master
- NGSI-v2
- NGSI-LD
pull_request:
branches:
- master
- NGSI-v2
- NGSI-LD
workflow_dispatch:

jobs:
test-modules:
name: Test Script
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@master
with:
persist-credentials: false
fetch-depth: 0
submodules: recursive
- name: Build Images
run: |
./services create test || true
- name: Run Orion
run: |
./services orion test && ./services stop test
- name: Run Stellio
run: |
./services stellio test && ./services stop test
- name: Run Scorpio
run: |
./services scorpio test && ./services stop test
37 changes: 37 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
*~
.fuse_hidden*
.directory
.Trash-*
.nfs*
*.DS_Store
.AppleDouble
.LSOverride
Icon
._*
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pids
*.pid
*.seed
*.pid.lock
node_modules/
jspm_packages/
.npm
.eslintcache
*.tgz
.next
44 changes: 44 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
tasks:
- name: Pull Images
init: ./services create

ports:
- name: Orion
description: Context Broker
port: 1026
onOpen: notify
- name: Scorpio
description: Context Broker
port: 9090
onOpen: notify
visibility: public
- name: Stellio
description: Context Broker
port: 8080
onOpen: notify
visibility: public
- name: Tutorial App
description: Web app displaying context data
port: 3000
onOpen: open-preview
- name: Tutorial Devices
description: Dummy IoT Sensors over HTTP
port: 3001
onOpen: ignore
- name: IoT Agent (North Port)
description: NGSI data and device provisioning
port: 4041
onOpen: ignore
- name: IoT Agent (South Port)
description: Ultralight HTTP measures
port: 7896
onOpen: ignore
- name: JSON-LD context (HTTPD)
description: Public User JSON-LD context
port: 3004
onOpen: notify
visibility: public
- name: MongoDB
description: Database for Orion + IoT Agent
port: 27017
onOpen: ignore
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2018-2023 FIWARE Foundation e.V.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading

0 comments on commit db9f101

Please sign in to comment.