Green Button Developers Sandbox
The Green Button team has provided a development and test sandbox. This web site hosts a fully functional Data Custodian and Third Party implementation populated with test data.
This page describes some of the features of this sandbox.
Data Custodian
A fully functional Green Button Data Custodian maintained to allow community experimentation. The administrative functions are available when you sign-in using credentials:
- grace : koala (ROLE=ADMIN) or
- alan: koala (ROLE=USER)
You will then be able to review various functions of the sandbox. The short video Using the DataCustodian will provide a starting point for poking around. NOTE: this is a shared sandbox, so things you do may effect other concurrent users! please use the reset and initialize functions with care.
##Third Party Green Button Third Party
The sandbox also contains a minimal Third Party Application. It supports the minimal behavior of a Green Button Third Party and may be used to connect to any certified Green Button Data Custodian. It has an administrative account (grace:koala); as well as numerous retail customer accounts to work with.
RESTful API
The full complement of Green Button RESTful APIs are supported in the DataCustodian sandbox. You are encouraged to experiment with these APIs using the swagger based <a href”http://energyos.github.io/OpenESPI-GreenButton-API-Documentation/API/”>API Sandbox</a>. Please keep in mind that certain of the actions (DELETE, PUT, and POST) will modify the state of the sandbox, so you should insure that you run DataCustodian Initialization following any experiments that perform modifications.
Sandbox Implementation
Numerous tools and code bases are available on Github and are available under the Apache 2 license. In addition to a full implementations of Green Button DataCustodain ThirdParty services, a common java library is available for reuse. There are also numerous tools for testing and generation of Green Button sample data sets. </p>
Other Development Tools
Green Button Data SDK
The Tools SDK provides a set of stand-alone tools to help you work with Green Button XML data. Written primarily in Visual Basic and using Excel macros, you will be able to see simple code that parses Green Button XML and validates appropriate things like time and resource values. These tools were used in the creation of the on-line Green Button validator, where you can test your exported Green Button files for correctness.
Also find a sample XSLT that will transform Green Button Data to human-readable table in a web browser: GreenButtonDataStyleSheet.xslt
Green Button CMD Test Harness
Green Button Connect My Data Test Harness
The Connect My Data test services are currently being developed with support of NIST in collaboration with the OpenADE task group. This effort uses the SOAPui automated testing platform as well as the Groovy scripting environment. You may download, install, and run the test suits from the github repository.
RESTful API Developers Page
The swagger API platform is used to provide a dynamic API sandbox for developers to work within. It is deployed and operable to review API calls to the Green Button Services Sandbox. You may fork the github repository and use this repository to test against your own DataCustodian services as well.