Skip to content

Instantly share code, notes, and snippets.

@jcrossley3
Created May 14, 2018 20:11
Show Gist options
  • Save jcrossley3/adb9883fd53fb38862163355ede51ae6 to your computer and use it in GitHub Desktop.
Save jcrossley3/adb9883fd53fb38862163355ede51ae6 to your computer and use it in GitHub Desktop.
[jim@localhost awspenwhisk]$ wsk trigger get mytrigger
ok: invoked /_/myaws/events with id 22e0d7189fa74bc7a0d7189fa7fbc79f
{
"activationId": "22e0d7189fa74bc7a0d7189fa7fbc79f",
"annotations": [
{
"key": "path",
"value": "jcrossley@redhat.com_dev/aws/events"
},
{
"key": "waitTime",
"value": 1694
},
{
"key": "kind",
"value": "nodejs:6"
},
{
"key": "limits",
"value": {
"logs": 10,
"memory": 256,
"timeout": 60000
}
},
{
"key": "initTime",
"value": 1111
}
],
"duration": 1125,
"end": 1526328522625,
"logs": [],
"name": "events",
"namespace": "jcrossley@redhat.com_dev",
"publish": false,
"response": {
"result": {},
"status": "success",
"success": true
},
"start": 1526328521500,
"subject": "jcrossley@redhat.com",
"version": "0.0.1"
}
[jim@localhost awspenwhisk]$ wsk trigger update mytrigger -a foo bar
ok: invoked /_/myaws/events with id 499bdd3a8b814b289bdd3a8b81bb28f7
{
"activationId": "499bdd3a8b814b289bdd3a8b81bb28f7",
"annotations": [
{
"key": "limits",
"value": {
"logs": 10,
"memory": 256,
"timeout": 60000
}
},
{
"key": "path",
"value": "jcrossley@redhat.com_dev/aws/events"
},
{
"key": "kind",
"value": "nodejs:6"
},
{
"key": "waitTime",
"value": 671
}
],
"duration": 4,
"end": 1526328553443,
"logs": [],
"name": "events",
"namespace": "jcrossley@redhat.com_dev",
"publish": false,
"response": {
"result": {},
"status": "success",
"success": true
},
"start": 1526328553439,
"subject": "jcrossley@redhat.com",
"version": "0.0.1"
}
ok: updated trigger mytrigger
[jim@localhost awspenwhisk]$ wsk trigger get mytrigger
ok: invoked /_/myaws/events with id f9ae157dc6714fd7ae157dc6712fd780
{
"activationId": "f9ae157dc6714fd7ae157dc6712fd780",
"annotations": [
{
"key": "limits",
"value": {
"logs": 10,
"memory": 256,
"timeout": 60000
}
},
{
"key": "path",
"value": "jcrossley@redhat.com_dev/aws/events"
},
{
"key": "kind",
"value": "nodejs:6"
},
{
"key": "waitTime",
"value": 22
}
],
"duration": 19,
"end": 1526328575595,
"logs": [],
"name": "events",
"namespace": "jcrossley@redhat.com_dev",
"publish": false,
"response": {
"result": {},
"status": "success",
"success": true
},
"start": 1526328575576,
"subject": "jcrossley@redhat.com",
"version": "0.0.1"
}
[jim@localhost awspenwhisk]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment