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

EDDN: Implement fsssignaldiscovered/1 schema #1590

Merged
merged 9 commits into from
Jun 17, 2022

Conversation

Athanasius
Copy link
Contributor

@Athanasius Athanasius commented Jun 15, 2022

Based on @chennin 's initial work in #1586

Closes #1589

@Athanasius Athanasius self-assigned this Jun 15, 2022
@Athanasius Athanasius changed the title EDDN: Implementy fsssignaldiscovered/1 schema EDDN: Implement fsssignaldiscovered/1 schema Jun 15, 2022
* Move call to `export_journal_fsssignaldiscovered` to top-level of event
  processing.  This ensures we'd still have the *previous* system tracked
  when running under Odyssey.

  Also, we can't return any result from this, as we'd still need to process
  things like `Location` otherwise.
* Use `logger.trace_if("plugin.eddn.fsssignaldiscovered", ...)`
* Perform all sanity checks, elisions and augmentations in the "not
  FSSSignalDiscovered event" sending code.
* Need to remove `event`, `horizons` and `odyssey` per signal.
* It's lower case `horizons` and `odyssey` in a(n augmented) journal event.
* It's `event`, not `entry` that `export_journal_entry()` will look for.
@Athanasius Athanasius marked this pull request as ready for review June 15, 2022 13:36
@Athanasius
Copy link
Contributor Author

Athanasius commented Jun 15, 2022

This has been tested against the schema now live on beta.eddn.edcd.ioi, under both Horizons and Odyssey.

  • Login (journal -> Location and fsssdiscoveryscan/1 messages).
  • Jump to another system (likewise).
  • Manually FSS scanning all USS in the system.

The results can be seen at https://edgalaxydata.space/EDDN/beta/Unknown-2022-06-15.jsonl . The first few messages there are from before I correctly elided some things. Good messages are from "gatewayTimestamp": "2022-06-15T13:17:30.336667Z" and later.

@Athanasius Athanasius merged commit e8dce41 into develop Jun 17, 2022
@Athanasius Athanasius deleted the enhancement/1589/eddn-fsssignaldiscovered branch June 17, 2022 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants