ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r1536667 - in /ace/trunk/run-relay: ./ .settings/ conf/ conf/org.apache.ace.connectionfactory/ conf/org.apache.ace.log.server.servlet.factory/ conf/org.apache.ace.log.server.store.factory/ conf/org.apache.ace.log.server.task.factory/ conf/o...
Date Tue, 29 Oct 2013 11:19:50 GMT
Author: jawi
Date: Tue Oct 29 11:19:49 2013
New Revision: 1536667

URL: http://svn.apache.org/r1536667
Log:
ACE-389 - configure scaling with relays:

- added example run project that runs a ACE relay
  on port 8282.


Added:
    ace/trunk/run-relay/   (with props)
    ace/trunk/run-relay/.classpath   (with props)
    ace/trunk/run-relay/.gitignore
    ace/trunk/run-relay/.project   (with props)
    ace/trunk/run-relay/.settings/
    ace/trunk/run-relay/.settings/org.eclipse.jdt.core.prefs
    ace/trunk/run-relay/bnd.bnd
    ace/trunk/run-relay/build.xml   (with props)
    ace/trunk/run-relay/conf/
    ace/trunk/run-relay/conf/org.apache.ace.connectionfactory/
    ace/trunk/run-relay/conf/org.apache.ace.connectionfactory/auditlog.cfg
    ace/trunk/run-relay/conf/org.apache.ace.connectionfactory/deployment.cfg
    ace/trunk/run-relay/conf/org.apache.ace.connectionfactory/repository.cfg
    ace/trunk/run-relay/conf/org.apache.ace.deployment.provider.repositorybased.cfg
    ace/trunk/run-relay/conf/org.apache.ace.deployment.servlet.agent.cfg
    ace/trunk/run-relay/conf/org.apache.ace.deployment.servlet.cfg
    ace/trunk/run-relay/conf/org.apache.ace.discovery.property.cfg
    ace/trunk/run-relay/conf/org.apache.ace.log.server.servlet.factory/
    ace/trunk/run-relay/conf/org.apache.ace.log.server.servlet.factory/auditlog.cfg
    ace/trunk/run-relay/conf/org.apache.ace.log.server.store.factory/
    ace/trunk/run-relay/conf/org.apache.ace.log.server.store.factory/auditlog.cfg
    ace/trunk/run-relay/conf/org.apache.ace.log.server.task.factory/
    ace/trunk/run-relay/conf/org.apache.ace.log.server.task.factory/auditlog.cfg
    ace/trunk/run-relay/conf/org.apache.ace.repository.servlet.RepositoryReplicationServlet.cfg
    ace/trunk/run-relay/conf/org.apache.ace.repository.servlet.RepositoryServlet.cfg
    ace/trunk/run-relay/conf/org.apache.ace.scheduler.cfg
    ace/trunk/run-relay/conf/org.apache.ace.server.repository.factory/
    ace/trunk/run-relay/conf/org.apache.ace.server.repository.factory/ace-deployment.cfg
    ace/trunk/run-relay/relay.bndrun
    ace/trunk/run-relay/src/
    ace/trunk/run-relay/src/.gitignore
    ace/trunk/run-relay/test/
    ace/trunk/run-relay/test/.gitignore

Propchange: ace/trunk/run-relay/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Tue Oct 29 11:19:49 2013
@@ -0,0 +1,7 @@
+bin
+bin_test
+generated
+store
+bundle-cache
+felix-cache
+test-output

Added: ace/trunk/run-relay/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/run-relay/.classpath?rev=1536667&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ace/trunk/run-relay/.classpath
------------------------------------------------------------------------------
    svn:mime-type = application/xml

Added: ace/trunk/run-relay/.gitignore
URL: http://svn.apache.org/viewvc/ace/trunk/run-relay/.gitignore?rev=1536667&view=auto
==============================================================================
--- ace/trunk/run-relay/.gitignore (added)
+++ ace/trunk/run-relay/.gitignore Tue Oct 29 11:19:49 2013
@@ -0,0 +1,3 @@
+/bin/
+/bin_test/
+/generated/

