-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- A lot of plugin related improvments
- Fixed a bug in study data tables
- Loading branch information
1 parent
53519bc
commit 8f21353
Showing
108 changed files
with
8,736 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,19 @@ | |||
.project | |||
.classpath | |||
*.iws | |||
ws | |||
*Db.properties | |||
*Db.script | |||
.settings | |||
eclipse | |||
stacktrace.log | |||
target | |||
/plugins | |||
/web-app/plugins | |||
/web-app/WEB-INF/classes | |||
.idea | |||
*.iml | |||
/target-eclipse/* | |||
grails-dbxp-module-base-*.zip | |||
grails-dbxp-module-base-*.zip.sha1 | |||
plugin.xml |
39 changes: 39 additions & 0 deletions
39
local-plugins/dbxpModuleBase/DbxpModuleBaseGrailsPlugin.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,39 @@ | |||
class DbxpModuleBaseGrailsPlugin { | |||
// the plugin version | |||
def version = "0.6.2.0" | |||
// the version or versions of Grails the plugin is designed for | |||
def grailsVersion = "1.3.7 > *" | |||
|
|||
// the other plugins this plugin depends on are declared in BuildConfig.groovy | |||
def dependsOn = [jquery: "1.7.1 > *", jqueryDatatables: "1.7.5 > *", jqueryUi: "1.7.1 > *" ] | |||
// resources that are excluded from plugin packaging | |||
def pluginExcludes = [ | |||
"grails-app/views/error.gsp", | |||
"grails-app/views/index.gsp", | |||
"grails-app/controllers/test" | |||
] | |||
|
|||
def author = "Robert Horlings" | |||
def authorEmail = "robert@isdat.nl" | |||
def title = "Base for Phenotype Database modules that communicate with GSCF" | |||
def description = '''\\ | |||
dbxpModuleBase is a Grails plugin that provides basic functionality to create a dbXP module that contains molecular | |||
data for studies defined in GSCF, the Generic Study Capture Framework. | |||
dbxpModuleBase is part of the Phenotype Database software ecosystem. | |||
As of version 0.6.2.0 this module is ready for grails 2.4.0 and higher | |||
''' | |||
def documentation = "https://github.com/thehyve/dbxpModuleBase/blob/master/README.md" | |||
def license = "APACHE" | |||
def issueManagement = [system: "github", url: "https://github.com/thehyve/dbxpModuleBase/issues"] | |||
def scm = [url: "https://github.com/thehyve/dbxpModuleBase"] | |||
def organization = [name: "Phenotype Foundatiom", url: "http://phenotypefoundation.org/" ] | |||
def developers = [ | |||
[ name: "Kees van Bochove", email: "kees@thehyve.nl" ], | |||
[ name: "Robert Horlings", email: "robert@isdat.nl" ], | |||
[ name: "Siemen Sikkema", email: "s.h.sikkema@gmail.com" ], | |||
[ name: "Jeroen Wesbeek", email: "work@osx.eu" ], | |||
[ name: "Taco Steemers", email: "taco@thehyve.nl" ], | |||
[ name: "Tjeerd van Dijk", email: "tjeerd@thehyve.nl" ] | |||
] | |||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,28 @@ | |||
dbxpModuleBase | |||
==== | |||
|
|||
A Grails plugin that can serve as the basis for a dbXP module. | |||
dbxpModuleBase provides basic module services such as synchronisation of a proxy Study-Sample-Assay cache with GSCF. | |||
|
|||
## How to publish changes | |||
To create a new version of dbxpModuleBase and publish it on nexus.nmcdsp.org: | |||
|
|||
### Make sure that ~/.grails/settings.groovy contains username and password for Nexus: | |||
``` | |||
~/.grails $ cat settings.groovy | |||
grails.project.dependency.distribution = { | |||
remoteRepository(id:"pluginReleases", url:"http://nexus.nmcdsp.org/content/repositories/releases/") { | |||
authentication username: "admin", password: "** ask Jeroen or Kees **" | |||
} | |||
} | |||
``` | |||
|
|||
### Make sure maven-publisher plugin is installed | |||
``` | |||
grails install-plugin maven-publisher | |||
``` | |||
|
|||
### Deploy the upgrade | |||
``` | |||
grails maven-deploy --repository=pluginReleases | |||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,4 @@ | |||
#Grails Metadata file | |||
#Thu Jul 19 13:22:53 CEST 2012 | |||
app.grails.version=2.3.9 | |||
app.name=dbxpModuleBase |
57 changes: 57 additions & 0 deletions
57
local-plugins/dbxpModuleBase/grails-app/conf/BuildConfig.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,57 @@ | |||
grails.project.class.dir = "target/classes" | |||
grails.project.test.class.dir = "target/test-classes" | |||
grails.project.test.reports.dir = "target/test-reports" | |||
//grails.project.war.file = "target/${appName}-${appVersion}.war" | |||
grails.project.dependency.resolution = { | |||
// inherit Grails' default dependencies | |||
inherits("global") { | |||
// uncomment to disable ehcache | |||
// excludes 'ehcache' | |||
} | |||
log "warn" // log level of Ivy resolver, either 'error', 'warn', 'info', 'debug' or 'verbose' | |||
repositories { | |||
grailsPlugins() | |||
grailsHome() | |||
grailsCentral() | |||
|
|||
mavenRepo "http://nexus.nmcdsp.org/content/repositories/releases" | |||
// mavenRepo "http://nexus.nmcdsp.org/content/repositories/snapshots" | |||
|
|||
// uncomment the below to enable remote dependency resolution | |||
// from public Maven repositories | |||
//mavenLocal() | |||
//mavenCentral() | |||
//mavenRepo "http://snapshots.repository.codehaus.org" | |||
//mavenRepo "http://repository.codehaus.org" | |||
//mavenRepo "http://download.java.net/maven/2/" | |||
//mavenRepo "http://repository.jboss.com/maven2/" | |||
} | |||
plugins { | |||
build( ":release:latest.integration", | |||
":rest-client-builder:latest.integration" | |||
) { | |||
// plugin only plugin, should not be transitive to the application | |||
export = false | |||
} | |||
|
|||
compile( | |||
':resources:latest.integration' | |||
) { | |||
// no need to export the plugins to application (dependencies are declared in plugin descriptor file) | |||
export = false | |||
} | |||
compile( | |||
':jquery:latest.integration', | |||
':jquery-datatables:1.7.5', | |||
':jquery-ui:latest.integration', | |||
':famfamfam:1.0.1', | |||
) { | |||
export = true | |||
} | |||
} | |||
dependencies { | |||
// specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes eg. | |||
|
|||
// runtime 'mysql:mysql-connector-java:5.1.13' | |||
} | |||
} |
Oops, something went wrong.