From 4c24581b5cffaffbb200152e1d43931c0d674102 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Fri, 15 Oct 2010 12:22:01 -0500 Subject: Service certificate UI. The service.py has been modified to include certificate info in the service-show result if the service contains usercertificate. A new file certificate.js has been added to store codes related to certificates (e.g. revocation reasons, dialog boxes). The service.js has been modified to provide the UI for certificate management. The certificate.js can also be used for host certificate management. The Makefile.am and index.xhtml has been modified to include certificate.js. New test data files have been added for certificate operations. To test revoke and restore operations the server needs to be installed with dogtag CA instead of self-signed CA. The certificate status and revocation reason in the details page will be implemented in subsequent patches. Unit tests will also be added in subsequent patches. --- install/static/test/data/cert_revoke.json | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 install/static/test/data/cert_revoke.json (limited to 'install/static/test/data/cert_revoke.json') diff --git a/install/static/test/data/cert_revoke.json b/install/static/test/data/cert_revoke.json new file mode 100644 index 000000000..3fca1ee64 --- /dev/null +++ b/install/static/test/data/cert_revoke.json @@ -0,0 +1,9 @@ +{ + "error": null, + "id": 0, + "result": { + "result": { + "revoked": true + } + } +} -- cgit