Skip to content

Commit

Permalink
Issue javaswift#7 - Added the extra fields for the new ObjectStore
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-bor committed Mar 30, 2013
1 parent b28a4b7 commit aa95474
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 0 deletions.
Expand Up @@ -20,6 +20,8 @@ public class AccessImpl implements Access {

public User user;

public Metadata metadata;

@JsonIgnore
private EndPoint currentEndPoint;

Expand Down
Expand Up @@ -10,4 +10,6 @@ public class EndPoint {

public String publicURL;

public String id;

}
@@ -0,0 +1,11 @@
package org.javaswift.joss.command.shared.identity.access;

import java.util.List;

public class Metadata {

public boolean is_admin;

public List<String> roles;

}
Expand Up @@ -7,4 +7,8 @@ public class Tenant {
public String id;

public String name;

public String handle;

public String description;
}
@@ -0,0 +1,13 @@
package org.javaswift.joss.command.shared.identity.access;

import org.junit.Test;

import static junit.framework.Assert.assertNotNull;

public class MetadataTest {

@Test
public void constructor() {
assertNotNull(new Metadata());
}
}

0 comments on commit aa95474

Please sign in to comment.