Added: ace/trunk/run-relay/.project
URL: http://svn.apache.org/viewvc/ace/trunk/run-relay/.project?rev=1536667&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ace/trunk/run-relay/.project
------------------------------------------------------------------------------
    svn:mime-type = application/xml

Added: ace/trunk/run-relay/.settings/org.eclipse.jdt.core.prefs
URL: http://svn.apache.org/viewvc/ace/trunk/run-relay/.settings/org.eclipse.jdt.core.prefs?rev=1536667&view=auto
==============================================================================
--- ace/trunk/run-relay/.settings/org.eclipse.jdt.core.prefs (added)
+++ ace/trunk/run-relay/.settings/org.eclipse.jdt.core.prefs Tue Oct 29 11:19:49 2013
@@ -0,0 +1,11 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.6

Added: ace/trunk/run-relay/bnd.bnd
URL: http://svn.apache.org/viewvc/ace/trunk/run-relay/bnd.bnd?rev=1536667&view=auto
==============================================================================
--- ace/trunk/run-relay/bnd.bnd (added)
+++ ace/trunk/run-relay/bnd.bnd Tue Oct 29 11:19:49 2013
@@ -0,0 +1,3 @@
+-nobundles
+Bundle-Name: Apache ACE Relay Server
+Bundle-Description: Bnd run project for a ACE relay server. This projects does not generate
any artifacts.
\ No newline at end of file

Added: ace/trunk/run-relay/build.xml
URL: http://svn.apache.org/viewvc/ace/trunk/run-relay/build.xml?rev=1536667&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ace/trunk/run-relay/build.xml
------------------------------------------------------------------------------
    svn:mime-type = application/xml

Added: ace/trunk/run-relay/conf/org.apache.ace.connectionfactory/auditlog.cfg
URL: http://svn.apache.org/viewvc/ace/trunk/run-relay/conf/org.apache.ace.connectionfactory/auditlog.cfg?rev=1536667&view=auto
==============================================================================
--- ace/trunk/run-relay/conf/org.apache.ace.connectionfactory/auditlog.cfg (added)
+++ ace/trunk/run-relay/conf/org.apache.ace.connectionfactory/auditlog.cfg Tue Oct 29 11:19:49
2013
@@ -0,0 +1,5 @@
+authentication.baseURL = http://localhost:${org.apache.ace.relay.port}/auditlog/
+authentication.type = none
+#authentication.user.name = d
+#authentication.user.password = f
+

Added: ace/trunk/run-relay/conf/org.apache.ace.connectionfactory/deployment.cfg
URL: http://svn.apache.org/viewvc/ace/trunk/run-relay/conf/org.apache.ace.connectionfactory/deployment.cfg?rev=1536667&view=auto
==============================================================================
--- ace/trunk/run-relay/conf/org.apache.ace.connectionfactory/deployment.cfg (added)
+++ ace/trunk/run-relay/conf/org.apache.ace.connectionfactory/deployment.cfg Tue Oct 29 11:19:49
2013
@@ -0,0 +1,5 @@
+authentication.baseURL = http://localhost:${org.apache.ace.relay.port}/deployment/
+authentication.type = none
+#authentication.user.name = d
+#authentication.user.password = f
+

Added: ace/trunk/run-relay/conf/org.apache.ace.connectionfactory/repository.cfg
URL: http://svn.apache.org/viewvc/ace/trunk/run-relay/conf/org.apache.ace.connectionfactory/repository.cfg?rev=1536667&view=auto
==============================================================================
--- ace/trunk/run-relay/conf/org.apache.ace.connectionfactory/repository.cfg (added)
+++ ace/trunk/run-relay/conf/org.apache.ace.connectionfactory/repository.cfg Tue Oct 29 11:19:49
2013
@@ -0,0 +1,5 @@
+authentication.baseURL = http://localhost:${org.apache.ace.relay.port}/repository/
+authentication.type = none
+#authentication.user.name = d
+#authentication.user.password = f
+

