diff options
author | Endi S. Dewata <edewata@redhat.com> | 2011-04-11 20:22:38 -0500 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2011-04-18 11:11:57 -0400 |
commit | 8f9ddb058f922fbd33c4d15986eeb1f5be521cc5 (patch) | |
tree | bcdf559fcc10caa18195142f70986bf47a317e65 /install/ui/test/data | |
parent | 740416c8fbe436a584e93f4c6486feca2e077f24 (diff) | |
download | freeipa-8f9ddb058f922fbd33c4d15986eeb1f5be521cc5.tar.gz freeipa-8f9ddb058f922fbd33c4d15986eeb1f5be521cc5.tar.xz freeipa-8f9ddb058f922fbd33c4d15986eeb1f5be521cc5.zip |
Entitlement import.
The entitlement facet will invoke entitle_status to check the entitlement
status and show the appropriate buttons. If it's unregistered it will show
Register and Import button. If it's registered it will show the Consume
button only. If it's imported it will show the Import button only. The
Import button will open a dialog box for importing entitlement certificate.
Ticket #277
Diffstat (limited to 'install/ui/test/data')
-rw-r--r-- | install/ui/test/data/entitle_import.json | 12 | ||||
-rw-r--r-- | install/ui/test/data/entitle_status_offline.json | 12 | ||||
-rw-r--r-- | install/ui/test/data/entitle_status_online.json | 12 | ||||
-rw-r--r-- | install/ui/test/data/entitle_status_unregistered.json (renamed from install/ui/test/data/entitle_get_unregistered.json) | 2 |
4 files changed, 37 insertions, 1 deletions
diff --git a/install/ui/test/data/entitle_import.json b/install/ui/test/data/entitle_import.json new file mode 100644 index 000000000..f6dc905b3 --- /dev/null +++ b/install/ui/test/data/entitle_import.json @@ -0,0 +1,12 @@ +{ + "error": null, + "id": null, + "result": { + "result": { + "consumed": 1, + "product": "Multiplier Product Client Pack (50)", + "quantity": 1, + "uuid": "IMPORTED" + } + } +} diff --git a/install/ui/test/data/entitle_status_offline.json b/install/ui/test/data/entitle_status_offline.json new file mode 100644 index 000000000..44fe79e14 --- /dev/null +++ b/install/ui/test/data/entitle_status_offline.json @@ -0,0 +1,12 @@ +{ + "error": null, + "id": 0, + "result": { + "result": { + "consumed": 2, + "product": "MKT-multiplier-client-50", + "quantity": 250, + "uuid": "IMPORTED" + } + } +} diff --git a/install/ui/test/data/entitle_status_online.json b/install/ui/test/data/entitle_status_online.json new file mode 100644 index 000000000..1cfdfe647 --- /dev/null +++ b/install/ui/test/data/entitle_status_online.json @@ -0,0 +1,12 @@ +{ + "error": null, + "id": 0, + "result": { + "result": { + "consumed": 2, + "product": "MKT-multiplier-client-50", + "quantity": 250, + "uuid": "a3865364-33cc-4ce3-b000-0f08498cc085" + } + } +} diff --git a/install/ui/test/data/entitle_get_unregistered.json b/install/ui/test/data/entitle_status_unregistered.json index 47dce1f18..8a691ada2 100644 --- a/install/ui/test/data/entitle_get_unregistered.json +++ b/install/ui/test/data/entitle_status_unregistered.json @@ -8,4 +8,4 @@ }, "id": 0, "result": null -}
\ No newline at end of file +} |