Remove the functions replaced by a go server instead
This commit is contained in:
parent
048810ada1
commit
c49f3d5fcb
2 changed files with 0 additions and 29 deletions
|
@ -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
|
|
@ -1,7 +0,0 @@
|
|||
exports.handler = function(context, event) {
|
||||
context.logger.info('Connected: ' + event.body);
|
||||
|
||||
var request = JSON.parse(event.body);
|
||||
|
||||
context.callback('Thanks !');
|
||||
};
|
Reference in a new issue