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

Issue663 update python dependancies #690

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

Commits on Jun 27, 2020

  1. Merge NREL's alfalfa code into boptest

    This commit introduces the concept of separate worker and web server processes. The worker is a distinct docker container that is respnsible for carrying out a simulation. The web server is within a separate container is only responsible for serving http requests. A redis database is used to communicate between the worker and web server. The web server and worker may scale indpendently and it is expected that a deployment would involve many workers to manage multiple simultaneous simulations/tests.
    
    This commit is organized such that it adds to the existing boptest project layout, but it does not disturb any of the existing project layout. The worker depends on and makes extensive use of the existing boptest libraries, especially those APIs in testcase.py as well as the forecast and kpi source code directories.
    
    Currently the web api presented by the web server is conceptually equilvant, but not api compatiable with the existing boptest/master API. A future commit will resolve this difference.
    
    To test this commit:
    
    cd <project-root>
    docker-compose build
    docker-compose up web worker
    
    After starting the services defined by docker-compose, a web application should be viewable in the browser at http://localhost
    
    * There is a graphql https://graphql.org api viewable at http://localhost/graphql
    * This architecture depends on bulk file storage such as Amazon S3. In development mode a mino https://min.io container stands in for S3, and is available at http://localhost:9000. From this interface it is possible to view raw file (test case) uploads and simulation files. The default authentication can be found in the .env file that is included in this commit
    * A forecast API has been added, which was not previously available in Alfalfa
    kbenne committed Jun 27, 2020
    Configuration menu
    Copy the full SHA
    41e830f View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2020

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

Commits on Sep 23, 2020

  1. Adjust worker Dockerfile

    kbenne committed Sep 23, 2020
    Configuration menu
    Copy the full SHA
    94d3707 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2020

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

Commits on Sep 25, 2020

  1. WIP: Add boptest endpoints

    kbenne committed Sep 25, 2020
    Configuration menu
    Copy the full SHA
    8331822 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2020

  1. Configuration menu
    Copy the full SHA
    6277063 View commit details
    Browse the repository at this point in the history
  2. Add time to measurement payload

    Working (although incomplete) twoday example
    kbenne committed Sep 28, 2020
    Configuration menu
    Copy the full SHA
    85809a5 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2020

  1. Configuration menu
    Copy the full SHA
    fb3eb6e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a076cd1 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2020

  1. Merge pull request #236 from NREL/boptest-service

    Update API and add example controller
    dhblum authored Sep 30, 2020
    Configuration menu
    Copy the full SHA
    da83794 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2020

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

Commits on Jan 25, 2021

  1. Fix build error

    kbenne committed Jan 25, 2021
    Configuration menu
    Copy the full SHA
    19c68e3 View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2021

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

Commits on Feb 5, 2021

  1. autoformatting, whitespace

    nllong committed Feb 5, 2021
    Configuration menu
    Copy the full SHA
    6b8c748 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2021

  1. Remove copyright at the file level

    There is global attribution at the project root
    kbenne committed Feb 9, 2021
    Configuration menu
    Copy the full SHA
    3a3b701 View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2021

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

Commits on Mar 9, 2021

  1. WIP: add support for results on demand

    Use redis messages to generate results as they are requested, instead of
    the very time consuming approach of computing them on every step
    kbenne committed Mar 9, 2021
    Configuration menu
    Copy the full SHA
    df67faf View commit details
    Browse the repository at this point in the history
  2. Fix syntax errors

    kbenne committed Mar 9, 2021
    Configuration menu
    Copy the full SHA
    7cd2db1 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2021

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

Commits on Mar 12, 2021

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

