[picketlink-commits] Picketlink SVN: r1499 - in console/trunk: app and 12 other directories.

picketlink-commits at lists.jboss.org picketlink-commits at lists.jboss.org
Wed Mar 14 01:35:28 EDT 2012


Author: pcraveiro
Date: 2012-03-14 01:35:28 -0400 (Wed, 14 Mar 2012)
New Revision: 1499

Added:
   console/trunk/app/
   console/trunk/app/src/
   console/trunk/app/src/main/
   console/trunk/app/src/main/java/
   console/trunk/app/src/main/java/org/
   console/trunk/app/src/main/java/org/picketlink/
   console/trunk/app/src/main/java/org/picketlink/as/
   console/trunk/app/src/main/java/org/picketlink/as/console/
   console/trunk/app/src/main/java/org/picketlink/as/console/application/
   console/trunk/app/src/main/java/org/picketlink/as/console/application/App.gwt.xml
   console/trunk/app/src/main/java/org/picketlink/as/console/application/Development.gwt.xml
   console/trunk/app/src/main/java/org/picketlink/as/console/application/client/
   console/trunk/app/src/main/java/org/picketlink/as/console/application/client/AggregatedConsoleGinjector.java
   console/trunk/app/src/main/java/org/picketlink/as/console/application/client/AggregatedConsoleSingleton.java
   console/trunk/app/src/main/resources/
   console/trunk/app/src/main/webapp/
   console/trunk/app/src/main/webapp/WEB-INF/
   console/trunk/app/src/main/webapp/WEB-INF/web.xml
   console/trunk/app/src/test/
   console/trunk/app/src/test/java/
   console/trunk/app/src/test/resources/
Log:
First commit.

Added: console/trunk/app/src/main/java/org/picketlink/as/console/application/App.gwt.xml
===================================================================
--- console/trunk/app/src/main/java/org/picketlink/as/console/application/App.gwt.xml	                        (rev 0)
+++ console/trunk/app/src/main/java/org/picketlink/as/console/application/App.gwt.xml	2012-03-14 05:35:28 UTC (rev 1499)
@@ -0,0 +1,41 @@
+<!--
+  ~ JBoss, Home of Professional Open Source
+  ~ Copyright 2011-2012 Red Hat Inc. and/or its affiliates and other contributors
+  ~ as indicated by the @author tags. All rights reserved.
+  ~ See the copyright.txt in the distribution for a
+  ~ full listing of individual contributors.
+  ~
+  ~ This copyrighted material is made available to anyone wishing to use,
+  ~ modify, copy, or redistribute it subject to the terms and conditions
+  ~ of the GNU Lesser General Public License, v. 2.1.
+  ~ This program is distributed in the hope that it will be useful, but WITHOUT A
+  ~ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+  ~ PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
+  ~ You should have received a copy of the GNU Lesser General Public License,
+  ~ v.2.1 along with this distribution; if not, write to the Free Software
+  ~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+  ~ MA  02110-1301, USA.
+  -->
+
+<module rename-to="app">
+
+  <inherits name="org.jboss.as.console.App" />
+  <inherits name="org.picketlink.as.console.PicketLinkConsole" />
+
+  <set-configuration-property name="gin.ginjector"
+    value="org.picketlink.as.console.application.client.AggregatedConsoleGinjector" />
+
+  <replace-with class="org.picketlink.as.console.application.client.AggregatedConsoleSingleton">
+    <when-type-is class="org.jboss.as.console.client.core.gin.GinjectorSingleton" />
+  </replace-with>
+
+  <!-- XXX: remove once this is in the core console module. -->
+  <generate-with class="org.jboss.as.console.rebind.extensions.SubsystemExtensionProcessorGenerator">
+    <when-type-assignable class="org.jboss.as.console.client.shared.SubsystemExtensionProcessor" />
+  </generate-with>
+
+	<!-- Specify the paths for translatable code -->
+  <source path='client' />
+  <source path='shared' />
+
+</module>

Added: console/trunk/app/src/main/java/org/picketlink/as/console/application/Development.gwt.xml
===================================================================
--- console/trunk/app/src/main/java/org/picketlink/as/console/application/Development.gwt.xml	                        (rev 0)
+++ console/trunk/app/src/main/java/org/picketlink/as/console/application/Development.gwt.xml	2012-03-14 05:35:28 UTC (rev 1499)
@@ -0,0 +1,26 @@
+<!--
+  ~ JBoss, Home of Professional Open Source
+  ~ Copyright 2011-2012 Red Hat Inc. and/or its affiliates and other contributors
+  ~ as indicated by the @author tags. All rights reserved.
+  ~ See the copyright.txt in the distribution for a
+  ~ full listing of individual contributors.
+  ~
+  ~ This copyrighted material is made available to anyone wishing to use,
+  ~ modify, copy, or redistribute it subject to the terms and conditions
+  ~ of the GNU Lesser General Public License, v. 2.1.
+  ~ This program is distributed in the hope that it will be useful, but WITHOUT A
+  ~ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+  ~ PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
+  ~ You should have received a copy of the GNU Lesser General Public License,
+  ~ v.2.1 along with this distribution; if not, write to the Free Software
+  ~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+  ~ MA  02110-1301, USA.
+  -->
+
+<module rename-to="app">
+
+  <inherits name="org.picketlink.as.console.application.App" />
+  <set-property name="user.agent" value="gecko1_8" />
+  <set-property name="locale" value="default" />
+
+</module>

