For example, /foo returns a list of the foo items and /foo/ returns the full content of the foo identified by the given key.įisheye also provides a REST and XML-RPC API which is now deprecated. In other cases, this may include a generic resource name and key. In some cases, this may be a generic resource name such as /foo. resource-name-v1 identifies the versioned resource such as /reviews-v1.rest-service denotes the Crucible REST API ( rest-service-fe for Fisheye resources).webcontext is the webcontext under which Fisheye/Crucible is hosted (as configured in the element in the application's config.xml.host and port define the host and port where the Fisheye/Crucible application lives.Here is an explanation for each part of the URI: Fisheye/Crucible API ReferencesĪPI references are available at the following locations: Read the tutorials for examples of using the Fisheye/Crucible REST interface. If you would like to know more about REST in general, start with the Dare Obasanjo's blog post, Explaining REST to Damien Katz. Search reviews based on custom criteria.Retrieve user or committer information.Retrieve a list of Fisheye or Crucible projects.If you wish, you can request JSON instead of XML.īecause the REST API is based on open standards, you can use any web development language to access the API.Īn example use case would be a gadget that provides information about build recent changes to a source repository, or lists your open reviews.įisheye/Crucible's REST APIs provide the following capabilities: To use a REST API, your application will make an HTTP request and parse the response. Introduction to Fisheye/Crucible's REST APIsįisheye/Crucible's REST APIs provide access to resources (data entities) via URI paths. This will allow easier upgrades and a better separation of application and data.The Fisheye/Crucible REST interface provides a simple way for external application to talk to Fisheye and Crucible by making HTTP requests. Adding support for separate fisheye data dir.Fixed the version regex validation (Issue #7).Execute the new version of the johnlawerance/crucible puppet module and after it runs copy the contents of your old $FISHEYE_INST data directory to the newly laid down /opt/crucible-data.If you're upgrading from a version '/opt/FISHEYE_INST' (PR #12)įISHEYE_INST (the location where the fisheye/crucible data is stored) default location has been moved from /opt/FISHEYE_INST to /opt/crucible-data. Making the download URL customisable to allow using an alternate download URL.What License is governing this Module? (Issue #11).FISHEYE_INST should not be a literal path (Issue #9).Make the service user's home directory customizable.Adding support for setting java_home and java_opts (PR #15).Adding support for Ubuntu 16.04 and CentOS 7 / systemd (PR #15).Please feel free to ask (or submit PRs) for feature requests, improvements, etc! This module has only been tested on CentOS6, CentOS7, Ubuntu 12.04, Ubuntu 14.04 and Ubuntu 16.04 using OpenJRE8 on Puppet Enterprise 2015.3 Development puppetlabs-apt >= 1.4.0 (Only required for Ubuntu).Specify alternate download URL (default: ' ') Limitations OSes Supported: Should the module install wget? (default: true) download_url Should the module install unzip? (default: true) install_wget What user should the service run under? (default: crucible) install_unzip Where should crucible's data be stored? (default: '/opt/crucible-data') service_user Setup What crucible affectsīasic install using default settings. This module installs, configures, and manages Atlassian Crucible / Fisheye. Development - Guide for contributing to the module.Reference - An under-the-hood peek at what the module is doing and how.Usage - Configuration options and additional functionality.Setup - The basics of getting started with crucible.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |