Skip to content

Commit 489641c

Browse files
committed
bump 217
1 parent 4a0c3e1 commit 489641c

4 files changed

Lines changed: 9 additions & 5 deletions

File tree

OpenFlow/src/Messages/Message.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ export class Message {
547547
containers: [
548548
{
549549
name: 'nodered',
550-
image: 'cloudhack/openflownodered:0.0.216',
550+
image: 'cloudhack/openflownodered:0.0.217',
551551
imagePullPolicy: "Always",
552552
env: [
553553
{ name: "saml_federation_metadata", value: Config.saml_federation_metadata },

OpenFlow/src/public/Nodered.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@ <h1 translate lib="web">sockets</h1>
3838
<pre>{{ ctrl.messages }}</pre>
3939
<p>If this is your first time creating a NodeRed instance, plaease signout and signin again, to refresh group
4040
memberships for your user</p>
41-
<p>It can take a few minutes from you order a deletion of NodeRed til at stops running. If opening a browser reports
42-
404, you can safely assume it will be gone soon.</p>
41+
<p>It can take a few minutes from you order a deletion of NodeRed, til it stops running. If accessing nodered in a
42+
browser reports 404, you can safely assume it will be gone soon.</p>

OpenFlowNodeRED/src/nodered/nodes/api_nodes.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,18 @@ export class api_get_jwt {
7474
}
7575
user.username = user.name;
7676
q.jwt = Crypt.createToken(user);
77-
Logger.instanse.debug("api_get_jwt: Created token as " + result.user.username);
7877
}
7978
this.node.status({ fill: "blue", shape: "dot", text: "Requesting token" });
8079
var _msg: Message = new Message();
8180
_msg.command = "signin"; _msg.data = JSON.stringify(q);
8281
var result: SigninMessage = await WebSocketClient.instance.Send<SigninMessage>(_msg);
8382
msg.jwt = result.jwt;
8483
msg.user = result.user;
84+
if (result !== null && result !== undefined && result.user !== null && result.user !== undefined) {
85+
Logger.instanse.debug("api_get_jwt: Created token as " + result.user.username);
86+
} else {
87+
Logger.instanse.debug("api_get_jwt: Created token failed ?");
88+
}
8589
this.node.send(msg);
8690
this.node.status({});
8791
} catch (error) {

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.0.216
1+
0.0.217

0 commit comments

Comments
 (0)