-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #95 from swrlab/feature/dts-plugin
Feature/dts plugin
- Loading branch information
Showing
24 changed files
with
824 additions
and
162 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Load desired node pckg | ||
FROM node:14.16-alpine | ||
FROM node:14.17-alpine | ||
|
||
# Add python | ||
RUN apk add g++ make python | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
{ | ||
"name": "ard-eventhub", | ||
"version": "1.0.2", | ||
"version": "1.1.0", | ||
"description": "ARD system to distribute real-time (live) metadata for primarily radio broadcasts.", | ||
"main": "./src/ingest/index.js", | ||
"scripts": { | ||
"docs:serve": "docsify serve . --port 3000", | ||
"coreId": "node ./src/coreId/index.js", | ||
"ingest:test": "mocha test/ingest.test.js --timeout 15000 --exit -r dotenv/config", | ||
"ingest:local": "nodemon -r dotenv/config ./src/ingest/index.js", | ||
"ingest:cloud": "node -r dotenv/config ./src/ingest/index.js", | ||
|
@@ -16,20 +17,22 @@ | |
"metadata", | ||
"pubsub" | ||
], | ||
"author": "SWR audio lab <[email protected]>", | ||
"author": "SWR Audio Lab <[email protected]>", | ||
"license": "EUPL-1.2", | ||
"dependencies": { | ||
"@google-cloud/datastore": "^6.4.0", | ||
"@google-cloud/pubsub": "^2.11.0", | ||
"@google-cloud/pubsub": "^2.12.0", | ||
"@google-cloud/secret-manager": "^3.7.1", | ||
"body-parser": "^1.19.0", | ||
"compression": "^1.7.4", | ||
"dd-trace": "^0.33.1", | ||
"dd-trace": "^0.34.0", | ||
"express": "4.17.1", | ||
"express-openapi-validator": "^4.12.9", | ||
"firebase-admin": "^9.7.0", | ||
"express-openapi-validator": "^4.12.11", | ||
"firebase-admin": "^9.9.0", | ||
"google-auth-library": "^7.1.0", | ||
"jsonwebtoken": "^8.5.1", | ||
"moment": "^2.29.1", | ||
"node-crc": "^1.3.0", | ||
"node-crc": "^1.3.2", | ||
"node-fetch": "2.6.1", | ||
"slug": "^5.0.0", | ||
"swagger-ui-express": "^4.1.6", | ||
|
@@ -42,9 +45,9 @@ | |
"chai": "^4.3.4", | ||
"chai-http": "^4.3.0", | ||
"docsify-cli": "^4.4.3", | ||
"dotenv": "^9.0.1", | ||
"eslint": "^7.25.0", | ||
"eslint-plugin-chai-friendly": "^0.6.0", | ||
"dotenv": "^10.0.0", | ||
"eslint": "^7.27.0", | ||
"eslint-plugin-chai-friendly": "^0.7.1", | ||
"eslint-plugin-swr": "0.0.5", | ||
"license-compliance": "^1.2.1", | ||
"mocha": "^8.3.2", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/* | ||
ard-eventhub | ||
by SWR audio lab | ||
this file creates a CLI for hashing ids | ||
*/ | ||
|
||
// load utils | ||
const createHashedId = require('../utils/core/createHashedId') | ||
|
||
// parse input | ||
const input = process.argv[2] | ||
|
||
// log output | ||
console.log('INPUT:') | ||
console.log(input) | ||
console.log(' ') | ||
console.log('OUTPUT (CRC64-ECMA182):') | ||
console.log(createHashedId(input)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.