Skip to content

Commit

Permalink
Add Sakai Connector Portlet to build
Browse files Browse the repository at this point in the history
  • Loading branch information
steveswinsburg authored and James Wennmacher committed Jan 21, 2014
1 parent aa96ef9 commit 7522287
Show file tree
Hide file tree
Showing 8 changed files with 282 additions and 0 deletions.
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@
<jasig-widget-portlets.version>2.0.0</jasig-widget-portlets.version>
<NewsReaderPortlet.version>3.0.7</NewsReaderPortlet.version>
<NotificationPortlet.version>2.0.4</NotificationPortlet.version>
<sakai-connector-portlet.version>1.5.2</sakai-connector-portlet.version>
<SimpleContentPortlet.version>1.0.8-M1</SimpleContentPortlet.version>
<WeatherPortlet.version>1.1.0</WeatherPortlet.version>
<WebProxyPortlet.version>2.0.0-M2</WebProxyPortlet.version>
Expand Down
7 changes: 7 additions & 0 deletions uportal-ear/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,13 @@
<version>${project.version}</version>
<type>war</type>
</dependency>

<dependency>
<groupId>org.jasig.portal.portlets-overlay</groupId>
<artifactId>sakai-connector</artifactId>
<version>${project.version}</version>
<type>war</type>
</dependency>

<dependency>
<groupId>org.jasig.portal.portlets-overlay</groupId>
Expand Down
1 change: 1 addition & 0 deletions uportal-portlets-overlay/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
<module>pluto-testsuite</module>
<module>NewsReaderPortlet</module>
<module>NotificationPortlet</module>
<module>sakai-connector-portlet</module>
<module>SimpleContentPortlet</module>
<module>WeatherPortlet</module>
<module>WebProxyPortlet</module>
Expand Down
5 changes: 5 additions & 0 deletions uportal-portlets-overlay/sakai-connector-portlet/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/.settings
/.project
/.classpath
/bin
/target
52 changes: 52 additions & 0 deletions uportal-portlets-overlay/sakai-connector-portlet/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

<parent>
<groupId>org.jasig.portal.portlets-overlay</groupId>
<artifactId>uportal-portlets-overlay</artifactId>
<version>4.1.0-SNAPSHOT</version>
</parent>

<modelVersion>4.0.0</modelVersion>
<artifactId>sakai-connector</artifactId>
<packaging>war</packaging>

<name>Sakai Connector Portlet</name>
<description>Overlay on the Sakai Connector Portlet</description>

<dependencies>
<!-- ===== Compile Time Dependencies ============================== -->
<dependency>
<groupId>org.jasig.portlet</groupId>
<artifactId>sakai-connector</artifactId>
<version>${sakai-connector-portlet.version}</version>
<type>war</type>
</dependency>
</dependencies>


<build>
<plugins>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<filters>
<filter>${basedir}/../../${filters.file}</filter>
</filters>
<webResources>
<resource>
<directory>${basedir}/src/main/webapp/WEB-INF</directory>
<targetPath>WEB-INF</targetPath>
<filtering>true</filtering>
</resource>
</webResources>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.portals.pluto</groupId>
<artifactId>maven-pluto-plugin</artifactId>
</plugin>
</plugins>
</build>

</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
###########################################################################
# Log file variables, such as "{environment.build.log.rootLevel}" are defined
# by properties in the uPortal/filters directory. See the Building
# and Deploying uPortal section of the uPortal manual

###########################################################################
# Adjust logging level to appropriate level of logging. Once
# everything is running, using WARN or ERROR will turn off
# tons of debug messages.
#
log4j.rootCategory=${environment.build.log.rootLevel}, R

# Set log levels for specific packages
#log4j.logger.au.edu.anu.portal.portlets.cache = DEBUG
#log4j.category.net.sf.ehcache = DEBUG


###########################################################################
# Setup a rolling file appender
log4j.appender.R=org.apache.log4j.DailyRollingFileAppender

###########################################################################
# Uncomment the next line to have messages go to stdout (System.out)
#log4j.appender.R=org.apache.log4j.ConsoleAppender

# This is the path to the log file. It's usually set to something like
# c:\\portal\\logs\\portal.log or /opt/portal/logs/portal.log
# Relative file names will be relative to the directory specified by the
# user.dir System property.
# WARNING: ALL SLASHES MUST BE FORWARD SLASHES OR ESCAPED BACK SLASHES!!!
#
log4j.appender.R.File=${environment.build.log.logfileDirectory}/sakai-connector-portlet.log

# This tells log4j what type of encoding to use
log4j.appender.R.Encoding=UTF-8

# This tells log4j to use PatternLayout for log file formatting
log4j.appender.R.layout=org.apache.log4j.PatternLayout

# Pattern used during debugging
#log4j.appender.R.layout.ConversionPattern=%5p [%t] %d{MMM/dd HH:mm:ss,SSS} %c{2}.[%x] (%F:%L) - %m%n

# Pattern that should be used when speed is important (it doesn't provide location info)
log4j.appender.R.layout.ConversionPattern=${environment.build.log.layoutConversionPattern}

# Log file rolling frequency
log4j.appender.R.DatePattern='.'${environment.build.log.rollingLogFileDatePattern}

