/*
	Licensed Material - Property of IBM

	(C) Copyright 2015, 2016 IBM Corp.

	Unless required by applicable law or agreed to in writing, software
	distributed under the License is distributed on an "AS IS" BASIS,
	WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
	See the License for the specific language governing permissions and
	limitations under the License.
*/


/*jslint node:true */
/*jshint node:true */

'use strict';

function define(name, value) {
  Object.defineProperty(exports, name, {
    value:      value,
    enumerable: true
  });
}

define('GET_RUNTIMES', '/{0}/management-apis/2.0/runtimes?fullInfo={1}');
define('GET_APPLICATIONS', '/{0}/management-apis/2.0/runtimes/{1}/applications');
define('DELETE_APPLICATION', '/{0}/management-apis/2.0/runtimes/{1}/applications/{2}');
define('GET_APPLICATION', '/{0}/management-apis/2.0/runtimes/{1}/applications/{2}/{3}/{4}');
define('GET_ADAPTERS', '/{0}/management-apis/2.0/runtimes/{1}/adapters');
define('GET_ADAPTER', '/{0}/management-apis/2.0/runtimes/{1}/adapters/{2}');
define('DELETE_ADAPTER', '/{0}/management-apis/2.0/runtimes/{1}/adapters/{2}');
define('REGISTER_APPLICATION', '/{0}/management-apis/2.0/runtimes/{1}/applications');

define('PULL_APPLICATION_DESCRIPTOR', '/{0}/management-apis/2.0/runtimes/{1}/export?resourceInfos={2}${3}${4}||APP_DESCRIPTOR&resourceInfos={2}${3}${4}||APP_USER_CONFIGURATION');

define('PUSH_APPLICATION_DESCRIPTOR', '/{0}/management-apis/2.0/runtimes/{1}/deploy/multi');
define('PULL_RUNTIME_CONFIGURATION', '/{0}/management-apis/2.0/runtimes/{1}/config');
define('PUSH_RUNTIME_CONFIGURATION', '/{0}/management-apis/2.0/runtimes/{1}/config');
define('DEPLOY_WEB_RESOURCE',  '/{0}/management-apis/2.0/runtimes/{1}/applications/{2}/{3}/{4}/web');
define('CONFIDENTIAL_CLIENTS', '/{0}/management-apis/2.0/runtimes/{1}/confidentialclients');
