Move notification helper code into the root module

This commit is contained in:
Joseph Schorr 2017-07-14 16:29:59 +03:00
parent 5739e2ef4d
commit e7dbc4ee91
9 changed files with 92 additions and 8 deletions

View file

@ -7,10 +7,10 @@ from endpoints.api import (RepositoryParamResource, nickname, resource, require_
log_action, validate_json_request, request_error,
path_param, disallow_for_app_repositories)
from endpoints.exception import NotFound
from notifications import build_notification_data
from notifications.notificationevent import NotificationEvent
from notifications.notificationmethod import (NotificationMethod,
CannotValidateNotificationMethodException)
from notifications.notificationhelper import build_notification_data
from workers.notificationworker.models_pre_oci import notification
from endpoints.api.repositorynotification_models_pre_oci import pre_oci_model as model