thanujalk/wso2-registry-client


Language: Java


WSO2 G-REG Sample Client for Copy Resources

This sample client provide resource copying capability with WSO2 G-REG 5.1.0.

Features:

  • Copy single resource
  • Copy entire resource tree
  • Ignore specific paths while copying a resource tree

Run Binary

  • Download this zip file and extract it.
  • Go to wso2-registry-client-binary folder/resources and open client.properties file. Update file with approopriate values. (If you don't have any paths to escape, comment "ESCAPE.PATHS" line)
#G-REG Server Host Name
GREG.URL = https://localhost:9443/services/
#User Name
GREG.USERNAME = admin
#Password
GREG.PASSWORD = admin
#From path
FROM.PATH = /_system/config
#To path
TO.PATH = /_system/config/prod
#Escaping paths (comma separated)
ESCAPE.PATHS = /_system/config/dev,/_system/config/qa
#Additional configs
AXIS2.REPO = resources
AXIS2.CONF = resources/axis2_client.xml
TRUST.STORE.LOCATION = resources/security/wso2carbon.jks
TRUST.STORE.PASSWORD = wso2carbon
  • Open a terminal and go to the wso2-registry-client-binary folder. Enter following command to start copying.

    java -jar wso2-registry-client.jar

Building From Source

Clone this repository first (git clone https://github.com/thanujalk/wso2-registry-client.git) and use Maven install to build mvn clean install

Project Statistics

Sourcerank 2
Repository Size 80.6 MB
Stars 0
Forks 0
Watchers 1
Open issues 0
Dependencies 3
Contributors 1
Tags 0
Created
Last updated
Last pushed

Top Contributors See all

Thanuja Lakmal

Something wrong with this page? Make a suggestion

Last synced: 2016-05-28 03:37:24 UTC

Login to resync this repository