create_service: Prepares and publishes a service on the back-end

View source: R/services.R

create_serviceR Documentation

Prepares and publishes a service on the back-end

Description

The function will create a web service of a process graph / workflow on the connected openEO service.

Usage

create_service(
  type,
  graph,
  title = NULL,
  description = NULL,
  enabled = NULL,
  configuration = NULL,
  plan = NULL,
  budget = NULL,
  con = NULL,
  ...
)

Arguments

type

character - the OGC web service type name to be created or an object of type ServiceType obtainable through list_service_types()

graph

A Graph(), a function returning a ProcessNode() as an endpoint or the ProcessNode() will return the results

title

character (optional) - a title for the service intended for visualization purposes in clients

description

character (optional) - a short description of the service

enabled

logical - whether or not the service is active or not

configuration

a named list specifying the configuration parameter

plan

character - the billing plan

budget

numeric - the amount of credits that can be spent on this service

con

connected and authenticated openEO client object (optional) otherwise active_connection() is used.

...

additional parameters passed to jsonlite::toJSON() (like 'digits')

Value

Service object


openeo documentation built on Nov. 17, 2022, 5:07 p.m.