Class ECpdsRESTV1

java.lang.Object
ecmwf.ecpds.master.plugin.service.ECpdsRESTV1

public final class ECpdsRESTV1 extends Object
The Class ECpdsRESTV1.
  • Constructor Details

    • ECpdsRESTV1

      public ECpdsRESTV1()
  • Method Details

    • getVersion

      public javax.ws.rs.core.Response getVersion(@Context javax.servlet.http.HttpServletRequest request)
      Gets the version.
      Parameters:
      request - the request
      Returns:
      the version
    • incomingUserAdd

      public javax.ws.rs.core.Response incomingUserAdd(@HeaderParam("authorization") String authString, @Context javax.servlet.http.HttpServletRequest request, String id, String pass, String email, String iso)
      Incoming user add.
      Parameters:
      authString - the auth string
      request - the request
      id - the id
      pass - the pass
      email - the email
      iso - the iso
      Returns:
      the response
    • incomingUserAdd2

      public javax.ws.rs.core.Response incomingUserAdd2(@HeaderParam("authorization") String authString, @Context javax.servlet.http.HttpServletRequest request, String id, String email, String iso)
      Incoming user add2.
      Parameters:
      authString - the auth string
      request - the request
      id - the id
      email - the email
      iso - the iso
      Returns:
      the response
    • incomingUserList

      public javax.ws.rs.core.Response incomingUserList(@HeaderParam("authorization") String authString, @Context javax.servlet.http.HttpServletRequest request, String destination)
      Incoming user list.
      Parameters:
      authString - the auth string
      request - the request
      destination - the destination
      Returns:
      the response
    • userDel

      public javax.ws.rs.core.Response userDel(@HeaderParam("authorization") String authString, @Context javax.servlet.http.HttpServletRequest request, String id)
      User del.
      Parameters:
      authString - the auth string
      request - the request
      id - the id
      Returns:
      the response
    • incomingCategoryAdd

      public javax.ws.rs.core.Response incomingCategoryAdd(@HeaderParam("authorization") String authString, @Context javax.servlet.http.HttpServletRequest request, String id, List<String> categories)
      Incoming category add.
      Parameters:
      authString - the auth string
      request - the request
      id - the id
      categories - the categories
      Returns:
      the response
    • incomingAssociationAdd

      public javax.ws.rs.core.Response incomingAssociationAdd(@HeaderParam("authorization") String authString, @Context javax.servlet.http.HttpServletRequest request, String id, String destination)
      Incoming association add.
      Parameters:
      authString - the auth string
      request - the request
      id - the id
      destination - the destination
      Returns:
      the response
    • incomingAssociationDel

      public javax.ws.rs.core.Response incomingAssociationDel(@HeaderParam("authorization") String authString, @Context javax.servlet.http.HttpServletRequest request, String id, String destination)
      Incoming association del.
      Parameters:
      authString - the auth string
      request - the request
      id - the id
      destination - the destination
      Returns:
      the response
    • incomingAssociationList

      public javax.ws.rs.core.Response incomingAssociationList(@HeaderParam("authorization") String authString, @Context javax.servlet.http.HttpServletRequest request, String id)
      Incoming association list.
      Parameters:
      authString - the auth string
      request - the request
      id - the id
      Returns:
      the response
    • destinationList

      public javax.ws.rs.core.Response destinationList(@HeaderParam("authorization") String authString, @Context javax.servlet.http.HttpServletRequest request, String iso, String id, Integer type)
      Destination list.
      Parameters:
      authString - the auth string
      request - the request
      iso - the iso
      id - the id
      type - the type
      Returns:
      the response
    • destination

      public javax.ws.rs.core.Response destination(@HeaderParam("authorization") String authString, @Context javax.servlet.http.HttpServletRequest request, String name)
      Destination.
      Parameters:
      authString - the auth string
      request - the request
      name - the name
      Returns:
      the response
    • getDestinationBackup

      public javax.ws.rs.core.Response getDestinationBackup(@HeaderParam("authorization") String authString, @Context javax.servlet.http.HttpServletRequest request, String iso, String id, Integer type)
      Destination list.
      Parameters:
      authString - the auth string
      request - the request
      iso - the iso
      id - the id
      type - the type
      Returns:
      the response
    • getDestinationBackup

      public javax.ws.rs.core.Response getDestinationBackup(@HeaderParam("authorization") String authString, @Context javax.servlet.http.HttpServletRequest request, String name)
      Destination.
      Parameters:
      authString - the auth string
      request - the request
      name - the name
      Returns:
      the response
    • putDestinationBackup

      public javax.ws.rs.core.Response putDestinationBackup(@HeaderParam("authorization") String authString, @Context javax.servlet.http.HttpServletRequest request, Boolean copySharedHost, ecmwf.ecpds.master.plugin.service.ECpdsRESTV1.PutDestinationBackupRequest backupRequest)
      Put destination backup.
      Parameters:
      authString - the auth string
      request - the request
      copySharedHost - the copy shared host
      backupRequest - the backup request
      Returns:
      the response
    • destinationTypeList

      public javax.ws.rs.core.Response destinationTypeList(@HeaderParam("authorization") String authString, @Context javax.servlet.http.HttpServletRequest request)
      Destination type list.
      Parameters:
      authString - the auth string
      request - the request
      Returns:
      the response
    • destinationCountryList

      public javax.ws.rs.core.Response destinationCountryList(@HeaderParam("authorization") String authString, @Context javax.servlet.http.HttpServletRequest request)
      Destination country list.
      Parameters:
      authString - the auth string
      request - the request
      Returns:
      the response
    • stepStatusList

      public javax.ws.rs.core.Response stepStatusList(@HeaderParam("authorization") String authString, @Context javax.servlet.http.HttpServletRequest request, String product, String time)
      Monitoring status list.
      Parameters:
      authString - the auth string
      request - the request
      product - the product
      time - the time
      Returns:
      the response
    • stepStatusHistoryList

      public javax.ws.rs.core.Response stepStatusHistoryList(@HeaderParam("authorization") String authString, @Context javax.servlet.http.HttpServletRequest request, String product, String time, String step, String type)
      Monitoring status list.
      Parameters:
      authString - the auth string
      request - the request
      product - the product
      time - the time
      step - the step
      type - the type
      Returns:
      the response
    • datafilePut

      public javax.ws.rs.core.Response datafilePut(@HeaderParam("authorization") String authString, @Context javax.servlet.http.HttpServletRequest request, String destination, String metadata, String source, String uniquename, String target, Integer priority, String lifetime, String at, Boolean standby, Boolean force)
      Datafile put.
      Parameters:
      authString - the auth string
      request - the request
      destination - the destination
      metadata - the metadata
      source - the source
      uniquename - the uniquename
      target - the target
      priority - the priority
      lifetime - the lifetime
      at - the at
      standby - the standby
      force - the force
      Returns:
      the response
    • datafileSize

      public javax.ws.rs.core.Response datafileSize(@HeaderParam("authorization") String authString, @Context javax.servlet.http.HttpServletRequest request, Long id)
      Datafile size.
      Parameters:
      authString - the auth string
      request - the request
      id - the id
      Returns:
      the response
    • datafileDel

      public javax.ws.rs.core.Response datafileDel(@HeaderParam("authorization") String authString, @Context javax.servlet.http.HttpServletRequest request, Long id)
      Datafile del.
      Parameters:
      authString - the auth string
      request - the request
      id - the id
      Returns:
      the response