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

Refactor Driver and Message classes in OpenNebula daemon #4936

Closed
7 tasks
paczerny opened this issue Jun 18, 2020 · 1 comment
Closed
7 tasks

Refactor Driver and Message classes in OpenNebula daemon #4936

paczerny opened this issue Jun 18, 2020 · 1 comment

Comments

@paczerny
Copy link
Member

Description
Use communication C++ classes developed for Monitor Daemon in OpenNebula daemon.
Use C++11 features for pointers, function bindings and threads.

Use case
Hopefully better code maintanance

Interface Changes
None

Progress Status

  • Branch created
  • Code committed to development branch
  • Testing - QA
  • Documentation
  • Release notes - resolved issues, compatibility, known issues
  • Code committed to upstream release/hotfix branches
  • Documentation committed to upstream release/hotfix branches
@paczerny paczerny added this to the Release 5.14 milestone Jun 18, 2020
@paczerny paczerny self-assigned this Jun 18, 2020
rsmontero added a commit that referenced this issue Jul 2, 2020
rsmontero pushed a commit that referenced this issue Jul 2, 2020
rsmontero added a commit that referenced this issue Jul 5, 2020
    * Remove duplicit methods from NebulaUtil

    * Const correctness

    * Fix minor code quality issues

    * Remove ObjectCollection::clone()

    * Minor SSLUtil interface change

co-authored-by: Pavel Czerný <[email protected]>
rsmontero added a commit that referenced this issue Jul 6, 2020
rsmontero added a commit that referenced this issue Jul 27, 2020
rsmontero added a commit that referenced this issue Sep 14, 2020
rsmontero pushed a commit that referenced this issue Sep 24, 2020
* On exit stop RequestManager first

* Use unique_ptr for pointers to Template

* Reduce number of new/delete
rsmontero pushed a commit that referenced this issue Sep 24, 2020
@paczerny
Copy link
Member Author

paczerny commented Oct 9, 2020

Done:

  • Refactor Driver classes - new message handler
  • Remove using namespace std from headers
  • const correctness
  • refactor 'for' loops, prefer range based or 'auto' instead of long ::iterator definitions
  • Reduce new/delete by using std::unique_ptr

@paczerny paczerny closed this as completed Oct 9, 2020
rsmontero added a commit that referenced this issue Jan 20, 2021
rsmontero pushed a commit that referenced this issue Jan 20, 2021
rsmontero added a commit that referenced this issue Jan 20, 2021
    * Remove duplicit methods from NebulaUtil

    * Const correctness

    * Fix minor code quality issues

    * Remove ObjectCollection::clone()

    * Minor SSLUtil interface change

co-authored-by: Pavel Czerný <[email protected]>
rsmontero added a commit that referenced this issue Jan 20, 2021
rsmontero added a commit that referenced this issue Jan 20, 2021
rsmontero added a commit that referenced this issue Jan 20, 2021
rsmontero pushed a commit that referenced this issue Jan 20, 2021
* On exit stop RequestManager first

* Use unique_ptr for pointers to Template

* Reduce number of new/delete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant