You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ace.apache.org by ma...@apache.org on 2012/07/05 14:10:06 UTC
svn commit: r1357570 [33/34] - in /ace/sandbox/marrs: cnf/ cnf/ext/ cnf/lib/
cnf/releaserepo/ cnf/repo/ cnf/repo/.obrcache/
cnf/repo/.obrcache/http%3A%2F%2Fbundles.bndtools.org.s3.amazonaws.com%2Fcom.jcraft.jsch/
cnf/repo/.obrcache/http%3A%2F%2Fbundles...
Added: ace/sandbox/marrs/org.apache.ace.webui.vaadin/src/org/apache/ace/webui/vaadin/component/DistributionsPanel.java
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/org.apache.ace.webui.vaadin/src/org/apache/ace/webui/vaadin/component/DistributionsPanel.java?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/org.apache.ace.webui.vaadin/src/org/apache/ace/webui/vaadin/component/DistributionsPanel.java (added)
+++ ace/sandbox/marrs/org.apache.ace.webui.vaadin/src/org/apache/ace/webui/vaadin/component/DistributionsPanel.java Thu Jul 5 12:09:30 2012
@@ -0,0 +1,111 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.ace.webui.vaadin.component;
+
+import java.util.List;
+
+import org.apache.ace.client.repository.RepositoryAdmin;
+import org.apache.ace.client.repository.RepositoryObject;
+import org.apache.ace.client.repository.object.Distribution2TargetAssociation;
+import org.apache.ace.client.repository.object.DistributionObject;
+import org.apache.ace.client.repository.object.Feature2DistributionAssociation;
+import org.apache.ace.client.repository.object.FeatureObject;
+import org.apache.ace.client.repository.object.TargetObject;
+import org.apache.ace.client.repository.repository.DistributionRepository;
+import org.apache.ace.webui.UIExtensionFactory;
+import org.apache.ace.webui.vaadin.AssociationRemover;
+import org.apache.ace.webui.vaadin.Associations;
+
+import com.vaadin.data.Item;
+
+/**
+ * Provides an object panel for displaying distributions.
+ */
+public abstract class DistributionsPanel extends BaseObjectPanel<DistributionObject, DistributionRepository> {
+
+ /**
+ * Creates a new {@link DistributionsPanel} instance.
+ *
+ * @param associations the assocation-holder object;
+ * @param associationRemover the helper for removing associations.
+ */
+ public DistributionsPanel(Associations associations, AssociationRemover associationRemover) {
+ super(associations, associationRemover, "Distribution", UIExtensionFactory.EXTENSION_POINT_VALUE_DISTRIBUTION,
+ true /* hasEdit */);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ protected boolean doRemoveLeftSideAssociation(DistributionObject object, RepositoryObject other) {
+ List<Feature2DistributionAssociation> associations = object.getAssociationsWith((FeatureObject) other);
+ for (Feature2DistributionAssociation association : associations) {
+ m_associationRemover.removeAssociation(association);
+ }
+ return true;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ protected boolean doRemoveRightSideAssociation(DistributionObject object, RepositoryObject other) {
+ List<Distribution2TargetAssociation> associations = object.getAssociationsWith((TargetObject) other);
+ for (Distribution2TargetAssociation association : associations) {
+ m_associationRemover.removeAssociation(association);
+ }
+ return true;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ protected void handleEvent(String topic, RepositoryObject entity, org.osgi.service.event.Event event) {
+ DistributionObject distribution = (DistributionObject) entity;
+ if (DistributionObject.TOPIC_ADDED.equals(topic)) {
+ add(distribution);
+ }
+ if (DistributionObject.TOPIC_REMOVED.equals(topic)) {
+ remove(distribution);
+ }
+ if (DistributionObject.TOPIC_CHANGED.equals(topic) || RepositoryAdmin.TOPIC_STATUSCHANGED.equals(topic)) {
+ update(distribution);
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ protected boolean isSupportedEntity(RepositoryObject entity) {
+ return entity instanceof DistributionObject;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ protected void populateItem(DistributionObject distribution, Item item) {
+ item.getItemProperty(WORKING_STATE_ICON).setValue(getWorkingStateIcon(distribution));
+ item.getItemProperty(OBJECT_NAME).setValue(distribution.getName());
+ item.getItemProperty(OBJECT_DESCRIPTION).setValue(distribution.getDescription());
+ item.getItemProperty(ACTIONS).setValue(createActionButtons(distribution));
+ }
+}
Added: ace/sandbox/marrs/org.apache.ace.webui.vaadin/src/org/apache/ace/webui/vaadin/component/FeaturesPanel.java
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/org.apache.ace.webui.vaadin/src/org/apache/ace/webui/vaadin/component/FeaturesPanel.java?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/org.apache.ace.webui.vaadin/src/org/apache/ace/webui/vaadin/component/FeaturesPanel.java (added)
+++ ace/sandbox/marrs/org.apache.ace.webui.vaadin/src/org/apache/ace/webui/vaadin/component/FeaturesPanel.java Thu Jul 5 12:09:30 2012
@@ -0,0 +1,111 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.ace.webui.vaadin.component;
+
+import java.util.List;
+
+import org.apache.ace.client.repository.RepositoryAdmin;
+import org.apache.ace.client.repository.RepositoryObject;
+import org.apache.ace.client.repository.object.Artifact2FeatureAssociation;
+import org.apache.ace.client.repository.object.ArtifactObject;
+import org.apache.ace.client.repository.object.DistributionObject;
+import org.apache.ace.client.repository.object.Feature2DistributionAssociation;
+import org.apache.ace.client.repository.object.FeatureObject;
+import org.apache.ace.client.repository.repository.FeatureRepository;
+import org.apache.ace.webui.UIExtensionFactory;
+import org.apache.ace.webui.vaadin.AssociationRemover;
+import org.apache.ace.webui.vaadin.Associations;
+
+import com.vaadin.data.Item;
+
+/**
+ * Provides an object panel for displaying features.
+ */
+public abstract class FeaturesPanel extends BaseObjectPanel<FeatureObject, FeatureRepository> {
+
+ /**
+ * Creates a new {@link FeaturesPanel} instance.
+ *
+ * @param associations the assocation-holder object;
+ * @param associationRemover the helper for removing associations.
+ */
+ public FeaturesPanel(Associations associations, AssociationRemover associationRemover) {
+ super(associations, associationRemover, "Feature", UIExtensionFactory.EXTENSION_POINT_VALUE_FEATURE, true);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ protected boolean doRemoveLeftSideAssociation(FeatureObject object, RepositoryObject other) {
+ List<Artifact2FeatureAssociation> associations = object.getAssociationsWith((ArtifactObject) other);
+ for (Artifact2FeatureAssociation association : associations) {
+ m_associationRemover.removeAssociation(association);
+ }
+ return true;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ protected boolean doRemoveRightSideAssociation(FeatureObject object, RepositoryObject other) {
+ List<Feature2DistributionAssociation> associations = object.getAssociationsWith((DistributionObject) other);
+ for (Feature2DistributionAssociation association : associations) {
+ m_associationRemover.removeAssociation(association);
+ }
+ return true;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ protected void handleEvent(String topic, RepositoryObject entity, org.osgi.service.event.Event event) {
+ FeatureObject feature = (FeatureObject) entity;
+ if (FeatureObject.TOPIC_ADDED.equals(topic)) {
+ add(feature);
+ }
+ if (FeatureObject.TOPIC_REMOVED.equals(topic)) {
+ remove(feature);
+ }
+ if (FeatureObject.TOPIC_CHANGED.equals(topic) || RepositoryAdmin.TOPIC_STATUSCHANGED.equals(topic)) {
+ update(feature);
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ protected boolean isSupportedEntity(RepositoryObject entity) {
+ return entity instanceof FeatureObject;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ protected void populateItem(FeatureObject feature, Item item) {
+ item.getItemProperty(WORKING_STATE_ICON).setValue(getWorkingStateIcon(feature));
+ item.getItemProperty(OBJECT_NAME).setValue(feature.getName());
+ item.getItemProperty(OBJECT_DESCRIPTION).setValue(feature.getDescription());
+ item.getItemProperty(ACTIONS).setValue(createActionButtons(feature));
+ }
+}
+
Added: ace/sandbox/marrs/org.apache.ace.webui.vaadin/src/org/apache/ace/webui/vaadin/component/MainActionToolbar.java
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/org.apache.ace.webui.vaadin/src/org/apache/ace/webui/vaadin/component/MainActionToolbar.java?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/org.apache.ace.webui.vaadin/src/org/apache/ace/webui/vaadin/component/MainActionToolbar.java (added)
+++ ace/sandbox/marrs/org.apache.ace.webui.vaadin/src/org/apache/ace/webui/vaadin/component/MainActionToolbar.java Thu Jul 5 12:09:30 2012
@@ -0,0 +1,371 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.ace.webui.vaadin.component;
+
+import java.io.IOException;
+
+import org.apache.ace.client.repository.RepositoryAdmin;
+import org.osgi.service.event.EventHandler;
+
+import com.vaadin.ui.Button;
+import com.vaadin.ui.Button.ClickEvent;
+import com.vaadin.ui.GridLayout;
+import com.vaadin.ui.Label;
+import com.vaadin.ui.Window.Notification;
+
+/**
+ * Provides the main actions toolbar where one can commit, revert or retrieve changes.
+ */
+public abstract class MainActionToolbar extends GridLayout implements EventHandler {
+
+ /**
+ * Provides a button listener for the logout button.
+ */
+ private class LogoutButtonListener implements Button.ClickListener, ConfirmationDialog.Callback {
+
+ /**
+ * {@inheritDoc}
+ */
+ public void buttonClick(ClickEvent event) {
+ final RepositoryAdmin repoAdmin = getRepositoryAdmin();
+ try {
+ if (repoAdmin.isModified() && repoAdmin.isCurrent()) {
+ getWindow().addWindow(
+ new ConfirmationDialog("Revert changes?",
+ "The repository is changed. Are you sure you want to loose all local changes?", this));
+ }
+ else {
+ logout();
+ }
+ }
+ catch (IOException e) {
+ getWindow().showNotification("Changes not stored",
+ "Failed to store the changes to the server.<br />Reason: " + e.getMessage(),
+ Notification.TYPE_ERROR_MESSAGE);
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public void onDialogResult(String buttonName) {
+ if (ConfirmationDialog.YES.equals(buttonName)) {
+ try {
+ logout();
+ }
+ catch (IOException e) {
+ handleIOException(e);
+ }
+ }
+ }
+
+ /**
+ * @param e the exception to handle.
+ */
+ private void handleIOException(IOException e) {
+ getWindow().showNotification("Warning",
+ "There were errors during the logout procedure.<br />Reason: " + e.getMessage(),
+ Notification.TYPE_ERROR_MESSAGE);
+ }
+
+ /**
+ * Does the actual logout of the user.
+ *
+ * @throws IOException in case of I/O problems during the logout.
+ */
+ private void logout() throws IOException {
+ getRepositoryAdmin().logout(true /* force */);
+ doAfterLogout();
+ }
+ }
+
+ /**
+ * Provides a button listener for the retrieve button.
+ */
+ private final class RetrieveButtonListener implements Button.ClickListener, ConfirmationDialog.Callback {
+
+ /**
+ * {@inheritDoc}
+ */
+ public void buttonClick(ClickEvent event) {
+ final RepositoryAdmin repoAdmin = getRepositoryAdmin();
+ try {
+ if (repoAdmin.isModified()) {
+ // Warn the user about the possible loss of changes...
+ getWindow().addWindow(
+ new ConfirmationDialog("Retrieve latest changes?",
+ "The repository is changed. Are you sure you want to loose all local changes?", this));
+ }
+ else {
+ retrieveData();
+ }
+ }
+ catch (IOException e) {
+ handleIOException(e);
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public void onDialogResult(String buttonName) {
+ if (ConfirmationDialog.YES.equals(buttonName)) {
+ try {
+ retrieveData();
+ }
+ catch (IOException e) {
+ handleIOException(e);
+ }
+ }
+ }
+
+ /**
+ * @param e the exception to handle.
+ */
+ private void handleIOException(IOException e) {
+ getWindow().showNotification("Retrieve failed",
+ "Failed to retrieve the data from the server.<br />Reason: " + e.getMessage(),
+ Notification.TYPE_ERROR_MESSAGE);
+ }
+
+ /**
+ * Does the actual retrieval of the latest version.
+ *
+ * @throws IOException in case of I/O problems during the retrieve.
+ */
+ private void retrieveData() throws IOException {
+ getRepositoryAdmin().checkout();
+ doAfterRetrieve();
+ }
+ }
+
+ /**
+ * Provides a button listener for the revert button.
+ */
+ private final class RevertButtonListener implements Button.ClickListener, ConfirmationDialog.Callback {
+
+ /**
+ * {@inheritDoc}
+ */
+ public void buttonClick(ClickEvent event) {
+ try {
+ if (getRepositoryAdmin().isModified()) {
+ // Revert all changes...
+ getWindow().addWindow(
+ new ConfirmationDialog("Revert changes?",
+ "Are you sure you want to overwrite all local changes?", this));
+ }
+ else {
+ // Nothing to revert...
+ getWindow().showNotification("Nothing to revert",
+ "There are no local changes that need to be reverted.", Notification.TYPE_WARNING_MESSAGE);
+ }
+ }
+ catch (IOException e) {
+ handleIOException(e);
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public void onDialogResult(String buttonName) {
+ if (ConfirmationDialog.YES.equals(buttonName)) {
+ try {
+ revertChanges();
+ }
+ catch (IOException e) {
+ handleIOException(e);
+ }
+ }
+ }
+
+ /**
+ * @param e the exception to handle.
+ */
+ private void handleIOException(IOException e) {
+ getWindow().showNotification("Revert failed",
+ "Failed to revert your changes.<br />Reason: " + e.getMessage(), Notification.TYPE_ERROR_MESSAGE);
+ }
+
+ /**
+ * Does the actual revert of changes.
+ *
+ * @throws IOException in case of problems during I/O exception.
+ */
+ private void revertChanges() throws IOException {
+ getRepositoryAdmin().revert();
+ doAfterRevert();
+ }
+ }
+
+ /**
+ * Provides a button listener for the store button.
+ */
+ private final class StoreButtonListener implements Button.ClickListener {
+
+ /**
+ * {@inheritDoc}
+ */
+ public void buttonClick(ClickEvent event) {
+ final RepositoryAdmin repoAdmin = getRepositoryAdmin();
+ try {
+ if (repoAdmin.isModified()) {
+ if (repoAdmin.isCurrent()) {
+ commitChanges();
+ }
+ else {
+ getWindow().showNotification("Changes not stored",
+ "Unable to store your changes; repository changed!", Notification.TYPE_WARNING_MESSAGE);
+ }
+ }
+ else {
+ getWindow()
+ .showNotification("Nothing to store",
+ "There are no changes that can be stored to the repository.",
+ Notification.TYPE_WARNING_MESSAGE);
+ }
+ }
+ catch (IOException e) {
+ getWindow().showNotification("Changes not stored",
+ "Failed to store the changes to the server.<br />Reason: " + e.getMessage(),
+ Notification.TYPE_ERROR_MESSAGE);
+ }
+ }
+
+ /**
+ * Does the actual commit of changes.
+ *
+ * @throws IOException in case of I/O problems during the commit.
+ */
+ private void commitChanges() throws IOException {
+ getRepositoryAdmin().commit();
+ doAfterCommit();
+ }
+ }
+
+ private final boolean m_showLogoutButton;
+
+ private Button m_retrieveButton;
+ private Button m_storeButton;
+ private Button m_revertButton;
+ private Button m_logoutButton;
+
+ /**
+ * Creates a new {@link MainActionToolbar} instance.
+ *
+ * @param showLogoutButton <code>true</code> if a logout button should be shown, <code>false</code> if it should not.
+ */
+ public MainActionToolbar(boolean showLogoutButton) {
+ super(5, 1);
+
+ m_showLogoutButton = showLogoutButton;
+
+ setWidth("100%");
+ setSpacing(true);
+
+ initComponent();
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public void handleEvent(org.osgi.service.event.Event event) {
+ String topic = event.getTopic();
+ if (RepositoryAdmin.TOPIC_STATUSCHANGED.equals(topic) || RepositoryAdmin.TOPIC_REFRESH.equals(topic)
+ || RepositoryAdmin.TOPIC_LOGIN.equals(topic)) {
+
+ boolean modified = false;
+ try {
+ modified = getRepositoryAdmin().isModified();
+ }
+ catch (IOException e) {
+ getWindow().showNotification("Communication failed!",
+ "Failed to communicate with the server.<br />Reason: " + e.getMessage(),
+ Notification.TYPE_ERROR_MESSAGE);
+ }
+
+ m_storeButton.setEnabled(modified);
+ m_revertButton.setEnabled(modified);
+ }
+ }
+
+ /**
+ * Called after a commit/store has taken place, allows additional UI-updates to be performed.
+ *
+ * @throws IOException
+ */
+ protected abstract void doAfterCommit() throws IOException;
+
+ /**
+ * Called after a logout has taken place, allows additional UI-updates to be performed.
+ *
+ * @throws IOException
+ */
+ protected abstract void doAfterLogout() throws IOException;
+
+ /**
+ * Called after a retrieve has taken place, allows additional UI-updates to be performed.
+ *
+ * @throws IOException
+ */
+ protected abstract void doAfterRetrieve() throws IOException;
+
+ /**
+ * Called after a revert has taken place, allows additional UI-updates to be performed.
+ *
+ * @throws IOException
+ */
+ protected abstract void doAfterRevert() throws IOException;
+
+ /**
+ * @return a repository admin instance, never <code>null</code>.
+ */
+ protected abstract RepositoryAdmin getRepositoryAdmin();
+
+ /**
+ * Initializes this component.
+ */
+ private void initComponent() {
+ m_retrieveButton = new Button("Retrieve");
+ m_retrieveButton.addListener(new RetrieveButtonListener());
+ addComponent(m_retrieveButton, 0, 0);
+
+ m_storeButton = new Button("Store");
+ m_storeButton.addListener(new StoreButtonListener());
+ addComponent(m_storeButton, 1, 0);
+
+ m_revertButton = new Button("Revert");
+ m_revertButton.addListener(new RevertButtonListener());
+ addComponent(m_revertButton, 2, 0);
+
+ Label spacer = new Label(" ");
+ addComponent(spacer, 3, 0);
+
+ m_logoutButton = new Button("Logout");
+ m_logoutButton.addListener(new LogoutButtonListener());
+ if (m_showLogoutButton) {
+ addComponent(m_logoutButton, 4, 0);
+ }
+
+ // Ensure the spacer gets all the excessive room, causing the logout
+ // button to appear at the right side of the screen....
+ setColumnExpandRatio(3, 5);
+ }
+}
Added: ace/sandbox/marrs/org.apache.ace.webui.vaadin/src/org/apache/ace/webui/vaadin/component/TargetsPanel.java
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/org.apache.ace.webui.vaadin/src/org/apache/ace/webui/vaadin/component/TargetsPanel.java?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/org.apache.ace.webui.vaadin/src/org/apache/ace/webui/vaadin/component/TargetsPanel.java (added)
+++ ace/sandbox/marrs/org.apache.ace.webui.vaadin/src/org/apache/ace/webui/vaadin/component/TargetsPanel.java Thu Jul 5 12:09:30 2012
@@ -0,0 +1,193 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.ace.webui.vaadin.component;
+
+import java.util.List;
+
+import org.apache.ace.client.repository.RepositoryObject;
+import org.apache.ace.client.repository.RepositoryObject.WorkingState;
+import org.apache.ace.client.repository.object.Distribution2TargetAssociation;
+import org.apache.ace.client.repository.object.DistributionObject;
+import org.apache.ace.client.repository.object.TargetObject;
+import org.apache.ace.client.repository.stateful.StatefulTargetObject;
+import org.apache.ace.client.repository.stateful.StatefulTargetRepository;
+import org.apache.ace.webui.UIExtensionFactory;
+import org.apache.ace.webui.vaadin.AssociationRemover;
+import org.apache.ace.webui.vaadin.Associations;
+
+import com.vaadin.data.Item;
+import com.vaadin.terminal.Resource;
+import com.vaadin.ui.Button;
+import com.vaadin.ui.Embedded;
+import com.vaadin.ui.HorizontalLayout;
+
+/**
+ * Provides an object panel for displaying (stateful) targets.
+ */
+public abstract class TargetsPanel extends BaseObjectPanel<StatefulTargetObject, StatefulTargetRepository> {
+
+ private static final String REGISTRATION_STATE_ICON = "regStateIcon";
+ private static final String PROVISIONING_STATE_ICON = "provStateIcon";
+ private static final String STORE_STATE_ICON = "storeStateIcon";
+
+ /**
+ * Creates a new {@link TargetsPanel} instance.
+ *
+ * @param associations the assocation-holder object;
+ * @param associationRemover the helper for removing associations.
+ */
+ public TargetsPanel(Associations associations, AssociationRemover associationRemover) {
+ super(associations, associationRemover, "Target", UIExtensionFactory.EXTENSION_POINT_VALUE_TARGET, true /* hasEdit */);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ protected Button createRemoveItemButton(StatefulTargetObject object) {
+ Button b = super.createRemoveItemButton(object);
+ b.setEnabled(object.isRegistered());
+ return b;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ protected void defineTableColumns() {
+ addContainerProperty(WORKING_STATE_ICON, Embedded.class, null, "", null, ALIGN_CENTER);
+
+ addContainerProperty(OBJECT_NAME, String.class, null);
+
+ addContainerProperty(REGISTRATION_STATE_ICON, Embedded.class, null, "", null, ALIGN_CENTER);
+ addContainerProperty(STORE_STATE_ICON, Embedded.class, null, "", null, ALIGN_CENTER);
+ addContainerProperty(PROVISIONING_STATE_ICON, Embedded.class, null, "", null, ALIGN_CENTER);
+
+ addContainerProperty(ACTIONS, HorizontalLayout.class, null);
+
+ setColumnWidth(WORKING_STATE_ICON, ICON_WIDTH);
+ setColumnWidth(REGISTRATION_STATE_ICON, ICON_WIDTH);
+ setColumnWidth(STORE_STATE_ICON, ICON_WIDTH);
+ setColumnWidth(PROVISIONING_STATE_ICON, ICON_WIDTH);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ protected boolean doRemoveLeftSideAssociation(StatefulTargetObject object, RepositoryObject other) {
+ List<Distribution2TargetAssociation> associations = object.getAssociationsWith((DistributionObject) other);
+ for (Distribution2TargetAssociation association : associations) {
+ m_associationRemover.removeAssociation(association);
+ }
+ return true;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ protected WorkingState getWorkingState(RepositoryObject object) {
+ final StatefulTargetObject statefulTarget = (StatefulTargetObject) object;
+ if (statefulTarget.isRegistered()) {
+ return super.getWorkingState(statefulTarget.getTargetObject());
+ }
+ return WorkingState.Unchanged;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ protected void handleEvent(String topic, RepositoryObject entity, org.osgi.service.event.Event event) {
+ StatefulTargetObject statefulTarget = asStatefulTargetObject(entity);
+ if (StatefulTargetObject.TOPIC_ADDED.equals(topic)) {
+ add(statefulTarget);
+ }
+ if (StatefulTargetObject.TOPIC_REMOVED.equals(topic)) {
+ remove(statefulTarget);
+ }
+ if (topic.endsWith("CHANGED")) {
+ update(statefulTarget);
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ protected boolean isSupportedEntity(RepositoryObject entity) {
+ return (entity instanceof StatefulTargetObject) || (entity instanceof TargetObject);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ protected void populateItem(StatefulTargetObject object, Item item) {
+ item.getItemProperty(WORKING_STATE_ICON).setValue(getWorkingStateIcon(object));
+
+ item.getItemProperty(OBJECT_NAME).setValue(object.getID());
+
+ item.getItemProperty(REGISTRATION_STATE_ICON).setValue(getRegistrationStateIcon(object));
+ item.getItemProperty(STORE_STATE_ICON).setValue(getStoreStateIcon(object));
+ item.getItemProperty(PROVISIONING_STATE_ICON).setValue(getProvisioningStateIcon(object));
+
+ item.getItemProperty(ACTIONS).setValue(createActionButtons(object));
+ }
+
+ /**
+ * @param object
+ * @return
+ */
+ private Embedded getProvisioningStateIcon(StatefulTargetObject object) {
+ String name = object.getProvisioningState().name();
+ Resource res = createIconResource("target_provisioning_" + name);
+ return createIcon(name, res);
+ }
+
+ /**
+ * @param object
+ * @return
+ */
+ private Embedded getRegistrationStateIcon(StatefulTargetObject object) {
+ String name = object.getRegistrationState().name();
+ Resource res = createIconResource("target_" + name);
+ return createIcon(name, res);
+ }
+
+ /**
+ * @param object
+ * @return
+ */
+ private Embedded getStoreStateIcon(StatefulTargetObject object) {
+ String name = object.getStoreState().name();
+ Resource res = createIconResource("target_store_" + name);
+ return createIcon(name, res);
+ }
+
+ /**
+ *
+ * @param entity
+ * @return
+ */
+ private StatefulTargetObject asStatefulTargetObject(RepositoryObject entity) {
+ if (entity instanceof StatefulTargetObject) {
+ return (StatefulTargetObject) entity;
+ }
+ return getFromId(((TargetObject) entity).getDefinition());
+ }
+}
Added: ace/sandbox/marrs/run-obr/.classpath
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-obr/.classpath?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-obr/.classpath (added)
+++ ace/sandbox/marrs/run-obr/.classpath Thu Jul 5 12:09:30 2012
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="src" output="bin_test" path="test"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
+ <classpathentry kind="con" path="aQute.bnd.classpath.container"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Added: ace/sandbox/marrs/run-obr/.project
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-obr/.project?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-obr/.project (added)
+++ ace/sandbox/marrs/run-obr/.project Thu Jul 5 12:09:30 2012
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>run-obr</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>bndtools.core.bndbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>bndtools.core.bndnature</nature>
+ </natures>
+</projectDescription>
Added: ace/sandbox/marrs/run-obr/.settings/org.eclipse.jdt.core.prefs
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-obr/.settings/org.eclipse.jdt.core.prefs?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-obr/.settings/org.eclipse.jdt.core.prefs (added)
+++ ace/sandbox/marrs/run-obr/.settings/org.eclipse.jdt.core.prefs Thu Jul 5 12:09:30 2012
@@ -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/sandbox/marrs/run-obr/bnd.bnd
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-obr/bnd.bnd?rev=1357570&view=auto
==============================================================================
(empty)
Added: ace/sandbox/marrs/run-obr/build.xml
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-obr/build.xml?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-obr/build.xml (added)
+++ ace/sandbox/marrs/run-obr/build.xml Thu Jul 5 12:09:30 2012
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="project" default="build">
+ <import file="../cnf/build.xml"/>
+</project>
Added: ace/sandbox/marrs/run-obr/conf/org.apache.ace.activation.matcher.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-obr/conf/org.apache.ace.activation.matcher.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-obr/conf/org.apache.ace.activation.matcher.cfg (added)
+++ ace/sandbox/marrs/run-obr/conf/org.apache.ace.activation.matcher.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1,3 @@
+activationRepository = activation
+customerName = apache
+repositoryURL = http://localhost:8080/repository
Added: ace/sandbox/marrs/run-obr/conf/org.apache.ace.activation.servlet.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-obr/conf/org.apache.ace.activation.servlet.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-obr/conf/org.apache.ace.activation.servlet.cfg (added)
+++ ace/sandbox/marrs/run-obr/conf/org.apache.ace.activation.servlet.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1 @@
+org.apache.ace.server.servlet.endpoint=/activation
Added: ace/sandbox/marrs/run-obr/conf/org.apache.ace.client.automation.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-obr/conf/org.apache.ace.client.automation.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-obr/conf/org.apache.ace.client.automation.cfg (added)
+++ ace/sandbox/marrs/run-obr/conf/org.apache.ace.client.automation.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1,10 @@
+registerTargetFilter = (id=*)
+approveTargetFilter = (id=*)
+autoApproveTargetFilter = (id=*)
+commitRepositories = true
+targetRepository = target
+deploymentRepository = deployment
+storeRepository = shop
+customerName = apache
+hostName = http://localhost:8080
+endpoint = /repository
\ No newline at end of file
Added: ace/sandbox/marrs/run-obr/conf/org.apache.ace.client.rest.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-obr/conf/org.apache.ace.client.rest.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-obr/conf/org.apache.ace.client.rest.cfg (added)
+++ ace/sandbox/marrs/run-obr/conf/org.apache.ace.client.rest.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1,2 @@
+org.apache.ace.server.servlet.endpoint=/client
+authentication.enabled=false
Added: ace/sandbox/marrs/run-obr/conf/org.apache.ace.configurator.useradmin.task.UpdateUserAdminTask.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-obr/conf/org.apache.ace.configurator.useradmin.task.UpdateUserAdminTask.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-obr/conf/org.apache.ace.configurator.useradmin.task.UpdateUserAdminTask.cfg (added)
+++ ace/sandbox/marrs/run-obr/conf/org.apache.ace.configurator.useradmin.task.UpdateUserAdminTask.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1,3 @@
+repositoryLocation = http://localhost:8080/repository
+repositoryCustomer = apache
+repositoryName = user
Added: ace/sandbox/marrs/run-obr/conf/org.apache.ace.connectionfactory/auditlog.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-obr/conf/org.apache.ace.connectionfactory/auditlog.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-obr/conf/org.apache.ace.connectionfactory/auditlog.cfg (added)
+++ ace/sandbox/marrs/run-obr/conf/org.apache.ace.connectionfactory/auditlog.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1,5 @@
+authentication.baseURL = http://localhost:8080/auditlog/
+authentication.type = none
+#authentication.user.name = d
+#authentication.user.password = f
+
Added: ace/sandbox/marrs/run-obr/conf/org.apache.ace.connectionfactory/client.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-obr/conf/org.apache.ace.connectionfactory/client.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-obr/conf/org.apache.ace.connectionfactory/client.cfg (added)
+++ ace/sandbox/marrs/run-obr/conf/org.apache.ace.connectionfactory/client.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1,5 @@
+authentication.baseURL = http://localhost:8080/client/
+authentication.type = none
+#authentication.user.name = d
+#authentication.user.password = f
+
Added: ace/sandbox/marrs/run-obr/conf/org.apache.ace.connectionfactory/deployment.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-obr/conf/org.apache.ace.connectionfactory/deployment.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-obr/conf/org.apache.ace.connectionfactory/deployment.cfg (added)
+++ ace/sandbox/marrs/run-obr/conf/org.apache.ace.connectionfactory/deployment.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1,5 @@
+authentication.baseURL = http://localhost:8080/deployment/
+authentication.type = none
+#authentication.user.name = d
+#authentication.user.password = f
+
Added: ace/sandbox/marrs/run-obr/conf/org.apache.ace.connectionfactory/obr.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-obr/conf/org.apache.ace.connectionfactory/obr.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-obr/conf/org.apache.ace.connectionfactory/obr.cfg (added)
+++ ace/sandbox/marrs/run-obr/conf/org.apache.ace.connectionfactory/obr.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1,5 @@
+authentication.baseURL = http://localhost:8080/obr/
+authentication.type = none
+#authentication.user.name = d
+#authentication.user.password = f
+
Added: ace/sandbox/marrs/run-obr/conf/org.apache.ace.connectionfactory/replication.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-obr/conf/org.apache.ace.connectionfactory/replication.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-obr/conf/org.apache.ace.connectionfactory/replication.cfg (added)
+++ ace/sandbox/marrs/run-obr/conf/org.apache.ace.connectionfactory/replication.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1,5 @@
+authentication.baseURL = http://localhost:8080/replication/
+authentication.type = none
+#authentication.user.name = d
+#authentication.user.password = f
+
Added: ace/sandbox/marrs/run-obr/conf/org.apache.ace.connectionfactory/repository.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-obr/conf/org.apache.ace.connectionfactory/repository.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-obr/conf/org.apache.ace.connectionfactory/repository.cfg (added)
+++ ace/sandbox/marrs/run-obr/conf/org.apache.ace.connectionfactory/repository.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1,5 @@
+authentication.baseURL = http://localhost:8080/repository/
+authentication.type = none
+#authentication.user.name = d
+#authentication.user.password = f
+
Added: ace/sandbox/marrs/run-obr/conf/org.apache.ace.deployment.provider.filebased.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-obr/conf/org.apache.ace.deployment.provider.filebased.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-obr/conf/org.apache.ace.deployment.provider.filebased.cfg (added)
+++ ace/sandbox/marrs/run-obr/conf/org.apache.ace.deployment.provider.filebased.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1 @@
+BaseDirectoryName=store
Added: ace/sandbox/marrs/run-obr/conf/org.apache.ace.deployment.provider.repositorybased.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-obr/conf/org.apache.ace.deployment.provider.repositorybased.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-obr/conf/org.apache.ace.deployment.provider.repositorybased.cfg (added)
+++ ace/sandbox/marrs/run-obr/conf/org.apache.ace.deployment.provider.repositorybased.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1,3 @@
+url = http://localhost:8080/repository
+name = deployment
+customer = apache
Added: ace/sandbox/marrs/run-obr/conf/org.apache.ace.deployment.servlet.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-obr/conf/org.apache.ace.deployment.servlet.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-obr/conf/org.apache.ace.deployment.servlet.cfg (added)
+++ ace/sandbox/marrs/run-obr/conf/org.apache.ace.deployment.servlet.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1,2 @@
+org.apache.ace.server.servlet.endpoint=/deployment
+authentication.enabled = false
Added: ace/sandbox/marrs/run-obr/conf/org.apache.ace.discovery.property.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-obr/conf/org.apache.ace.discovery.property.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-obr/conf/org.apache.ace.discovery.property.cfg (added)
+++ ace/sandbox/marrs/run-obr/conf/org.apache.ace.discovery.property.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1 @@
+serverURL = http://localhost:8080
\ No newline at end of file
Added: ace/sandbox/marrs/run-obr/conf/org.apache.ace.distribution.servlet.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-obr/conf/org.apache.ace.distribution.servlet.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-obr/conf/org.apache.ace.distribution.servlet.cfg (added)
+++ ace/sandbox/marrs/run-obr/conf/org.apache.ace.distribution.servlet.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1,5 @@
+targetRepository = target
+storeRepository = shop
+customerName = apache
+hostName = http://localhost:8080/repository
+org.apache.ace.server.servlet.endpoint = /distribution
Added: ace/sandbox/marrs/run-obr/conf/org.apache.ace.http.redirector.factory/root-to-ace.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-obr/conf/org.apache.ace.http.redirector.factory/root-to-ace.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-obr/conf/org.apache.ace.http.redirector.factory/root-to-ace.cfg (added)
+++ ace/sandbox/marrs/run-obr/conf/org.apache.ace.http.redirector.factory/root-to-ace.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1,2 @@
+org.apache.ace.server.servlet.endpoint=/
+org.apache.ace.webui.vaadin.redirect=/ace/
Added: ace/sandbox/marrs/run-obr/conf/org.apache.ace.nodelauncher.amazon.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-obr/conf/org.apache.ace.nodelauncher.amazon.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-obr/conf/org.apache.ace.nodelauncher.amazon.cfg (added)
+++ ace/sandbox/marrs/run-obr/conf/org.apache.ace.nodelauncher.amazon.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1,33 @@
+#
+# Sample configuration file. You need to uncomment all the properties
+# and change some of the placeholders for this configuration to work.
+#
+
+# Configure your server here
+#server=http://your.ace.machine:8080
+
+# Note that AMIs are specific to an Amazon availability zone
+#amiId=ami-6a31041e
+#location=eu-west-1
+
+# Your access key ID and secret access key (AWS console, top right menu "Security Credentials")
+#accessKeyid=Your_access_key_here!
+#secretAccessKey=Your_secret_key_here!
+
+# Tag prefix for instance names
+#tagPrefix=default
+
+# Use this bootstrap to use a Sun VM instead of the OpenJDK one provided by Amazon
+#nodeBootstrap=cd ~; wget -Ojava.bin http://javadl.sun.com/webapps/download/AutoDL?BundleId=43871 ;chmod +x java.bin;./java.bin /y; export PATH=`pwd`/jre1.6.0_23/bin:$PATH
+
+# Open up any extra ports (comma separated list)
+#extraPorts=9090
+
+# Should we run the process as root? This only works if your account is in the sudoers file.
+#runAsRoot=true
+
+# A comma separated list of extra artifacts that will be downloaded from the OBR (just list their filenames here)
+#additionalObrDownloads=
+
+# A comma separated list of extra artifacts that will be downloaded from the specified URLs (list full URLs here)
+#externalDownloadUrls=
Added: ace/sandbox/marrs/run-obr/conf/org.apache.ace.obr.servlet.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-obr/conf/org.apache.ace.obr.servlet.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-obr/conf/org.apache.ace.obr.servlet.cfg (added)
+++ ace/sandbox/marrs/run-obr/conf/org.apache.ace.obr.servlet.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1,2 @@
+org.apache.ace.server.servlet.endpoint=/obr
+authentication.enabled = false
Added: ace/sandbox/marrs/run-obr/conf/org.apache.ace.obr.storage.file.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-obr/conf/org.apache.ace.obr.storage.file.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-obr/conf/org.apache.ace.obr.storage.file.cfg (added)
+++ ace/sandbox/marrs/run-obr/conf/org.apache.ace.obr.storage.file.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1 @@
+fileLocation=store
\ No newline at end of file
Added: ace/sandbox/marrs/run-obr/conf/org.apache.ace.repository.servlet.RepositoryReplicationServlet.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-obr/conf/org.apache.ace.repository.servlet.RepositoryReplicationServlet.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-obr/conf/org.apache.ace.repository.servlet.RepositoryReplicationServlet.cfg (added)
+++ ace/sandbox/marrs/run-obr/conf/org.apache.ace.repository.servlet.RepositoryReplicationServlet.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1,2 @@
+org.apache.ace.server.servlet.endpoint=/replication
+authentication.enabled = false
Added: ace/sandbox/marrs/run-obr/conf/org.apache.ace.repository.servlet.RepositoryServlet.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-obr/conf/org.apache.ace.repository.servlet.RepositoryServlet.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-obr/conf/org.apache.ace.repository.servlet.RepositoryServlet.cfg (added)
+++ ace/sandbox/marrs/run-obr/conf/org.apache.ace.repository.servlet.RepositoryServlet.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1,2 @@
+org.apache.ace.server.servlet.endpoint=/repository
+authentication.enabled = false
Added: ace/sandbox/marrs/run-obr/conf/org.apache.ace.scheduler.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-obr/conf/org.apache.ace.scheduler.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-obr/conf/org.apache.ace.scheduler.cfg (added)
+++ ace/sandbox/marrs/run-obr/conf/org.apache.ace.scheduler.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1,2 @@
+auditlog = 2000
+org.apache.ace.configurator.useradmin.task.UpdateUserAdminTask = 2000
\ No newline at end of file
Added: ace/sandbox/marrs/run-obr/conf/org.apache.ace.server.activation.impl.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-obr/conf/org.apache.ace.server.activation.impl.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-obr/conf/org.apache.ace.server.activation.impl.cfg (added)
+++ ace/sandbox/marrs/run-obr/conf/org.apache.ace.server.activation.impl.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1,14 @@
+registerTargetFilter = (id=*)
+approveTargetFilter = (id=*)
+autoApproveTargetFilter = (id=*)
+commitRepositories = true
+targetRepository = target
+deploymentRepository = deployment
+storeRepository = shop
+customerName = apache
+hostName = http://localhost:8080
+endpoint = /repository
+obrUrl = http://localhost:8080/obr/
+activationInfoRepository = activationinfo
+activationInfoTimeout = 604800000
+checkoutInterval = 5000
Added: ace/sandbox/marrs/run-obr/conf/org.apache.ace.server.log.servlet.factory/auditlog.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-obr/conf/org.apache.ace.server.log.servlet.factory/auditlog.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-obr/conf/org.apache.ace.server.log.servlet.factory/auditlog.cfg (added)
+++ ace/sandbox/marrs/run-obr/conf/org.apache.ace.server.log.servlet.factory/auditlog.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1,3 @@
+org.apache.ace.server.servlet.endpoint=/auditlog
+name = auditlog
+authentication.enabled = false
Added: ace/sandbox/marrs/run-obr/conf/org.apache.ace.server.log.store.factory/auditlog.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-obr/conf/org.apache.ace.server.log.store.factory/auditlog.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-obr/conf/org.apache.ace.server.log.store.factory/auditlog.cfg (added)
+++ ace/sandbox/marrs/run-obr/conf/org.apache.ace.server.log.store.factory/auditlog.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1 @@
+name=auditlog
\ No newline at end of file
Added: ace/sandbox/marrs/run-obr/conf/org.apache.ace.server.repository.factory/ace-activation.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-obr/conf/org.apache.ace.server.repository.factory/ace-activation.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-obr/conf/org.apache.ace.server.repository.factory/ace-activation.cfg (added)
+++ ace/sandbox/marrs/run-obr/conf/org.apache.ace.server.repository.factory/ace-activation.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1,3 @@
+name=activation
+customer=apache
+master=true
\ No newline at end of file
Added: ace/sandbox/marrs/run-obr/conf/org.apache.ace.server.repository.factory/ace-activationinfo.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-obr/conf/org.apache.ace.server.repository.factory/ace-activationinfo.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-obr/conf/org.apache.ace.server.repository.factory/ace-activationinfo.cfg (added)
+++ ace/sandbox/marrs/run-obr/conf/org.apache.ace.server.repository.factory/ace-activationinfo.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1,3 @@
+name=activationinfo
+customer=apache
+master=true
\ No newline at end of file
Added: ace/sandbox/marrs/run-obr/conf/org.apache.ace.server.repository.factory/ace-deployment.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-obr/conf/org.apache.ace.server.repository.factory/ace-deployment.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-obr/conf/org.apache.ace.server.repository.factory/ace-deployment.cfg (added)
+++ ace/sandbox/marrs/run-obr/conf/org.apache.ace.server.repository.factory/ace-deployment.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1,3 @@
+name=deployment
+customer=apache
+master=true
\ No newline at end of file
Added: ace/sandbox/marrs/run-obr/conf/org.apache.ace.server.repository.factory/ace-shop.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-obr/conf/org.apache.ace.server.repository.factory/ace-shop.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-obr/conf/org.apache.ace.server.repository.factory/ace-shop.cfg (added)
+++ ace/sandbox/marrs/run-obr/conf/org.apache.ace.server.repository.factory/ace-shop.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1,3 @@
+name=shop
+customer=apache
+master=true
\ No newline at end of file
Added: ace/sandbox/marrs/run-obr/conf/org.apache.ace.server.repository.factory/ace-target.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-obr/conf/org.apache.ace.server.repository.factory/ace-target.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-obr/conf/org.apache.ace.server.repository.factory/ace-target.cfg (added)
+++ ace/sandbox/marrs/run-obr/conf/org.apache.ace.server.repository.factory/ace-target.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1,3 @@
+name=target
+customer=apache
+master=true
\ No newline at end of file
Added: ace/sandbox/marrs/run-obr/conf/org.apache.ace.server.repository.factory/ace-user.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-obr/conf/org.apache.ace.server.repository.factory/ace-user.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-obr/conf/org.apache.ace.server.repository.factory/ace-user.cfg (added)
+++ ace/sandbox/marrs/run-obr/conf/org.apache.ace.server.repository.factory/ace-user.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1,308 @@
+name=user
+customer=apache
+master=true
+initial=<roles> \
+ <group name="createArtifact"> \
+ <properties> \
+ <type>permissionGroup</type> \
+ </properties> \
+ </group> \
+ <group name="updateArtifact"> \
+ <properties> \
+ <type>permissionGroup</type> \
+ </properties> \
+ </group> \
+ <group name="removeArtifact"> \
+ <properties> \
+ <type>permissionGroup</type> \
+ </properties> \
+ </group> \
+ <group name="viewArtifact"> \
+ <properties> \
+ <type>permissionGroup</type> \
+ </properties> \
+ </group> \
+ <group name="editArtifact"> \
+ <properties> \
+ <type>permissionGroup</type> \
+ </properties> \
+ </group> \
+ <group name="createFeature"> \
+ <properties> \
+ <type>permissionGroup</type> \
+ </properties> \
+ </group> \
+ <group name="removeFeature"> \
+ <properties> \
+ <type>permissionGroup</type> \
+ </properties> \
+ </group> \
+ <group name="associateArtifactToFeature"> \
+ <properties> \
+ <type>permissionGroup</type> \
+ </properties> \
+ </group> \
+ <group name="associateFeatureToDistribution"> \
+ <properties> \
+ <type>permissionGroup</type> \
+ </properties> \
+ </group> \
+ <group name="removeArtifactToFeatureAssociation"> \
+ <properties> \
+ <type>permissionGroup</type> \
+ </properties> \
+ </group> \
+ <group name="removeFeatureToDistributionAssociation"> \
+ <properties> \
+ <type>permissionGroup</type> \
+ </properties> \
+ </group> \
+ <group name="viewFeature"> \
+ <properties> \
+ <type>permissionGroup</type> \
+ </properties> \
+ </group> \
+ <group name="editFeature"> \
+ <properties> \
+ <type>permissionGroup</type> \
+ </properties> \
+ </group> \
+ <group name="viewDistribution"> \
+ <properties> \
+ <type>permissionGroup</type> \
+ </properties> \
+ </group> \
+ <group name="editDistribution"> \
+ <properties> \
+ <type>permissionGroup</type> \
+ </properties> \
+ </group> \
+ <group name="createDistribution"> \
+ <properties> \
+ <type>permissionGroup</type> \
+ </properties> \
+ </group> \
+ <group name="removeDistribution"> \
+ <properties> \
+ <type>permissionGroup</type> \
+ </properties> \
+ </group> \
+ <group name="associateDistributionToTarget"> \
+ <properties> \
+ <type>permissionGroup</type> \
+ </properties> \
+ </group> \
+ <group name="viewTarget"> \
+ <properties> \
+ <type>permissionGroup</type> \
+ </properties> \
+ </group> \
+ <group name="editTarget"> \
+ <properties> \
+ <type>permissionGroup</type> \
+ </properties> \
+ </group> \
+ <group name="createTarget"> \
+ <properties> \
+ <type>permissionGroup</type> \
+ </properties> \
+ </group> \
+ <group name="removeTarget"> \
+ <properties> \
+ <type>permissionGroup</type> \
+ </properties> \
+ </group> \
+ <group name="approveTarget"> \
+ <properties> \
+ <type>permissionGroup</type> \
+ </properties> \
+ </group> \
+ <group name="registerTarget"> \
+ <properties> \
+ <type>permissionGroup</type> \
+ </properties> \
+ </group> \
+ <group name="removeDistributionToTargetAssociation"> \
+ <properties> \
+ <type>permissionGroup</type> \
+ </properties> \
+ </group> \
+ <group name="mock"> \
+ <properties> \
+ <type>permissionGroup</type> \
+ </properties> \
+ </group> \
+ <group name="TestGroup"> \
+ <properties> \
+ <type>userGroup</type> \
+ </properties> \
+ <memberof>createArtifact</memberof> \
+ <memberof>updateArtifact</memberof> \
+ <memberof>removeArtifact</memberof> \
+ <memberof>viewArtifact</memberof> \
+ <memberof>editArtifact</memberof> \
+ <memberof>createFeature</memberof> \
+ <memberof>removeFeature</memberof> \
+ <memberof>associateArtifactToFeature</memberof> \
+ <memberof>associateFeatureToDistribution</memberof> \
+ <memberof>removeArtifactToFeatureAssociation</memberof> \
+ <memberof>removeFeatureToDistributionAssociation</memberof> \
+ <memberof>viewFeature</memberof> \
+ <memberof>editFeature</memberof> \
+ <memberof>viewDistribution</memberof> \
+ <memberof>editDistribution</memberof> \
+ <memberof>createDistribution</memberof> \
+ <memberof>removeDistribution</memberof> \
+ <memberof>associateDistributionToTarget</memberof> \
+ <memberof>viewTarget</memberof> \
+ <memberof>editTarget</memberof> \
+ <memberof>createTarget</memberof> \
+ <memberof>removeTarget</memberof> \
+ <memberof>approveTarget</memberof> \
+ <memberof>registerTarget</memberof> \
+ <memberof>removeDistributionToTargetAssociation</memberof> \
+ <memberof>mock</memberof> \
+ </group> \
+ <group name="Target Operator"> \
+ <properties> \
+ <type>userGroup</type> \
+ </properties> \
+ <memberof>viewArtifact</memberof> \
+ <memberof>viewFeature</memberof> \
+ <memberof>viewDistribution</memberof> \
+ <memberof>viewTarget</memberof> \
+ <memberof>approveTarget</memberof> \
+ </group> \
+ <group name="Distribution Manager"> \
+ <properties> \
+ <type>userGroup</type> \
+ </properties> \
+ <memberof>viewArtifact</memberof> \
+ <memberof>viewFeature</memberof> \
+ <memberof>viewDistribution</memberof> \
+ <memberof>editDistribution</memberof> \
+ <memberof>createDistribution</memberof> \
+ <memberof>removeDistribution</memberof> \
+ <memberof>associateDistributionToTarget</memberof> \
+ <memberof>viewTarget</memberof> \
+ <memberof>removeDistributionToTargetAssociation</memberof> \
+ </group> \
+ <group name="Release Manager"> \
+ <properties> \
+ <type>userGroup</type> \
+ </properties> \
+ <memberof>createArtifact</memberof> \
+ <memberof>updateArtifact</memberof> \
+ <memberof>removeArtifact</memberof> \
+ <memberof>viewArtifact</memberof> \
+ <memberof>editArtifact</memberof> \
+ <memberof>createFeature</memberof> \
+ <memberof>removeFeature</memberof> \
+ <memberof>associateArtifactToFeature</memberof> \
+ <memberof>associateFeatureToDistribution</memberof> \
+ <memberof>removeArtifactToFeatureAssociation</memberof> \
+ <memberof>removeFeatureToDistributionAssociation</memberof> \
+ <memberof>viewFeature</memberof> \
+ <memberof>editFeature</memberof> \
+ <memberof>viewDistribution</memberof> \
+ <memberof>viewTarget</memberof> \
+ </group> \
+ <group name="Target Manager"> \
+ <properties> \
+ <type>userGroup</type> \
+ </properties> \
+ <memberof>viewArtifact</memberof> \
+ <memberof>viewFeature</memberof> \
+ <memberof>viewDistribution</memberof> \
+ <memberof>viewTarget</memberof> \
+ <memberof>editTarget</memberof> \
+ <memberof>createTarget</memberof> \
+ <memberof>removeTarget</memberof> \
+ <memberof>registerTarget</memberof> \
+ </group> \
+ <group name="External Distribution Manager"> \
+ <properties> \
+ <type>userGroup</type> \
+ </properties> \
+ <memberof>createArtifact</memberof> \
+ <memberof>updateArtifact</memberof> \
+ <memberof>removeArtifact</memberof> \
+ <memberof>viewArtifact</memberof> \
+ <memberof>editArtifact</memberof> \
+ <memberof>createFeature</memberof> \
+ <memberof>removeFeature</memberof> \
+ <memberof>associateArtifactToFeature</memberof> \
+ <memberof>associateFeatureToDistribution</memberof> \
+ <memberof>removeArtifactToFeatureAssociation</memberof> \
+ <memberof>removeFeatureToDistributionAssociation</memberof> \
+ <memberof>viewFeature</memberof> \
+ <memberof>editFeature</memberof> \
+ <memberof>viewDistribution</memberof> \
+ <memberof>editDistribution</memberof> \
+ <memberof>createDistribution</memberof> \
+ <memberof>removeDistribution</memberof> \
+ <memberof>associateDistributionToTarget</memberof> \
+ <memberof>viewTarget</memberof> \
+ <memberof>editTarget</memberof> \
+ <memberof>createTarget</memberof> \
+ <memberof>removeTarget</memberof> \
+ <memberof>approveTarget</memberof> \
+ <memberof>registerTarget</memberof> \
+ <memberof>removeDistributionToTargetAssociation</memberof> \
+ <memberof>mock</memberof> \
+ </group> \
+ <user name="d"> \
+ <properties> \
+ <username>d</username> \
+ </properties> \
+ <credentials> \
+ <password>f</password> \
+ </credentials> \
+ <memberof>TestGroup</memberof> \
+ </user> \
+ <user name="lm"> \
+ <properties> \
+ <username>lm</username> \
+ </properties> \
+ <credentials> \
+ <password>lm</password> \
+ </credentials> \
+ <memberof>Distribution Manager</memberof> \
+ </user> \
+ <user name="go"> \
+ <properties> \
+ <username>go</username> \
+ </properties> \
+ <credentials> \
+ <password>go</password> \
+ </credentials> \
+ <memberof>Target Operator</memberof> \
+ </user> \
+ <user name="rm"> \
+ <properties> \
+ <username>rm</username> \
+ </properties> \
+ <credentials> \
+ <password>rm</password> \
+ </credentials> \
+ <memberof>Release Manager</memberof> \
+ </user> \
+ <user name="gm"> \
+ <properties> \
+ <username>gm</username> \
+ </properties> \
+ <credentials> \
+ <password>gm</password> \
+ </credentials> \
+ <memberof>Target Manager</memberof> \
+ </user> \
+ <user name="elm"> \
+ <properties> \
+ <username>elm</username> \
+ </properties> \
+ <credentials> \
+ <password>elm</password> \
+ </credentials> \
+ <memberof>External Distribution Manager</memberof> \
+ </user> \
+</roles>
Added: ace/sandbox/marrs/run-obr/conf/org.apache.ace.webui.vaadin.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-obr/conf/org.apache.ace.webui.vaadin.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-obr/conf/org.apache.ace.webui.vaadin.cfg (added)
+++ ace/sandbox/marrs/run-obr/conf/org.apache.ace.webui.vaadin.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1,10 @@
+# The endpoint of the Vaadin UI
+org.apache.ace.server.servlet.endpoint = /ace
+# Vaadin UI settings
+ui.authentication.enabled = true
+#ui.authentication.user.name = d
+#ui.authentication.user.password = f
+# ACE MS settings
+ace.host = http://localhost:8080/
+# OBR settings
+obr.url = http://localhost:8080/obr/
Added: ace/sandbox/marrs/run-obr/obr.bndrun
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-obr/obr.bndrun?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-obr/obr.bndrun (added)
+++ ace/sandbox/marrs/run-obr/obr.bndrun Thu Jul 5 12:09:30 2012
@@ -0,0 +1,28 @@
+-runfw: org.apache.felix.framework;version='[4,5)'
+-runrequire: bundle:(symbolicname=org.apache.ace.obr.metadata),\
+ bundle:(symbolicname=org.apache.ace.obr.servlet),\
+ bundle:(symbolicname=org.apache.ace.obr.storage),\
+ bundle:(symbolicname=org.apache.ace.httplistener),\
+ bundle:(symbolicname=org.apache.felix.http.jetty),\
+ bundle:(symbolicname=org.apache.felix.gogo.command),\
+ bundle:(symbolicname=org.apache.felix.gogo.runtime),\
+ bundle:(symbolicname=org.apache.felix.gogo.shell),\
+ bundle:(symbolicname=org.apache.felix.dependencymanager),\
+ bundle:(symbolicname=org.apache.felix.log),\
+ bundle:(symbolicname=org.apache.felix.configadmin),\
+ bundle:(symbolicname=org.apache.felix.log),\
+ bundle:(symbolicname=org.apache.ace.configurator)
+-runbundles: org.apache.ace.obr.storage;resolution=file:/Users/marcel/dev/ace-bndtools/org.apache.ace.obr.storage/generated/org.apache.ace.obr.storage.jar;version=latest,\
+ org.apache.felix.dependencymanager;resolution=file:/Users/marcel/dev/ace-bndtools/cnf/repo/org.apache.felix.dependencymanager/org.apache.felix.dependencymanager-3.1.0.jar;version='[3.1.0,3.1.1)',\
+ org.apache.felix.log;resolution=http://bundles.bndtools.org.s3.amazonaws.com/org.apache.felix.log/org.apache.felix.log-1.0.1.jar;version='[1.0.1,1.0.2)',\
+ org.apache.felix.configadmin;resolution=http://bundles.bndtools.org.s3.amazonaws.com/org.apache.felix.configadmin/org.apache.felix.configadmin-1.2.8.jar;version='[1.2.8,1.2.9)',\
+ org.apache.ace.httplistener;resolution=file:/Users/marcel/dev/ace-bndtools/org.apache.ace.httplistener/generated/org.apache.ace.httplistener.jar;version=latest,\
+ osgi.cmpn;resolution=http://bundles.bndtools.org.s3.amazonaws.com/osgi.cmpn/osgi.cmpn-4.2.1.jar;version='[4.2.1,4.2.2)',\
+ org.apache.felix.gogo.command;resolution=http://bundles.bndtools.org.s3.amazonaws.com/org.apache.felix.gogo.command/org.apache.felix.gogo.command-0.12.0.jar;version='[0.12.0,0.12.1)',\
+ org.apache.ace.obr.servlet;resolution=file:/Users/marcel/dev/ace-bndtools/org.apache.ace.obr.servlet/generated/org.apache.ace.obr.servlet.jar;version=latest,\
+ org.apache.felix.gogo.runtime;resolution=http://bundles.bndtools.org.s3.amazonaws.com/org.apache.felix.gogo.runtime/org.apache.felix.gogo.runtime-0.10.0.jar;version='[0.10.0,0.10.1)',\
+ org.apache.ace.obr.metadata;resolution=file:/Users/marcel/dev/ace-bndtools/org.apache.ace.obr.metadata/generated/org.apache.ace.obr.metadata.jar;version=latest,\
+ org.apache.felix.gogo.shell;resolution=http://bundles.bndtools.org.s3.amazonaws.com/org.apache.felix.gogo.shell/org.apache.felix.gogo.shell-0.10.0.jar;version='[0.10.0,0.10.1)',\
+ org.apache.ace.authentication.api;resolution=file:/Users/marcel/dev/ace-bndtools/org.apache.ace.authentication.api/generated/org.apache.ace.authentication.api.jar;version=latest,\
+ org.apache.felix.http.jetty;resolution=http://bundles.bndtools.org.s3.amazonaws.com/org.apache.felix.http.jetty/org.apache.felix.http.jetty-2.2.0.jar;version='[2.2.0,2.2.1)',\
+ org.apache.ace.configurator;resolution=file:/Users/marcel/dev/ace-bndtools/org.apache.ace.configurator/generated/org.apache.ace.configurator.jar;version=latest
\ No newline at end of file
Added: ace/sandbox/marrs/run-server/.classpath
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-server/.classpath?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-server/.classpath (added)
+++ ace/sandbox/marrs/run-server/.classpath Thu Jul 5 12:09:30 2012
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="src" output="bin_test" path="test"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
+ <classpathentry kind="con" path="aQute.bnd.classpath.container"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Added: ace/sandbox/marrs/run-server/.project
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-server/.project?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-server/.project (added)
+++ ace/sandbox/marrs/run-server/.project Thu Jul 5 12:09:30 2012
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>run-server</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>bndtools.core.bndbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>bndtools.core.bndnature</nature>
+ </natures>
+</projectDescription>
Added: ace/sandbox/marrs/run-server/.settings/org.eclipse.jdt.core.prefs
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-server/.settings/org.eclipse.jdt.core.prefs?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-server/.settings/org.eclipse.jdt.core.prefs (added)
+++ ace/sandbox/marrs/run-server/.settings/org.eclipse.jdt.core.prefs Thu Jul 5 12:09:30 2012
@@ -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/sandbox/marrs/run-server/bnd.bnd
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-server/bnd.bnd?rev=1357570&view=auto
==============================================================================
(empty)
Added: ace/sandbox/marrs/run-server/build.xml
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-server/build.xml?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-server/build.xml (added)
+++ ace/sandbox/marrs/run-server/build.xml Thu Jul 5 12:09:30 2012
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="project" default="build">
+ <import file="../cnf/build.xml"/>
+</project>
Added: ace/sandbox/marrs/run-server/conf/org.apache.ace.activation.matcher.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-server/conf/org.apache.ace.activation.matcher.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-server/conf/org.apache.ace.activation.matcher.cfg (added)
+++ ace/sandbox/marrs/run-server/conf/org.apache.ace.activation.matcher.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1,3 @@
+activationRepository = activation
+customerName = apache
+repositoryURL = http://localhost:8080/repository
Added: ace/sandbox/marrs/run-server/conf/org.apache.ace.activation.servlet.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-server/conf/org.apache.ace.activation.servlet.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-server/conf/org.apache.ace.activation.servlet.cfg (added)
+++ ace/sandbox/marrs/run-server/conf/org.apache.ace.activation.servlet.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1 @@
+org.apache.ace.server.servlet.endpoint=/activation
Added: ace/sandbox/marrs/run-server/conf/org.apache.ace.client.automation.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-server/conf/org.apache.ace.client.automation.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-server/conf/org.apache.ace.client.automation.cfg (added)
+++ ace/sandbox/marrs/run-server/conf/org.apache.ace.client.automation.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1,10 @@
+registerTargetFilter = (id=*)
+approveTargetFilter = (id=*)
+autoApproveTargetFilter = (id=*)
+commitRepositories = true
+targetRepository = target
+deploymentRepository = deployment
+storeRepository = shop
+customerName = apache
+hostName = http://localhost:8080
+endpoint = /repository
\ No newline at end of file
Added: ace/sandbox/marrs/run-server/conf/org.apache.ace.client.rest.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-server/conf/org.apache.ace.client.rest.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-server/conf/org.apache.ace.client.rest.cfg (added)
+++ ace/sandbox/marrs/run-server/conf/org.apache.ace.client.rest.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1,2 @@
+org.apache.ace.server.servlet.endpoint=/client
+authentication.enabled=false
Added: ace/sandbox/marrs/run-server/conf/org.apache.ace.configurator.useradmin.task.UpdateUserAdminTask.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-server/conf/org.apache.ace.configurator.useradmin.task.UpdateUserAdminTask.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-server/conf/org.apache.ace.configurator.useradmin.task.UpdateUserAdminTask.cfg (added)
+++ ace/sandbox/marrs/run-server/conf/org.apache.ace.configurator.useradmin.task.UpdateUserAdminTask.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1,3 @@
+repositoryLocation = http://localhost:8080/repository
+repositoryCustomer = apache
+repositoryName = user
Added: ace/sandbox/marrs/run-server/conf/org.apache.ace.connectionfactory/auditlog.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-server/conf/org.apache.ace.connectionfactory/auditlog.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-server/conf/org.apache.ace.connectionfactory/auditlog.cfg (added)
+++ ace/sandbox/marrs/run-server/conf/org.apache.ace.connectionfactory/auditlog.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1,5 @@
+authentication.baseURL = http://localhost:8080/auditlog/
+authentication.type = none
+#authentication.user.name = d
+#authentication.user.password = f
+
Added: ace/sandbox/marrs/run-server/conf/org.apache.ace.connectionfactory/client.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-server/conf/org.apache.ace.connectionfactory/client.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-server/conf/org.apache.ace.connectionfactory/client.cfg (added)
+++ ace/sandbox/marrs/run-server/conf/org.apache.ace.connectionfactory/client.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1,5 @@
+authentication.baseURL = http://localhost:8080/client/
+authentication.type = none
+#authentication.user.name = d
+#authentication.user.password = f
+
Added: ace/sandbox/marrs/run-server/conf/org.apache.ace.connectionfactory/deployment.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-server/conf/org.apache.ace.connectionfactory/deployment.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-server/conf/org.apache.ace.connectionfactory/deployment.cfg (added)
+++ ace/sandbox/marrs/run-server/conf/org.apache.ace.connectionfactory/deployment.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1,5 @@
+authentication.baseURL = http://localhost:8080/deployment/
+authentication.type = none
+#authentication.user.name = d
+#authentication.user.password = f
+
Added: ace/sandbox/marrs/run-server/conf/org.apache.ace.connectionfactory/obr.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-server/conf/org.apache.ace.connectionfactory/obr.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-server/conf/org.apache.ace.connectionfactory/obr.cfg (added)
+++ ace/sandbox/marrs/run-server/conf/org.apache.ace.connectionfactory/obr.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1,5 @@
+authentication.baseURL = http://localhost:8080/obr/
+authentication.type = none
+#authentication.user.name = d
+#authentication.user.password = f
+
Added: ace/sandbox/marrs/run-server/conf/org.apache.ace.connectionfactory/replication.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-server/conf/org.apache.ace.connectionfactory/replication.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-server/conf/org.apache.ace.connectionfactory/replication.cfg (added)
+++ ace/sandbox/marrs/run-server/conf/org.apache.ace.connectionfactory/replication.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1,5 @@
+authentication.baseURL = http://localhost:8080/replication/
+authentication.type = none
+#authentication.user.name = d
+#authentication.user.password = f
+
Added: ace/sandbox/marrs/run-server/conf/org.apache.ace.connectionfactory/repository.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-server/conf/org.apache.ace.connectionfactory/repository.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-server/conf/org.apache.ace.connectionfactory/repository.cfg (added)
+++ ace/sandbox/marrs/run-server/conf/org.apache.ace.connectionfactory/repository.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1,5 @@
+authentication.baseURL = http://localhost:8080/repository/
+authentication.type = none
+#authentication.user.name = d
+#authentication.user.password = f
+
Added: ace/sandbox/marrs/run-server/conf/org.apache.ace.deployment.provider.filebased.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-server/conf/org.apache.ace.deployment.provider.filebased.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-server/conf/org.apache.ace.deployment.provider.filebased.cfg (added)
+++ ace/sandbox/marrs/run-server/conf/org.apache.ace.deployment.provider.filebased.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1 @@
+BaseDirectoryName=store
Added: ace/sandbox/marrs/run-server/conf/org.apache.ace.deployment.provider.repositorybased.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-server/conf/org.apache.ace.deployment.provider.repositorybased.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-server/conf/org.apache.ace.deployment.provider.repositorybased.cfg (added)
+++ ace/sandbox/marrs/run-server/conf/org.apache.ace.deployment.provider.repositorybased.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1,3 @@
+url = http://localhost:8080/repository
+name = deployment
+customer = apache
Added: ace/sandbox/marrs/run-server/conf/org.apache.ace.deployment.servlet.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-server/conf/org.apache.ace.deployment.servlet.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-server/conf/org.apache.ace.deployment.servlet.cfg (added)
+++ ace/sandbox/marrs/run-server/conf/org.apache.ace.deployment.servlet.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1,2 @@
+org.apache.ace.server.servlet.endpoint=/deployment
+authentication.enabled = false
Added: ace/sandbox/marrs/run-server/conf/org.apache.ace.discovery.property.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-server/conf/org.apache.ace.discovery.property.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-server/conf/org.apache.ace.discovery.property.cfg (added)
+++ ace/sandbox/marrs/run-server/conf/org.apache.ace.discovery.property.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1 @@
+serverURL = http://localhost:8080
\ No newline at end of file
Added: ace/sandbox/marrs/run-server/conf/org.apache.ace.distribution.servlet.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-server/conf/org.apache.ace.distribution.servlet.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-server/conf/org.apache.ace.distribution.servlet.cfg (added)
+++ ace/sandbox/marrs/run-server/conf/org.apache.ace.distribution.servlet.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1,5 @@
+targetRepository = target
+storeRepository = shop
+customerName = apache
+hostName = http://localhost:8080/repository
+org.apache.ace.server.servlet.endpoint = /distribution
Added: ace/sandbox/marrs/run-server/conf/org.apache.ace.http.redirector.factory/root-to-ace.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-server/conf/org.apache.ace.http.redirector.factory/root-to-ace.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-server/conf/org.apache.ace.http.redirector.factory/root-to-ace.cfg (added)
+++ ace/sandbox/marrs/run-server/conf/org.apache.ace.http.redirector.factory/root-to-ace.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1,2 @@
+org.apache.ace.server.servlet.endpoint=/
+org.apache.ace.webui.vaadin.redirect=/ace/
Added: ace/sandbox/marrs/run-server/conf/org.apache.ace.nodelauncher.amazon.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-server/conf/org.apache.ace.nodelauncher.amazon.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-server/conf/org.apache.ace.nodelauncher.amazon.cfg (added)
+++ ace/sandbox/marrs/run-server/conf/org.apache.ace.nodelauncher.amazon.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1,33 @@
+#
+# Sample configuration file. You need to uncomment all the properties
+# and change some of the placeholders for this configuration to work.
+#
+
+# Configure your server here
+#server=http://your.ace.machine:8080
+
+# Note that AMIs are specific to an Amazon availability zone
+#amiId=ami-6a31041e
+#location=eu-west-1
+
+# Your access key ID and secret access key (AWS console, top right menu "Security Credentials")
+#accessKeyid=Your_access_key_here!
+#secretAccessKey=Your_secret_key_here!
+
+# Tag prefix for instance names
+#tagPrefix=default
+
+# Use this bootstrap to use a Sun VM instead of the OpenJDK one provided by Amazon
+#nodeBootstrap=cd ~; wget -Ojava.bin http://javadl.sun.com/webapps/download/AutoDL?BundleId=43871 ;chmod +x java.bin;./java.bin /y; export PATH=`pwd`/jre1.6.0_23/bin:$PATH
+
+# Open up any extra ports (comma separated list)
+#extraPorts=9090
+
+# Should we run the process as root? This only works if your account is in the sudoers file.
+#runAsRoot=true
+
+# A comma separated list of extra artifacts that will be downloaded from the OBR (just list their filenames here)
+#additionalObrDownloads=
+
+# A comma separated list of extra artifacts that will be downloaded from the specified URLs (list full URLs here)
+#externalDownloadUrls=
Added: ace/sandbox/marrs/run-server/conf/org.apache.ace.obr.servlet.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-server/conf/org.apache.ace.obr.servlet.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-server/conf/org.apache.ace.obr.servlet.cfg (added)
+++ ace/sandbox/marrs/run-server/conf/org.apache.ace.obr.servlet.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1,2 @@
+org.apache.ace.server.servlet.endpoint=/obr
+authentication.enabled = false
Added: ace/sandbox/marrs/run-server/conf/org.apache.ace.obr.storage.file.cfg
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/run-server/conf/org.apache.ace.obr.storage.file.cfg?rev=1357570&view=auto
==============================================================================
--- ace/sandbox/marrs/run-server/conf/org.apache.ace.obr.storage.file.cfg (added)
+++ ace/sandbox/marrs/run-server/conf/org.apache.ace.obr.storage.file.cfg Thu Jul 5 12:09:30 2012
@@ -0,0 +1 @@
+fileLocation=store
\ No newline at end of file