Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

6.0.0 alpha.1 #1088

Open
wants to merge 570 commits into
base: master
Choose a base branch
from
Open

6.0.0 alpha.1 #1088

wants to merge 570 commits into from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Jul 23, 2019

  1. Remove unneeded tests

    Content matching isn't part of matchRequest anymore; so it cannot be
    integration-tested with other matching functions.
    matchContent it is called directly from the streamingReceiver.
    matchContent has individual unit tests.
    
    OHM-831
    Zooloo2014 committed Jul 23, 2019
    Configuration menu
    Copy the full SHA
    36465cb View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2019

  1. Configuration menu
    Copy the full SHA
    4be2200 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1048 from jembi/OHM-831-add-back-request-matching

    OHM-831 Add back content matching for request bodies
    Martin Brocker committed Jul 25, 2019
    Configuration menu
    Copy the full SHA
    11db75a View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2019

  1. fix responding to the client (responseBody -false)

    When a channel's responseBody property (which determines whether the response body is stored) is set to false or undefined, the client should still get a response. This issue has been resolved in this commit and the authentication tests are now passing. A function that is no longer used has also been removed
    
    OHM-896
    bradsawadye committed Nov 4, 2019
    Configuration menu
    Copy the full SHA
    d4faaab View commit details
    Browse the repository at this point in the history
  2. fix spelling error

    OHM-896
    bradsawadye committed Nov 4, 2019
    Configuration menu
    Copy the full SHA
    9e10e40 View commit details
    Browse the repository at this point in the history
  3. fix rerun middlewares' order and typos

    The order of the middlewares had to be changed as the auto retry attempt number for a rerun transaction was being set after the logic that updates the transaction in the database. This was resulting in continuous rerunning for channels that have a max number of attempts
    
    OHM-824
    bradsawadye committed Nov 4, 2019
    Configuration menu
    Copy the full SHA
    aaccbc9 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2019

  1. update the transaction error

    The method that completes the response and updates the transaction (in the db) was not updating the error property of the transaction (if there is an error). This was resulting in failure for some integration tests.
    
    OHM-824
    bradsawadye committed Nov 5, 2019
    Configuration menu
    Copy the full SHA
    f72f09f View commit details
    Browse the repository at this point in the history
  2. await the collection of openhim mediator response

    The response from an openhim mediator comes in a special format, and it has to parsed so that the response body, status, etc can be extracted. This means that it has to be stored in memory. The method that collects the chunks of the mediator's response is asynchronous and it has to be waited on. This is so we can set the right status and send back the body only (without the other fields on the mediator's response) to the client
    
    OHM-824
    bradsawadye committed Nov 5, 2019
    Configuration menu
    Copy the full SHA
    c4126e6 View commit details
    Browse the repository at this point in the history
  3. remove unnessesary call of setKoaResponse

    Calling the method was not necessay as it is called in some other places once the response has been returned
    
    OHM-824
    bradsawadye committed Nov 5, 2019
    Configuration menu
    Copy the full SHA
    f7c9065 View commit details
    Browse the repository at this point in the history
  4. remove initiation of response on failure

    whenever there is an error, the method updateWithError is invoked. Calling initiateResponse is not necessary as updateWithError does the updates that initiateResponse does. Calling the two methods at once was causing a race condition. At times the error was not being updated, resulting in some tests which have assertions on the error to be inconsistent
    
    OHM-824
    bradsawadye committed Nov 5, 2019
    Configuration menu
    Copy the full SHA
    728a04d View commit details
    Browse the repository at this point in the history
  5. fix up tests

    The property 'responseBody' of the channel has been set to true. This is because, at the moment when the property is false or undefined, the app does not send a response to the client. This sending of the response issue (when channel's responseBody property is set to false) has been addressed on another branch. This is a temporary fix to get the tests to pass.
    
    OHM-824
    bradsawadye committed Nov 5, 2019
    Configuration menu
    Copy the full SHA
    e48444c View commit details
    Browse the repository at this point in the history
  6. change the expected result for a test

    One test has an assertion that expects the error message, when the secondary route fails, to be 'ERRCONNECT' and this was failing as the app has been modified such that when ever there is an error on the primary route the socket for the secondary route request is destroyed
    
    OHM-824
    bradsawadye committed Nov 5, 2019
    Configuration menu
    Copy the full SHA
    bbdbdcf View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2019

  1. Merge branch '5.3.0-alpha.1' of github.com:jembi/openhim-core-js into…

    … 5.3.0-alpha.1
    Martin Brocker committed Nov 6, 2019
    Configuration menu
    Copy the full SHA
    e1e6c8a View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1056 from jembi/OHM-896-fix-openhim-responding

    fix responding to the client (responseBody -false)
    Martin Brocker committed Nov 6, 2019
    Configuration menu
    Copy the full SHA
    94939b4 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2019

  1. fix the storing of request bodies

    The app was storing request bodies even when the channel had been configured not to store the bodies
    
    OHM-898
    bradsawadye committed Nov 7, 2019
    Configuration menu
    Copy the full SHA
    aa473c2 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1059 from jembi/OHM-898-do-not-store-request-body

    fix the storing of request bodies
    Martin Brocker committed Nov 7, 2019
    Configuration menu
    Copy the full SHA
    29ebfbc View commit details
    Browse the repository at this point in the history
  3. modify the logic for setting the autoRetry

    The logic had to be modified as all transactions that failed were being queued up for auto Retry, even when the channel is set not to auto retry a failed transction. The queueing of the transactions to be retried and the auto retries should only occur when the channel's property "autoRetryEnabled" is true. This way only transactions that fail after the autoRetry is enabled are rerun
    
    OHM-824
    bradsawadye committed Nov 7, 2019
    Configuration menu
    Copy the full SHA
    65ec131 View commit details
    Browse the repository at this point in the history
  4. set the property 'enabledAutoRetry' on test channels

    This was causing the tests to fail as transactions are not marked for autoRetries when this property is false
    
    OHM-824
    bradsawadye committed Nov 7, 2019
    Configuration menu
    Copy the full SHA
    b199cb0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ef4e9d4 View commit details
    Browse the repository at this point in the history
  6. update the response body id

    The response body Id was being saved on transaction, and would never show up on the console
    
    OHM-824
    bradsawadye committed Nov 7, 2019
    Configuration menu
    Copy the full SHA
    ff46b16 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2019

  1. set the response body id for openhim mediators

    The response body id was not being set in the response headers and this resulted in bodies not showing on the openhim console as the transctions' body Id would be undefined. This was happening for responses from openhim mediators, which we handle differently
    
    OHM-824
    bradsawadye committed Nov 8, 2019
    Configuration menu
    Copy the full SHA
    2a5b430 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2019

  1. update the ocrhestration response body id

    The orchestration's response body id was not being set, resulting in the response body for the orchestrations not showing up on the console
    
    OHM-824
    bradsawadye committed Nov 11, 2019
    Configuration menu
    Copy the full SHA
    a27964b View commit details
    Browse the repository at this point in the history
  2. modify setting of the body id

    The body id should be added to the response headers. Logic has been added to check whether the response headers property exists before adding the body id. One test in which the openhim mediator response did not have headers was failing as a result.
    
    OHM-824
    bradsawadye committed Nov 11, 2019
    Configuration menu
    Copy the full SHA
    5b406b0 View commit details
    Browse the repository at this point in the history
  3. store mediator response and orchestrations seperatelty

    The response from an openhim mediator is different and has to be handled differently. The mediator response contains a response and orchestrations, which have bodies. These bodies have to be stored seperately in gridfs and the transaction updated with the body ids. The api consumed by the console expects a body id for each body (orchestration and response). Because the body ids were not being set, the orchestr<ations displayed on the console were bodiless
    
    OHM-824
    bradsawadye committed Nov 11, 2019
    Configuration menu
    Copy the full SHA
    1882db6 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2019

  1. fix and remove tests for non-existant function

    One function for storing the transaction was removed, so the tests were failing
    
    OHM-820
    bradsawadye committed Nov 12, 2019
    Configuration menu
    Copy the full SHA
    caaf4ed View commit details
    Browse the repository at this point in the history
  2. store orchestartions when there is failure

    Orcherstartions were not being stored in the event of a failure on the primary route
    
    OHM-820
    bradsawadye committed Nov 12, 2019
    Configuration menu
    Copy the full SHA
    e592967 View commit details
    Browse the repository at this point in the history
  3. fix route integration tests

    OHM-820
    bradsawadye committed Nov 12, 2019
    Configuration menu
    Copy the full SHA
    449b0d2 View commit details
    Browse the repository at this point in the history
  4. fix metrics unit tests

    The method that stores the transaction metrics was changed, it now calculaates the responseTime using the timestamp created at the end of the response streaming and not the one created at the start of the streaming
    
    OHM-820
    bradsawadye committed Nov 12, 2019
    Configuration menu
    Copy the full SHA
    38098e9 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2019

  1. handle cases where the transaction does not exist

    When a transaction does not exist in the database any method that tries to get or update the transaction should return a callback with an error or reject with an error. If this does not happen references to the transaction will cause the app failures
    
    OHM-820
    bradsawadye committed Nov 14, 2019
    Configuration menu
    Copy the full SHA
    c144587 View commit details
    Browse the repository at this point in the history
  2. change message logged on error in setFinalStatus

    the function setFinalStatus returns an error and a null value for the transaction when there is an error. The error message logged out had to be changed as you cant get an id of a null value. this can cause a failure in the app
    
    OHM-820
    bradsawadye committed Nov 14, 2019
    Configuration menu
    Copy the full SHA
    6a874d4 View commit details
    Browse the repository at this point in the history
  3. modify functiolity that stores mediator bodies

    The logic that stores the response bodies from an openhim mediator has been modified to make use of a function that streams the bodies into gridfs. This is so we dont repeat ourselves as this logic was making use of a new function that does the same as the one that is now being used
    
    OHM-824
    bradsawadye committed Nov 14, 2019
    Configuration menu
    Copy the full SHA
    e5dc024 View commit details
    Browse the repository at this point in the history
  4. modify func for extracting payloads into gridfs

    The method for extracting payloads has been modified to resolve early, at the start of the streaming. This method is used in the routing middleware and this is being done to reduce the length of a request
    
    OHM-
    bradsawadye committed Nov 14, 2019
    Configuration menu
    Copy the full SHA
    52227da View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2019

  1. Merge pull request #1058 from jembi/OHM-824-fix-auto-retry

    Ohm 824 fix auto retry
    Martin Brocker committed Nov 15, 2019
    Configuration menu
    Copy the full SHA
    0c9c036 View commit details
    Browse the repository at this point in the history
  2. fix the handling of openhim mediator responses

    Responses from openhim medaitors have to be handled diffrently. The response body contains orchestrations etc, which have to be extracted from the body. This is done for the primary route and was not being done for the secondary routes, reslting in errors
    
    OHM-906
    bradsawadye committed Nov 15, 2019
    Configuration menu
    Copy the full SHA
    430f80f View commit details
    Browse the repository at this point in the history
  3. Merge branch '5.3.0-alpha.1' of github.com:jembi/openhim-core-js into…

    … OHM-820-fix-all-broken-tests
    bradsawadye committed Nov 15, 2019
    Configuration menu
    Copy the full SHA
    8a7cbdc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    619b41f View commit details
    Browse the repository at this point in the history
  5. add methods used in tests

    A method for waiting on the gridfs streaming of the response body to finish and for extracting the body from the stream have been added. These methods are used in the tests
    
    OHM-820
    bradsawadye committed Nov 15, 2019
    Configuration menu
    Copy the full SHA
    95e43c5 View commit details
    Browse the repository at this point in the history
  6. fix route middleware functions' tests

    The tests were failing because the request body is passed in a stream. This has been fixed in this commit
    
    OHM-820
    bradsawadye committed Nov 15, 2019
    Configuration menu
    Copy the full SHA
    5f68940 View commit details
    Browse the repository at this point in the history
  7. remove unused method and make code cleaner

    The code is made cleaner by making use of the ternary operator
    
    OHM-906
    bradsawadye committed Nov 15, 2019
    Configuration menu
    Copy the full SHA
    8046914 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2019

  1. modify functions for the rerun task

    The two functions rerunHttpRequestSend and rerunSetHTTPRequestOptions had to be modifed as some validation checks had been removed during the refactor. some of the fields for the expected ressponse were not being set. This has been fixed in this commit
    
    OHM-820
    bradsawadye committed Nov 18, 2019
    Configuration menu
    Copy the full SHA
    682eedf View commit details
    Browse the repository at this point in the history
  2. add the status message to the response

    The status message is expected in the response by the rerun functionality
    
    OHM-820
    bradsawadye committed Nov 18, 2019
    Configuration menu
    Copy the full SHA
    6104428 View commit details
    Browse the repository at this point in the history
  3. fix the rerun taks tests

    The rerun task functionality was modifed and this required the tests to be modified
    OHM-820
    bradsawadye committed Nov 18, 2019
    Configuration menu
    Copy the full SHA
    012b398 View commit details
    Browse the repository at this point in the history
  4. tests for funs that extract payloads into chunks

    The method fro extracting a payload into chunks was modified to return the file id at the stat of the streaming. This was done to reduce the duration of a request. The tests for this functions have been modifed in this commit
    bradsawadye committed Nov 18, 2019
    Configuration menu
    Copy the full SHA
    d8ed5a8 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2019

  1. Merge pull request #1060 from jembi/OHM-906-fix-non-primary-routes

    fix the handling of openhim mediator responses
    Martin Brocker committed Nov 19, 2019
    Configuration menu
    Copy the full SHA
    76585e2 View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2019

  1. add tcp channel properties to the context

    The properties 'isTcpChannel' and 'tcpChannelHasHttpRoute' are now added to the context for tcp channel requests. These properties are used in the streaminReceiver middlware, which comes after this middleware, to determine whether the middleware is bypassed or not. The streamingReceiver is used by the http routes. This will cater for cases when we route from tcp to http. These properties will be set to true for that case and then the streaming middleware is used
    
    OHM-907
    bradsawadye committed Nov 20, 2019
    Configuration menu
    Copy the full SHA
    86e2a70 View commit details
    Browse the repository at this point in the history
  2. modify the logic for setting collectBody

    This has been doen because with the logic that was there the collectBody property was always true even when it had to be false. The collectBody is used to detemine whether the request body should be buffered in memory before anything else happens. This is for cases when we are doing request matching on content.
    
    OHM-907
    bradsawadye committed Nov 20, 2019
    Configuration menu
    Copy the full SHA
    c5da82a View commit details
    Browse the repository at this point in the history
  3. logic for bypassing or streaming for tcp chanel

    The streaming middleware is only used for http routes. THe logic will check whether we are routing from tcp to http, in which case the streaming middleware has to be used and request body has to be pushed downstream for the http router
    
    OHM-907
    bradsawadye committed Nov 20, 2019
    Configuration menu
    Copy the full SHA
    b55ed04 View commit details
    Browse the repository at this point in the history
  4. modify the app for tcp routes

    This brings back rawbody reader for parsing the request body. THe body is used in the retrieveTcpTransaaction middleware to retrieve the tranaction and the channel. The request body has to be buffered in memory first. The flow of the middlewares has also been changed. The streamingReciever middleware is only used when routing from tcp to http
    
    OHM-907
    bradsawadye committed Nov 20, 2019
    Configuration menu
    Copy the full SHA
    4759b24 View commit details
    Browse the repository at this point in the history
  5. clean up the storing response

    The functionality for storing the response body was being called so many times. It is now only called when the promises that do the routing have all resolved
    
    OHM-907
    bradsawadye committed Nov 20, 2019
    Configuration menu
    Copy the full SHA
    17b725e View commit details
    Browse the repository at this point in the history
  6. modify the function that handles tcp routing

    The functions for storing the response and request bodies were modified (this is no longer being done in the a seperate middleware) and have been added to the function. THe functinality was not working, it is now
    
    OHM-907
    bradsawadye committed Nov 20, 2019
    Configuration menu
    Copy the full SHA
    c250f0c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d07d058 View commit details
    Browse the repository at this point in the history
  8. handle cases where a transaction is not found

    This is so the app does not break when a transation is not found. This also updates some of the app's dependencies
    
    OHM-907
    bradsawadye committed Nov 20, 2019
    Configuration menu
    Copy the full SHA
    d40d2c2 View commit details
    Browse the repository at this point in the history
  9. modify how bodies stored in gridfs are deleted

    The passing of the tests was inconsistent and this is because ther was a race condition between the deleting of the bodies stored and other async methods that were doing read, update and delete operations on the boies
    
    OHM-907
    bradsawadye committed Nov 20, 2019
    Configuration menu
    Copy the full SHA
    4e3bb69 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2019

  1. fix logic for handling cases where transaction does not exist

    The logic for handling cases where the transaction does not exist (in the setFinalStatus method) has been modified. The callback that is returned by this function was being called before checking whether the transaction exists. The callback was being called with a value of null for the transaction which causes errors as the callback function tries to extract an id from null
    
    OHM-907
    bradsawadye committed Nov 21, 2019
    Configuration menu
    Copy the full SHA
    cd49327 View commit details
    Browse the repository at this point in the history
  2. bring back recording of events

    The functionality for recording events for secondary routes had been commented out during the routing refaCTOR. This commit brings it back and also adds catching of errors to the completeResponse method which throws an error when a transaction is not found or when theres any other error
    
    OHM-907
    bradsawadye committed Nov 21, 2019
    Configuration menu
    Copy the full SHA
    233fc77 View commit details
    Browse the repository at this point in the history
  3. uncomment test and change expected result for assertion

    Eight events are recorded as the recording of secondary routes events has been brought back in. It had been commented out during the routing refactor
    
    OHM-907
    bradsawadye committed Nov 21, 2019
    Configuration menu
    Copy the full SHA
    c089346 View commit details
    Browse the repository at this point in the history
  4. add the route name tot the routes

    The route name is a a required property. Mongo errors were being thrown
    
    OHM-907
    bradsawadye committed Nov 21, 2019
    Configuration menu
    Copy the full SHA
    5e913dc View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2019

  1. update the transaction with body Id

    The body was not being stored in gridfs and the transaction's request was not being updated with the body id for cases when we route from tcp to http
    
    OHM-907
    bradsawadye committed Nov 22, 2019
    Configuration menu
    Copy the full SHA
    61a3cd1 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2019

  1. refactor streaming functionality

    Some functinality had ben duplicated. It has been been moved into its own function now
    
    OHM-907
    bradsawadye committed Dec 6, 2019
    Configuration menu
    Copy the full SHA
    b4fe0a7 View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2020

  1. Merge pull request #1063 from jembi/OHM-907-fix-tcp-route

    Ohm 907 fix tcp route
    MattyJ007 committed Jan 8, 2020
    Configuration menu
    Copy the full SHA
    d5d0887 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1061 from jembi/OHM-820-fix-all-broken-tests

    Ohm 820 fix all broken tests
    MattyJ007 committed Jan 8, 2020
    Configuration menu
    Copy the full SHA
    ab75350 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2020

  1. Remove docs from core repo

    OpenHIM docs have their own repository now. This content has been moved
    there and updated.
    
    OHM-929
    MattyJ007 committed Jan 9, 2020
    Configuration menu
    Copy the full SHA
    c6ba5cf View commit details
    Browse the repository at this point in the history
  2. Remove scripts relating to Debian PPA releases

    That version of Ubuntu is no longer supported. Nor do we support Ubuntu
    PPA installs
    
    OHM-929
    MattyJ007 committed Jan 9, 2020
    Configuration menu
    Copy the full SHA
    f6f33f6 View commit details
    Browse the repository at this point in the history
  3. Update packaging README

    Remove outdated script instructions
    
    OHM-929
    MattyJ007 committed Jan 9, 2020
    Configuration menu
    Copy the full SHA
    b2184d7 View commit details
    Browse the repository at this point in the history
  4. Add script to zip release

    This script exists on master. However getting those changes could be
    difficult...
    
    OHM-929
    MattyJ007 committed Jan 9, 2020
    Configuration menu
    Copy the full SHA
    785c12d View commit details
    Browse the repository at this point in the history
  5. Bump release version

    New content
    
    OHM-822
    MattyJ007 committed Jan 9, 2020
    Configuration menu
    Copy the full SHA
    e4f0c2f View commit details
    Browse the repository at this point in the history
  6. Merge pull request #1070 from jembi/bump-alpha-version

    OHM-822 Bump alpha version
    MattyJ007 committed Jan 9, 2020
    Configuration menu
    Copy the full SHA
    c5485cb View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2020

  1. Merge branch 'master' of github.com:jembi/openhim-core-js into 5.3.0-…

    …alpha.1
    Martin Brocker committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    a270043 View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2020

  1. Fixed broken TCP-> TLS tests

    Fixed afew broken tests
    
    With changes made in Node 12, a new TLS version is used which caused some tests to break due to incorrect cipher usage.
    Added a .env.test file to load environment variables when testing. This was due to an addition NODE_OPTIONS env variable that was adding which is starting to bloat the start line
    
    OHM-938
    Martin Brocker committed Jan 15, 2020
    Configuration menu
    Copy the full SHA
    317d294 View commit details
    Browse the repository at this point in the history
  2. Updated travis file to ensure node 12 (erbium) passes

    Removed the unsupported node 8 (carbon)
    
    OHM-938
    Martin Brocker committed Jan 15, 2020
    Configuration menu
    Copy the full SHA
    381a33f View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2020

  1. Merge pull request #1072 from jembi/OHM-938-fix-broken-tests

    Fixed broken TCP-> TLS tests
    bradsawadye committed Jan 16, 2020
    Configuration menu
    Copy the full SHA
    f3833f7 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2020

  1. Merge branch 'master' of github.com:jembi/openhim-core-js into 5.3.0-…

    …alpha.1
    Martin Brocker committed Jan 17, 2020
    Configuration menu
    Copy the full SHA
    6867bce View commit details
    Browse the repository at this point in the history
  2. Merge branch '5.3.0-alpha.1' of github.com:jembi/openhim-core-js into…

    … 5.3.0-alpha.1
    Martin Brocker committed Jan 17, 2020
    Configuration menu
    Copy the full SHA
    2201d8c View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2020

  1. Configuration menu
    Copy the full SHA
    10e4198 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2020

  1. Merge branch 'OHM-1028-fix-merge-conflicts' of github.com:jembi/openh…

    …im-core-js into OHM-1028-fix-merge-conflicts
    Martin Brocker committed Aug 24, 2020
    Configuration menu
    Copy the full SHA
    ccc3a6a View commit details
    Browse the repository at this point in the history
  2. Updated packages for Winston and Winston-mongodb

    To make use of the newer packages which fixes bugs and security concerns.
    This also fixes a bug with the module not starting due to an error with the log collection already existing
    Martin Brocker committed Aug 24, 2020
    Configuration menu
    Copy the full SHA
    41a6c90 View commit details
    Browse the repository at this point in the history
  3. Update Travis to have a waiting period for mongo

    So that MongoDB can be started properly before continuing with the tests
    
    OHM-1028
    Martin Brocker committed Aug 24, 2020
    Configuration menu
    Copy the full SHA
    b1ae31b View commit details
    Browse the repository at this point in the history
  4. Travis Test

    Verify mongodb is running
    Martin Brocker committed Aug 24, 2020
    Configuration menu
    Copy the full SHA
    73e5104 View commit details
    Browse the repository at this point in the history
  5. Update mongo connection to use unified topology

    OHM-1028
    Martin Brocker committed Aug 24, 2020
    Configuration menu
    Copy the full SHA
    b51ad20 View commit details
    Browse the repository at this point in the history
  6. Updated Agenda to latest version

    To cater for bug fixes and security concerns
    Also fixes an issue with mongodb making use of the newer typology
    
    OHM-1028
    Martin Brocker committed Aug 24, 2020
    Configuration menu
    Copy the full SHA
    0ca02cb View commit details
    Browse the repository at this point in the history
  7. Update mongoose connection to useCreateIndex

    So that the older depricated value is replaced with the new value
    
    OHM-1028
    Martin Brocker committed Aug 24, 2020
    Configuration menu
    Copy the full SHA
    313c19b View commit details
    Browse the repository at this point in the history
  8. Revert mongoose setting for useCreateIndex

    OHM-1028
    Martin Brocker committed Aug 24, 2020
    Configuration menu
    Copy the full SHA
    db496aa View commit details
    Browse the repository at this point in the history
  9. Remove before_script from travis

    Was used for testing the travis build
    
    OHM-1028
    Martin Brocker committed Aug 24, 2020
    Configuration menu
    Copy the full SHA
    5e02ed1 View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2020

  1. Updated chokidor deps

    OHM-1031
    Martin Brocker committed Aug 25, 2020
    Configuration menu
    Copy the full SHA
    faa7abf View commit details
    Browse the repository at this point in the history
  2. Updated cross-env deps

    OHM-1031
    Martin Brocker committed Aug 25, 2020
    Configuration menu
    Copy the full SHA
    6b0f926 View commit details
    Browse the repository at this point in the history
  3. Updated faker deps

    OHM-1031
    Martin Brocker committed Aug 25, 2020
    Configuration menu
    Copy the full SHA
    7ab144e View commit details
    Browse the repository at this point in the history
  4. Updated form-data, forever-monitor deps

    OHM-1031
    Martin Brocker committed Aug 25, 2020
    Configuration menu
    Copy the full SHA
    48f5369 View commit details
    Browse the repository at this point in the history
  5. Revert deps update for mongoos-patch-history

    This is causing something to break
    Will update and investigate a bit later on
    
    OHM-1031
    Martin Brocker committed Aug 25, 2020
    Configuration menu
    Copy the full SHA
    b7fd83e View commit details
    Browse the repository at this point in the history
  6. Updated travis distribution to latest Ubuntu 20 (focal)

    So that we can start testing on the newer LTS version of Ubuntu
    
    OHM-1028
    Martin Brocker committed Aug 25, 2020
    Configuration menu
    Copy the full SHA
    2973992 View commit details
    Browse the repository at this point in the history
  7. Updated nyc deps

    OHM-1031
    Martin Brocker committed Aug 25, 2020
    Configuration menu
    Copy the full SHA
    ba36a5c View commit details
    Browse the repository at this point in the history
  8. Increased testing timeout to 30seconds

    An issues has been picked up that on first run of the tests, the SSL Root Certificate Authority needs to be downloaded into the ssl-root-cas module
    This takes some time and test fails due to the timeout before this is completed
    
    OHM-1028
    Martin Brocker committed Aug 25, 2020
    Configuration menu
    Copy the full SHA
    d2711c1 View commit details
    Browse the repository at this point in the history
  9. Updated request deps

    OHM-1031
    Martin Brocker committed Aug 25, 2020
    Configuration menu
    Copy the full SHA
    0d03cf7 View commit details
    Browse the repository at this point in the history
  10. Updated rewire deps

    OHM-1031
    Martin Brocker committed Aug 25, 2020
    Configuration menu
    Copy the full SHA
    c5a5827 View commit details
    Browse the repository at this point in the history
  11. Updated rimraf deps

    OHM-1031
    Martin Brocker committed Aug 25, 2020
    Configuration menu
    Copy the full SHA
    5d17393 View commit details
    Browse the repository at this point in the history
  12. updated semver deps

    OHM-1031
    Martin Brocker committed Aug 25, 2020
    Configuration menu
    Copy the full SHA
    d908341 View commit details
    Browse the repository at this point in the history
  13. Updated sinon deps

    OHM-1031
    Martin Brocker committed Aug 25, 2020
    Configuration menu
    Copy the full SHA
    9151871 View commit details
    Browse the repository at this point in the history
  14. Updated speculate deps

    OHM-1031
    Martin Brocker committed Aug 25, 2020
    Configuration menu
    Copy the full SHA
    b8acb76 View commit details
    Browse the repository at this point in the history
  15. Updated standard deps

    OHM-1031
    Martin Brocker committed Aug 25, 2020
    Configuration menu
    Copy the full SHA
    cb0198b View commit details
    Browse the repository at this point in the history
  16. Updated package-lock file

    OHM-1031
    Martin Brocker committed Aug 25, 2020
    Configuration menu
    Copy the full SHA
    aae30c6 View commit details
    Browse the repository at this point in the history
  17. Updated xmldom deps

    OHM-1031
    Martin Brocker committed Aug 25, 2020
    Configuration menu
    Copy the full SHA
    20601a8 View commit details
    Browse the repository at this point in the history
  18. Updated xpath deps

    OHM-1031
    Martin Brocker committed Aug 25, 2020
    Configuration menu
    Copy the full SHA
    5f2e875 View commit details
    Browse the repository at this point in the history
  19. Updated uuid eps

    OHM-1031
    Martin Brocker committed Aug 25, 2020
    Configuration menu
    Copy the full SHA
    5fa9446 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2020

  1. Merge pull request #1087 from jembi/OHM-1028-fix-merge-conflicts

    Ohm 1028 fix merge conflicts
    MattyJ007 committed Aug 27, 2020
    Configuration menu
    Copy the full SHA
    a6eb789 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d888f35 View commit details
    Browse the repository at this point in the history
  3. Ensure the process exits when a DB upgrade fails

    This was previously implemented however, it was removed mistakenly
    during the re-write from coffeescript
    
    OHM-1034
    rcrichton committed Aug 27, 2020
    Configuration menu
    Copy the full SHA
    f52551f View commit details
    Browse the repository at this point in the history
  4. Merge remote-tracking branch 'origin/ohm-719-trasaction-grid-fs-migra…

    …tion-story' into ohm-1034-add-transaction-upgrade-function
    rcrichton committed Aug 27, 2020
    Configuration menu
    Copy the full SHA
    239535d View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2020

  1. Merge pull request #1089 from jembi/ohm-1034-add-transaction-upgrade-…

    …function
    
    OHM-1034 - Add migration for transaction bodies to GridFS
    MattyJ007 committed Aug 28, 2020
    Configuration menu
    Copy the full SHA
    8f8acb1 View commit details
    Browse the repository at this point in the history
  2. Fix formatting

    OHM-1047
    rcrichton committed Aug 28, 2020
    Configuration menu
    Copy the full SHA
    0ca15e1 View commit details
    Browse the repository at this point in the history
  3. Remove killing of secondary routes when primary fails

    If we kill the secondaries we have no idea if they completed or not. This is inconsitent, a better apporach is to let them run to completion. In the future we could add in an option to a channel to allow secondary route to only start running if the primary completes.
    
    OHM-1047
    rcrichton committed Aug 28, 2020
    Configuration menu
    Copy the full SHA
    b891409 View commit details
    Browse the repository at this point in the history
  4. Fix test

    OHM-1047
    rcrichton committed Aug 28, 2020
    Configuration menu
    Copy the full SHA
    0ef903f View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2020

  1. Updated outdated dependencies

    To make use of the latest module changes and remove any potentially know vulnerabilities
    
    mongoose
    mongoose-patch-history
    fake
    
    OHM-1031
    Martin Brocker committed Aug 31, 2020
    Configuration menu
    Copy the full SHA
    12c8777 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1090 from jembi/ohm-1047-keep-secondary-routes-alive

    OHM-1047 - don't kill secondary routes
    de-laz committed Aug 31, 2020
    Configuration menu
    Copy the full SHA
    f8e86e6 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2020

  1. Allow re-runs to function when body storage is turned off

    If we have a body from a previous transaction but bodies are turned off now in the channel. Then we should still be able to re-run that transaction. This change removes and incorrect check that makes the re-run request go down the path of the GET request when it infact has a body.
    
    OHM-1046
    rcrichton committed Sep 1, 2020
    Configuration menu
    Copy the full SHA
    2d3cd90 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    781958c View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2020

  1. Fix existing lint issues in all files

    This commit also makes standard.js output snazzy
    rcrichton committed Sep 2, 2020
    Configuration menu
    Copy the full SHA
    c8575a3 View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'origin/6.0.0-alpha.1' into ohm-1046-dat…

    …a-control-request-storage-bug
    rcrichton committed Sep 2, 2020
    Configuration menu
    Copy the full SHA
    a50d8d5 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2020

  1. Compact transactions collection during GridFS migration

    MongoDB does not give back space used by deleted documents. During this
    GridFS migration the transactions collection will lose most of it's data
    which will be stored in the `fs.chunks` collection as we make use of
    GridFS.
    The transactions collection is where most data from the openhim is
    generated - therefore doubling the data here would likely cause near
    doubling of the DB storage size which is not ideal nor always possible.
    Therefore we run the compact collection command after every migration
    batch in order to keep the required DB space to a minimum.
    
    OHM-1054
    MattyJ007 committed Sep 3, 2020
    Configuration menu
    Copy the full SHA
    009750c View commit details
    Browse the repository at this point in the history
  2. Remove unused import

    :(
    
    OHM-1054
    MattyJ007 committed Sep 3, 2020
    Configuration menu
    Copy the full SHA
    adc1b97 View commit details
    Browse the repository at this point in the history
  3. Add force option to collection compact command

    The compact command won't run on an active primary replica set member
    unless forced. This is because the command blocks the DB until it has
    completed
    
    OHM-1054
    MattyJ007 committed Sep 3, 2020
    Configuration menu
    Copy the full SHA
    727d8be View commit details
    Browse the repository at this point in the history
  4. Allow gridfs migration to run concurrently

    OHM-1053
    rcrichton committed Sep 3, 2020
    Configuration menu
    Copy the full SHA
    9f09133 View commit details
    Browse the repository at this point in the history
  5. Improve migration logging

    OHM-1053
    rcrichton committed Sep 3, 2020
    Configuration menu
    Copy the full SHA
    bba196a View commit details
    Browse the repository at this point in the history
  6. Add additional logging to migration

    OHM-1053
    rcrichton committed Sep 3, 2020
    Configuration menu
    Copy the full SHA
    9b27020 View commit details
    Browse the repository at this point in the history
  7. Set default migration concurrency to 5

    OHM-1053
    rcrichton committed Sep 3, 2020
    Configuration menu
    Copy the full SHA
    f88f1e2 View commit details
    Browse the repository at this point in the history
  8. Improve logging for migration again

    OHM-1053
    rcrichton committed Sep 3, 2020
    Configuration menu
    Copy the full SHA
    83db80f View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2020

  1. Fix promise check bug

    OHM-1053
    rcrichton committed Sep 4, 2020
    Configuration menu
    Copy the full SHA
    a4dbbef View commit details
    Browse the repository at this point in the history
  2. Fix transaction status bug

    OHM-1046
    rcrichton committed Sep 4, 2020
    Configuration menu
    Copy the full SHA
    47e9a50 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1092 from jembi/ohm-1046-data-control-request-sto…

    …rage-bug
    
    OHM-1046 data control request storage bug
    MattyJ007 committed Sep 4, 2020
    Configuration menu
    Copy the full SHA
    6c38cfb View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2020

  1. Merge pull request #1094 from jembi/ohm-1053-gridfs-migration-concurr…

    …ency
    
    OHM-1053 - gridfs migration concurrency
    MattyJ007 committed Sep 8, 2020
    Configuration menu
    Copy the full SHA
    de999f1 View commit details
    Browse the repository at this point in the history
  2. Remove logic that added transaction bodies

    Transaction bodies are stored separately and can be very large. We have
    rewritten the OpenHIM to stream data instead of consolidating before
    orchestrating.
    We are implementing this same principle with interactions with the api
    to improve response times.
    If a request is made for transactions, a secondary request must be made
    for the potentially large transaction bodies which will then be streamed
    to the requester.
    
    OHM-1035
    MattyJ007 committed Sep 8, 2020
    Configuration menu
    Copy the full SHA
    199f3e1 View commit details
    Browse the repository at this point in the history
  3. Remove transaction body truncation

    OHM-1036
    de-laz committed Sep 8, 2020
    Configuration menu
    Copy the full SHA
    fcb2fc9 View commit details
    Browse the repository at this point in the history
  4. Remove unused confif references

    OHM-1036
    de-laz committed Sep 8, 2020
    Configuration menu
    Copy the full SHA
    42bbf51 View commit details
    Browse the repository at this point in the history
  5. Fix build errors

    de-laz committed Sep 8, 2020
    Configuration menu
    Copy the full SHA
    8a32f13 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2020

  1. Correct transaction projection

    OHM-1037
    rcrichton committed Sep 9, 2020
    Configuration menu
    Copy the full SHA
    0e79b92 View commit details
    Browse the repository at this point in the history
  2. Fix readme pro tips

    OHM-1037
    rcrichton committed Sep 9, 2020
    Configuration menu
    Copy the full SHA
    30d9714 View commit details
    Browse the repository at this point in the history
  3. Add API endpoint to stream transaction bodies

    This endpoint support HTTP range requests.
    
    OHM-1037
    rcrichton committed Sep 9, 2020
    Configuration menu
    Copy the full SHA
    5ec7293 View commit details
    Browse the repository at this point in the history
  4. Fix error handling and imporve coverage

    OHM-1037
    rcrichton committed Sep 9, 2020
    Configuration menu
    Copy the full SHA
    0e06c15 View commit details
    Browse the repository at this point in the history
  5. fix deleting of autoretries

    The logic for deleting auto retries has been fixed. When a retry is done, it is deleted but when multiple are processed (in the agenda job), the logic that existed was only deleting a single retry out of the processed ones, and this would result in more retries happening than should. The agenda job run after a minute.
    
    OHM-1049
    bradsawadye committed Sep 9, 2020
    Configuration menu
    Copy the full SHA
    8bb5fcf View commit details
    Browse the repository at this point in the history
  6. reset the transaction autoRetryAttempt number and add test

    when a transaction is rerun and that rerun fails, the failed transaction should be auto retried as per channel's configuration. The logic for rerunning uses the transaction's autoRetryAttempt number to ensure that a failed transaction is auto retried as per channels max number of retries allowed.
    
    OHM-1049
    bradsawadye committed Sep 9, 2020
    Configuration menu
    Copy the full SHA
    2f8661b View commit details
    Browse the repository at this point in the history
  7. Merge pull request #1096 from jembi/ohm-1036-remove-truncation

    OHM-1036 Remove requets body truncation
    MattyJ007 committed Sep 9, 2020
    Configuration menu
    Copy the full SHA
    013562b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c422f52 View commit details
    Browse the repository at this point in the history
  9. Merge pull request #1095 from jembi/OHM-1035-return-body-id

    OHM-1035 Remove logic that added transaction bodies
    de-laz committed Sep 9, 2020
    Configuration menu
    Copy the full SHA
    9c6a589 View commit details
    Browse the repository at this point in the history
  10. fix typo

    OHM-1049
    bradsawadye committed Sep 9, 2020
    Configuration menu
    Copy the full SHA
    8b8c581 View commit details
    Browse the repository at this point in the history
  11. fix lint errors

    OHM-1049
    bradsawadye committed Sep 9, 2020
    Configuration menu
    Copy the full SHA
    58ef5ed View commit details
    Browse the repository at this point in the history
  12. fix lint error

    OHM-1049
    bradsawadye committed Sep 9, 2020
    Configuration menu
    Copy the full SHA
    9817871 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2020

  1. Update src/api/tasks.js

    Co-authored-by: Martin Brocker <[email protected]>
    bradsawadye and Martin Brocker committed Sep 11, 2020
    Configuration menu
    Copy the full SHA
    27a1546 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b076398 View commit details
    Browse the repository at this point in the history
  3. Merge remote-tracking branch 'origin/OHM-699-retrieve-bodies-via-stre…

    …aming' into ohm-1037-new-transaction-bodies-endpoint
    rcrichton committed Sep 11, 2020
    Configuration menu
    Copy the full SHA
    4c24726 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #1098 from jembi/OHM-1049-fix-auto-retry-alpha

    Ohm 1049 fix auto retry functionality (alpha)
    Martin Brocker committed Sep 11, 2020
    Configuration menu
    Copy the full SHA
    e8957de View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2020

  1. Configuration menu
    Copy the full SHA
    0d91586 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2020

  1. Merge branch '6.0.0-alpha.1' of github.com:jembi/openhim-core-js into…

    … 6.0.0-alpha.1
    Martin Brocker committed Sep 14, 2020
    Configuration menu
    Copy the full SHA
    40ab7ab View commit details
    Browse the repository at this point in the history
  2. Fixed linting issues due to merge

    Martin Brocker committed Sep 14, 2020
    Configuration menu
    Copy the full SHA
    c4e80b3 View commit details
    Browse the repository at this point in the history
  3. Updated package-lock with optional module flags

    Martin Brocker committed Sep 14, 2020
    Configuration menu
    Copy the full SHA
    d02ca10 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'OHM-699-retrieve-bodies-via-streaming' of github.com:je…

    …mbi/openhim-core-js into OHM-699-retrieve-bodies-via-streaming
    Martin Brocker committed Sep 14, 2020
    Configuration menu
    Copy the full SHA
    48e2a9f View commit details
    Browse the repository at this point in the history
  5. Merge pull request #1093 from jembi/ohm-719-trasaction-grid-fs-migrat…

    …ion-story
    
    OHM-719 transaction gridFS migration story
    MattyJ007 committed Sep 14, 2020
    Configuration menu
    Copy the full SHA
    ba6aefe View commit details
    Browse the repository at this point in the history
  6. Merge branch 'ohm-1031-dependency-updates' of github.com:jembi/openhi…

    …m-core-js into ohm-1058-dependency-updates
    Martin Brocker committed Sep 14, 2020
    Configuration menu
    Copy the full SHA
    ad908f5 View commit details
    Browse the repository at this point in the history
  7. Fixed linting issues

    OHM-1058
    Martin Brocker committed Sep 14, 2020
    Configuration menu
    Copy the full SHA
    2de9215 View commit details
    Browse the repository at this point in the history
  8. Updated babel packages to latest versions

    @babel/cli
    @babel/core
    @babel/preset-env
    @babel/register
    
    OHM-1058
    Martin Brocker committed Sep 14, 2020
    Configuration menu
    Copy the full SHA
    4e803ad View commit details
    Browse the repository at this point in the history
  9. Updated moment to latest version

    OHM-1058
    Martin Brocker committed Sep 14, 2020
    Configuration menu
    Copy the full SHA
    288bb40 View commit details
    Browse the repository at this point in the history
  10. Updated security vulnerabilies found by npm audit

    This was an automatic fix by npm "npm audit fix"
    
    OHM-1058
    Martin Brocker committed Sep 14, 2020
    Configuration menu
    Copy the full SHA
    1ba7d31 View commit details
    Browse the repository at this point in the history
  11. Updated winston-mongodb to latest version

    OHM-1058
    Martin Brocker committed Sep 14, 2020
    Configuration menu
    Copy the full SHA
    d23b8ff View commit details
    Browse the repository at this point in the history
  12. Updated mongodb to latest version

    OHM-1058
    Martin Brocker committed Sep 14, 2020
    Configuration menu
    Copy the full SHA
    509b1b0 View commit details
    Browse the repository at this point in the history
  13. Updated code that contained deprecation warnings

    These were mostly related to the mongo/mongoose use for managing documents and replacing the deplricated functions to remove the warnings
    
    OHM-1058
    Martin Brocker committed Sep 14, 2020
    Configuration menu
    Copy the full SHA
    e1fcf9d View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2020

  1. Fix typos

    Co-authored-by: Martin Brocker <[email protected]>
    rcrichton and Martin Brocker committed Sep 15, 2020
    Configuration menu
    Copy the full SHA
    ba9e6ac View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f399d94 View commit details
    Browse the repository at this point in the history
  3. Correct respone codes

    OHM-1037
    rcrichton committed Sep 15, 2020
    Configuration menu
    Copy the full SHA
    77a494b View commit details
    Browse the repository at this point in the history
  4. Allow wildcard end values in range header

    OHM-1037
    rcrichton committed Sep 15, 2020
    Configuration menu
    Copy the full SHA
    7d5c82c View commit details
    Browse the repository at this point in the history
  5. Merge pull request #1097 from jembi/ohm-1037-new-transaction-bodies-e…

    …ndpoint
    
    OHM-1037 - new transaction bodies endpoint
    Martin Brocker committed Sep 15, 2020
    Configuration menu
    Copy the full SHA
    1431009 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2020

  1. Merge branch 'OHM-699-retrieve-bodies-via-streaming' of github.com:je…

    …mbi/openhim-core-js into OHM-699-retrieve-bodies-via-streaming
    Martin Brocker committed Sep 16, 2020
    Configuration menu
    Copy the full SHA
    2e93cc6 View commit details
    Browse the repository at this point in the history
  2. Merge branch '6.0.0-alpha.1' of github.com:jembi/openhim-core-js into…

    … OHM-699-retrieve-bodies-via-streaming
    Martin Brocker committed Sep 16, 2020
    Configuration menu
    Copy the full SHA
    faffd21 View commit details
    Browse the repository at this point in the history
  3. Fixed linting issues on parent branch

    OHM-699
    Martin Brocker committed Sep 16, 2020
    Configuration menu
    Copy the full SHA
    eb1d432 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #1102 from jembi/OHM-699-retrieve-bodies-via-strea…

    …ming
    
    Ohm 699 retrieve bodies via streaming
    Martin Brocker committed Sep 16, 2020
    Configuration menu
    Copy the full SHA
    1101837 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2020

  1. send back the content-range header

    This header will be used to determine whether the whole body has been retrieved
    
    OHM-1039
    bradsawadye committed Oct 27, 2020
    Configuration menu
    Copy the full SHA
    6a804c7 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2020

  1. upgrade mongoose

    OHM-1058
    bradsawadye committed Oct 30, 2020
    Configuration menu
    Copy the full SHA
    ae5cd42 View commit details
    Browse the repository at this point in the history
  2. fix the failing tests

    Using sinon fake timer was causing the mongoose model 'save' method to hang. This was resulting in the tests failing
    
    OHM-1058
    bradsawadye committed Oct 30, 2020
    Configuration menu
    Copy the full SHA
    240b8f2 View commit details
    Browse the repository at this point in the history
  3. Merge branch '6.0.0-alpha.1' of github.com:jembi/openhim-core-js into…

    … ohm-1058-dependency-updates
    bradsawadye committed Oct 30, 2020
    Configuration menu
    Copy the full SHA
    f6ab03e View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2020

  1. upgrade the koa library

    OHM-1058
    bradsawadye committed Nov 2, 2020
    Configuration menu
    Copy the full SHA
    fb94f70 View commit details
    Browse the repository at this point in the history
  2. upgrade lodash

    OHM-1058
    bradsawadye committed Nov 2, 2020
    Configuration menu
    Copy the full SHA
    b09c091 View commit details
    Browse the repository at this point in the history
  3. upgrade moment

    OHM-1058
    bradsawadye committed Nov 2, 2020
    Configuration menu
    Copy the full SHA
    8987bca View commit details
    Browse the repository at this point in the history
  4. upgrade nodemailer

    OHM-1058
    bradsawadye committed Nov 2, 2020
    Configuration menu
    Copy the full SHA
    69cbe01 View commit details
    Browse the repository at this point in the history
  5. upgrade pem library

    OHM-1058
    bradsawadye committed Nov 2, 2020
    Configuration menu
    Copy the full SHA
    6955d3f View commit details
    Browse the repository at this point in the history
  6. upgrade xml2js

    OHM-1058
    bradsawadye committed Nov 2, 2020
    Configuration menu
    Copy the full SHA
    f9c1fb7 View commit details
    Browse the repository at this point in the history
  7. upgrade xmldom

    OHM-1058
    bradsawadye committed Nov 2, 2020
    Configuration menu
    Copy the full SHA
    f9c6d1a View commit details
    Browse the repository at this point in the history
  8. upgrade xpath

    OHM-1058
    bradsawadye committed Nov 2, 2020
    Configuration menu
    Copy the full SHA
    31f3dad View commit details
    Browse the repository at this point in the history
  9. upgrade the mocha package

    OHM-1058
    bradsawadye committed Nov 2, 2020
    Configuration menu
    Copy the full SHA
    caca27d View commit details
    Browse the repository at this point in the history
  10. update the babel/cli library

    OHM-1058
    bradsawadye committed Nov 2, 2020
    Configuration menu
    Copy the full SHA
    a273baa View commit details
    Browse the repository at this point in the history
  11. upgrade the @babel/preset-env library

    OHM-1058
    bradsawadye committed Nov 2, 2020
    Configuration menu
    Copy the full SHA
    67d7061 View commit details
    Browse the repository at this point in the history
  12. upgrade codecov and @babel/register

    OHM-1058
    bradsawadye committed Nov 2, 2020
    Configuration menu
    Copy the full SHA
    bebb8cd View commit details
    Browse the repository at this point in the history
  13. update supertest standard snazzy and sinon

    OHM-1058
    bradsawadye committed Nov 2, 2020
    Configuration menu
    Copy the full SHA
    4553125 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2020

  1. update @babel/cli, chokidar etc

    OHM-1058
    bradsawadye committed Nov 4, 2020
    Configuration menu
    Copy the full SHA
    a8ff41c View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2020

  1. replace request with axios

    request is deprecated
    
    OHM-1058
    bradsawadye committed Nov 11, 2020
    Configuration menu
    Copy the full SHA
    04c6a4a View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2020

  1. fix the polling functionality and the tests

    Manually polling a channel was not working. The result was not being returned. The test has also been fixed
    OHM-1058
    bradsawadye committed Nov 12, 2020
    Configuration menu
    Copy the full SHA
    a4927dc View commit details
    Browse the repository at this point in the history
  2. update nodemailer, mongoose, mongodb and supertest

    this also removes an unused library
    
    OHM-1058
    bradsawadye committed Nov 12, 2020
    Configuration menu
    Copy the full SHA
    b6221fd View commit details
    Browse the repository at this point in the history
  3. Merge branch '6.0.0-alpha.1' of github.com:jembi/openhim-core-js into…

    … 6.0.0-alpha.1
    Martin Brocker committed Nov 12, 2020
    Configuration menu
    Copy the full SHA
    3fc1aab View commit details
    Browse the repository at this point in the history
  4. Merge branch 'ohm-1058-dependency-updates' of github.com:jembi/openhi…

    …m-core-js into ohm-1058-dependency-updates
    
    One minor update. A broken test was due to the mongo filter not being correct for returning the transactionId for the check
    Martin Brocker committed Nov 12, 2020
    Configuration menu
    Copy the full SHA
    9bfe336 View commit details
    Browse the repository at this point in the history
  5. Fixed linting errors

    Some minor formatting issues.
    The bigger issues were with the importing of modules as everything. This needs to be explcitiyly exported
    Missing return statements causing lint errors
    
    ohm-1058
    Martin Brocker committed Nov 12, 2020
    Configuration menu
    Copy the full SHA
    cf9093c View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2020

  1. Merge pull request #1103 from jembi/ohm-1058-dependency-updates

    Ohm 1058 dependency updates
    bradsawadye committed Nov 13, 2020
    Configuration menu
    Copy the full SHA
    ecb22f1 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2020

  1. Merge pull request #1104 from jembi/OHM-1039-send-content-range-header

    send back the content-range header
    Martin Brocker committed Nov 17, 2020
    Configuration menu
    Copy the full SHA
    2b2e578 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2021

  1. move line logging out succes message

    The message should only be logged out when tls authentication is successful. The line was causing the an error to be thrown when tls auth failed
    
    DATO-8
    bradsawadye committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    0e8fbbf View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2021

  1. Merge pull request #1115 from jembi/DATO-8-alpha-fix-tls-issue

    fix tls authentication issue
    de-laz committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    a7bb40f View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2021

  1. Bump y18n from 3.2.1 to 3.2.2

    Bumps [y18n](https://github.com/yargs/y18n) from 3.2.1 to 3.2.2.
    - [Release notes](https://github.com/yargs/y18n/releases)
    - [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
    - [Commits](https://github.com/yargs/y18n/commits)
    
    Signed-off-by: dependabot[bot] <[email protected]>
    dependabot[bot] committed Mar 29, 2021
    Configuration menu
    Copy the full SHA
    89cf908 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2021

  1. Upgrade supported nodejs version

    This commit will upgrade the supported  node versions.
    
    Related Tickets:
     - DATO-11
     - DATO-3
    de-laz committed May 4, 2021
    Configuration menu
    Copy the full SHA
    8d01314 View commit details
    Browse the repository at this point in the history
  2. Remove unused dockerfile

    Related Tickets:
     - DATO-11
    de-laz committed May 4, 2021
    Configuration menu
    Copy the full SHA
    8a3caa4 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2021

  1. Upgrade xmldom to 0.5.0

    Related Tickets:
     - DATO-10
    de-laz committed May 5, 2021
    Configuration menu
    Copy the full SHA
    9d9badf View commit details
    Browse the repository at this point in the history
  2. Switch package version to 6.0.0-alpha.1

    Related Tickets:
     - DATO-10
    de-laz committed May 5, 2021
    Configuration menu
    Copy the full SHA
    7cde43c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    95db724 View commit details
    Browse the repository at this point in the history
  4. Sync package lock file with package file

    Related Tickets:
     - DATO-10
    de-laz committed May 5, 2021
    Configuration menu
    Copy the full SHA
    f0722b1 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #1116 from jembi/dependabot/npm_and_yarn/y18n-3.2.2

    Bump y18n from 3.2.1 to 3.2.2
    de-laz committed May 5, 2021
    Configuration menu
    Copy the full SHA
    df933ec View commit details
    Browse the repository at this point in the history

Commits on May 6, 2021

  1. Change the latest supported version

    This commit will change the latest supported version from 16.x.x to 14.x.x.
    
    Related Tickets:
      - DATO-11
    
    Co-authored-by: Matt <[email protected]>
    de-laz and MattyJ007 committed May 6, 2021
    Configuration menu
    Copy the full SHA
    759c206 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    32f41e2 View commit details
    Browse the repository at this point in the history

Commits on May 7, 2021

  1. Upgrade dependencies to remove vulnerabilities

    This commit will upgrade depend that were found to be
    vulnerable by npm audit.
    
    Related Tickets:
     - DATO-10
    de-laz committed May 7, 2021
    Configuration menu
    Copy the full SHA
    cfab223 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2021

  1. Configuration menu
    Copy the full SHA
    1322f93 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2021

  1. Upgrade application dependencies

    Related Tickets:
     - DATO-10
    de-laz committed May 10, 2021
    Configuration menu
    Copy the full SHA
    fdc5479 View commit details
    Browse the repository at this point in the history
  2. Update dev dependencies

    Related Tickets:
     - DATO-10
    de-laz committed May 10, 2021
    Configuration menu
    Copy the full SHA
    d7293ab View commit details
    Browse the repository at this point in the history
  3. Upgrade standard to latest major version

    Related Tickets:
     - DATO-10
    de-laz committed May 10, 2021
    Configuration menu
    Copy the full SHA
    297aedd View commit details
    Browse the repository at this point in the history
  4. Merge pull request #1117 from jembi/dato-11-upgrade-node-version

    DATO-11: Upgrade supported nodejs version
    MattyJ007 committed May 10, 2021
    Configuration menu
    Copy the full SHA
    7bb9be2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d984361 View commit details
    Browse the repository at this point in the history
  6. Update mongoose minor version dependency

    Security update
    
    DATO-10
    MattyJ007 committed May 10, 2021
    Configuration menu
    Copy the full SHA
    196d3fd View commit details
    Browse the repository at this point in the history
  7. Update travis node test versions

    Ensure travis is testing our supported versions
    
    DATO-10
    MattyJ007 committed May 10, 2021
    Configuration menu
    Copy the full SHA
    13d1220 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #1120 from jembi/dato-10-upgrade-dependencies

    DATO-10: Upgrade dependencies
    MattyJ007 committed May 10, 2021
    Configuration menu
    Copy the full SHA
    c06de4f View commit details
    Browse the repository at this point in the history

Commits on May 11, 2021

  1. Merge pull request #1118 from jembi/dependabot/npm_and_yarn/handlebar…

    …s-4.7.7
    
    Bump handlebars from 4.7.6 to 4.7.7
    MattyJ007 committed May 11, 2021
    Configuration menu
    Copy the full SHA
    48ab9ba View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1121 from jembi/dependabot/npm_and_yarn/hosted-gi…

    …t-info-2.8.9
    
    Bump hosted-git-info from 2.8.8 to 2.8.9
    MattyJ007 committed May 11, 2021
    Configuration menu
    Copy the full SHA
    c281a34 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5d8f63f View commit details
    Browse the repository at this point in the history
  4. Merge pull request #1101 from mhawila/ohm1100

    Issue #1100: Request matching should include HTTP methods
    MattyJ007 committed May 11, 2021
    Configuration menu
    Copy the full SHA
    64ce864 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4ec8c1a View commit details
    Browse the repository at this point in the history
  6. Merge pull request #1123 from jembi/revert-1101-ohm1100

    Revert "Issue #1100: Request matching should include HTTP methods"
    MattyJ007 committed May 11, 2021
    Configuration menu
    Copy the full SHA
    89ff179 View commit details
    Browse the repository at this point in the history
  7. Fix importing of polling channels

    We don't register polling channels when import metadata from a file. This is because we go directly to the database and don't use our programmatic API that was designed to cover these sorts to nuances. This is why builting interfaces to DB access (or any external system) is important. It allows you to put all the handling code in one place.
    
    Eventually we should re-work the metadata import to rather use the API for all objects that are imported. This, however, is a much larger task.
    rcrichton committed May 11, 2021
    Configuration menu
    Copy the full SHA
    e2fc5d1 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #1125 from jembi/fix-import-of-polling-channels-6

    Fix importing of polling channels - for alpha branch
    bradsawadye committed May 11, 2021
    Configuration menu
    Copy the full SHA
    d19e53b View commit details
    Browse the repository at this point in the history

Commits on May 13, 2021

  1. Merge pull request #1126 from jembi/dato-3-release

    DATO-3: 6-alpha-2 Release
    de-laz committed May 13, 2021
    Configuration menu
    Copy the full SHA
    32a0fe7 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2021

  1. Configuration menu
    Copy the full SHA
    506d64c View commit details
    Browse the repository at this point in the history
  2. Respond with the correct status

    When a request does not match any channel a response status of 404 should be sent back
    
    OHM-1078
    bradsawadye committed Jul 6, 2021
    Configuration menu
    Copy the full SHA
    b256861 View commit details
    Browse the repository at this point in the history
  3. Add tests for new method

    THis adds the unit tests for the method that is used for matching the request method to a channel's method
    
    OHM-1078
    bradsawadye committed Jul 6, 2021
    Configuration menu
    Copy the full SHA
    d6cb1cb View commit details
    Browse the repository at this point in the history
  4. Fix the tests

    The tests had to be modified as the request matching logic has been changed. The channels in the tests did not have the method, which is used in the matching of the request to a channel
    
    OHM-1078
    bradsawadye committed Jul 6, 2021
    Configuration menu
    Copy the full SHA
    a833f3f View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2021

  1. Merge pull request #1136 from jembi/OHM-1078-fix-request-matching-alpha

    Ohm 1078 fix request matching alpha
    MattyJ007 committed Jul 8, 2021
    Configuration menu
    Copy the full SHA
    fcd69d1 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2021

  1. Add eslint files and libraries

    These are the config files for applying eslint styling to the codebase
    
    OHM-1082
    bradsawadye committed Sep 13, 2021
    Configuration menu
    Copy the full SHA
    7c0abb0 View commit details
    Browse the repository at this point in the history
  2. Apply eslint styling to the codebase

    OHM-1082
    bradsawadye committed Sep 13, 2021
    Configuration menu
    Copy the full SHA
    a262deb View commit details
    Browse the repository at this point in the history
  3. Apply eslinting to the transactions logic

    OHM-1082
    bradsawadye committed Sep 13, 2021
    Configuration menu
    Copy the full SHA
    67aa19d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    462bf02 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1b09d54 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2021

  1. Update core validation for audit log patientID filter

    To prevent special characters being used in the patientID field (fix a bug)
    
    OHM-1084 OHM-927
    michaelloosen authored and MattyJ007 committed Sep 14, 2021
    Configuration menu
    Copy the full SHA
    1645bec View commit details
    Browse the repository at this point in the history
  2. Update API integration test to boost code coverage

    Improve testing code coverage and correct mistake in regex check
    OHM-1084 OHM-927
    michaelloosen authored and MattyJ007 committed Sep 14, 2021
    Configuration menu
    Copy the full SHA
    63372a2 View commit details
    Browse the repository at this point in the history
  3. Add more code coverage for testing audit.js

    The previous changes reduced the auditAPITests.js code coverage
    OHM-1084 OHM-927
    michaelloosen authored and MattyJ007 committed Sep 14, 2021
    Configuration menu
    Copy the full SHA
    9c869e1 View commit details
    Browse the repository at this point in the history
  4. Apply linting to audit files

    Keep the codebase consistent
    
    OHM-927
    MattyJ007 committed Sep 14, 2021
    Configuration menu
    Copy the full SHA
    e6f3bdf View commit details
    Browse the repository at this point in the history
  5. Remove unnecessary escape from regex

    Hyphens are safe characters without other meaning in the regex syntax
    
    OHM-927
    MattyJ007 committed Sep 14, 2021
    Configuration menu
    Copy the full SHA
    cec6e6b View commit details
    Browse the repository at this point in the history
  6. Merge pull request #1144 from jembi/OHM-927-add-audit-validation-alpha

    Ohm 927 add audit validation alpha
    MattyJ007 committed Sep 14, 2021
    Configuration menu
    Copy the full SHA
    c718948 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9b3864f View commit details
    Browse the repository at this point in the history
  8. Merge pull request #1142 from jembi/OHM-1082-add-eslint-alpha

    Ohm 1082 add eslint alpha
    MattyJ007 committed Sep 14, 2021
    Configuration menu
    Copy the full SHA
    dc17ec1 View commit details
    Browse the repository at this point in the history
  9. Apply npm audit fix

    Fix any security vulnerabilities
    MattyJ007 committed Sep 14, 2021
    Configuration menu
    Copy the full SHA
    a0d7115 View commit details
    Browse the repository at this point in the history
  10. Bump alpha release version

    Bug fix and dep update
    MattyJ007 committed Sep 14, 2021
    Configuration menu
    Copy the full SHA
    7b087f9 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2021

  1. Add Dockerfile for building core image

    Moving the dockerfile from a separate repo to keep everything in one
    place
    
    OHM-1052
    MattyJ007 committed Sep 21, 2021
    Configuration menu
    Copy the full SHA
    da74af0 View commit details
    Browse the repository at this point in the history
  2. Add unecessary directories to dockerignore

    Prevent clutter in docker image
    
    OHM-1052
    MattyJ007 committed Sep 21, 2021
    Configuration menu
    Copy the full SHA
    7d83820 View commit details
    Browse the repository at this point in the history