Commits on Mar 17, 2021

  1. Configuration menu
    Copy the full SHA
    40b357b View commit details
    Browse the repository at this point in the history
  2. WIP: Update put step

    kbenne committed Mar 17, 2021
    Configuration menu
    Copy the full SHA
    b3763cd View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2021

  1. Configuration menu
    Copy the full SHA
    c0cb3d5 View commit details
    Browse the repository at this point in the history
  2. BOPTEST-Service: Reimplement advance

    Remove some unwanted Alfalfa isms
    kbenne committed Mar 18, 2021
    Configuration menu
    Copy the full SHA
    e6e16fb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    245a3b4 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2021

  1. Configuration menu
    Copy the full SHA
    ff01584 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3afe052 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2e2535e View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2021

  1. Configuration menu
    Copy the full SHA
    c5e473e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    df39d8e View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2021

  1. Make "most of" testcase1 pass

    The exceptions are the min/max test, plus julia and javascript tests
    kbenne committed Jun 29, 2021
    Configuration menu
    Copy the full SHA
    ac6eacd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f7d4725 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fc8e2f0 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2021

  1. Update setScenario

    When setting a new scenario only initialize a new job/test when there is
    a new time period
    kbenne committed Jun 30, 2021
    Configuration menu
    Copy the full SHA
    f6e090a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8fb6f1b View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2021

  1. Configuration menu
    Copy the full SHA
    7d40ed4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    962e805 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fb56455 View commit details
    Browse the repository at this point in the history
  4. Service: Add version api

    kbenne committed Jul 7, 2021
    Configuration menu
    Copy the full SHA
    58df3d5 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2021

  1. Service: Change control input sanitizer to a validator

    Now an error will be returned for invalid control inputs
    kbenne committed Jul 8, 2021
    Configuration menu
    Copy the full SHA
    6dfe64b View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2021

  1. Service: Extensive renaming and cleanup

    Most notably there is a more clear boundary around a "job" and they are
    named clearly "boptest_add_testcase" and "boptest_run_test". Also, jobs
    are each proper python modules.
    
    Some Alfalfa terminology scrubed.
    kbenne committed Jul 9, 2021
    Configuration menu
    Copy the full SHA
    4475ff3 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2021

  1. Service: A argument for testcase name on submit

    In the process of this, also remove all traces of graphql, and cleanup
    route organization
    kbenne committed Jul 11, 2021
    Configuration menu
    Copy the full SHA
    5489b2e View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2021

  1. Service: Add "select" api

    This new api is used to select a testcase and returns a test id.
    Also there is significant refactor of the messaging between web and
    worker.
    kbenne committed Jul 14, 2021
    Configuration menu
    Copy the full SHA
    b141f1a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6d9208e View commit details
    Browse the repository at this point in the history
  3. Service: Fix regression related to advance

    A previous commit created a regression where advance would not return
    null at the end time
    kbenne committed Jul 14, 2021
    Configuration menu
    Copy the full SHA
    d43c640 View commit details
    Browse the repository at this point in the history
  4. Service: Improve method of sending commands to worker

    Previously every command opened two new redis connections between web
    and worker. Now there is only a single set of connections that are
    persistent during the life of the web process.
    kbenne committed Jul 14, 2021
    Configuration menu
    Copy the full SHA
    68eb76e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e245ad2 View commit details
    Browse the repository at this point in the history
  6. Service: Implement a two minute timeout

    If no requests are made on a test for two minutes, it will timeout and
    the worker will cleanup the test and go back to waiting for another job.
    kbenne committed Jul 14, 2021
    Configuration menu
    Copy the full SHA
    645c12d View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2021

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

