BELTS provides definitions of a number of Providers, used to “provide” content to the BELTS environment. Depending on whether your system is a BELTS Central server or a downstream client, you will need to setup a Learning Exchange Provider connection or a BELTS Provider connection.
BELTS offers the ability to specify that a provider should automatically download and/or publish new content as it becomes available. In the following configuration examples, changing autoload to “true” will make the provider automatically download the content, while changing autopublish to “true” will make the provider automatically publish the content once it is downloaded.
In BELTS_HOME/server/default/deploy/belts-services.sar/META-INF/jboss-service.xml, find the configuration lines describing the belts:service=Provider,name=exchange, remove the lines containing “<!--” and “-->” and set your username and password. The default values for these are set to “changeme”.
<!-- <mbean code="au.edu.educationau.belts.management.provider.ProviderService" name="belts:service=Provider,name=exchange"> <depends>belts:service=ContentStore</depends> <depends>belts:service=HttpClientPool</depends> <attribute name="JndiName">belts/content/provider/exchange</attribute> <attribute name="ProviderClass">au.edu.educationau.belts.content.LoraxProvider</attribute> <attribute name="Configuration"> < ! [ CDATA[<lorax id="exchange" url="http://lex.thelearningfederation.edu.au/webservices/LearningExchange.asmx" username="changeme" password="changeme" autoload="false" autopublish="false"/> ] ]> </attribute> </mbean> --> |