projects
/
osm
/
UI.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RIFT-15625: API changes to accommodate projects
[osm/UI.git]
/
skyquake
/
framework
/
widgets
/
skyquake_container
/
skyquakeContainerSource.js
diff --git
a/skyquake/framework/widgets/skyquake_container/skyquakeContainerSource.js
b/skyquake/framework/widgets/skyquake_container/skyquakeContainerSource.js
index
03bc7ef
..
ae2147a
100644
(file)
--- a/
skyquake/framework/widgets/skyquake_container/skyquakeContainerSource.js
+++ b/
skyquake/framework/widgets/skyquake_container/skyquakeContainerSource.js
@@
-40,6
+40,7
@@
export default {
type: 'GET',
// beforeSend: Utils.addAuthorizationStub,
success: function(data) {
type: 'GET',
// beforeSend: Utils.addAuthorizationStub,
success: function(data) {
+ Utils.detectInactivity();
resolve(data);
}
})
resolve(data);
}
})
@@
-54,7
+55,7
@@
export default {
remote: function(state, recordID) {
return new Promise(function(resolve, reject) {
$.ajax({
remote: function(state, recordID) {
return new Promise(function(resolve, reject) {
$.ajax({
- url: '//' + window.location.hostname + ':' +
NODE_PORT
+ '/api/operational/restconf-state/streams?api_server=' + API_SERVER,
+ url: '//' + window.location.hostname + ':' +
window.location.port
+ '/api/operational/restconf-state/streams?api_server=' + API_SERVER,
type: 'GET',
beforeSend: Utils.addAuthorizationStub,
success: function(data) {
type: 'GET',
beforeSend: Utils.addAuthorizationStub,
success: function(data) {
@@
-77,7
+78,7
@@
export default {
remote: function(state, location, streamSource) {
return new Promise((resolve, reject) => {
$.ajax({
remote: function(state, location, streamSource) {
return new Promise((resolve, reject) => {
$.ajax({
- url: '//' + window.location.hostname + ':' +
NODE_PORT + '/socket-polling?api_server=' + API_SERVER
,
+ url: '//' + window.location.hostname + ':' +
window.location.port + '/socket-polling'
,
type: 'POST',
beforeSend: Utils.addAuthorizationStub,
data: {
type: 'POST',
beforeSend: Utils.addAuthorizationStub,
data: {