Commits on Jul 16, 2021

  1. Service: Add a service to pre provision testcases

    Also update testcase1 based on assumption that the testcase is already
    available
    kbenne committed Jul 16, 2021
    Configuration menu
    Copy the full SHA
    1b2c245 View commit details
    Browse the repository at this point in the history
  2. Service: Remove extraneous redis subscribe/unsubscribe

    The subscriptions are now more targeted instead of generic pattern based
    subscriptions, the sub / unsub calls that are removed here are reminants
    of the past
    kbenne committed Jul 16, 2021
    Configuration menu
    Copy the full SHA
    eeecfb6 View commit details
    Browse the repository at this point in the history
  3. Service: Update API timeouts

    When waiting for a response from the worker for API calls there is a
    built in timeout (while waiting for a response over redis). Previously
    this timeout was 30 seconds, however some API calls such as set_scenario
    were noticed to take signficant time for some models. In response, the
    timeout has been increased to 2 minutes.
    kbenne committed Jul 16, 2021
    Configuration menu
    Copy the full SHA
    2e6c14b View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2021

  1. Configuration menu
    Copy the full SHA
    a769e65 View commit details
    Browse the repository at this point in the history
  2. Service: Promisify redis functions

    This simply makes the code cleaner, and now that there is a Redis class
    encapsulating the redis client, there is a logical place to put these
    promisified functions.
    kbenne committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    f61bec1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    109f77f View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2021

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

Commits on Dec 21, 2021

  1. Add provision function for the BOPTEST Dashboard

    This is a primitive function, that has the testcases hard coded. Can be
    improved.
    kbenne committed Dec 21, 2021
    Configuration menu
    Copy the full SHA
    bb3b12b View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2021

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

Commits on Jan 18, 2022

  1. Add api_key to select api

    kbenne committed Jan 18, 2022
    Configuration menu
    Copy the full SHA
    4d2826e View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2022

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

Commits on Jul 14, 2022

  1. Update service with status codes

    ref #445
    kbenne committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    f3cf124 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2022

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

Commits on Jul 20, 2022

  1. Tweaks to fix testcases

    kbenne committed Jul 20, 2022
    Configuration menu
    Copy the full SHA
    c01e311 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4b9d380 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2022

  1. Service: Add submit api

    ref #448
    kbenne committed Jul 21, 2022
    Configuration menu
    Copy the full SHA
    b192c51 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2022

  1. Merge pull request #455 from ibpsa/issue448-service-submit

    Issue448 service submit
    kbenne authored Jul 26, 2022
    Configuration menu
    Copy the full SHA
    7d33ff2 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2022

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

