Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iobserve-ui-frontend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
iobserve-ui
iobserve-ui-frontend
Commits
51edefaf
Commit
51edefaf
authored
8 years ago
by
Mathis Neumann
Browse files
Options
Downloads
Patches
Plain Diff
additional documentation
parent
e3c3e38e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
app/models/communication.js
+9
-3
9 additions, 3 deletions
app/models/communication.js
app/models/system.js
+10
-6
10 additions, 6 deletions
app/models/system.js
yuidoc.json
+1
-1
1 addition, 1 deletion
yuidoc.json
with
20 additions
and
10 deletions
app/models/communication.js
+
9
−
3
View file @
51edefaf
...
...
@@ -13,18 +13,24 @@ const Model = Measurable.extend({
*/
technology
:
attr
(
'
string
'
),
/**
* id of the ServiceInstance
which is the sender
* id of the
sending
ServiceInstance
* @property sourceId
* @type String
*/
sourceId
:
attr
(
'
string
'
),
/**
* id of the ServiceInstance
which is the sender
* @property
source
Id
* id of the
receiving
ServiceInstance
* @property
target
Id
* @type String
*/
targetId
:
attr
(
'
string
'
),
/**
* The amount of workload. Shows how many requests where sent via this connection
* @property workload
* @type Number
*/
workload
:
attr
(
'
number
'
)
});
...
...
This diff is collapsed.
Click to expand it.
app/models/system.js
+
10
−
6
View file @
51edefaf
...
...
@@ -13,13 +13,13 @@ const Model = BaseEntity.extend({
* name of the system
* @type {String}
* @property name
* @for System
* @public
*/
name
:
attr
(
'
string
'
),
/**
* loads the current revision for the system instance from the server (without caching)
* @type {Promise|RevisionResponse} plain JS object containing the revisionNumber (number), lastUpdate (Date string), changelogSequence (number)
* @method getRevision
* @return {Promise|RevisionResponse} plain JS object containing the revisionNumber (number), lastUpdate (Date string), changelogSequence (number)
*/
getRevision
:
memberAction
({
path
:
'
revision
'
,
type
:
'
GET
'
,
urlType
:
'
findRecord
'
})
});
...
...
@@ -34,6 +34,7 @@ Model.reopenClass({
export
default
Model
;
// FOR DOCUMENTATION ONLY
/**
* Response object from a revision class. This is only for improving the documentation, there is no real class existing.
* @class RevisionResponse
...
...
@@ -42,22 +43,25 @@ export default Model;
const
Revision
=
{
// jshint unused:false
/**
*
*
the revision which was used when creating the entity
* @property revisionNumber
* @type
{
Number
}
* @type Number
* @readonly
*/
revisionNumber
:
null
,
/**
* The date (as a String) when the revision was changed the last time (server time)
*
* @property lastUpdate
* @type
{
String|Date
}
* @type String|Date
* @readonly
*/
lastUpdate
:
null
,
/**
* The sequence number, at which position of the applied list of changelogs was the last update
* @property changelogSequence
* @type
{
Number
}
* @type Number
* @readonly
*/
changelogSequence
:
null
...
...
This diff is collapsed.
Click to expand it.
yuidoc.json
+
1
−
1
View file @
51edefaf
...
...
@@ -21,7 +21,7 @@
"json"
:
"http://builds.emberjs.com/tags/v2.4.0/ember-docs.json"
},
{
"base"
:
"http://emberjs.com/api/"
,
"base"
:
"http://emberjs.com/api/
data/
"
,
"json"
:
"http://builds.emberjs.com/tags/v2.4.0/ember-data-docs.json"
}
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment