aodb/build/configuration/app.config.js
Martin Donnelly afe73b5baa upload
2016-12-22 00:00:06 +00:00

50 lines
2.1 KiB
JavaScript

var base = "http://10.14.64.82:89";
angular.module('chroma.configuration', []).constant('api', {
//STE OATES MACHINE
// endpoint: 'http://10.14.30.91/api/',l
// flightList: 'http://10.14.30.91/api/flights',
// authentication: 'http://10.14.30.91/api/auth',
// detail: 'http://10.14.30.91/api/detail/',
// imageSource: 'http://10.14.30.91/api/GetOperatorImage',
// setSite: 'http://10.14.30.91/api/setSite',
// getWindows: 'http://10.14.30.91/api/getWindows'
//JAMES DILCOCK MACHINE
endpoint: base + '/api/',
flightList: base + '/api/flights',
authentication: base +'/api/auth',
detail: base + '/api/detail/',
imageSource: base + '/api/GletOperatorImage',
setSite: base + '/api/setSite',
getWindows: base + '/api/getWindows',
transactions: base + '/api/transactions',
cancelTransaction: base + '/api/cancelTransaction',
confirmTransaction: base + '/api/confirmTransaction',
createTransaction: base + '/api/createTransaction',
getTransactionCodes: base + '/api/getTransactionCodes',
getTransactionsAccess: base + '/api/getUserAccessRightsForTransaction',
getTransactionConfig: base + '/api/getTransactionConfig',
signalrHubs: base + '/signalr/hubs'
//TESTING MACHINE
// endpoint: 'http://t-t-v-chrapp14:81/api/',
// flightList: 'http://t-t-v-chrapp14:81/api/flights',
// authentication: 'http://t-t-v-chrapp14:81/api/auth',
// detail: 'http://t-t-v-chrapp14:81/api/detail/',
// imageSource: 'http://t-t-v-chrapp14:81/api/GetOperatorImage',
// setSite: 'http://t-t-v-chrapp14:81/api/setSite',
// getWindows: 'http://t-t-v-chrapp14:81/api/getWindows'
//ADE CLOUD CHROMA END POINT
//endpoint: 'http://chromademo.cloudapp.net:81/api/',
//flightList: 'http://chromademo.cloudapp.net:81/api/flights',
//authentication: 'http://chromademo.cloudapp.net:81/api/auth',
//detail: 'http://chromademo.cloudapp.net:81/api/detail/',
//imageSource: 'http://chromademo.cloudapp.net:81/api/GetOperatorImage',
//setSite: 'http://chromademo.cloudapp.net:81/api/setSite',
//getWindows: 'http://chromademo.cloudapp.net:81/api/getWindows'
});