Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Builder osrf-master-debian-6.00-x86_64 Build #28


Build successful


Got Revisione8f78636586aeca15632bcfbf0cae20beb2d66a6
Changes3 changes





Steps and Logfiles:

  1. git update ( 0 secs )
    1. stdio
  2. Bootstrap via autogen './autogen.sh' skipped ( 0 secs )
    1. - no logs -
  3. Bootstrap via autoreconf 'autoreconf -i' ( 6 secs )
    1. stdio
  4. configure configure ( 12 secs )
    1. stdio
  5. compile compile ( 0 secs )
    1. stdio
  6. test test 129 tests 129 passed ( 4 secs )
    1. stdio
  7. trial 14 tests passed ( 0 secs )
    1. stdio
    2. test.log
    3. problems
  8. pylint pylint convention=255 error=28 fatal=7 refactor=279 warning=87 failed ( 4 secs )
    1. stdio
    2. convention
    3. error
    4. fatal
    5. refactor
    6. warning

Build Properties:

branch master Build
buildername osrf-master-debian-6.00-x86_64 Builder
buildnumber 28 Build
codebase Build
got_revision e8f78636586aeca15632bcfbf0cae20beb2d66a6 Git
project OpenSRF Build
pylint-convention 255 Unknown
pylint-error 28 Unknown
pylint-fatal 7 Unknown
pylint-info 0 Unknown
pylint-refactor 279 Unknown
pylint-total 656 Unknown
pylint-warning 87 Unknown
repository git://git.evergreen-ils.org/OpenSRF.git Build
revision e8f78636586aeca15632bcfbf0cae20beb2d66a6 Build
scheduler osrf-master-full Scheduler
slavename opensrf-slave BuildSlave
warnings-count 0 WarningCountingShellCommand
workdir /home/openslave/opensrf-slave/osrf-master-debian-6_00-x86_64 slave

Forced Build Properties:


Responsible Users:

  1. Bennett Goble
  2. Galen Charlton


StartThu Aug 21 14:14:16 2014
EndThu Aug 21 14:14:46 2014
Elapsed29 secs

All Changes:


  1. Change #1624

    Category None
    Changed by Bennett Goble <nivardusohnoyoudont@gmail.com>
    Changed at Thu 21 Aug 2014 12:09:40
    Repository git://git.evergreen-ils.org/OpenSRF.git
    Project OpenSRF
    Branch master
    Revision d8dbf0c4e44cf45f00ffe2785d0778658029b825


    LP#1002028: Cross Origin Resource Sharing for OpenSRF
    Browsers' same-origin policy currently restricts requests to the current
    website's domain to prevent various nefarious scenarios. However,
    because APIs and other web resources need to remain open to cross-site
    use Cross Origin Resource Sharing (CORS) was created to allow services
    to formally authorize cross-origin requests. CORS makes it simple to use
    OpenSRF's HTTP translator and gateway APIs on websites using separate
    Example Scenarios
    1) A library would like an AJAX-driven "quicksearch" box on their main
    site, which is hosted on a different domain than their catalog.
    2) A developer wants to create new web applications and services that
    tie into Evergreen, but does not wish to install EG locally or
    configure a proxy.
    The function crossOriginHeaders() has been added to apachetools.c.
    Incoming requests are checked to see if they have an Origin header. The
    value of the Origin header is checked against a whitelist defined in
    opensrf_core.xml config (XPath: /config/gateway/cross_origin/origin).
    The function returns 1 if CORS headers have been added to the response.
    * The OpenSRF Javascript client library (opensrf.js) defaults to the root
    of the current web host "/osrf-http-translator." In addition, synchronous
    requests are presumed in some situations: resulting in the oncomplete
    method never returning (Blocking requests are not possible with cross-
    domain XHR.)
    * It is also possible to enable CORS with the Apache "set header"
    configuration directive. However, this means that the necessary headers
    would be appended to every response.
    Specification - http://www.w3.org/TR/cors/
    Wikipedia Article - http://en.wikipedia.org/wiki/Cross-origin_resource_sharing
    Signed-off-by: Bennett Goble <nivardus@gmail.com>
    Signed-off-by: Galen Charlton <gmc@esilibrary.com>

    Changed files

    • examples/opensrf_core.xml.example
    • src/gateway/apachetools.c
    • src/gateway/apachetools.h
    • src/gateway/osrf_http_translator.c
    • src/gateway/osrf_json_gateway.c
  2. Change #1625

    Category None
    Changed by Galen Charlton <gmcohnoyoudont@esilibrary.com>
    Changed at Thu 21 Aug 2014 12:13:23
    Repository git://git.evergreen-ils.org/OpenSRF.git
    Project OpenSRF
    Branch master
    Revision bc914bf1933cc7a9272134fd4bbeb7601d233903


    LP#1002028: support CORS for HTTPS
    Signed-off-by: Galen Charlton <gmc@esilibrary.com>

    Changed files

    • src/gateway/apachetools.c
  3. Change #1626

    Category None
    Changed by Galen Charlton <gmcohnoyoudont@esilibrary.com>
    Changed at Thu 21 Aug 2014 13:02:14
    Repository git://git.evergreen-ils.org/OpenSRF.git
    Project OpenSRF
    Branch master
    Revision e8f78636586aeca15632bcfbf0cae20beb2d66a6


    LP#1002028: set Access-Control-Expose-Headers
    This allows the OpenSRF JavaScript client library (or
    to be precise, one that has been modified to direct
    requests at a different domain) to take advantage of CORS
    Signed-off-by: Galen Charlton <gmc@esilibrary.com>

    Changed files

    • src/gateway/apachetools.c