Remove the functions replaced by a go server instead

This commit is contained in:
Thomas Schwery 2018-05-10 17:48:55 +02:00
parent 048810ada1
commit c49f3d5fcb
2 changed files with 0 additions and 29 deletions

View file

@ -1,22 +0,0 @@
apiVersion: "nuclio.io/v1beta1"
kind: "Function"
metadata:
name: esp8266-temperature-input
namespace: nuclio
spec:
runtime: "nodejs"
handler: "handler"
build:
registry: registry.lab.inf3.xyz
commands:
- "npm install --global moment"
triggers:
http:
maxWorkers: 2
kind: http
attributes:
ingresses:
second:
host: apis.lab.inf3.xyz
paths:
- /esp8266/sensors

View file

@ -1,7 +0,0 @@
exports.handler = function(context, event) {
context.logger.info('Connected: ' + event.body);
var request = JSON.parse(event.body);
context.callback('Thanks !');
};