Athanasius
b5b5c70559
Merge pull request #149 from EDCD/fix/codexentry-empty-nearestdestination
...
schemas: codexentry needs to allow empty NearestDestination
2021-10-27 12:40:12 +01:00
Athanasius
916fe73f35
schemas: codexentry: NearestDestination *can* be an empty string.
...
We had one user with EDMC trying to send:
```python
OrderedDict([('$schemaRef',
'https://eddn.edcd.io/schemas/codexentry/1 '), ('message',
OrderedDict([('timestamp', '2021-10-26T11:37:57Z'), ('event',
'CodexEntry'), ('EntryID', 2420702), ('Name',
'$Codex_Ent_Stratum_07_K_Name;'), ('SubCategory',
'$Codex_SubCategory_Organic_Structures;'), ('Category',
'$Codex_Category_Biology;'), ('Region', '$Codex_RegionName_18;'),
('System', 'Xi Ophiuchi'), ('SystemAddress', 2072061675891),
('NearestDestination', ''), ('Latitude', 79.352364), ('Longitude',
121.434044), ('horizons', True), ('odyssey', True), ('StarPos', [-3.875,
8.15625, 55.875]), ('BodyName', 'Xi Ophiuchi B 5'), ('BodyID', 14)]))])
```
as the message. The EDDN Gateway then complains:
`FAIL: [<ValidationError: "'' is too short">]`
2021-10-27 11:08:16 +00:00
Athanasius
4e060b6127
Merge pull request #147 from EDCD/enhancement/133/navroute-horizons-and-odyssey-flags
...
schemas: navroute: Add horizons and odyssey flags
2021-10-19 13:06:30 +01:00
Athanasius
43e181a830
schemas: navroute: Add horizons and odyssey flags
2021-10-18 10:33:36 +00:00
Athanasius
adfc9b0e0e
Merge pull request #146 from EDCD/enhancement/145/codexentry-bodyid-and-name
...
schemas/codexentry: Add BodyID/Name, and -README file
2021-10-18 11:18:27 +01:00
Athanasius
895dc0d452
schemas: navroute: Correct array key to 'Route'
...
Even though everything else is 'NavRoute', this isn't.
2021-10-14 14:09:53 +00:00
Athanasius
6e341f1d31
schemas: scanbarycentre: Remove extraneous 'BodyID' string
2021-10-14 14:00:52 +00:00
Athanasius
1b290ff53d
Validator: Specify *which* schema failed to load
2021-10-14 14:00:14 +00:00
Athanasius
17e4fedeee
schemas: codexentry: Remove another extraneous comma
2021-10-14 13:54:05 +00:00
Athanasius
bc1618063c
schemas: codexentry: README: Also be specific for receivers
...
They should expect to have to cope with any of the three scenarios,
being free to just drop the data if they only get `BodyName`.
2021-10-13 14:21:03 +00:00
Athanasius
c59a9191b3
schemas: codexentry: README: Allow 'BodyName' without 'BodyID'
...
In the interests of offering listeners at least partial data about the
location of a codex entry we will allow `BodyName` to be set from
Status.json, but without `BodyID` from the Journal if it is not
available.
2021-10-13 14:15:32 +00:00
Athanasius
22897c8724
schemas: codexentry: Remove trailing comma
2021-10-12 15:06:07 +00:00
Athanasius
d39c1fdbd2
schemas: codexentry: README: Expand on how to get BodyName and ID
...
Currently if Status.json BodyName doesn't match that from the journal we
specify sending neither it nor the BodyID. We could still send the
BodyName **from Status.json** as that's better than no data about the
location.
2021-10-12 14:51:50 +00:00
Athanasius
ae3758a631
schemas: codexentry: README BodyID/Name
...
* Untested as yet. I'm working on implementing, and testing, this in
an EDMC branch to verify it.
2021-10-10 15:40:37 +00:00
Athanasius
bfa5362def
schemas: README: More general refinement.
2021-10-10 13:14:04 +00:00
Athanasius
dc4ae569ed
schemas: Continue expanding on general README
...
This is pulling in a lot of what's currently in the wiki page, but
re-arranging and re-wording it.
2021-10-04 16:25:18 +00:00
Athanasius
afa22f4784
schemas: Start expanding on general and per-schema documentation
...
* Add README-EDDN-schemas.md to hold general documentation for reference
by other files such as...
* Update codexentry-README.md to reference the general documentation.
2021-10-04 14:37:26 +00:00
Athanasius
46a71994a6
schemas/codexentry: Add BodyID/Name, and -README file
...
* Add BodyID and BodyName as optional keys.
* Add `description` at top-level pointing to README documentation.
* Add schema-specific README to document what should be (in|ex)cluded
from data, and how to obtain such from Journals etc.
2021-10-02 11:49:47 +00:00
Athanasius
bfdba0699e
Settings.py: Add new schemas to GATEWAY_JSON_SCHEMAS
2021-09-23 18:34:11 +00:00
Athanasius
f35b832cb3
Merge pull request #140 from spansh/fss-discovery-scan
...
FSS discovery scan schema
2021-09-23 19:30:04 +01:00
Athanasius
99ba54a315
Merge pull request #141 from spansh/nav-beacon-scan
...
added nav beacon scan
2021-09-23 19:29:53 +01:00
Athanasius
1644b8d975
Merge pull request #142 from spansh/codex-entry
...
added codexentry event
2021-09-23 19:29:36 +01:00
Athanasius
487dcd906e
Merge pull request #143 from spansh/scan-bary-centre
...
added scan bary centre event
2021-09-23 19:28:55 +01:00
Athanasius
330471737c
Merge pull request #137 from spansh/new-schemas
...
Added navroute event
2021-09-23 19:28:40 +01:00
Gareth Harper
fb54eba7ae
allowed traits and voucheramount
2021-09-23 13:47:27 +00:00
Gareth Harper
0b5ea050a2
switched version from 3 to 1
2021-09-23 11:42:42 +00:00
Gareth Harper
ccf48cc0e3
removed changes
2021-09-23 11:41:34 +00:00
Gareth Harper
a0e4fca303
added scan bary centre event
2021-09-23 11:37:36 +00:00
Gareth Harper
955203c35b
added codexentry event
2021-09-23 11:30:52 +00:00
Gareth Harper
06115a92a4
added nav beacon scan
2021-09-23 11:26:21 +00:00
Gareth Harper
f674b3a054
FSS Discovery scan schema
2021-09-23 11:24:59 +00:00
Athanasius
8f23bce119
docs/Adding-A-New-Schema: Notes for future reference
2021-09-23 09:41:35 +00:00
Gareth Harper
ede43c0b50
renamed to remove version
2021-09-23 08:33:04 +00:00
Gareth Harper
40a79e5f9c
added extra journal events and navroute
2021-09-22 14:30:16 +00:00
Athanasius
9b632830be
Merge branch 'master' of github.com:EDCD/EDDN
2021-07-21 16:11:11 +00:00
Athanasius
a0dfed222e
Merge pull request #120 from Sileo35/patch-1
...
Add CodexEntry event to map new discovered species
2021-07-21 17:08:50 +01:00
Athanasius
1feeb08e05
Merge branch 'master' of github.com:EDCD/EDDN
2021-07-19 11:10:56 +00:00
Athanasius
dafbb07f56
Merge pull request #112 from alewando/python_example_fix
...
Python 3 example: Use correct property names for commodity stock and demand
2021-07-19 12:10:38 +01:00
Athanasius
279073fdea
Merge branch 'master' of github.com:EDCD/EDDN
2021-07-19 11:04:15 +00:00
Athanasius
d644f468ef
Merge pull request #127 from BANTYC/enhancement/spring-boot-example
...
Enhancement/spring boot example
2021-07-19 12:03:52 +01:00
Athanasius
080136127e
scripts/eddn-restore-db-data: Handles if file is .gz or not
2021-07-14 09:45:46 +00:00
Athanasius
78edcffa6b
requirements: requests==2.25.1
2021-07-12 10:26:00 +00:00
Athanasius
88e199e94e
scripts/mysql dumps: Add data dump script
2021-07-10 12:26:44 +00:00
Athanasius
f02efdd98b
scripts/eddn-dump-db-schema: For dumping the current DB schema
2021-07-10 11:22:00 +00:00
Athanasius
ad56800822
Bouncer: Use Settings.py, and thus override files, rather than hard-coded
2021-07-10 10:30:05 +00:00
Athanasius
6e07d1fd64
start-eddn-service: That's bounceR & enforce it
...
* Bouncer, not bounce.
* Check the provided eddn service is a valid one.
2021-07-09 08:59:50 +00:00
Athanasius
d8ac2bc6b2
start-eddn-service: User $USER instead of hard-coded value
2021-07-09 08:44:27 +00:00
Athanasius
ffc07e92cf
start-eddn-service: Stricter checking for "is process already running?"
2021-07-09 08:41:57 +00:00
Athanasius
2ba0865d46
start-eddn-service: Add 'bounce' & ps
only on PID
...
* The ps options for filtering are logical OR, not AND, and there seems
to be no way to have them be ANDed instead.
2021-07-09 08:19:18 +00:00
Athanasius
579e185b86
Bouncer: Minor docs edit & remove un-needed Validator import
2021-07-08 20:37:41 +00:00