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

Builder osrf-master-fedora-18 Build #37

Results:

Build successful

SourceStamp:

ProjectOpenSRF
Repositorygit://git.evergreen-ils.org/OpenSRF.git
Branchmaster
Revisione8f78636586aeca15632bcfbf0cae20beb2d66a6
Got Revisione8f78636586aeca15632bcfbf0cae20beb2d66a6
Changes3 changes

BuildSlave:

opensrf-fed18

Reason:

scheduler

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' ( 5 secs )
    1. stdio
  4. configure configure ( 6 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 failed ( 6 secs )
    1. stdio

Build Properties:

NameValueSource
branch master Build
buildername osrf-master-fedora-18 Builder
buildnumber 37 Build
codebase Build
got_revision e8f78636586aeca15632bcfbf0cae20beb2d66a6 Git
project OpenSRF Build
pylint-convention 0 Unknown
pylint-error 0 Unknown
pylint-fatal 0 Unknown
pylint-info 0 Unknown
pylint-refactor 0 Unknown
pylint-total 0 Unknown
pylint-warning 0 Unknown
repository git://git.evergreen-ils.org/OpenSRF.git Build
revision e8f78636586aeca15632bcfbf0cae20beb2d66a6 Build
scheduler osrf-master-full Scheduler
slavename opensrf-fed18 BuildSlave
warnings-count 0 WarningCountingShellCommand
workdir /home/openslave/opensrf-slave/osrf-master-fedora-18 slave

Forced Build Properties:

NameLabelValue

Responsible Users:

  1. Bennett Goble
  2. Galen Charlton

Timing:

StartThu Aug 21 14:14:16 2014
EndThu Aug 21 14:14:40 2014
Elapsed23 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

    Comments

    LP#1002028: Cross Origin Resource Sharing for OpenSRF
    Background
    ----------
    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
    domains.
    
    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.
    
    Implementation
    --------------
    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.
    
    Notes
    -----
    * 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.
    
    Links
    -----
    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

    Comments

    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

    Comments

    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
    support.
    
    Signed-off-by: Galen Charlton <gmc@esilibrary.com>

    Changed files

    • src/gateway/apachetools.c