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

[Major] Split trireme #464

Merged
merged 31 commits into from Feb 13, 2018
Merged

[Major] Split trireme #464

merged 31 commits into from Feb 13, 2018

Conversation

dstiliadis
Copy link
Contributor

Description

This PR splits trireme into two modules and separates the controllers from the monitor. It also replaces the RCP interface for monitor events with a REST API.

@codecov
Copy link

codecov bot commented Feb 6, 2018

Codecov Report

Merging #464 into master will decrease coverage by 0.84%.
The diff coverage is 42.06%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #464      +/-   ##
==========================================
- Coverage   55.02%   54.18%   -0.85%     
==========================================
  Files          48       52       +4     
  Lines        5621     5498     -123     
==========================================
- Hits         3093     2979     -114     
- Misses       2233     2236       +3     
+ Partials      295      283      -12
Impacted Files Coverage Δ
controller/pkg/secrets/null.go 0% <ø> (ø)
...orcer/internal/statscollector/collector_trireme.go 84.61% <ø> (ø)
controller/internal/enforcer/acls/aclcache.go 94.11% <ø> (ø)
...troller/internal/supervisor/iptablesctrl/ipsets.go 50.7% <ø> (ø)
controller/internal/enforcer/acls/acl.go 78.94% <ø> (ø)
controller/pkg/fqconfig/fqconfig.go 82.19% <ø> (ø)
controller/internal/supervisor/supervisormock.go 0% <ø> (ø)
controller/pkg/packet/packet.go 25.5% <ø> (ø)
controller/pkg/secrets/compactpki.go 85.45% <ø> (ø)
controller/pkg/packet/types.go 0% <ø> (ø)
... and 48 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 73f3635...bf8890c. Read the comment docs.

@aporeto-inc aporeto-inc deleted a comment Feb 11, 2018
@aporeto-inc aporeto-inc deleted a comment Feb 11, 2018
@aporeto-inc aporeto-inc deleted a comment Feb 11, 2018
@dstiliadis dstiliadis changed the title Split trireme [Major] Split trireme Feb 12, 2018
@ghost
Copy link

ghost commented Feb 12, 2018

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "component": "gaia",
    "pr-id": "97",
    "commit-sha": "7ed39741c931f28558d7fbccd0e101ce043dc886"
  },
  {
    "component": "enforcerd",
    "pr-id": "449",
    "commit-sha": "434bd874f27171a24ed8f73d4434a023e4fc4680"
  },
  {
    "component": "apotests",
    "pr-id": "1110",
    "commit-sha": "ba0e0b2b45dc92579eff37612b6c9913c56c799a"
  },
  {
    "component": "apoctl",
    "pr-id": "112",
    "commit-sha": "933e6408d405c45ad84b4b27e1f51e6b9de20711"
  },
  {
    "component": "trireme-lib",
    "pr-id": "464",
    "commit-sha": "bf8890cd18bda5ac41199254f5e0d8bc71375251"
  },
  {
    "component": "squall",
    "pr-id": "307",
    "commit-sha": "70500ded23360342fa01d007fdafb852957b27a8"
  }
]

@ghost
Copy link

ghost commented Feb 13, 2018

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "component": "trireme-lib",
    "pr-id": "464",
    "commit-sha": "bf8890cd18bda5ac41199254f5e0d8bc71375251"
  },
  {
    "component": "squall",
    "pr-id": "307",
    "commit-sha": "70500ded23360342fa01d007fdafb852957b27a8"
  },
  {
    "component": "gaia",
    "pr-id": "97",
    "commit-sha": "7ed39741c931f28558d7fbccd0e101ce043dc886"
  },
  {
    "component": "enforcerd",
    "pr-id": "449",
    "commit-sha": "434bd874f27171a24ed8f73d4434a023e4fc4680"
  },
  {
    "component": "apotests",
    "pr-id": "1110",
    "commit-sha": "6c8f29d7fb613163edd89859bb53340974de2260"
  },
  {
    "component": "apoctl",
    "pr-id": "112",
    "commit-sha": "933e6408d405c45ad84b4b27e1f51e6b9de20711"
  }
]

@ghost
Copy link

ghost commented Feb 13, 2018

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "component": "apoctl",
    "pr-id": "112",
    "commit-sha": "933e6408d405c45ad84b4b27e1f51e6b9de20711"
  },
  {
    "component": "trireme-lib",
    "pr-id": "464",
    "commit-sha": "bf8890cd18bda5ac41199254f5e0d8bc71375251"
  },
  {
    "component": "squall",
    "pr-id": "307",
    "commit-sha": "70500ded23360342fa01d007fdafb852957b27a8"
  },
  {
    "component": "gaia",
    "pr-id": "97",
    "commit-sha": "7ed39741c931f28558d7fbccd0e101ce043dc886"
  },
  {
    "component": "enforcerd",
    "pr-id": "449",
    "commit-sha": "434bd874f27171a24ed8f73d4434a023e4fc4680"
  },
  {
    "component": "apotests",
    "pr-id": "1110",
    "commit-sha": "6c8f29d7fb613163edd89859bb53340974de2260"
  }
]

