telefonicaid / fiware-cygnus

A connector in charge of persisting context data sources into other third-party databases and storage systems, creating a historical view of the context
https://fiware-cygnus.rtfd.io/
GNU Affero General Public License v3.0
65 stars 105 forks source link

[repo] Refactor the repo in a per agent fashion #864

Closed frbattid closed 8 years ago

frbattid commented 8 years ago

The repo must be refactored in a per agent fashion. Current existing development will considered the NGSI agent, and will be re-located under ngsi/ containing its own doc/, conf/, test/ and src/. Then other agents could be addded by internal/external contributors.

Still thinking how to proceed (in the long term) with the releasing mechanisms, i.e. docker/ and neore/ folders. In the short/mid term, the NGSI agent will still handling its own specific stuff.

frbattid commented 8 years ago

Regarding the common folder, this should include the following code:

javipalanca commented 8 years ago

Great. Waiting for this refactor to include our agent. Btw, since our agent is a generic agent to retrieve tweets, maybe "utool" is not an appropriate name. I suggest "twitter" or "sna" (for social network analysis).

frbattid commented 8 years ago

This must imply the creation of tags per agent. Then, each issue may be labeded.

frbattid commented 8 years ago

Another advantage of this refactor is new agents can be created as context adapters.

frbattid commented 8 years ago

Partially implemented in PR https://github.com/telefonicaid/fiware-cygnus/pull/941 (folder refactoring) Partially implemented in PR https://github.com/telefonicaid/fiware-cygnus/pull/942 (ignore folder) Partially implemented in PR https://github.com/telefonicaid/fiware-cygnus/pull/944 (main README) Partially implemented in PR https://github.com/telefonicaid/fiware-cygnus/pull/943 (contributing guidelines) Partially implemented in PR https://github.com/telefonicaid/fiware-cygnus/pull/948 (abstract classes) Partially implemented in PR https://github.com/telefonicaid/fiware-cygnus/pull/949 (documentation) Partially implemented in PR https://github.com/telefonicaid/fiware-cygnus/pull/951 (RPM scripts) Partially implemented in PR https://github.com/telefonicaid/fiware-cygnus/pull/955 (install from sources) Partially implemented in PR https://github.com/telefonicaid/fiware-cygnus/pull/959 (deployers, logs and alarms) Partially implemented in PR https://github.com/telefonicaid/fiware-cygnus/pull/960 (agent name in logs) Partially implemented in PR https://github.com/telefonicaid/fiware-cygnus/pull/961 (configuration) Partially implemented in PR https://github.com/telefonicaid/fiware-cygnus/pull/963 (utils) Partially implemented in PR https://github.com/telefonicaid/fiware-cygnus/pull/964 (RPM fix) Partially implemented in PR https://github.com/telefonicaid/fiware-cygnus/pull/965 (constants) Partially implemented in PR https://github.com/telefonicaid/fiware-cygnus/pull/967 (doc name fixes) Partially implemented in PR https://github.com/telefonicaid/fiware-cygnus/pull/968 (version trace) Partially implemented in PR https://github.com/telefonicaid/fiware-cygnus/pull/970 (pom) Partially implemented in PR https://github.com/telefonicaid/fiware-cygnus/pull/978 (another RPM fix) Partially implemented in PR https://github.com/telefonicaid/fiware-cygnus/pull/981 (cygnus-common doc) Partially implemented in PR https://github.com/telefonicaid/fiware-cygnus/pull/991 (contribution guidelines update) Partially implemented in PR https://github.com/telefonicaid/fiware-cygnus/pull/990 (per-spec RPM)