Commits on Jul 29, 2022

  1. Merge pull request #460 from ibpsa/issue424_v030_service

    Issue424 v030 service
    kbenne authored Jul 29, 2022
    Configuration menu
    Copy the full SHA
    87c223a View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2022

  1. Service: (re)add Spawn install commands

    This change was inadvertantly removed in a previous commit, and is now
    being reintroduced.
    
    close #474
    kbenne committed Sep 14, 2022
    Configuration menu
    Copy the full SHA
    7c7d3f1 View commit details
    Browse the repository at this point in the history
  2. Service: Fix GET /testcases API

    close #484
    kbenne committed Sep 14, 2022
    Configuration menu
    Copy the full SHA
    0ed735d View commit details
    Browse the repository at this point in the history
  3. Service: Add API to remove testcases

    close #486
    kbenne committed Sep 14, 2022
    Configuration menu
    Copy the full SHA
    f831424 View commit details
    Browse the repository at this point in the history
  4. Service: Consolidate timeouts into a single env var

    The environment variable named SERVICE_TIMEOUT now controls inactivity
    timeout as well as the timeout while waiting to select a testcase.
    kbenne committed Sep 14, 2022
    Configuration menu
    Copy the full SHA
    8bd6b20 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2022

  1. Consume BOPTEST from a subtree

    In the previous commit, the canonical BOPTEST dependency was added as a
    git subtree. In this commit, the pieces of BOPTEST (unrelated to BOPTEST-service),
    which have been made redundant by the subtree are removed.
    
    At this stage BOPTEST-Service is functional while consuming BOPTEST in
    the new subtree location. The BOPTEST tests still need to be updated in
    order to work with the service because the subtree and therefore the
    tests are based on the BOPTEST master branch. A future commit needs to
    reintroduce the BOPTEST-Service flavor of the tests.
    
    All of this is an effort to retain history while still migrating
    BOPTEST-Service to a dedicated repository and introducing BOPTEST
    (canonical) as a subtree.
    kbenne committed Oct 20, 2022
    Configuration menu
    Copy the full SHA
    f52af6c View commit details
    Browse the repository at this point in the history
  2. Add license and readme

    kbenne committed Oct 20, 2022
    Configuration menu
    Copy the full SHA
    e3f95c3 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2022

  1. Remove mongodb

    close #13
    kbenne committed Oct 21, 2022
    Configuration menu
    Copy the full SHA
    2cd65e5 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2022

  1. Fix inactivity timeout

    close #15
    kbenne committed Nov 2, 2022
    Configuration menu
    Copy the full SHA
    c64895c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a4098f0 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2022

  1. Configuration menu
    Copy the full SHA
    5a58b11 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    41a1c32 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a6aa62a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f9d041f View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2022

  1. Add my/testcases routes

    ref #9
    kbenne committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    eb17cf5 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2022

  1. add nodemon to web

    Jermy Thomas committed Nov 7, 2022
    Configuration menu
    Copy the full SHA
    d907def View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2022

  1. WIP: Update provision script

    kbenne committed Nov 14, 2022
    Configuration menu
    Copy the full SHA
    30e4fb2 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'develop' into get_all_tests

    Jermy Thomas committed Nov 14, 2022
    Configuration menu
    Copy the full SHA
    dee9d20 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2022

  1. Update provision library

    kbenne committed Nov 18, 2022
    Configuration menu
    Copy the full SHA
    2cbdbbe View commit details
    Browse the repository at this point in the history
  2. Change select

    Jermy Thomas committed Nov 18, 2022
    Configuration menu
    Copy the full SHA
    1feae72 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2022

  1. Configuration menu
    Copy the full SHA
    a5fafdb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b7dbe68 View commit details
    Browse the repository at this point in the history
  3. Add /tests

    jmythms committed Nov 21, 2022
    Configuration menu
    Copy the full SHA
    c14e5eb View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2022

  1. Configuration menu
    Copy the full SHA
    39d79ea View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8ab098b View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2022

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

Commits on Nov 27, 2022

  1. fix cleanup on worker side

    jmythms committed Nov 27, 2022
    Configuration menu
    Copy the full SHA
    9693113 View commit details
    Browse the repository at this point in the history
  2. not validated stop

    jmythms committed Nov 27, 2022
    Configuration menu
    Copy the full SHA
    c98ce07 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2022

  1. working my Tests

    jmythms committed Nov 28, 2022
    Configuration menu
    Copy the full SHA
    12a4158 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7442453 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2022

  1. working testid validator

    jmythms committed Nov 29, 2022
    Configuration menu
    Copy the full SHA
    8f5ccf5 View commit details
    Browse the repository at this point in the history
  2. fix tests_string output

    jmythms committed Nov 29, 2022
    Configuration menu
    Copy the full SHA
    a0fd076 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #21 from NREL/public_tests_debug

    Pull in changes from public debug
    jmythms authored Nov 29, 2022
    Configuration menu
    Copy the full SHA
    ac601cf View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2022

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

Commits on Dec 8, 2022

  1. Configuration menu
    Copy the full SHA
    dae08cc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bbea994 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fd1da9e View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2022

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

