Permalink
Browse files

Merge pull request #612 from navidshaikh/batch-processing

Processes the index projects in batches
  • Loading branch information...
bamachrn committed Sep 17, 2018
2 parents ba5a56c + 055f5ce commit 185bd7a35d171c17fdcea19f38d70a43ddf1c23e
Showing with 275 additions and 43 deletions.
  1. +19 −0 ccp/exceptions.py
  2. +232 −42 ccp/index_reader.py
  3. +24 −1 seed-job/buildtemplate.yaml
View
@@ -0,0 +1,19 @@
"""
This script defines custom exceptions of the service.
"""
class InvalidPipelineName(Exception):
"""
Exception to be raised when pipeline name populated doesn't
confornt to allowed value for openshift template field metadata.name
"""
pass
class ErrorAccessingIndexEntryAttributes(Exception):
"""
Exception to be raised when there are errors accessing
index entry attributes
"""
pass
Oops, something went wrong.

0 comments on commit 185bd7a

Please sign in to comment.