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/index.json b/mock-redfish-server/mockup/redfish/v1/AccountService/index.json
new file mode 100644
index 0000000..f03bdc3
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/AccountService/index.json
@@ -0,0 +1,27 @@
+{
+ "MaxPasswordLength": 24,
+ "ServiceEnabled": true,
+ "Name": "Account Service",
+ "Roles": {
+ "@odata.id": "/redfish/v1/AccountService/Roles"
+ },
+ "Id": "AccountService",
+ "Description": "Account Service ",
+ "AuthFailureLoggingThreshold": 3,
+ "AccountLockoutCounterResetAfter": 30,
+ "MinPasswordLength": 6,
+ "Accounts": {
+ "@odata.id": "/redfish/v1/AccountService/Accounts"
+ },
+ "@odata.type": "#AccountService.v1_0_0.AccountService",
+ "AccountLockoutDuration": 30,
+ "@odata.context": "/redfish/v1/$metadata#AccountService.AccountService",
+ "Status": {
+ "State": "Enabled",
+ "HealthRollup": "OK",
+ "Health": "OK"
+ },
+ "AccountLockoutThreshold": 5,
+ "@odata.id": "/redfish/v1/AccountService",
+ "Oem": {}
+}
\ No newline at end of file