Commits on Dec 13, 2022

  1. Configuration menu
    Copy the full SHA
    dd61ddb View commit details
    Browse the repository at this point in the history
  2. Merge pull request #22 from NREL/k8s_pod_deletion_cost

    K8s pod deletion cost
    kbenne authored Dec 13, 2022
    Configuration menu
    Copy the full SHA
    303399c View commit details
    Browse the repository at this point in the history
  3. Merge pull request #18 from NREL/issue_12

    add in GitHub action to build, test and publish docker container images
    kbenne authored Dec 13, 2022
    Configuration menu
    Copy the full SHA
    540e301 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2022

  1. Configuration menu
    Copy the full SHA
    fbed98d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1a774b1 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #23 from NREL/fix_dockerhub

    lower case for registry name for docker hub
    kbenne authored Dec 14, 2022
    Configuration menu
    Copy the full SHA
    19db0d5 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2022

  1. Add configuration for test accounts

    This change enables testing without having the dashboard available
    kbenne committed Dec 19, 2022
    Configuration menu
    Copy the full SHA
    068d968 View commit details
    Browse the repository at this point in the history
  2. Simplify config for s3 url

    kbenne committed Dec 19, 2022
    Configuration menu
    Copy the full SHA
    ac314ea View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2022

  1. Reorganize web src files

    kbenne committed Dec 22, 2022
    Configuration menu
    Copy the full SHA
    42c67c0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8c050ea View commit details
    Browse the repository at this point in the history
  3. Update dockerignore

    kbenne committed Dec 22, 2022
    Configuration menu
    Copy the full SHA
    56172ea View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2023

  1. Configuration menu
    Copy the full SHA
    2dec377 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6f0a1f1 View commit details
    Browse the repository at this point in the history
  3. User user "subject" instead of username

    "sub" in the OAuth sense is immutable, whereas BOPTEST allows username
    to be modified, therefore it is a not a good key for storage
    kbenne committed Jan 4, 2023
    Configuration menu
    Copy the full SHA
    ef85841 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    86731b7 View commit details
    Browse the repository at this point in the history
  5. Remove validation of testid

    Validating the testid has become more expensive now that tests can be
    associated with a user (which requires a trip to validate the user),
    therefore testid validation "in the loop" of simulation apis has been
    removed. Now instead of getting an immediate error, the response will
    timeout after not receiving a response from a running test.
    kbenne committed Jan 4, 2023
    Configuration menu
    Copy the full SHA
    8b9b5f3 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2023

  1. Add feature to abort queued tests

    This also required a little rework on the /tests api implementation.
    See `test_async_select_api` in test_testcase_api for an example.
    kbenne committed Jan 6, 2023
    Configuration menu
    Copy the full SHA
    5779c87 View commit details
    Browse the repository at this point in the history
  2. Update api to return 400 for invalid testid

    This is true for all APIs that accept testid as a url param,
    but most especially the status api.
    kbenne committed Jan 6, 2023
    Configuration menu
    Copy the full SHA
    0a694c7 View commit details
    Browse the repository at this point in the history
  3. Use sscan to get all tests

    This replaces smembers which is not advised in a production environment
    kbenne committed Jan 6, 2023
    Configuration menu
    Copy the full SHA
    05d5511 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d4d7a48 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3d6f456 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4358eee View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2023

  1. Fix version api regression

    kbenne committed Jan 10, 2023
    Configuration menu
    Copy the full SHA
    666af44 View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2023

  1. Configuration menu
    Copy the full SHA
    bf3bd7e View commit details
    Browse the repository at this point in the history
  2. Update dockerignore

    kbenne committed Jan 15, 2023
    Configuration menu
    Copy the full SHA
    43489cb View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2023

  1. Add WebSocket API

    Tests and examples still to come.
    kbenne committed Jan 18, 2023
    Configuration menu
    Copy the full SHA
    dce7b1b View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2023

  1. Configuration menu
    Copy the full SHA
    5f17153 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b5afe6b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1c749f1 View commit details
    Browse the repository at this point in the history
  4. Align pub/sub message format with canonical BOPTEST api doc

    Previously there was some light transformation of the data sent over
    pub/sub, resulting in a slight difference between the api payloads documented
    on the IBPSA BOPTEST repo and the expected pub/sub payloads.
    
    This has not been an issue in the past because the differences were
    internal, and the rest API of BOPTEST-Service was still aligned with the
    canonical BOPTEST. With the introduction of a websocket api, clients are
    given access to directly put messages on the pub/sub bus, so for the
    sake of clarity it is good to have alignment.
    kbenne committed Jan 20, 2023
    Configuration menu
    Copy the full SHA
    300aaff View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c255a51 View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2023

  1. Configuration menu
    Copy the full SHA
    f43882c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3e1d66c View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2023

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