Added: console/trunk/app/src/main/java/org/picketlink/as/console/application/client/AggregatedConsoleGinjector.java
===================================================================
--- console/trunk/app/src/main/java/org/picketlink/as/console/application/client/AggregatedConsoleGinjector.java	                        (rev 0)
+++ console/trunk/app/src/main/java/org/picketlink/as/console/application/client/AggregatedConsoleGinjector.java	2012-03-14 05:35:28 UTC (rev 1499)
@@ -0,0 +1,34 @@
+/* 
+ * JBoss, Home of Professional Open Source 
+ * Copyright 2012 Red Hat Inc. and/or its affiliates and other contributors
+ * as indicated by the @author tags. All rights reserved. 
+ * See the copyright.txt in the distribution for a 
+ * full listing of individual contributors.
+ *
+ * This copyrighted material is made available to anyone wishing to use, 
+ * modify, copy, or redistribute it subject to the terms and conditions 
+ * of the GNU Lesser General Public License, v. 2.1. 
+ * This program is distributed in the hope that it will be useful, but WITHOUT A 
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
+ * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details. 
+ * You should have received a copy of the GNU Lesser General Public License, 
+ * v.2.1 along with this distribution; if not, write to the Free Software 
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * MA  02110-1301, USA.
+ */
+package org.picketlink.as.console.application.client;
+
+import org.jboss.as.console.client.core.gin.CoreUI;
+import org.picketlink.as.console.client.core.gin.PicketLinkGinjector;
+
+/**
+ * AggregatedConsoleGinjector
+ * 
+ * Ginjector interface which collects the core AS console and SwitchYard
+ * specific Ginjectors.
+ * 
+ * @author Rob Cernich
+ */
+public interface AggregatedConsoleGinjector extends CoreUI, PicketLinkGinjector {
+
+}

Added: console/trunk/app/src/main/java/org/picketlink/as/console/application/client/AggregatedConsoleSingleton.java
===================================================================
--- console/trunk/app/src/main/java/org/picketlink/as/console/application/client/AggregatedConsoleSingleton.java	                        (rev 0)
+++ console/trunk/app/src/main/java/org/picketlink/as/console/application/client/AggregatedConsoleSingleton.java	2012-03-14 05:35:28 UTC (rev 1499)
@@ -0,0 +1,42 @@
+/* 
+ * JBoss, Home of Professional Open Source 
+ * Copyright 2012 Red Hat Inc. and/or its affiliates and other contributors
+ * as indicated by the @author tags. All rights reserved. 
+ * See the copyright.txt in the distribution for a 
+ * full listing of individual contributors.
+ *
+ * This copyrighted material is made available to anyone wishing to use, 
+ * modify, copy, or redistribute it subject to the terms and conditions 
+ * of the GNU Lesser General Public License, v. 2.1. 
+ * This program is distributed in the hope that it will be useful, but WITHOUT A 
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
+ * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details. 
+ * You should have received a copy of the GNU Lesser General Public License, 
+ * v.2.1 along with this distribution; if not, write to the Free Software 
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * MA  02110-1301, USA.
+ */
+package org.picketlink.as.console.application.client;
+
+import org.jboss.as.console.client.core.gin.CoreUI;
+import org.jboss.as.console.client.core.gin.GinjectorSingleton;
+
+import com.google.gwt.core.client.GWT;
+
+/**
+ * AggregatedConsoleSingleton
+ * 
+ * GinjectorSingleton that serves up the "aggregated" Ginjector.
+ * 
+ * @author Rob Cernich
+ */
+public class AggregatedConsoleSingleton implements GinjectorSingleton {
+
+    private static final CoreUI INSTANCE = GWT.create(AggregatedConsoleGinjector.class);
+
+    @Override
+    public CoreUI getCoreUI() {
+        return INSTANCE;
+    }
+
+}

Added: console/trunk/app/src/main/webapp/WEB-INF/web.xml
===================================================================
--- console/trunk/app/src/main/webapp/WEB-INF/web.xml	                        (rev 0)
+++ console/trunk/app/src/main/webapp/WEB-INF/web.xml	2012-03-14 05:35:28 UTC (rev 1499)
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app xmlns="http://java.sun.com/xml/ns/javaee"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
+		  http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
+         version="2.5">
+
+    <servlet>
+        <servlet-name>gwtProxy</servlet-name>
+        <servlet-class>org.jboss.as.console.server.proxy.XmlHttpProxyServlet</servlet-class>
+        <init-param>
+            <param-name>config.name</param-name>
+            <param-value>gwt-proxy.properties</param-value>
+        </init-param>
+        <load-on-startup>1</load-on-startup>
+    </servlet>
+
+    <servlet>
+        <servlet-name>uploadProxy</servlet-name>
+        <servlet-class>org.jboss.as.console.server.proxy.XmlHttpProxyServlet</servlet-class>
+        <init-param>
+            <param-name>config.name</param-name>
+            <param-value>upload-proxy.properties</param-value>
+        </init-param>
+        <load-on-startup>1</load-on-startup>
+    </servlet>
+
+    <servlet-mapping>
+        <servlet-name>gwtProxy</servlet-name>
+        <url-pattern>/app/proxy/*</url-pattern>
+    </servlet-mapping>
+
+    <servlet-mapping>
+        <servlet-name>uploadProxy</servlet-name>
+        <url-pattern>/app/upload/*</url-pattern>
+    </servlet-mapping>
+
+</web-app>



More information about the picketlink-commits mailing list