Added: ace/trunk/run-relay/conf/org.apache.ace.deployment.provider.repositorybased.cfg
URL: http://svn.apache.org/viewvc/ace/trunk/run-relay/conf/org.apache.ace.deployment.provider.repositorybased.cfg?rev=1536667&view=auto
==============================================================================
--- ace/trunk/run-relay/conf/org.apache.ace.deployment.provider.repositorybased.cfg (added)
+++ ace/trunk/run-relay/conf/org.apache.ace.deployment.provider.repositorybased.cfg Tue Oct
29 11:19:49 2013
@@ -0,0 +1,4 @@
+# this is the *master* server to get the repository information from 
+url = http://localhost:${org.apache.ace.server.port}/repository
+name = deployment
+customer = apache

Added: ace/trunk/run-relay/conf/org.apache.ace.deployment.servlet.agent.cfg
URL: http://svn.apache.org/viewvc/ace/trunk/run-relay/conf/org.apache.ace.deployment.servlet.agent.cfg?rev=1536667&view=auto
==============================================================================
--- ace/trunk/run-relay/conf/org.apache.ace.deployment.servlet.agent.cfg (added)
+++ ace/trunk/run-relay/conf/org.apache.ace.deployment.servlet.agent.cfg Tue Oct 29 11:19:49
2013
@@ -0,0 +1,5 @@
+org.apache.ace.server.servlet.endpoint=/agent
+# no authentication is used...
+authentication.enabled = false
+# OBR settings
+obr.url = http://localhost:${org.apache.ace.server.port}/obr/

Added: ace/trunk/run-relay/conf/org.apache.ace.deployment.servlet.cfg
URL: http://svn.apache.org/viewvc/ace/trunk/run-relay/conf/org.apache.ace.deployment.servlet.cfg?rev=1536667&view=auto
==============================================================================
--- ace/trunk/run-relay/conf/org.apache.ace.deployment.servlet.cfg (added)
+++ ace/trunk/run-relay/conf/org.apache.ace.deployment.servlet.cfg Tue Oct 29 11:19:49 2013
@@ -0,0 +1,2 @@
+org.apache.ace.server.servlet.endpoint=/deployment
+authentication.enabled = false

Added: ace/trunk/run-relay/conf/org.apache.ace.discovery.property.cfg
URL: http://svn.apache.org/viewvc/ace/trunk/run-relay/conf/org.apache.ace.discovery.property.cfg?rev=1536667&view=auto
==============================================================================
--- ace/trunk/run-relay/conf/org.apache.ace.discovery.property.cfg (added)
+++ ace/trunk/run-relay/conf/org.apache.ace.discovery.property.cfg Tue Oct 29 11:19:49 2013
@@ -0,0 +1,2 @@
+# This is the *master* server URL to contact in order to relay to...
+serverURL = http://localhost:${org.apache.ace.server.port}
\ No newline at end of file

Added: ace/trunk/run-relay/conf/org.apache.ace.log.server.servlet.factory/auditlog.cfg
URL: http://svn.apache.org/viewvc/ace/trunk/run-relay/conf/org.apache.ace.log.server.servlet.factory/auditlog.cfg?rev=1536667&view=auto
==============================================================================
--- ace/trunk/run-relay/conf/org.apache.ace.log.server.servlet.factory/auditlog.cfg (added)
+++ ace/trunk/run-relay/conf/org.apache.ace.log.server.servlet.factory/auditlog.cfg Tue Oct
29 11:19:49 2013
@@ -0,0 +1,3 @@
+org.apache.ace.server.servlet.endpoint=/auditlog
+name = auditlog
+authentication.enabled = false

