From b7097fc8c9096e3e8bf4a01edc6d7274c9c4cac0 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Fri, 1 Oct 2010 16:33:57 -0500 Subject: Entity association configuration. The ipa_entity_set_association_definition() has been added to configure the association between 2 entitites. By default the associator is BulkAssociator and the method is add_member. The entities have been updated to use the right configurations. The ipa_cmd() has been modified to detect IPA errors and invoke the error handler. A bug in refresh_on_success() has been fixed as well. --- install/static/service.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'install/static/service.js') diff --git a/install/static/service.js b/install/static/service.js index c12e5636..43ef968a 100644 --- a/install/static/service.js +++ b/install/static/service.js @@ -47,3 +47,7 @@ function service_add_krbprincipalname(add_dialog, flag) { } return null; } + +ipa_entity_set_association_definition('service', { + 'host': { method: 'add_host' } +}); -- cgit