Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
origin-web-common
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Java-于龙
origin-web-common
Commits
356b1ee3
Commit
356b1ee3
authored
Mar 28, 2017
by
Jeffrey Phillips
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add ability to ignore discovery errors from additional servers
parent
dc26aa62
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
15 deletions
+21
-15
origin-web-common-services.js
dist/origin-web-common-services.js
+7
-5
origin-web-common.js
dist/origin-web-common.js
+7
-5
origin-web-common.min.js
dist/origin-web-common.min.js
+0
-0
openshiftCommonServices.module.js
src/openshiftCommonServices.module.js
+7
-5
No files found.
dist/origin-web-common-services.js
View file @
356b1ee3
...
...
@@ -138,11 +138,13 @@ hawtioPluginLoader.registerPreBootstrapTask(function(next) {
var
baseURL
=
(
server
.
protocol
?
(
server
.
protocol
+
"://"
)
:
protocol
)
+
server
.
hostPort
+
server
.
prefix
;
additionalDeferreds
.
push
(
$
.
get
(
baseURL
)
.
then
(
_
.
partial
(
getGroups
,
baseURL
,
server
),
function
(
data
,
textStatus
,
jqXHR
)
{
API_DISCOVERY_ERRORS
.
push
({
data
:
data
,
textStatus
:
textStatus
,
xhr
:
jqXHR
});
if
(
server
.
required
!==
false
)
{
API_DISCOVERY_ERRORS
.
push
({
data
:
data
,
textStatus
:
textStatus
,
xhr
:
jqXHR
});
}
}));
});
...
...
dist/origin-web-common.js
View file @
356b1ee3
...
...
@@ -138,11 +138,13 @@ hawtioPluginLoader.registerPreBootstrapTask(function(next) {
var
baseURL
=
(
server
.
protocol
?
(
server
.
protocol
+
"://"
)
:
protocol
)
+
server
.
hostPort
+
server
.
prefix
;
additionalDeferreds
.
push
(
$
.
get
(
baseURL
)
.
then
(
_
.
partial
(
getGroups
,
baseURL
,
server
),
function
(
data
,
textStatus
,
jqXHR
)
{
API_DISCOVERY_ERRORS
.
push
({
data
:
data
,
textStatus
:
textStatus
,
xhr
:
jqXHR
});
if
(
server
.
required
!==
false
)
{
API_DISCOVERY_ERRORS
.
push
({
data
:
data
,
textStatus
:
textStatus
,
xhr
:
jqXHR
});
}
}));
});
...
...
dist/origin-web-common.min.js
View file @
356b1ee3
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/openshiftCommonServices.module.js
View file @
356b1ee3
...
...
@@ -138,11 +138,13 @@ hawtioPluginLoader.registerPreBootstrapTask(function(next) {
var
baseURL
=
(
server
.
protocol
?
(
server
.
protocol
+
"://"
)
:
protocol
)
+
server
.
hostPort
+
server
.
prefix
;
additionalDeferreds
.
push
(
$
.
get
(
baseURL
)
.
then
(
_
.
partial
(
getGroups
,
baseURL
,
server
),
function
(
data
,
textStatus
,
jqXHR
)
{
API_DISCOVERY_ERRORS
.
push
({
data
:
data
,
textStatus
:
textStatus
,
xhr
:
jqXHR
});
if
(
server
.
required
!==
false
)
{
API_DISCOVERY_ERRORS
.
push
({
data
:
data
,
textStatus
:
textStatus
,
xhr
:
jqXHR
});
}
}));
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment