Skip to content

Commit ccd1f72

Browse files
committed
Modifications to readme and changelog. Added comment for hash.
1 parent 40be9fe commit ccd1f72

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66

77
- #86 - Fix `CombinedProcessor` carries over data from previous parsing
88

9+
### Added
10+
11+
- #84 - New parser added for text. Added new provider `AquaComms` using `Text` and `EmailSubjectParser`
12+
913
## v2.0.1 - 2021-09-16
1014

1115
### Fixed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ By default, there is a `GenericProvider` that support a `SimpleProcessor` using
4343

4444
#### Supported providers based on other parsers
4545

46+
- AWS
4647
- AquaComms
4748
- Cogent
4849
- Colt

circuit_maintenance_parser/parsers/aws.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ def parse_text(self, text):
8383
elif re.match(r"[a-z]{5}-[a-z0-9]{8}", line):
8484
maintenace_id += line
8585
data["circuits"].append(CircuitImpact(circuit_id=line, impact=impact))
86+
# No maintenance ID found in emails, so a hash value is being generated using the start,
87+
# end and IDs of all circuits in the notification.
8688
data["maintenance_id"] = hashlib.md5(maintenace_id.encode("utf-8")).hexdigest() # nosec
8789
data["status"] = status
8890
return [data]

0 commit comments

Comments
 (0)