Browse Source

Re-exported services.

7.x-2.x
Daniel Lamb 10 years ago
parent
commit
83ce10891f
  1. 53
      islandora/islandora.module

53
islandora/islandora.module

@ -77,7 +77,9 @@ function islandora_default_services_endpoint() {
$endpoint->name = 'islandora'; $endpoint->name = 'islandora';
$endpoint->server = 'rest_server'; $endpoint->server = 'rest_server';
$endpoint->path = 'islandora'; $endpoint->path = 'islandora';
$endpoint->authentication = array(); $endpoint->authentication = array(
'services' => 'services',
);
$endpoint->server_settings = array( $endpoint->server_settings = array(
'formatters' => array( 'formatters' => array(
'json' => TRUE, 'json' => TRUE,
@ -101,9 +103,6 @@ function islandora_default_services_endpoint() {
'retrieve' => array( 'retrieve' => array(
'enabled' => '1', 'enabled' => '1',
), ),
'create' => array(
'enabled' => '1',
),
'update' => array( 'update' => array(
'enabled' => '1', 'enabled' => '1',
), ),
@ -128,51 +127,41 @@ function islandora_default_services_endpoint() {
), ),
), ),
), ),
'user' => array( 'rdf_mapping' => array(
'operations' => array( 'operations' => array(
'retrieve' => array( 'retrieve' => array(
'enabled' => '1', 'enabled' => '1',
), ),
'create' => array( ),
'enabled' => '1', ),
), 'system' => array(
'update' => array( 'actions' => array(
'enabled' => '1', 'connect' => array(
),
'delete' => array(
'enabled' => '1',
),
'index' => array(
'enabled' => '1', 'enabled' => '1',
), ),
), ),
),
'user' => array(
'actions' => array( 'actions' => array(
'login' => array( 'login' => array(
'enabled' => '1', 'enabled' => '1',
'settings' => array(
'services' => array(
'resource_api_version' => '1.0',
),
),
), ),
'logout' => array( 'logout' => array(
'enabled' => '1', 'enabled' => '1',
'settings' => array(
'services' => array(
'resource_api_version' => '1.0',
),
),
), ),
'token' => array( 'token' => array(
'enabled' => '1', 'enabled' => '1',
), ),
'request_new_password' => array(
'enabled' => '1',
),
'register' => array(
'enabled' => '1',
),
),
'targeted_actions' => array(
'cancel' => array(
'enabled' => '1',
),
'password_reset' => array(
'enabled' => '1',
),
'resend_welcome_email' => array(
'enabled' => '1',
),
), ),
), ),
); );

Loading…
Cancel
Save