Commits on Feb 14, 2023

  1. Configuration menu
    Copy the full SHA
    21b6d78 View commit details
    Browse the repository at this point in the history
  2. Improve stop implementation

    Now the test record will be removed from redis right away, meaning that
    even if the message to the worker fails (perhaps
    because the worker vanished) the test will still be gone from the client
    perspective. Even if for some reason the worker is still active for the
    test, the idle timeout will clean it up.
    kbenne committed Feb 14, 2023
    Configuration menu
    Copy the full SHA
    241ae42 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7e3178e View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2023

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

Commits on Mar 9, 2023

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

Commits on Mar 10, 2023

  1. Use python arrays instead of list

    dhblum authored and kbenne committed Mar 10, 2023
    Configuration menu
    Copy the full SHA
    175b38f View commit details
    Browse the repository at this point in the history
  2. Update docs

    kbenne committed Mar 10, 2023
    Configuration menu
    Copy the full SHA
    2b4a5a9 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2023

  1. Merge pull request #25 from NREL/issue/24-websocket

    API and web socket updates.
    kbenne authored Mar 13, 2023
    Configuration menu
    Copy the full SHA
    5055f51 View commit details
    Browse the repository at this point in the history
  2. Capture simulation output

    close #29
    kbenne committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    55acf7a View commit details
    Browse the repository at this point in the history
  3. Allow test cases and simulation results to be downloaded

    This change enables the minio console on port 9001 for local `docker
    compose` based development. There is also a change to set the ACL to
    public-read for simulation results and namespaced test cases. User
    specific test cases are still private.
    
    close #28
    kbenne committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    483a14e View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2023

  1. Configuration menu
    Copy the full SHA
    6f742cc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    851a3bd View commit details
    Browse the repository at this point in the history
  3. fix docker tagging

    tijcolem committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    7adc9ef View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2023

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

Commits on Sep 12, 2023

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

Commits on Sep 20, 2023

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

Commits on Sep 21, 2023

  1. Increase web<->worker messaging timeout

    The timeout is now 8 minutes to account for longer tests under pyfmi3
    kbenne committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    187eb08 View commit details
    Browse the repository at this point in the history
  2. Fix failing test related to websocket

    This change specifically fixes an issue when the websocket sends an
    invalid message to the worker. This does not happen via the REST API
    because messages to the worker are created within the web component's
    REST implementation. For websocket clients are able to send arbitrary
    messages directly to the worker, so the worker needs to handle them
    appropriatly.
    kbenne committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    0167761 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2023

  1. Configuration menu
    Copy the full SHA
    259f462 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    62ec472 View commit details
    Browse the repository at this point in the history
  3. Merge remote-tracking branch 'origin/issue/28-simulation-download' in…

    …to issue146_pyfmi3_cs
    kbenne committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    6b25727 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2023

  1. Log when user auth fails

    ref #33
    kbenne committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    bff76df View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2023

  1. Fix an issue related to user auth

    There was a missing import statement for the got library which is used
    to request authorization from the boptest dashboard.
    
    ref #33
    kbenne committed Dec 13, 2023
    Configuration menu
    Copy the full SHA
    eef34d0 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2024

  1. create experimental branch and change CI logic to publish docker imag…

    …es commited to this branch
    tijcolem committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    b7a68a0 View commit details
    Browse the repository at this point in the history
  2. fix typo in bash script

    tijcolem committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    2da2f5c View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2024

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

Commits on Feb 21, 2024

  1. Configuration menu
    Copy the full SHA
    7ba3ee7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1d9b2bc View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2024

  1. Send 401 for invalid authorization instead of 404

    Previously, invalid endpoints would return a 404 in all cases. Now, if
    there is an invalid Authorization header then 401 will be returned for
    all generic endpoints under /users and /testcases.
    
    ref #35
    kbenne committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    690a42d View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2024

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

