From d8c44ad0273ee54d8ee94ab2be06330cac9c08f3 Mon Sep 17 00:00:00 2001 From: Sandeep J Date: Mon, 21 Jan 2019 15:43:09 +0530 Subject: 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 --- .../org/onap/music/datastore/jsonobjects/JsonOnboard.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/main/java/org/onap/music/datastore/jsonobjects/JsonOnboard.java') 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; -- cgit 1.2.3-korg