summaryrefslogtreecommitdiffstats
path: root/install/ui/test/data
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-04-11 20:22:38 -0500
committerEndi Sukma Dewata <edewata@people01.fedoraproject.org>2011-04-14 23:05:09 +0000
commite3ec1fb7efb12c3669855b6c388f196c268680ee (patch)
tree9a582745ccbb71444fe20aa668f461dbd47329f8 /install/ui/test/data
parent805b94f22d42eddee42ed8772aca89036edb8399 (diff)
downloadfreeipa-e3ec1fb7efb12c3669855b6c388f196c268680ee.tar.gz
freeipa-e3ec1fb7efb12c3669855b6c388f196c268680ee.tar.xz
freeipa-e3ec1fb7efb12c3669855b6c388f196c268680ee.zip
Entitlement registration.
The entitlement facet will show buttons according to the entitlement status. If it's unregistered, the facet will show a Register button. If it's registered, the facet will show a Consume button.
Diffstat (limited to 'install/ui/test/data')
-rw-r--r--install/ui/test/data/entitle_get_unregistered.json11
-rw-r--r--install/ui/test/data/entitle_register.json26
-rw-r--r--install/ui/test/data/ipa_init.json401
3 files changed, 438 insertions, 0 deletions
diff --git a/install/ui/test/data/entitle_get_unregistered.json b/install/ui/test/data/entitle_get_unregistered.json
new file mode 100644
index 000000000..47dce1f18
--- /dev/null
+++ b/install/ui/test/data/entitle_get_unregistered.json
@@ -0,0 +1,11 @@
+{
+ "error": {
+ "code": 4306,
+ "message": "Not registered yet",
+ "name": {
+ "__base64__": "Tm90UmVnaXN0ZXJlZEVycm9y"
+ }
+ },
+ "id": 0,
+ "result": null
+} \ No newline at end of file
diff --git a/install/ui/test/data/entitle_register.json b/install/ui/test/data/entitle_register.json
new file mode 100644
index 000000000..8644801da
--- /dev/null
+++ b/install/ui/test/data/entitle_register.json
@@ -0,0 +1,26 @@
+{
+ "error": null,
+ "id": 0,
+ "result": {
+ "result": {
+ "dn": "ipaentitlementid=cf9d9755-7445-438c-a40c-23b1c60e1f9b,cn=entitlements,cn=etc,dc=idm,dc=lab,dc=bos,dc=redhat,dc=com",
+ "ipaentitlementid": [
+ "cf9d9755-7445-438c-a40c-23b1c60e1f9b"
+ ],
+ "ipauniqueid": [
+ "50afc3cc-649c-11e0-ab97-00163e2fe6de"
+ ],
+ "objectclass": [
+ "ipaobject",
+ "ipaentitlement"
+ ],
+ "userpkcs12": [
+ {
+ "__base64__": "MIIKBAIBAzCCCcoGCSqGSIb3DQEHAaCCCbsEggm3MIIJszCCBEcGCSqGSIb3DQEHBqCCBDgwggQ0AgEAMIIELQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQYwDgQIxnjz6Zlw3KwCAggAgIIEABj2ncaXXZKd82QKa6p1SAKmIoSY3/Nw8y7RPCtOJdTbcSimEjWXEvcL7V9Y5pa7dn9P8T6bnKzTreA39d4gBpsQtPDknwuTyrcZc1XaMdwtOh2nLMvMLye/fhD5XP0jgospdzg9vf/drq7IHG2e8hK735PesmFj4Jx01oGyS7SzuEQ8Mf44l35pOdGhjBvnZTTaLdtQFR1Atu1EyX7+KHz6ZRkuv8+aVXTuV/EkFm18FW5LgoetYnHb4YvgukFQE1ZDxBebyUvB5MIVuJnBn4kPkHfNg32+sQpFwQoB6RAro9Kwkb25I+x8XTv7BTMwfGEr7e2LRlhsWmm5oQz24XCUpeSJb4LNmBuiqb+gBCpAiG++uZczrWHvdolBQY4igX2/1fd/PMK6NUFJbzL8dikyIHxZyo8gSb01wMk1Bq9uVM+R7fzyBUtqitz7+rXp8hc/BbamVvyfVeG31KR59WJDxbVtgLQmuDxJWBsG86YWoujV/1iheMiknLfI4prKcbtaGuJCvD9ZdiBooUBWi6l9zt2paoH+8zQPu/BPmOYt5onv+LeXBy//awEw78VXmA27kc9TTsQpIZu9busMWBaL0735fCjIoQIQhumwcuRwiWi/9QRgE/+uYbnBu+PtBV2nC+6AjPDbpebZqPQ2hDZeQ5YleSd5wSkSWtbLkAyouFi9uhnKAXyIpH+lJzVqOPrntOTljCFVNrvdxH6AjVUVfP+VIZALM+7H2TBoUtylauWe39GHShWxXlithLDE/Ssv8uwHdoRoOHjcFMlSjuWzgF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jIx56DHa+PeL0n/3iIb2W3YM1UcISKeHR/W1pAl7P7bEXwU840QrVuuPRDXoO5WRV4YGesWkk1Y0s8CwveyPKkPk5EMGOYenT5Hl2iobwPQ0nB2grB2Xf7Mz+PxN80IrZ7EpKkkJDFIMCEGCSqGSIb3DQEJFDEUHhIAYwBhAG4AZABsAGUAcABpAG4wIwYJKoZIhvcNAQkVMRYEFCSRjVYZWlcYO2q3RujbLY3xz3w9MDEwITAJBgUrDgMCGgUABBRTgMXTmP9+Z+fIVhw4Etyj7dd6zgQI8DqMKrvKUjcCAggA"
+ }
+ ]
+ },
+ "summary": "Registered to entitlement server.",
+ "value": ""
+ }
+} \ No newline at end of file
diff --git a/install/ui/test/data/ipa_init.json b/install/ui/test/data/ipa_init.json
index 55e4c7094..48b80851a 100644
--- a/install/ui/test/data/ipa_init.json
+++ b/install/ui/test/data/ipa_init.json
@@ -693,6 +693,407 @@
"dnszone_show": {
"__base64__": ""
},
+ "entitle_consume": {
+ "takes_args": [
+ {
+ "alwaysask": false,
+ "attribute": false,
+ "autofill": false,
+ "class": "Int",
+ "cli_name": "quantity",
+ "cli_short_name": null,
+ "default": null,
+ "doc": "Quantity",
+ "exclude": null,
+ "flags": [],
+ "hint": null,
+ "include": null,
+ "label": "Quantity",
+ "maxvalue": 2147483647,
+ "minvalue": 1,
+ "multivalue": false,
+ "name": "quantity",
+ "primary_key": false,
+ "query": false,
+ "required": true,
+ "type": "int"
+ }
+ ],
+ "takes_options": [
+ {
+ "alwaysask": false,
+ "attribute": false,
+ "autofill": true,
+ "class": "Int",
+ "cli_name": "hidden",
+ "cli_short_name": null,
+ "default": 1,
+ "doc": "Quantity",
+ "exclude": null,
+ "flags": [
+ "no_option",
+ "no_output"
+ ],
+ "hint": null,
+ "include": null,
+ "label": "Quantity",
+ "maxvalue": 2147483647,
+ "minvalue": 1,
+ "multivalue": false,
+ "name": "hidden",
+ "primary_key": false,
+ "query": false,
+ "required": true,
+ "type": "int"
+ }
+ ]
+ },
+ "entitle_find": {
+ "takes_options": [
+ {
+ "alwaysask": false,
+ "attribute": false,
+ "autofill": false,
+ "class": "Int",
+ "cli_name": "timelimit",
+ "cli_short_name": null,
+ "default": null,
+ "doc": "Time limit of search in seconds",
+ "exclude": null,
+ "flags": [
+ "no_display"
+ ],
+ "hint": null,
+ "include": null,
+ "label": "Time Limit",
+ "maxvalue": 2147483647,
+ "minvalue": 0,
+ "multivalue": false,
+ "name": "timelimit",
+ "primary_key": false,
+ "query": false,
+ "required": false,
+ "type": "int"
+ },
+ {
+ "alwaysask": false,
+ "attribute": false,
+ "autofill": false,
+ "class": "Int",
+ "cli_name": "sizelimit",
+ "cli_short_name": null,
+ "default": null,
+ "doc": "Maximum number of entries returned",
+ "exclude": null,
+ "flags": [
+ "no_display"
+ ],
+ "hint": null,
+ "include": null,
+ "label": "Size Limit",
+ "maxvalue": 2147483647,
+ "minvalue": 0,
+ "multivalue": false,
+ "name": "sizelimit",
+ "primary_key": false,
+ "query": false,
+ "required": false,
+ "type": "int"
+ }
+ ]
+ },
+ "entitle_import": {
+ "takes_args": [
+ {
+ "alwaysask": false,
+ "attribute": false,
+ "autofill": false,
+ "class": "File",
+ "cli_name": "certificate_file",
+ "cli_short_name": null,
+ "default": null,
+ "doc": "<usercertificate>",
+ "exclude": null,
+ "flags": [],
+ "hint": null,
+ "include": null,
+ "label": "<usercertificate>",
+ "length": null,
+ "maxlength": null,
+ "minlength": null,
+ "multivalue": true,
+ "name": "usercertificate",
+ "pattern": null,
+ "pattern_errmsg": null,
+ "primary_key": false,
+ "query": false,
+ "required": false,
+ "stdin_if_missing": false,
+ "type": "unicode"
+ }
+ ],
+ "takes_options": [
+ {
+ "alwaysask": false,
+ "attribute": false,
+ "autofill": false,
+ "class": "Str",
+ "cli_name": "addattr",
+ "cli_short_name": null,
+ "default": null,
+ "doc": "Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema.",
+ "exclude": [
+ "webui"
+ ],
+ "flags": [],
+ "hint": null,
+ "include": null,
+ "label": "<addattr>",
+ "length": null,
+ "maxlength": null,
+ "minlength": null,
+ "multivalue": true,
+ "name": "addattr",
+ "pattern": null,
+ "pattern_errmsg": null,
+ "primary_key": false,
+ "query": false,
+ "required": false,
+ "type": "unicode"
+ },
+ {
+ "alwaysask": false,
+ "attribute": false,
+ "autofill": false,
+ "class": "Str",
+ "cli_name": "setattr",
+ "cli_short_name": null,
+ "default": null,
+ "doc": "Set an attribute to a name/value pair. Format is attr=value.\nFor multi-valued attributes, the command replaces the values already present.",
+ "exclude": [
+ "webui"
+ ],
+ "flags": [],
+ "hint": null,
+ "include": null,
+ "label": "<setattr>",
+ "length": null,
+ "maxlength": null,
+ "minlength": null,
+ "multivalue": true,
+ "name": "setattr",
+ "pattern": null,
+ "pattern_errmsg": null,
+ "primary_key": false,
+ "query": false,
+ "required": false,
+ "type": "unicode"
+ },
+ {
+ "alwaysask": false,
+ "attribute": false,
+ "autofill": true,
+ "class": "Str",
+ "cli_name": "uuid",
+ "cli_short_name": null,
+ "default": "IMPORTED",
+ "doc": "Enrollment UUID",
+ "exclude": null,
+ "flags": [
+ "no_update",
+ "no_create"
+ ],
+ "hint": null,
+ "include": null,
+ "label": "UUID",
+ "length": null,
+ "maxlength": null,
+ "minlength": null,
+ "multivalue": false,
+ "name": "uuid",
+ "pattern": null,
+ "pattern_errmsg": null,
+ "primary_key": false,
+ "query": false,
+ "required": false,
+ "type": "unicode"
+ }
+ ]
+ },
+ "entitle_register": {
+ "takes_args": [
+ {
+ "alwaysask": false,
+ "attribute": false,
+ "autofill": false,
+ "class": "Str",
+ "cli_name": "username",
+ "cli_short_name": null,
+ "default": null,
+ "doc": "Username",
+ "exclude": null,
+ "flags": [],
+ "hint": null,
+ "include": null,
+ "label": "Username",
+ "length": null,
+ "maxlength": null,
+ "minlength": null,
+ "multivalue": false,
+ "name": "username",
+ "pattern": null,
+ "pattern_errmsg": null,
+ "primary_key": false,
+ "query": false,
+ "required": true,
+ "type": "unicode"
+ }
+ ],
+ "takes_options": [
+ {
+ "alwaysask": false,
+ "attribute": false,
+ "autofill": false,
+ "class": "Str",
+ "cli_name": "addattr",
+ "cli_short_name": null,
+ "default": null,
+ "doc": "Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema.",
+ "exclude": [
+ "webui"
+ ],
+ "flags": [],
+ "hint": null,
+ "include": null,
+ "label": "<addattr>",
+ "length": null,
+ "maxlength": null,
+ "minlength": null,
+ "multivalue": true,
+ "name": "addattr",
+ "pattern": null,
+ "pattern_errmsg": null,
+ "primary_key": false,
+ "query": false,
+ "required": false,
+ "type": "unicode"
+ },
+ {
+ "alwaysask": false,
+ "attribute": false,
+ "autofill": false,
+ "class": "Str",
+ "cli_name": "setattr",
+ "cli_short_name": null,
+ "default": null,
+ "doc": "Set an attribute to a name/value pair. Format is attr=value.\nFor multi-valued attributes, the command replaces the values already present.",
+ "exclude": [
+ "webui"
+ ],
+ "flags": [],
+ "hint": null,
+ "include": null,
+ "label": "<setattr>",
+ "length": null,
+ "maxlength": null,
+ "minlength": null,
+ "multivalue": true,
+ "name": "setattr",
+ "pattern": null,
+ "pattern_errmsg": null,
+ "primary_key": false,
+ "query": false,
+ "required": false,
+ "type": "unicode"
+ },
+ {
+ "alwaysask": false,
+ "attribute": false,
+ "autofill": false,
+ "class": "Str",
+ "cli_name": "ipaentitlementid",
+ "cli_short_name": null,
+ "default": null,
+ "doc": "Enrollment UUID",
+ "exclude": null,
+ "flags": [
+ "no_update",
+ "no_create"
+ ],
+ "hint": null,
+ "include": null,
+ "label": "UUID",
+ "length": null,
+ "maxlength": null,
+ "minlength": null,
+ "multivalue": false,
+ "name": "ipaentitlementid",
+ "pattern": null,
+ "pattern_errmsg": null,
+ "primary_key": false,
+ "query": false,
+ "required": false,
+ "type": "unicode"
+ },
+ {
+ "alwaysask": false,
+ "attribute": false,
+ "autofill": false,
+ "class": "Password",
+ "cli_name": "password",
+ "cli_short_name": null,
+ "default": null,
+ "doc": "Registration password",
+ "exclude": null,
+ "flags": [],
+ "hint": null,
+ "include": null,
+ "label": "Password",
+ "length": null,
+ "maxlength": null,
+ "minlength": null,
+ "multivalue": false,
+ "name": "password",
+ "pattern": null,
+ "pattern_errmsg": null,
+ "primary_key": false,
+ "query": false,
+ "required": true,
+ "type": "unicode"
+ }
+ ]
+ },
+ "entitle_sync": {
+ "takes_args": [],
+ "takes_options": [
+ {
+ "alwaysask": false,
+ "attribute": false,
+ "autofill": true,
+ "class": "Int",
+ "cli_name": "hidden",
+ "cli_short_name": null,
+ "default": 1,
+ "doc": "Quantity",
+ "exclude": null,
+ "flags": [
+ "no_option",
+ "no_output"
+ ],
+ "hint": null,
+ "include": null,
+ "label": "Quantity",
+ "maxvalue": 2147483647,
+ "minvalue": 1,
+ "multivalue": false,
+ "name": "hidden",
+ "primary_key": false,
+ "query": false,
+ "required": true,
+ "type": "int"
+ }
+ ]
+ },
"group_add": {
"takes_options": [
{