SEBA-902 mock testing of redfish importer;
Remove hardcoded addresses and replace with config file / cmdline;
Support hostnames in importer as alternative to ip addresses;
Treat response 204 as success
Change-Id: I17e8e585e388c501c02867ce952bbe1fa9b09668
diff --git a/mock-redfish-server/mockup/redfish/v1/AccountService/Accounts/admin/index.json b/mock-redfish-server/mockup/redfish/v1/AccountService/Accounts/admin/index.json
new file mode 100644
index 0000000..9926e0b
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/AccountService/Accounts/admin/index.json
@@ -0,0 +1,18 @@
+{
+ "Locked": false,
+ "Name": "",
+ "Links": {
+ "Role": {
+ "@odata.id": "/redfish/v1/AccountService/Roles/1"
+ }
+ },
+ "UserName": "admin",
+ "Id": "admin",
+ "Description": null,
+ "Password": "redfish",
+ "Enabled": true,
+ "@odata.type": "#ManagerAccount.v1_0_0.ManagerAccount",
+ "@odata.context": "/redfish/v1/$metadata#ManagerAccount.ManagerAccount",
+ "@odata.id": "/redfish/v1/AccountService/Accounts/admin",
+ "RoleId": "Administrator"
+}
\ No newline at end of file