Skip to content

Commit

Permalink
Merge pull request #2 from nonomoho/no-cache-gateway
Browse files Browse the repository at this point in the history
fix configuration condition gateway
  • Loading branch information
Hawkurane authored Jul 9, 2019
2 parents a3dbd4f + 6c97192 commit e873bc3
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,12 @@ package <%=packageName%>.config;

import io.github.jhipster.config.JHipsterProperties;

<%_ if (cacheProvider === 'hazelcast') { _%>
import <%=packageName%>.gateway.ratelimiting.RateLimitingFilter;
<%_ } _%>
import <%=packageName%>.gateway.accesscontrol.AccessControlFilter;
import <%=packageName%>.gateway.responserewriting.SwaggerBasePathRewritingFilter;

<%_ if (cacheProvider === 'hazelcast') { _%>
import <%=packageName%>.gateway.ratelimiting.RateLimitingFilter;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
<%_ } _%>
import org.springframework.cloud.netflix.zuul.filters.RouteLocator;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
Expand Down

0 comments on commit e873bc3

Please sign in to comment.