Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • dcdb dcdb
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 7
    • Issues 7
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • dcdb
  • dcdbdcdb
  • Merge requests
  • !3

Merged
Created May 23, 2019 by Ghost User@ghostContributor

Common rest server

  • Overview 0
  • Commits 47
  • Changes 34
  • NOTE: Requires a fresh reinstall of dcdb as Boost upgraded to 1.70
  • Deploys a common RESTHttpsServer, which should be inherited to implement a RestAPI
  • Switches from cpp-netlib to boost.beast for RestAPI https server (Implies a boost upgrade to a recent version that includes beast)
  • Introduces an overall change of the RestAPI URI design: exchangeable names like plugins, sensors, analyzers, etc. are no longer used in the path but are now appended as query
  • e.g. 127.0.0.1:8000/stop/sysfs --> 127.0.0.1:8000/stop?plugin=sysfs
  • Instead of tokens the standardized HTTP Basic Authentication is used for access control
  • Outstanding TODO: adapt collectagent/analytics to use the new RESTHttpsServer and URI design for RestAPI
Edited May 27, 2019 by Ghost User
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: CommonRestServer