diff options
author | Bharath Balasubramanian <bharathb@research.att.com> | 2019-03-25 23:12:05 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-03-25 23:12:05 +0000 |
commit | cf8096a9fe50de511d5864032ed4825a2a314fa5 (patch) | |
tree | a7e2f8213daba8f71c5078b1c1a806ca3ae27220 /src/main | |
parent | bb0b290cf781dad30c3e1db900bf19a7c2b58dda (diff) | |
parent | 1c2d702dea2f632a2b7b2516fd29315633976390 (diff) |
Merge "Respond error codes responses for wrong urls"2.5.8
Diffstat (limited to 'src/main')
-rwxr-xr-x | src/main/java/org/onap/music/JerseyConfig.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/org/onap/music/JerseyConfig.java b/src/main/java/org/onap/music/JerseyConfig.java index 1b5f034a..b3118469 100755 --- a/src/main/java/org/onap/music/JerseyConfig.java +++ b/src/main/java/org/onap/music/JerseyConfig.java @@ -20,6 +20,7 @@ import io.swagger.jaxrs.config.BeanConfig; import io.swagger.jaxrs.listing.ApiListingResource; import io.swagger.jaxrs.listing.SwaggerSerializers; import org.glassfish.jersey.server.ResourceConfig; +import org.onap.music.exceptions.MusicExceptionMapper; import org.onap.music.rest.*; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Component; @@ -32,6 +33,7 @@ import javax.annotation.PostConstruct; public JerseyConfig() { this.registerEndpoints(); + register(MusicExceptionMapper.class); } @PostConstruct public void init() { |