Skip to content

Commit 27a5abb

Browse files
committed
#293 configure geonode (geonode4R) software
1 parent 1d38568 commit 27a5abb

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

DESCRIPTION

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ Suggests:
7070
rmarkdown,
7171
dataverse
7272
Remotes:
73-
eblondel/geometa
73+
eblondel/geometa,
74+
eblondel/geonode4R
7475
License: MIT + file LICENSE
7576
URL: https://github.com/r-geoflow/geoflow
7677
BugReports: https://github.com/r-geoflow/geoflow

R/geoflow_software.R

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -671,6 +671,21 @@ register_software <- function(){
671671
pwd = list(label = "Password", def = "Password for user authentication", class = "character"),
672672
logger = list(label = "Logger", def = "Level for 'ows4R' logger messages (NULL,INFO or DEBUG)", class = "character", choices = c("INFO", "DEBUG"))
673673
)
674+
),
675+
#-------------------------------------------------------------------------------------------------------
676+
#GEONODE CLIENT
677+
#-------------------------------------------------------------------------------------------------------
678+
geoflow_software$new(
679+
software_type = "geonode",
680+
definition = "GeoNode client powered by 'geonode4R' package",
681+
packages = list("geonode4R"),
682+
handler = try(geonode4R::GeoNodeManager$new, silent = TRUE),
683+
arguments = list(
684+
url = list(label = "URL", def = "GeoNode endpoint URL", class = "character"),
685+
user = list(label = "Username", def = "Username for user authentication", class = "character"),
686+
pwd = list(label = "Password", def = "Password for user authentication", class = "character"),
687+
logger = list(label = "Logger", def = "Level for 'geonode4R' logger messages (NULL,INFO or DEBUG)", class = "character", choices = c("INFO", "DEBUG"))
688+
)
674689
)
675690
)
676691
.geoflow$software <- software

0 commit comments

Comments
 (0)