Commits on Feb 28, 2024

  1. Change account.dis to account.sub

    ref #39
    kbenne committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    5ec462d View commit details
    Browse the repository at this point in the history
  2. Store test results under "tests"

    ref #40
    kbenne committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    bf468ff View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a1c4d3e View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2024

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

Commits on Mar 7, 2024

  1. Replace SQS with a simple redis queue

    close #41
    kbenne committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    3555dc7 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2024

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

Commits on Jun 13, 2024

  1. Merge NREL/boptest-service into issue617_refactorService_with_history2

    This is a graft of the now mothballed NREL repository (https://github.com/NREL/boptest-service) into the original BOPTEST timeline.
    kbenne committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    21433f8 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2024

  1. Initial use of service only

    dhblum authored and kbenne committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    0106c04 View commit details
    Browse the repository at this point in the history
  2. Pass bestest_air tests except invalid_name

    dhblum authored and kbenne committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    fe3b2ea View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1d8b63a View commit details
    Browse the repository at this point in the history
  4. Pass singlezone_commercial_hydronic

    dhblum authored and kbenne committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    0356f74 View commit details
    Browse the repository at this point in the history
  5. Pass test_testcase1 python

    dhblum authored and kbenne committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    a6daa1c View commit details
    Browse the repository at this point in the history
  6. Pass examples python

    dhblum authored and kbenne committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    7bd9474 View commit details
    Browse the repository at this point in the history
  7. Pass test_bacnet

    dhblum authored and kbenne committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    8aed79a View commit details
    Browse the repository at this point in the history
  8. Updates for julia examples

    dhblum authored and kbenne committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    b3f91c2 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    0a311b8 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    f852251 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    95f7b64 View commit details
    Browse the repository at this point in the history
  12. Update service/README.md

    Co-authored-by: Javier <[email protected]>
    2 people authored and kbenne committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    5e7898b View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    b9ee911 View commit details
    Browse the repository at this point in the history
  14. Updates to README.md [ci skip]

    dhblum authored and kbenne committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    018b5b5 View commit details
    Browse the repository at this point in the history
  15. Updates to README.md [ci skip]

    dhblum authored and kbenne committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    65bb3c6 View commit details
    Browse the repository at this point in the history
  16. Update for Service v0.4.0

    dhblum authored and kbenne committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    222e3af View commit details
    Browse the repository at this point in the history
  17. Update travis dist to focal

    dhblum authored and kbenne committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    dea4b19 View commit details
    Browse the repository at this point in the history
  18. Suppress docker build outputs

    dhblum authored and kbenne committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    41226d3 View commit details
    Browse the repository at this point in the history
  19. Fix quiet argumet

    dhblum authored and kbenne committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    b5aef38 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    d0dff4f View commit details
    Browse the repository at this point in the history
  21. Remove wrong comment [ci skip]

    dhblum authored and kbenne committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    bdec483 View commit details
    Browse the repository at this point in the history
  22. Update dockerignore files

    The dockerignore files are used to reduce the size of the build context
    and therefore speed-up docker build. After merging service into the
    mainline BOPTEST code, the ignore specifications were either missing
    (in some timelines) or incorrect based on the current project structure.
    
    In this commit we ignore the `testcases` and `testing` directories because
    they are large and the docker images for worker and web do not require them.
    kbenne committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    895e752 View commit details
    Browse the repository at this point in the history
  23. Update docker-compose

    * Remove the `test` service
    * Remove `version` property, because it is considered deprecated
    kbenne committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    179fb11 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2024

  1. Configuration menu
    Copy the full SHA
    96c1d08 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c1d234a View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2024

  1. Configuration menu
    Copy the full SHA
    c14f85d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dbb2e18 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2024

  1. Configuration menu
    Copy the full SHA
    71063e9 View commit details
    Browse the repository at this point in the history
  2. Fix typo

    dhblum committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    183765e View commit details
    Browse the repository at this point in the history
  3. Fix for julia examples

    dhblum committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    594bb23 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2024

  1. Quiet julia docker build

    dhblum committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    af22ad7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    08801ab View commit details
    Browse the repository at this point in the history
  3. Merge branch 'issue617_refactorService_with_history2' of https://gith…

    …ub.com/ibpsa/project1-boptest into issue617_refactorService_with_history2
    dhblum committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    57d8ff0 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2024

  1. Fix typo in julia example

    dhblum committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    35c9aaa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    742ce84 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2024

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

Commits on Aug 23, 2024

  1. Configuration menu
    Copy the full SHA
    780fac5 View commit details
    Browse the repository at this point in the history
  2. Fix for #671 and unit test update

    dhblum committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    cae82e0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a9af191 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2024

  1. Configuration menu
    Copy the full SHA
    8c6c73e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    90b9ca9 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2024

  1. Configuration menu
    Copy the full SHA
    7892d28 View commit details
    Browse the repository at this point in the history
  2. Update readmes [ci skip]

    dhblum committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    6771499 View commit details
    Browse the repository at this point in the history
  3. Further readme edits [ci skip]

    dhblum committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    bb75c96 View commit details
    Browse the repository at this point in the history
  4. Draft release notes [ci skip]

    dhblum committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    7611612 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5bc01fe View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2024

  1. Configuration menu
    Copy the full SHA
    659681e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    58aeea2 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2024

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

Commits on Sep 5, 2024

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

Commits on Sep 11, 2024

  1. Configuration menu
    Copy the full SHA
    167e036 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9d2591f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6534348 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2024

  1. Remove exposing port 29043

    dhblum committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    7c01cea View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2024

  1. Configuration menu
    Copy the full SHA
    e3b0c2e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    151a248 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2024

  1. Configuration menu
    Copy the full SHA
    df5dc15 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fb7b1dd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0509414 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2024

  1. Improve logging and diagnostic information

    * Within worker, add logs when a message is received and immediatly
      after a response has been sent.
    
    * Include HOSTNAME in the test metadata that is stored in Redis. For a
      K8s deployment, HOSTNAME will correspond to the name of the pod
      running the test. This will make it possible to retreive worker logs
      for a misbehaving test.
    
    * When a test is complete, the worker and the associated logs, may no
      longer exist, however the logs will still be available in the log file
      contained within the test payload that is pushed to long term storage.
    
    * These changes pertain to worker, however there is an existing log
      message within the web implementation that logs when a message is sent to
      the worker, but no response is received. Additionally, each message
      between web and worker is given a unique ID, therefore with all of
      this togethor there will be breadcrumbs if a message is dropped.
    kbenne committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    fea197c View commit details
    Browse the repository at this point in the history
  2. Adjust message timeout between web and worker

    * The default message timeout is now 20 minutes, and the value is configurable using the
    BOPTEST_MESSAGE_TIMEOUT environment variable.
    kbenne committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    c6ea785 View commit details
    Browse the repository at this point in the history
  3. Further adjust messaging timeout

    The message subscription timeout is now configured as
    BOPTEST_MESSAGE_TIMEOUT + 60 seconds
    kbenne committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    38bd2b6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    891f99b View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2024

  1. Merge pull request #689 from ibpsa/issue617_refactorService_with_hist…

    …ory2
    
    Issue617 refactor service with history2
    EttoreZ authored Oct 7, 2024
    Configuration menu
    Copy the full SHA
    0e268bf View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2024

  1. Configuration menu
    Copy the full SHA
    7115d99 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4b56ee3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3d3630f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c4137d1 View commit details
    Browse the repository at this point in the history
  5. Update release notes

    EttoreZ committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    cb7d554 View commit details
    Browse the repository at this point in the history
  6. Updated release note

    EttoreZ committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    000fe4e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8797cff View commit details
    Browse the repository at this point in the history