diff options
author | VENKATESH KUMAR <vv770d@att.com> | 2017-08-22 23:36:51 +0100 |
---|---|---|
committer | VENKATESH KUMAR <vv770d@att.com> | 2017-08-23 00:57:24 -0400 |
commit | 64dd2f365ce28e8254ba8fa4407dc5d7f192dacf (patch) | |
tree | f950dd24404a02acfdd0a853cbb9fef3fb4b65ce /src/main/resources/routes.conf | |
parent | ef607b769611ddb809a4c13ce421f88ece16017d (diff) |
dcaegen2 vescollector seedcode
Initial seed code delivery for vescollector for support
on the gen2dcae platform
Issue-ID: DCAEGEN2-52
Change-Id: Id2477eb266f05caf64c67dd809b1ad146ff4fb92
Signed-off-by: VENKATESH KUMAR <vv770d@att.com>
Diffstat (limited to 'src/main/resources/routes.conf')
-rw-r--r-- | src/main/resources/routes.conf | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/main/resources/routes.conf b/src/main/resources/routes.conf new file mode 100644 index 00000000..953f2fb8 --- /dev/null +++ b/src/main/resources/routes.conf @@ -0,0 +1,38 @@ +package org.onap.dcae.restapi.endpoints + +# +# We need to deprecate the original non-versioned paths and use /v1/ for them. +# Non-versioned paths will be supported "permanently." +# +# +# post events +# +POST /eventListener/v5 EventReceipt.receiveVESEvent +POST /eventListener/v5/eventBatch EventReceipt.receiveVESEvent +POST /eventListener/v4 EventReceipt.receiveVESEvent +POST /eventListener/v4/eventBatch EventReceipt.receiveVESEvent +POST /eventListener/v3 EventReceipt.receiveVESEvent +POST /eventListener/v3/eventBatch EventReceipt.receiveVESEvent +POST /eventListener/v1.1 EventReceipt.receiveVESEvent +POST /eventListener/v1.1/eventBatch EventReceipt.receiveVESEvent +POST /eventListener/v1 EventReceipt.receiveVESEvent +POST /eventListener/v1/eventBatch EventReceipt.receiveVESEvent +#POST /eventListener/v1/{topic} EventReceipt.receiveEventsForTopic + + + +############################################################################### +# +# UI routes don't need to be versioned +# +# +GET / Ui.hello +GET /healthcheck Ui.hello + +# typical static file paths +GET /css/ staticDir:css +GET /js/ staticDir:js +GET /images/ staticDir:images +GET /font/ staticDir:font +GET /favicon.ico staticFile:images/attLogo.gif +GET /font-awesome/ staticDir:font-awesome |