@ghost
Copy link

ghost commented Feb 13, 2018

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "component": "trireme-lib",
    "pr-id": "464",
    "commit-sha": "bf8890cd18bda5ac41199254f5e0d8bc71375251"
  },
  {
    "component": "enforcerd",
    "pr-id": "449",
    "commit-sha": "434bd874f27171a24ed8f73d4434a023e4fc4680"
  },
  {
    "component": "apotests",
    "pr-id": "1110",
    "commit-sha": "3409d430d55239bbae5a9f6bae011abc54225f61"
  },
  {
    "component": "apoctl",
    "pr-id": "112",
    "commit-sha": "933e6408d405c45ad84b4b27e1f51e6b9de20711"
  },
  {
    "component": "gaia",
    "pr-id": "97",
    "commit-sha": "7ed39741c931f28558d7fbccd0e101ce043dc886"
  },
  {
    "component": "squall",
    "pr-id": "307",
    "commit-sha": "70500ded23360342fa01d007fdafb852957b27a8"
  }
]

@ghost
Copy link

ghost commented Feb 13, 2018

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "component": "squall",
    "pr-id": "307",
    "commit-sha": "70500ded23360342fa01d007fdafb852957b27a8"
  },
  {
    "component": "trireme-lib",
    "pr-id": "464",
    "commit-sha": "bf8890cd18bda5ac41199254f5e0d8bc71375251"
  },
  {
    "component": "enforcerd",
    "pr-id": "449",
    "commit-sha": "434bd874f27171a24ed8f73d4434a023e4fc4680"
  },
  {
    "component": "apotests",
    "pr-id": "1110",
    "commit-sha": "3409d430d55239bbae5a9f6bae011abc54225f61"
  },
  {
    "component": "apoctl",
    "pr-id": "112",
    "commit-sha": "1e8a8eea5f2f1b9c5b5b3c1eec99f0d49363727f"
  }
]

@ghost
Copy link

ghost commented Feb 13, 2018

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "component": "trireme-lib",
    "pr-id": "464",
    "commit-sha": "bf8890cd18bda5ac41199254f5e0d8bc71375251"
  },
  {
    "component": "enforcerd",
    "pr-id": "449",
    "commit-sha": "434bd874f27171a24ed8f73d4434a023e4fc4680"
  },
  {
    "component": "apotests",
    "pr-id": "1110",
    "commit-sha": "d8364e8715a393a4f124dcd758fcddfd030a02e3"
  },
  {
    "component": "apoctl",
    "pr-id": "112",
    "commit-sha": "1e8a8eea5f2f1b9c5b5b3c1eec99f0d49363727f"
  },
  {
    "component": "squall",
    "pr-id": "307",
    "commit-sha": "70500ded23360342fa01d007fdafb852957b27a8"
  }
]

@ghost
Copy link

ghost commented Feb 13, 2018

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "component": "apotests",
    "pr-id": "1110",
    "commit-sha": "389dc130e912ea7ed7216f4ba0af8ea3902d6da8"
  },
  {
    "component": "apoctl",
    "pr-id": "112",
    "commit-sha": "1e8a8eea5f2f1b9c5b5b3c1eec99f0d49363727f"
  },
  {
    "component": "squall",
    "pr-id": "307",
    "commit-sha": "70500ded23360342fa01d007fdafb852957b27a8"
  },
  {
    "component": "trireme-lib",
    "pr-id": "464",
    "commit-sha": "bf8890cd18bda5ac41199254f5e0d8bc71375251"
  },
  {
    "component": "enforcerd",
    "pr-id": "449",
    "commit-sha": "434bd874f27171a24ed8f73d4434a023e4fc4680"
  }
]

@ghost
Copy link

ghost commented Feb 13, 2018

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "component": "trireme-lib",
    "pr-id": "464",
    "commit-sha": "bf8890cd18bda5ac41199254f5e0d8bc71375251"
  },
  {
    "component": "enforcerd",
    "pr-id": "449",
    "commit-sha": "434bd874f27171a24ed8f73d4434a023e4fc4680"
  },
  {
    "component": "apotests",
    "pr-id": "1110",
    "commit-sha": "6bbbd9401f3c1ef77d1bf3c17227cd01a3568794"
  },
  {
    "component": "apoctl",
    "pr-id": "112",
    "commit-sha": "1e8a8eea5f2f1b9c5b5b3c1eec99f0d49363727f"
  },
  {
    "component": "squall",
    "pr-id": "307",
    "commit-sha": "70500ded23360342fa01d007fdafb852957b27a8"
  }
]

@dstiliadis dstiliadis merged commit c59c5f8 into master Feb 13, 2018
@dstiliadis dstiliadis deleted the split-trireme branch February 13, 2018 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant