ibmConfig.js 7.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. /*******************************************************************************
  2. * IBM Confidential
  3. *
  4. * OCO Source Materials
  5. *
  6. * A and PM: PD
  7. *
  8. * (c) Copyright IBM Corp. 2014
  9. *
  10. * The source code for this program is not published or otherwise divested of
  11. * its trade secrets, irrespective of what has been deposited with the U.S.
  12. * Copyright Office.
  13. ******************************************************************************/
  14. var ibmConfig = {
  15. "com.ibm.mashups.proxy.url": icdConfig.Proxy,
  16. "com.ibm.mashups.hub.url": "/mashuphub",
  17. "com.ibm.mashups.contextroot": "../../icd/iwidget",
  18. "com.ibm.mashups.contextroot.builder": "../../icd/iwidget",
  19. "com.ibm.mashups.contextroot.theme.temp": "/themes",
  20. "com.ibm.mashups.contextroot.enabler": "../../icd/iwidget",
  21. "com.ibm.mashups.contenthandler.private": "/mycontenthandler",
  22. "com.ibm.mashups.contenthandler.public": "/contenthandler",
  23. "com.ibm.mashups.theme.defaultThemeId": "defaultTheme",
  24. "isDebug": true, // not used for Dojo debugging, you probably don't need this.
  25. "iWidgetsWithDebug": [
  26. // Leave out the .xml at the end.
  27. "rv/ActiveReportIWidget",
  28. "rv/ViewerIWidget"
  29. ],
  30. "allowPublishLogging": "true",
  31. "allowPublishTracing": "false",
  32. "popupConsole": "false",
  33. "pageSourceReadOnly": "true",
  34. "autoAcceptSharedGroupName": "default",
  35. "userIdKey": "uid",
  36. "groupCNKey": "cn",
  37. "tunnel.mode": "false",
  38. "identifier.prefix": "id",
  39. "available.locales": "tr",
  40. "contextRootEnabler": "../../icd/iwidget",
  41. "contextRootBuilder": "../../icd/iwidget",
  42. "xhrTunneling": false,
  43. "loadServices": false,
  44. "availableLocales": "en",
  45. "sessionId": "186039B421E911476FCF32871E09D1DC",
  46. "hubURL": "/mashuphub",
  47. "locale": icdConfig.productLocale,
  48. "fontSizeEnlarged": false,
  49. "mappingFunction": null,
  50. "extensions": [],
  51. "namespaces": {
  52. "base": "http://www.ibm.com/xmlns/prod/lotus/mashups/v1.0/base",
  53. "model": "http://www.ibm.com/xmlns/prod/lotus/mashups/v1.0/model-elements",
  54. "ext": "http://www.ibm.com/xmlns/prod/lotus/mashups/v1.0/extensions",
  55. "opensearch": "http://a9.com/-/spec/opensearch/1.1/"
  56. },
  57. "servicedocument": '<?xml version="1.0" encoding="UTF-8"?><app:service xmlns:app="http://www.w3.org/2007/app" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:xhtml="http://www.w3.org/1999/xhtml"><app:workspace><atom:title>Models</atom:title><app:collection href="http://localhost:8080/mum/contenthandler?uri=nm:collection"><atom:title>navigation</atom:title><app:categories><atom:category term="navigation"/><atom:category term="enabler-ns-base" scheme="http://www.ibm.com/xmlns/prod/lotus/mashups/v1.0/base"/><atom:category term="enabler-ns-model" scheme="http://www.ibm.com/xmlns/prod/lotus/mashups/v1.0/model-elements"/><atom:category term="enabler-ns-ext" scheme="http://www.ibm.com/xmlns/prod/lotus/mashups/v1.0/extensions"/></app:categories></app:collection><app:collection href="http://localhost:8080/mum/contenthandler?uri=snm:collection"><atom:title>shared-navigation</atom:title><app:categories><atom:category term="shared-navigation"/><atom:category term="enabler-ns-base" scheme="http://www.ibm.com/xmlns/prod/lotus/mashups/v1.0/base"/><atom:category term="enabler-ns-model" scheme="http://www.ibm.com/xmlns/prod/lotus/mashups/v1.0/model-elements"/><atom:category term="enabler-ns-ext" scheme="http://www.ibm.com/xmlns/prod/lotus/mashups/v1.0/extensions"/></app:categories></app:collection><app:collection href="http://localhost:8080/mum/contenthandler?uri=fragment:collection"><atom:title>content</atom:title><app:categories><atom:category term="content"/><atom:category term="enabler-ns-base" scheme="http://www.ibm.com/xmlns/prod/lotus/mashups/v1.0/base"/><atom:category term="enabler-ns-model" scheme="http://www.ibm.com/xmlns/prod/lotus/mashups/v1.0/model-elements"/><atom:category term="enabler-ns-ext" scheme="http://www.ibm.com/xmlns/prod/lotus/mashups/v1.0/extensions"/></app:categories></app:collection><app:collection href="http://localhost:8080/mum/contenthandler?uri=catalog:collection"><atom:title>catalog</atom:title><app:categories><atom:category term="catalog"/><atom:category term="enabler-ns-base" scheme="http://www.ibm.com/xmlns/prod/lotus/mashups/v1.0/base"/><atom:category term="enabler-ns-model" scheme="http://www.ibm.com/xmlns/prod/lotus/mashups/v1.0/model-elements"/><atom:category term="enabler-ns-ext" scheme="http://www.ibm.com/xmlns/prod/lotus/mashups/v1.0/extensions"/></app:categories></app:collection><app:collection href="http://localhost:8080/mum/contenthandler?uri=community:collection"><atom:title>community</atom:title><app:categories><atom:category term="community"/><atom:category term="enabler-ns-base" scheme="http://www.ibm.com/xmlns/prod/lotus/mashups/v1.0/base"/><atom:category term="enabler-ns-model" scheme="http://www.ibm.com/xmlns/prod/lotus/mashups/v1.0/model-elements"/><atom:category term="enabler-ns-ext" scheme="http://www.ibm.com/xmlns/prod/lotus/mashups/v1.0/extensions"/></app:categories></app:collection><app:collection href="http://localhost:8080/mum/contenthandler?uri=theme:collection"><atom:title>theme</atom:title><app:categories><atom:category term="theme"/><atom:category term="enabler-ns-base" scheme="http://www.ibm.com/xmlns/prod/lotus/mashups/v1.0/base"/><atom:category term="enabler-ns-model" scheme="http://www.ibm.com/xmlns/prod/lotus/mashups/v1.0/model-elements"/><atom:category term="enabler-ns-ext" scheme="http://www.ibm.com/xmlns/prod/lotus/mashups/v1.0/extensions"/></app:categories></app:collection><app:collection href="http://localhost:8080/mum/contenthandler?uri=um:collection"><atom:title>user</atom:title><app:categories><atom:category term="user"/><atom:category term="enabler-ns-base" scheme="http://www.ibm.com/xmlns/prod/lotus/mashups/v1.0/base"/><atom:category term="enabler-ns-model" scheme="http://www.ibm.com/xmlns/prod/lotus/mashups/v1.0/model-elements"/><atom:category term="enabler-ns-ext" scheme="http://www.ibm.com/xmlns/prod/lotus/mashups/v1.0/extensions"/></app:categories></app:collection><app:collection href="http://localhost:8080/mum/contenthandler?uri=resource:collection"><atom:title>resource</atom:title><app:categories><atom:category term="resource"/><atom:category term="enabler-ns-base" scheme="http://www.ibm.com/xmlns/prod/lotus/mashups/v1.0/base"/><atom:category term="enabler-ns-model" scheme="http://www.ibm.com/xmlns/prod/lotus/mashups/v1.0/model-elements"/><atom:category term="enabler-ns-ext" scheme="http://www.ibm.com/xmlns/prod/lotus/mashups/v1.0/extensions"/></app:categories></app:collection><app:collection href="http://localhost:8080/mum/contenthandler?uri=widget:collection"><atom:title>widget</atom:title><app:categories><atom:category term="widget"/><atom:category term="enabler-ns-base" scheme="http://www.ibm.com/xmlns/prod/lotus/mashups/v1.0/base"/><atom:category term="enabler-ns-model" scheme="http://www.ibm.com/xmlns/prod/lotus/mashups/v1.0/model-elements"/><atom:category term="enabler-ns-ext" scheme="http://www.ibm.com/xmlns/prod/lotus/mashups/v1.0/extensions"/></app:categories></app:collection></app:workspace></app:service>',
  58. "loadingHTML": " "
  59. // , "traceConfig": [
  60. // "com.ibm.mashups.*",
  61. // "com.ibm.mm.*"]
  62. };
  63. var dojoConfig = {
  64. "isDebug": ibmConfig.isDebug,
  65. "popupConsole": ibmConfig.popupConsole,
  66. "locale": icdConfig.productLocale,
  67. "extraLocale": [icdConfig.contentLocale],
  68. "paths": {
  69. "com/ibm/mm": "../../icd/iwidget/js/com/ibm/mm",
  70. "com/ibm/mashups": "../../icd/iwidget/js/com/ibm/mashups",
  71. "bux": "../../icd/bux/js/bux",
  72. "pd": "../../ps/lobdata/dojo/pd"
  73. },
  74. "parseOnLoad": true,
  75. "useXDomain": true
  76. };