Added: ace/trunk/run-relay/conf/org.apache.ace.log.server.store.factory/auditlog.cfg
URL: http://svn.apache.org/viewvc/ace/trunk/run-relay/conf/org.apache.ace.log.server.store.factory/auditlog.cfg?rev=1536667&view=auto
==============================================================================
--- ace/trunk/run-relay/conf/org.apache.ace.log.server.store.factory/auditlog.cfg (added)
+++ ace/trunk/run-relay/conf/org.apache.ace.log.server.store.factory/auditlog.cfg Tue Oct
29 11:19:49 2013
@@ -0,0 +1 @@
+name=auditlog
\ No newline at end of file

Added: ace/trunk/run-relay/conf/org.apache.ace.log.server.task.factory/auditlog.cfg
URL: http://svn.apache.org/viewvc/ace/trunk/run-relay/conf/org.apache.ace.log.server.task.factory/auditlog.cfg?rev=1536667&view=auto
==============================================================================
--- ace/trunk/run-relay/conf/org.apache.ace.log.server.task.factory/auditlog.cfg (added)
+++ ace/trunk/run-relay/conf/org.apache.ace.log.server.task.factory/auditlog.cfg Tue Oct 29
11:19:49 2013
@@ -0,0 +1,4 @@
+# name of log to synchronize
+name = auditlog
+# how to synchronize, can be 'pull' (only receive updates), 'push' (only push updates) or
'pushpull' (2-way update)
+mode = pushpull

Added: ace/trunk/run-relay/conf/org.apache.ace.repository.servlet.RepositoryReplicationServlet.cfg
URL: http://svn.apache.org/viewvc/ace/trunk/run-relay/conf/org.apache.ace.repository.servlet.RepositoryReplicationServlet.cfg?rev=1536667&view=auto
==============================================================================
--- ace/trunk/run-relay/conf/org.apache.ace.repository.servlet.RepositoryReplicationServlet.cfg
(added)
+++ ace/trunk/run-relay/conf/org.apache.ace.repository.servlet.RepositoryReplicationServlet.cfg
Tue Oct 29 11:19:49 2013
@@ -0,0 +1,2 @@
+org.apache.ace.server.servlet.endpoint=/replication
+authentication.enabled = false

Added: ace/trunk/run-relay/conf/org.apache.ace.repository.servlet.RepositoryServlet.cfg
URL: http://svn.apache.org/viewvc/ace/trunk/run-relay/conf/org.apache.ace.repository.servlet.RepositoryServlet.cfg?rev=1536667&view=auto
==============================================================================
--- ace/trunk/run-relay/conf/org.apache.ace.repository.servlet.RepositoryServlet.cfg (added)
+++ ace/trunk/run-relay/conf/org.apache.ace.repository.servlet.RepositoryServlet.cfg Tue Oct
29 11:19:49 2013
@@ -0,0 +1,2 @@
+org.apache.ace.server.servlet.endpoint=/repository
+authentication.enabled = false

Added: ace/trunk/run-relay/conf/org.apache.ace.scheduler.cfg
URL: http://svn.apache.org/viewvc/ace/trunk/run-relay/conf/org.apache.ace.scheduler.cfg?rev=1536667&view=auto
==============================================================================
--- ace/trunk/run-relay/conf/org.apache.ace.scheduler.cfg (added)
+++ ace/trunk/run-relay/conf/org.apache.ace.scheduler.cfg Tue Oct 29 11:19:49 2013
@@ -0,0 +1,3 @@
+auditlog = 2000
+# Synchronize the relay logs with the master every 2 seconds...
+org.apache.ace.log.server.task.LogSyncTask = 2000

Added: ace/trunk/run-relay/conf/org.apache.ace.server.repository.factory/ace-deployment.cfg
URL: http://svn.apache.org/viewvc/ace/trunk/run-relay/conf/org.apache.ace.server.repository.factory/ace-deployment.cfg?rev=1536667&view=auto
==============================================================================
--- ace/trunk/run-relay/conf/org.apache.ace.server.repository.factory/ace-deployment.cfg (added)
+++ ace/trunk/run-relay/conf/org.apache.ace.server.repository.factory/ace-deployment.cfg Tue
Oct 29 11:19:49 2013
@@ -0,0 +1,3 @@
+name=deployment
+customer=apache
+master=false
\ No newline at end of file

