Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Osgi updates for Grouper 5 #211

Draft
wants to merge 7 commits into
base: GROUPER_5_BRANCH
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@
<groupId>edu.internet2.middleware.grouper</groupId>
<artifactId>grouper-parent</artifactId>
<version>5.0.0-SNAPSHOT</version>
<relativePath>../../../grouper-parent</relativePath>
<relativePath>../../grouper-parent</relativePath>
</parent>
<name>Grouper UI webapp</name>
<artifactId>grouper-ui-webapp</artifactId>

<name>Grouper webapp</name>
<artifactId>grouper-webapp</artifactId>
<packaging>war</packaging>

<dependencies>
Expand All @@ -38,12 +38,17 @@
<artifactId>grouper-ui</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>grouper-ws</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>

<build>
<resources>
<resource>
<directory>../../../grouper/conf</directory>
<directory>../../grouper/conf</directory>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Take this out

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I remember why this is here, but need to verify: ddls for some reason were missing from the classpath

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DDLs should be packaged in the grouper jar now

</resource>
</resources>
<plugins>
Expand All @@ -55,19 +60,30 @@
<failOnMissingWebXml>false</failOnMissingWebXml>
<webResources>
<resource>
<directory>../../../grouper-ui/webapp</directory>
<directory>../../grouper-ui/webapp</directory>
</resource>
</webResources>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>9.4.27.v20200227</version>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven3-plugin</artifactId>
<version>1.10.9</version>
<configuration>
<webApp>
<contextPath>/grouper</contextPath>
</webApp>
<container>
<timeout>3600000</timeout>
</container>
<configuration>
<properties>
<cargo.servlet.port>8080</cargo.servlet.port>
<cargo.start.jvmargs>
-Xdebug
-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:5005
-Xnoagent
-Djava.compiler=NONE
</cargo.start.jvmargs>
</properties>
</configuration>
</configuration>
</plugin>
</plugins>
Expand Down
14 changes: 14 additions & 0 deletions grouper-misc/webapp/src/test/resources/grouper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
grouper.osgi.enable = true

# directory of plugins, default to /opt/grouper/grouperWebapp/WEB-INF/grouperPlugins
# {valueType: "string", required: true, order: 1000}
grouper.osgi.jar.dir = /Users/jj/Documents/workspace/community/grouper-ext-auth/target

# directory of felix cache of plugins, default to /opt/grouper/grouperWebapp/WEB-INF/grouperFelixCache
# {valueType: "string", required: true, order: 2000}
grouper.felix.cache.rootdir = /tmp/grouperFelixCache

grouper.osgi.plugin.extauth.jar=grouper-authentication-plugin-0.0.1-SNAPSHOT.jar

# grouper.osgi.framework.system.packages.extra=javax.*,org.osgi.*,org.osgi,org.apache.commons.logging,edu.internet2.middleware.grouperClient.config,edu.internet2.middleware.grouper.app.externalSystem,org.w3c.dom.*
# grouper.osgi.framework.boot.delegation=javax.*,org.osgi.*,org.osgi,org.apache.commons.logging,edu.internet2.middleware.grouperClient.config,edu.internet2.middleware.grouper.app.externalSystem,org.w3c.dom.*
2 changes: 1 addition & 1 deletion grouper-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<module>../grouper-ui</module>
<module>../grouper-ws</module>
<module>../grouper-misc/grouper-installer</module>
<module>../grouper-misc/webapp/grouper-ui-webapp</module>
<module>../grouper-misc/webapp</module>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Recommend removing this. This is the list of modules that are built and published at every release, and for which documentation is built. You can always build this manually, even if it's not in this list.

</modules>

<properties>
Expand Down