Page MenuHomeDevCentral

Provide a kernel module
ClosedPublic

Authored by dereckson on Sep 6 2018, 12:44.
Tags
None
Referenced Files
F12331908: D1665.id.diff
Sat, Oct 25, 04:56
F12330956: D1665.id4247.diff
Sat, Oct 25, 00:55
F12330955: D1665.id4246.diff
Sat, Oct 25, 00:55
F12328623: D1665.id.diff
Fri, Oct 24, 16:22
Unknown Object (File)
Fri, Oct 24, 11:20
Unknown Object (File)
Thu, Oct 23, 22:24
Unknown Object (File)
Tue, Oct 21, 11:16
Unknown Object (File)
Tue, Oct 21, 11:06
Subscribers
None

Details

Summary

Allow to start the application with a PostgreSQL connection as managed state.

The configuration can be customized, with a default one reading parameters
from environment or an .env file.

Test Plan

This allows to start application as easily as:

extern crate env_logger;
extern crate limiting_factor;

mod requests;

use limiting_factor::kernel::DefaultApplication;
use requests::*;

fn main() {
    env_logger::init();

    let routes = routes![
        status,
        favicon,
        users::register,
        users::get_player,
    ];

    DefaultApplication::start_application(routes);
}

Diff Detail

Repository
rLF Limiting Factor
Lint
Lint Passed
Unit
No Test Coverage
Branch
kernel (branched from master)
Build Status
Buildable 2610
Build 2858: arc lint + arc unit

Event Timeline

dereckson created this revision.
dereckson edited the test plan for this revision. (Show Details)
This revision is now accepted and ready to land.Sep 6 2018, 13:32
This revision was automatically updated to reflect the committed changes.