Skip to content

Commit

Permalink
Merge pull request #117 from alkem-io/develop
Browse files Browse the repository at this point in the history
Release: Aspect / Aspect Comment notifications
  • Loading branch information
valentinyanakiev authored May 20, 2022
2 parents 288a714 + 5e7681a commit b2e29f1
Show file tree
Hide file tree
Showing 42 changed files with 1,055 additions and 784 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: node_js
node_js:
- v14.17.3
- v16.15.0
cache:
directories:
- node_modules
Expand All @@ -9,6 +9,6 @@ install:
services:
- mysql
before_install:
- npm i -g npm@7.5.6
- npm i -g npm@8.5.5
script:
- npm run test:ci:coverage
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:14.17.3-alpine
FROM node:16.15.0-alpine


# Create app directory
Expand All @@ -12,7 +12,7 @@ ARG ENV_ARG=production
# where available (npm@5+)
COPY package*.json ./

RUN npm i -g npm@7.5.6
RUN npm i -g npm@8.5.5
RUN npm install

## Add the wait script to the image
Expand Down
29 changes: 29 additions & 0 deletions notifications.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,3 +191,32 @@ recipients:
- rule:
type: USER_SELF_MANAGEMENT
resource_id: <memberID>
aspect_created:
- name: admin
rules:
- rule:
type: HUB_ADMIN
resource_id: <hubID>
- rule:
type: CHALLENGE_ADMIN
resource_id: <challengeID>
- rule:
type: OPPORTUNITY_ADMIN
resource_id: <opportunityID>
- name: user
rules:
- rule:
type: HUB_MEMBER
resource_id: <hubID>
- rule:
type: CHALLENGE_MEMBER
resource_id: <challengeID>
- rule:
type: OPPORTUNITY_MEMBER
resource_id: <opportunityID>
aspect_comment_created:
- name: owner
rules:
- rule:
type: USER_SELF_MANAGEMENT
resource_id: <ownerID>
Loading

0 comments on commit b2e29f1

Please sign in to comment.