Added: ace/trunk/run-relay/relay.bndrun
URL: http://svn.apache.org/viewvc/ace/trunk/run-relay/relay.bndrun?rev=1536667&view=auto
==============================================================================
--- ace/trunk/run-relay/relay.bndrun (added)
+++ ace/trunk/run-relay/relay.bndrun Tue Oct 29 11:19:49 2013
@@ -0,0 +1,52 @@
+-runfw: org.apache.felix.framework;version='[4,5)'
+-runee: JavaSE-1.6
+-runbundles: org.apache.felix.dependencymanager,\
+	org.apache.felix.useradmin,\
+	org.apache.felix.useradmin.filestore,\
+	org.apache.felix.log,\
+	org.apache.felix.prefs,\
+	org.apache.felix.configadmin,\
+	org.apache.felix.eventadmin,\
+	org.apache.felix.gogo.runtime,\
+	org.apache.felix.gogo.shell,\
+	org.apache.felix.gogo.command,\
+	org.apache.felix.http.jetty,\
+	org.apache.felix.dependencymanager.shell,\
+	osgi.cmpn;version=latest,\
+	org.apache.ace.authentication.api;version=latest,\
+	org.apache.ace.authentication.impl;version=latest,\
+	org.apache.ace.authentication.processor.basicauth;version=latest,\
+	org.apache.ace.authentication.processor.password;version=latest,\
+	org.apache.ace.configurator.impl;version=latest,\
+	org.apache.ace.connectionfactory;version=latest,\
+	org.apache.ace.deployment.provider.api;version=latest,\
+	org.apache.ace.deployment.provider.repositorybased;version=latest,\
+	org.apache.ace.deployment.servlet;version=latest,\
+	org.apache.ace.deployment.streamgenerator;version=latest,\
+	org.apache.ace.discovery.api;version=latest,\
+	org.apache.ace.discovery.property;version=latest,\
+	org.apache.ace.verifier.impl;version=latest,\
+	org.apache.ace.http.listener;version=latest,\
+	org.apache.ace.log.server.servlet;version=latest,\
+	org.apache.ace.log.api;version=latest,\
+	org.apache.ace.log.server.task;version=latest,\
+	org.apache.ace.range.api;version=latest,\
+	org.apache.ace.repository.api;version=latest,\
+	org.apache.ace.repository.impl;version=latest,\
+	org.apache.ace.repository.servlet;version=latest,\
+	org.apache.ace.resourceprocessor.useradmin;version=latest,\
+	org.apache.ace.scheduler.impl;version=latest,\
+	org.apache.ace.log.server.store.api;version=latest,\
+	org.apache.ace.log.server.store.file;version=latest,\
+	org.apache.ace.feedback.common;version=latest
+-runrepos: Workspace,\
+	Release
+-runproperties: org.apache.felix.log.storeDebug=true,\
+	org.apache.felix.eventadmin.Timeout=0,\
+	org.apache.ace.server.port=8080,\
+	org.apache.ace.relay.port=8282,\
+	org.osgi.service.http.port=8282,\
+	org.apache.felix.log.maxSize=1000,\
+	launch.keep=true,\
+	launch.storage.dir=bundle-cache
+	
\ No newline at end of file

Added: ace/trunk/run-relay/src/.gitignore
URL: http://svn.apache.org/viewvc/ace/trunk/run-relay/src/.gitignore?rev=1536667&view=auto
==============================================================================
    (empty)

Added: ace/trunk/run-relay/test/.gitignore
URL: http://svn.apache.org/viewvc/ace/trunk/run-relay/test/.gitignore?rev=1536667&view=auto
==============================================================================
    (empty)



Mime
View raw message