diff options
author | Sandeep J <sandeejh@in.ibm.com> | 2019-01-21 15:43:09 +0530 |
---|---|---|
committer | Sandeep J <sandeejh@in.ibm.com> | 2019-01-21 15:43:53 +0530 |
commit | d8c44ad0273ee54d8ee94ab2be06330cac9c08f3 (patch) | |
tree | fd4b5a28d42128b2de7a79d1d878096df7d6d431 /src/main/java/org/onap/music/datastore | |
parent | 0a1489a7f3103a290db8455fcce9b4391b19e053 (diff) |
refactord RestMusicAdminAPI.java as per spring MVC
refactored the class and updated unit test cases as per the code changes
Issue-ID: MUSIC-212
Change-Id: Id66854be3894d36e2c2b0a6d86c2f6bb29e48db6
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
Diffstat (limited to 'src/main/java/org/onap/music/datastore')
-rwxr-xr-x | src/main/java/org/onap/music/datastore/jsonobjects/JsonOnboard.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/main/java/org/onap/music/datastore/jsonobjects/JsonOnboard.java b/src/main/java/org/onap/music/datastore/jsonobjects/JsonOnboard.java index 0bac1e31..c0c1d32a 100755 --- a/src/main/java/org/onap/music/datastore/jsonobjects/JsonOnboard.java +++ b/src/main/java/org/onap/music/datastore/jsonobjects/JsonOnboard.java @@ -4,6 +4,8 @@ * =================================================================== * Copyright (c) 2017 AT&T Intellectual Property * =================================================================== + * Modifications Copyright (c) 2018-2019 IBM. + * =================================================================== * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -35,6 +37,18 @@ public class JsonOnboard { private String isAAF; private String aid; + public JsonOnboard() { + } + + public JsonOnboard(String appname, String userId, String password, String isAAF, String aid) { + super(); + this.appname = appname; + this.userId = userId; + this.password = password; + this.isAAF = isAAF; + this.aid = aid; + } + @ApiModelProperty(value = "Application Password") public String getPassword() { return password; |