This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.

The Check-in Client Commands

The Check-in Client should be used with either check-in, checkout or update commands. Here is the description about each of these commands:

The Command

A description about the command

co or checkout

Use this command to check out a registry path to the local file system or to a single dump file.
If you check out a local registry (which you have to set GREG_HOME path), just provide the path. For example:

  • "/"
  • "/path1" - If you check out a remote registry, provide the registry URL followed by the path.
  • "https://localhost:9443/registry"
  • "https://localhost:9443/registry/path1"

    Note

    When you check out to the file system, the file/directory names will have the URL encoded value of the corresponding resource name. For example, space will be converted into the "+" character and ":" will be converted into "%3A" (without quotes) character sequence. This was done to eliminate the possibility that some resource names are not supported to be set as names of files/directories of some file systems (under some operating systems).

ci or check-in

Use this command to check-in (commit) to the registry from a dump file or from the file system (an existing checkout or a new directory structure).

  • If you are committing a dump file, provide a path or path prefixed by registry URL just after the check-in command.
  • If you are committing a file system you can provide a URL of a registry followed by the command to commit it back to a particular location, or you do not need to provide any URL if you want to check-in it to the same location where you got the checkout.

    Note

    If you check-in a file which has spaces in its name, the tool will correctly check-in to a resource with the same name (containing spaces), but it will create a replicate file back in the file system with the name you get after replacing spaces with "+" character and you are asked to delete the original one.

up or update

Use this command to update an already committed local file system.

Note

This command is not available if you have checked out to a dump file, as it can be updated using the checkout command itself.

See also The Check-in Client Options.