Revision 809b6d11

b/snf-astakos-app/README
71 71
ASTAKOS_LOGOUT_NEXT                                                                                                 Where the user should be redirected after logout
72 72
                                                                                                                    (if not set and no next parameter is defined it renders login page with message)
73 73
ASTAKOS_BILLING_FIELDS              ['id', 'is_active', 'provider', 'third_party_identifier']                       AstakosUser fields to propagate in the billing system
74
ASTAKOS_QUEUE_CONNECTION                                                                                            The queue connection ex. 'rabbitmq://guest:guest@localhost:5672/astakos.userEvent.#'
74
ASTAKOS_QUEUE_CONNECTION                                                                                            The queue connection ex. 'rabbitmq://guest:guest@localhost:5672/astakos'
75 75
                                                                                                                    (if it is not set, it does not send messages)
76 76
ASTAKOS_RE_USER_EMAIL_PATTERNS      []                                                                              Email patterns that are automatically activated ex. ['^[a-zA-Z0-9\._-]+@grnet\.gr$']
77 77
==============================      =============================================================================   ===========================================================================================
b/snf-astakos-app/astakos/im/models.py
171 171
        eventType = 'create' if not user.id else 'modify'
172 172
        body = UserEvent(QUEUE_CLIENT_ID, user, eventType, {}).format()
173 173
        conn = exchange_connect(QUEUE_CONNECTION)
174
        routing_key = QUEUE_CONNECTION.replace('*', 'user')
174
        routing_key = '%s.user' % QUEUE_CONNECTION
175 175
        exchange_send(conn, routing_key, body)
176 176
        exchange_close(conn)

Also available in: Unified diff