Toggle navigation
Toggle navigation
This project
Loading...
Sign in
홍길동
/
onos
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Simon Hunt
2015-06-08 21:40:41 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6f0afae24f02bfa23c379db24b3d152fad482d0b
6f0afae2
1 parent
b32cefe7
CORD GUI - Synchronize rest calls.
Change-Id: I9ad1973d94e27ee38f6551ea6523a5791ee00b3c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
apps/demo/cord-gui/src/main/java/org/onosproject/cord/gui/CordModelCache.java
apps/demo/cord-gui/src/main/java/org/onosproject/cord/gui/CordModelCache.java
View file @
6f0afae
...
...
@@ -295,7 +295,7 @@ public class CordModelCache extends JsonFactory {
* @param email the supplied email
* @return JSON acknowledgement
*/
public
String
jsonLogin
(
String
email
)
{
public
synchronized
String
jsonLogin
(
String
email
)
{
log
.
info
(
"jsonLogin(\"{}\")"
,
email
);
init
(
email
);
ObjectNode
root
=
objectNode
();
...
...
@@ -308,7 +308,7 @@ public class CordModelCache extends JsonFactory {
*
* @return dashboard page JSON data
*/
public
String
jsonDashboard
()
{
public
synchronized
String
jsonDashboard
()
{
log
.
info
(
"jsonDashboard()"
);
if
(
email
==
null
)
{
...
...
@@ -327,7 +327,7 @@ public class CordModelCache extends JsonFactory {
*
* @return bundle page JSON data
*/
public
String
jsonBundle
()
{
public
synchronized
String
jsonBundle
()
{
log
.
info
(
"jsonBundle()"
);
if
(
email
==
null
)
{
...
...
@@ -344,7 +344,7 @@ public class CordModelCache extends JsonFactory {
*
* @return users page JSON data
*/
public
String
jsonUsers
()
{
public
synchronized
String
jsonUsers
()
{
log
.
info
(
"jsonUsers()"
);
if
(
email
==
null
)
{
...
...
@@ -362,7 +362,7 @@ public class CordModelCache extends JsonFactory {
*
* @return logout acknowledgement
*/
public
String
jsonLogout
()
{
public
synchronized
String
jsonLogout
()
{
log
.
info
(
"jsonLogout()"
);
ObjectNode
root
=
objectNode
().
put
(
LOGOUT
,
true
);
addSubId
(
root
);
...
...
Please
register
or
login
to post a comment