diff --git a/psconfig/perfsonar-psconfig/doc/psconfig-schema.json b/psconfig/perfsonar-psconfig/doc/psconfig-schema.json index 0f1f4f3..a811878 100644 --- a/psconfig/perfsonar-psconfig/doc/psconfig-schema.json +++ b/psconfig/perfsonar-psconfig/doc/psconfig-schema.json @@ -358,7 +358,16 @@ "ttl": { "$ref": "#/pSConfig/Duration" }, "_meta": { "$ref": "#/pSConfig/AnyJSON" }, "label": { "type": "string" }, - "schema": { "$ref": "#/pSConfig/Cardinal" } + "runs": { + "type": "string", + "enum": [ + "all", + "succeeded", + "failed" + ] + }, + "schema": { "$ref": "#/pSConfig/Cardinal" }, + "uri-host": { "$ref": "#/pSConfig/URLHostPort" } }, "additionalProperties": false, "required": [ "archiver", "data"] diff --git a/psconfig/perfsonar-psconfig/psconfig/client/psconfig/archive.py b/psconfig/perfsonar-psconfig/psconfig/client/psconfig/archive.py index 99504e4..8a5c96e 100644 --- a/psconfig/perfsonar-psconfig/psconfig/client/psconfig/archive.py +++ b/psconfig/perfsonar-psconfig/psconfig/client/psconfig/archive.py @@ -38,6 +38,16 @@ def label(self, val=None): return self._field('label', val) + def runs(self, val=None): + '''Gets/sets runs''' + + return self._field_enum('runs', val, ["all", "succeeded", "failed"]) + + def uri_host(self, val=None): + '''Gets/sets uri-host''' + + return self._field('uri-host', val) + def schema(self, val=None): '''Gets/sets schema'''