feat: 🎸 add session fields to targets

This commit is contained in:
Randall Morey committed 2020-10-02 14:50:35 -04:00
1 parent 2ed8fb68e4
commit 2a1e504d5d
6 files changed
+66 -1

No files matched your search

@@ -22,6 +22,18 @@ export default class GeneratedTargetModel extends BaseModel {
})
description;
@attr('number', {
description: '',
defaultValue: 28800
})
session_max_seconds;
@attr('number', {
description: '',
defaultValue: 1
})
session_connection_limit;
@attr('date', {
description: 'The time this resource was created\nOutput only.',
readOnly: true,
@@ -20,7 +20,7 @@ module('Unit | Serializer | target', function (hooks) {
type: 'org',
},
version: 1,
type: 'tcp',
type: 'tcp'
});
const snapshot = record._createSnapshot();
snapshot.adapterOptions = {};
@@ -31,6 +31,8 @@ module('Unit | Serializer | target', function (hooks) {
version: 1,
type: 'tcp',
scope_id: 'org_1',
session_max_seconds: 28800,
session_connection_limit: 1,
attributes: {
default_port: null,
},