Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

The file stores core CLI users settings and server applications settings. The database.yml file is a text file in YAML markup language, for example:

users:
  admin: {username: admin, password: admin, active: true}
  demo: {username: demo, password: demo, active: true}
apps:
  flashStreamingApp: {name: flashStreamingApp, key: flashStreamingApp, url: 'http://localhost:9091/EchoApp',
    handler: com.flashphoner.server.client.handler.wcs4.FlashStreamingHandler, callback: com.flashphoner.server.client.handler.wcs4.FlashStreamingCallbackHandler}
  conferenceApp: {name: conferenceApp, key: conferenceApp, url: 'http://localhost:9091/ConferenceApp',
    handler: com.flashphoner.server.client.handler.wcs4.WCS4Handler, callback: com.flashphoner.server.client.handler.wcs4.WCS4CallbackHandler}
  flashChatApp: {name: flashChatApp, key: flashChatApp, url: 'http://localhost:9091/ChatApp',
    handler: com.flashphoner.server.client.handler.wcs4.FlashStreamingHandler, callback: com.flashphoner.server.client.handler.wcs4.FlashStreamingCallbackHandler}
  clickToCallApp: {name: clickToCallApp, key: clickToCallApp, url: 'http://localhost:9091/ClickToCallApp',
    handler: com.flashphoner.server.client.handler.wcs4.WCS4Handler, callback: com.flashphoner.server.client.handler.wcs4.WCS4CallbackHandler}
  flashRoomApp: {name: chatRoomApp, key: flashRoomApp, url: 'http://localhost:9091/RoomApp',
    handler: com.flashphoner.server.client.handler.wcs4.FlashRoomHandler, callback: com.flashphoner.server.client.handler.wcs4.FlashStreamingCallbackHandler}
  callApp: {name: callApp, key: callApp, url: 'http://localhost:9091/CallApp', handler: com.flashphoner.server.client.handler.wcs4.WCS4Handler,
    callback: com.flashphoner.server.client.handler.wcs4.WCS4CallbackHandler}
  defaultApp: {name: defaultApp, key: defaultApp, url: 'http://localhost:9091/EchoApp',
    handler: com.flashphoner.server.client.handler.wcs4.WCS4Handler, callback: com.flashphoner.server.client.handler.wcs4.WCS4CallbackHandler}
  websocketChatApp: {name: websocketChatApp, key: websocketChatApp, url: 'http://localhost:9091/ChatApp',
    handler: com.flashphoner.server.client.handler.wcs4.WCS4Handler, callback: com.flashphoner.server.client.handler.wcs4.WCS4CallbackHandler}
  roomApp: {name: chatRoomApp, key: roomApp, url: 'http://localhost:9091/RoomApp',
    handler: com.flashphoner.server.client.handler.wcs4.WCS4Handler, callback: com.flashphoner.server.client.handler.wcs4.WCS4CallbackHandler}
  chatRoomApp: {name: chatRoomApp, key: chatRoomApp, url: 'http://localhost:9091/ChatRoomApp',
    handler: com.flashphoner.server.client.handler.wcs4.WCS4Handler, callback: com.flashphoner.server.client.handler.wcs4.WCS4CallbackHandler}

The file can be modified manually if necessary, however it is recommended to use appropriate core CLI commands for this purpose.

  • No labels