Build Status

WELCOME TO COLDBOX RELAX

RELAX = RESTFul Tools For Lazy Experts!

What is Relax? ColdBox Relax is a set of RESTFul tools for lazy experts. We pride ourselves in helping you (the developer) work smarter and ColdBox Relax is a tool to help you document your projects faster. ColdBox Relax provides you with the necessary tools to automagically model, document and test your RESTFul services. One can think of ColdBox Relax as a way to describe RESTFul web services, test RESTFul web services, monitor RESTFul web services and document RESTFul web services–all while you relax!

LICENSE

Apache License, Version 2.0.

IMPORTANT LINKS

  • Code: https://github.com/coldbox/coldbox-relax
  • Issues: https://ortussolutions.atlassian.net/projects/RELAX/issues
  • Documentation: https://coldbox-relax.ortusbooks.com

SYSTEM REQUIREMENTS

  • Lucee 4.5+
  • ColdFusion 10+

INSTRUCTIONS

Just drop into your modules folder or use the box-cli to install

box install relax

Settings

You will need to update the your ColdBox.cfc with a relax structure with your preferred settings for Relax.

relax = {
    // The location of the relaxed APIs, defaults to models.resources
    APILocation = "modules.relax.models.resources",
    // Default API to load, name of the directory inside of resources
    defaultAPI = "myapi",
    // History stack size, the number of history items to track in the RelaxURL
    maxHistory = 10
};

Modeling

You can look at the samples inside of this module under the models/resources directory. To start you can copy the Relax.cfc into your own project folder and then start spicing up the API via the RelaxDSL methods.


Copyright Since 2005 ColdBox Framework by Luis Majano and Ortus Solutions, Corp www.coldbox.org | www.luismajano.com | www.ortussolutions.com


HONOR GOES TO GOD ABOVE ALL

Because of His grace, this project exists. If you don't like this, then don't read it, its not for you.

“Therefore being justified by faith, we have peace with God through our Lord Jesus Christ: By whom also we have access by faith into this grace wherein we stand, and rejoice in hope of the glory of God. And not only so, but we glory in tribulations also: knowing that tribulation worketh patience; And patience, experience; and experience, hope: And hope maketh not ashamed; because the love of God is shed abroad in our hearts by the Holy Ghost which is given unto us. .” Romans 5:5

THE DAILY BREAD

“I am the way, and the truth, and the life; no one comes to the Father, but by me (JESUS)” Jn 14:1-12

CHANGELOG

2.3.2

  • ACF Compatibility updates
  • PDF/HTML Export strategy updates
  • Performance enhancements for OpenAPI doc parsing
  • Improvements to $ref parsing and recursion
  • Deprecated DSL docs in favor of Swagger Open API Spec
  • Relaxer service not sending form data correctly
  • Refactoring of Relaxer to support typed API on calls to HTTP
  • Relaxer not sending http proxy ports
  • Relaxer not sending right name for params
  • PDF Export Capabilities

2.3.1

  • Migrates core OpenAPI parsing to swagger-sdk module
  • Implements one-click route population and testing in API test tool
  • Misc bug fixes and additional support for recursion

2.3.0

  • [RELAX-25] - SSL support for assets
  • Converts development workflow to user Grunt/SASS/RJS Optimizer
  • [RELAX-5] - Implements OpenAPI Specification as Relax default
  • Implements backward compatiblity for RelaxDSL
  • [RELAX-3] - Relaxer is now async
  • [RELAX-11] - Relaxer functionality is now rendered in-page
  • [RELAX-7] - Udates DSL Documentation to use dynamic JS Templating
  • Documentation loading is now async
  • Adds OpenAPI specification documentation
  • Exports for Trac and WikiMedia are now async
  • Import issues resolved and converted to async
  • Converts code highlighter from SyntaxHighlighter to Prism.js

2.2.0

  • [RELAX-22] - Updated build scripts for using DocBox
  • [RELAX-23] - Travis CI integration for tests
  • [RELAX-24] - Update of all dependencies of the shell tester
  • [RELAX-21] - Update StringBuffer to StringBuilders
  • [RELAX-4] - Remove dependency on sessions
  • [RELAX-12] - Sample API is excluded
  • [RELAX-20] - The Resource URL changes for every code change, updated internal hash to pattern hash
  • [RELAX-1] - Implement display and DSLDoc modeling modifications to the Relax module
  • [RELAX-17] - Make test shell full URL rewritable
  • [RELAX-18] - Ability to view resource details from doc viewer

2.1.0

  • Updates on box.json and locations
  • Updated readme
  • Updated full skin assets
  • Included sample resources in build
  • Navigation fixes
  • Module Standalone route generation

2.0.1

  • Fixed resource headers, as they are not showing

2.0.0

  • https://ortussolutions.atlassian.net/browse/RELAX/fixforversion/13801

 

 
box install relax

Add the following to your dependencies or devdependencies objects in your box.json, so CommandBox can track it as a dependency.

"relax" : "stable"
4.91 / 11
  • Feb 03 2011 04:59 PM
  • Mar 25 2017 05:01 PM
  • 7996
  • 2446
  • 870