buffet: Remove 'location' and 'minLenght' from base.updateDeviceInfo This properties break buffet registration. 'location' is not implemented yet. 'name.minLenght' is not going to be implemented. BUG=brillo:697 TEST=Manual registration with GCD server Change-Id: Ic8dda588dbf10ebf809df6437e82dbb28e602218 Reviewed-on: https://chromium-review.googlesource.com/271300 Tested-by: Vitaly Buka <vitalybuka@chromium.org> Reviewed-by: Alex Vakulenko <avakulenko@chromium.org>
diff --git a/buffet/etc/buffet/commands/buffet.json b/buffet/etc/buffet/commands/buffet.json index aff9d6c..612c59b 100644 --- a/buffet/etc/buffet/commands/buffet.json +++ b/buffet/etc/buffet/commands/buffet.json
@@ -12,11 +12,7 @@ "updateDeviceInfo": { "parameters": { "description": "string", - "name": { - "type": "string", - "minLength": 1 - }, - "location": "string" + "name": "string" }, "results": {} }
diff --git a/buffet/etc/buffet/gcd.json b/buffet/etc/buffet/gcd.json index ac05898..dae09f9 100644 --- a/buffet/etc/buffet/gcd.json +++ b/buffet/etc/buffet/gcd.json
@@ -22,11 +22,7 @@ "updateDeviceInfo": { "parameters": { "description": "string", - "name": { - "type": "string", - "minLength": 1 - }, - "location": "string" + "name": "string" }, "results": {} }