Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Ericsson/codechecker
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4ac35ca
Choose a base ref
...
head repository: Ericsson/codechecker
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: d2de71b
Choose a head ref
  • 6 commits
  • 81 files changed
  • 1 contributor

Commits on Aug 23, 2017

  1. Product management database, schema, connection handling

     - Introduce new configuration database schema, and database connection
       handling to this new database
     - Added basic API for product management
     - PostgreSQL server is not started automatically anymore
     - Products have a distinct endpoint
       (localhost:8001/ProductName/CodeCheckerService) in the request, and the
       requests are routed to the individual products based on this.
     - If server is started with SQLite configuration database and this is a
       brand new start, automatically configure a 'Default' product in the
       same folder.
     - Store a connection failure state for products that could not be
       connected to at server start.
    
    As no other packages manage and use database connections anymore, put
    the ORM and the run database handling into libcodechecker.server.
    
    This commit breaks the tests. It will be fixed later on.
    [ci skip]
    whisperity committed Aug 23, 2017
    Configuration menu
    Copy the full SHA
    76f709b View commit details
    Browse the repository at this point in the history
  2. Refactor database handlers to use a shared code, and support running …

    …multiple database engines at the same time
    
    [ci skip]
    whisperity committed Aug 23, 2017
    Configuration menu
    Copy the full SHA
    28b3e78 View commit details
    Browse the repository at this point in the history
  3. Web interface for product listing

     - The CodeChecker Viewer now by default opens a product list. Users can
       select the product they want to view and will be routed to the run list.
     - If only ONE products exist on the server, simply opening
       http://host:port will automatically redirect the user to the run list
       of this single product.
        - This will only happen if this only product is properly connected.
     - Added a button to run lists to explicitly return to the product list
       page
     - The current product's name is now shown in the run list's title bar
    
    [ci skip]
    whisperity committed Aug 23, 2017
    Configuration menu
    Copy the full SHA
    afde871 View commit details
    Browse the repository at this point in the history
  4. Handle runtime product addition and removal, update CLI to take URL

     - 'store' and 'cmd' now take --url PRODUCT_URL where applicable,
       instead of --host and --port. This URL defaults to the default
       product created by a brand new 'server' start, so can be omitted by
       end-users if they only work a single product.
     - Added 'cmd products' to handle basic product-related configuration,
       such as listing, adding and removing products
     - Added the appropriate server-side code to on-the-fly add and
       disconnect product databases
    
    Tests will be updated in a later commit.
    [ci skip]
    whisperity committed Aug 23, 2017
    Configuration menu
    Copy the full SHA
    f75d780 View commit details
    Browse the repository at this point in the history
  5. Rewrite the tests to use the Product system

     - Tests now start a single server at the beginning of testing
     - PostgreSQL must be started prior the tests being ran
     - Each test suite registers a new product with a unique endpoint, and
       uses that particular run database to execute the tests that were
       already implemented.
     - These databases are dropped when the test is over
    whisperity committed Aug 23, 2017
    Configuration menu
    Copy the full SHA
    90b9e62 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d2de71b View commit details
    Browse the repository at this point in the history
Loading