# Pattern for performing hourly log rolling, defaults to '.'yyyy-MM-dd
#log4j.appender.R.DatePattern='.'yyyy-MM-dd-HH


44 changes: 44 additions & 0 deletions uportal-portlets-overlay/sakai-connector-portlet/src/site/site.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to Jasig under one or more contributor license
agreements. See the NOTICE file distributed with this work
for additional information regarding copyright ownership.
Jasig 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.
-->

<project name="${project.name} ${project.version}">
<bannerLeft>
<name>uPortal</name>
<src>http://www.jasig.org/sites/jasig.webchuckhosting.com/files/uportalLogo.jpg</src>
<href>http://www.jasig.org/uportal</href>
</bannerLeft>
<bannerRight>
<name>JA-SIG</name>
<src>http://www.jasig.org/sites/all/themes/jasig2/logo.png</src>
<href>http://www.jasig.org</href>
</bannerRight>
<publishDate position="left" format="MM-dd-yy hh:mm zz"/>

<body>
<breadcrumbs>
<item name="Home" href="${project.url}"/>
</breadcrumbs>

<menu ref="modules" />
<menu ref="reports" />
</body>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!--
Licensed to Jasig under one or more contributor license
agreements. See the NOTICE file distributed with this work
for additional information regarding copyright ownership.
Jasig 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.
-->
<portlet-definition version="4.0" xsi:schemaLocation="https://source.jasig.org/schemas/uportal/io/portlet-definition https://source.jasig.org/schemas/uportal/io/portlet-definition/portlet-definition-4.0.xsd" xmlns:ns2="https://source.jasig.org/schemas/uportal" xmlns="https://source.jasig.org/schemas/uportal/io/portlet-definition" xmlns:ns4="https://source.jasig.org/schemas/uportal/io/portlet-type" xmlns:ns3="https://source.jasig.org/schemas/uportal/io/user" xmlns:ns5="https://source.jasig.org/schemas/uportal/io/event-aggregation" xmlns:ns6="https://source.jasig.org/schemas/uportal/io/permission-owner" xmlns:ns7="https://source.jasig.org/schemas/uportal/io/subscribed-fragment" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns8="https://source.jasig.org/schemas/uportal/io/stylesheet-descriptor">
<title>Sakai Connector (demo)</title>
<name>Sakai Connector (demo)</name>
<fname>sakai-connector</fname>
<desc>Embed tools from any of your Sakai sites directly into the portal.</desc>
<type>Portlet</type>
<timeout>5000</timeout>
<portlet-descriptor>
<ns2:webAppName>/sakai-connector</ns2:webAppName>
<ns2:portletName>sakai-connector</ns2:portletName>
</portlet-descriptor>
<category>All categories</category>
<group>Everyone</group>
<parameter>
<name>alternate</name>
<value>false</value>
</parameter>
<parameter>
<name>blockImpersonation</name>
<value>false</value>
</parameter>
<parameter>
<name>disableDynamicTitle</name>
<value>false</value>
</parameter>
<parameter>
<name>editable</name>
<value>true</value>
</parameter>
<parameter>
<name>hasAbout</name>
<value>false</value>
</parameter>
<parameter>
<name>hasHelp</name>
<value>false</value>
</parameter>
<parameter>
<name>hideFromMobile</name>
<value>false</value>
</parameter>
<parameter>
<name>highlight</name>
<value>false</value>
</parameter>
<parameter>
<name>printable</name>
<value>false</value>
</parameter>
<parameter>
<name>showChrome</name>
<value>true</value>
</parameter>
<portlet-preference>
<name>adminPassword</name>
<readOnly>false</readOnly>
<value>admin</value>
</portlet-preference>
<portlet-preference>
<name>adminUsername</name>
<readOnly>false</readOnly>
<value>admin</value>
</portlet-preference>
<portlet-preference>
<name>allowedTools</name>
<readOnly>false</readOnly>
<value>sakai.announcements:sakai.singleuser:sakai.assignment.grades:blogger:sakai.dropbox:sakai.mailbox:sakai.forums:sakai.gradebook.tool:sakai.podcasts:sakai.poll:sakai.resources:sakai.schedule:sakai.samigo:sakai.rwiki</value>
</portlet-preference>
<portlet-preference>
<name>endpoint</name>
<readOnly>false</readOnly>
<value>http://nightly2.sakaiproject.org:8085/imsblti/provider/</value>
</portlet-preference>
<portlet-preference>
<name>key</name>
<readOnly>false</readOnly>
<value>uportal-integration</value>
</portlet-preference>
<portlet-preference>
<name>loginUrl</name>
<readOnly>false</readOnly>
<value>http://nightly2.sakaiproject.org:8085/sakai-axis/SakaiLogin.jws?wsdl</value>
</portlet-preference>
<portlet-preference>
<name>portletTitle</name>
<readOnly>false</readOnly>
<value>Sakai Connector (demo)</value>
</portlet-preference>
<portlet-preference>
<name>scriptUrl</name>
<readOnly>false</readOnly>
<value>http://nightly2.sakaiproject.org:8085/sakai-axis/SakaiScript.jws?wsdl</value>
</portlet-preference>
<portlet-preference>
<name>secret</name>
<readOnly>false</readOnly>
<value>secret</value>
</portlet-preference>
</portlet-definition>

0 comments on commit 7522287

Please sign in to comment.