Build #5,596

License check with RAT and Checkstyle

Build: #5596 was successful Changes by rahul1995 <rljain@google.com>

Code commits

caskdata/cdap

  • rahul1995 <rljain@google.com>

    rahul1995 <rljain@google.com> acfbeda1fcd524e4667f266420954679f25e1f7c

    Merge pull request #13688 from cdapio/feature/CDAP-18532-config-declared-errors
    CDAP-18532: Provide a way to declare server error through Configuration file

  • Rahul Jain <rljain@google.com>

    Rahul Jain <rljain@google.com> 8ddadae452052661a0597ca4326b308ddeb172e6 m

    Define config-reloading interval in seconds instead of minutes, and 0 interval should be treated as a way to disable config-reload scheduling

    • cdap-common/src/main/java/io/cdap/cdap/common/conf/Constants.java (version 8ddadae452052661a0597ca4326b308ddeb172e6)
    • cdap-common/src/main/resources/cdap-default.xml (version 8ddadae452052661a0597ca4326b308ddeb172e6)
    • cdap-gateway/src/main/java/io/cdap/cdap/gateway/router/NettyRouter.java (version 8ddadae452052661a0597ca4326b308ddeb172e6)
    • cdap-gateway/src/test/java/io/cdap/cdap/gateway/router/NettyRouterTestBase.java (version 8ddadae452052661a0597ca4326b308ddeb172e6)
  • Rahul Jain <rljain@google.com>

    Rahul Jain <rljain@google.com> fbb3ad3e621dd2c03193c9af9c904afd3946f15c m

    Refactoring: Moved ConfigBasedRequestBlocking constants inside Router constants class

    • cdap-common/src/main/java/io/cdap/cdap/common/conf/Constants.java (version fbb3ad3e621dd2c03193c9af9c904afd3946f15c)
    • cdap-common/src/main/resources/cdap-default.xml (version fbb3ad3e621dd2c03193c9af9c904afd3946f15c)
    • cdap-gateway/src/main/java/io/cdap/cdap/gateway/router/NettyRouter.java (version fbb3ad3e621dd2c03193c9af9c904afd3946f15c)
    • cdap-gateway/src/main/java/io/cdap/cdap/gateway/router/handlers/ConfigBasedRequestBlockingHandler.java (version fbb3ad3e621dd2c03193c9af9c904afd3946f15c)
    • cdap-gateway/src/test/java/io/cdap/cdap/gateway/router/ConfigBasedRequestBlockingTest.java (version fbb3ad3e621dd2c03193c9af9c904afd3946f15c)
  • Rahul Jain <rljain@google.com>

    Rahul Jain <rljain@google.com> 5db27a1b7e12994daa9cbf7f85d9052c5d40e6e7 m

    Add test-cases for Config-based request-blocking

    • cdap-gateway/pom.xml (version 5db27a1b7e12994daa9cbf7f85d9052c5d40e6e7)
    • cdap-gateway/src/test/java/io/cdap/cdap/gateway/router/ConfigBasedRequestBlockingTest.java (version 5db27a1b7e12994daa9cbf7f85d9052c5d40e6e7)
    • cdap-gateway/src/test/java/io/cdap/cdap/gateway/router/NettyRouterTestBase.java (version 5db27a1b7e12994daa9cbf7f85d9052c5d40e6e7)
  • Rahul Jain <rljain@google.com>

    Rahul Jain <rljain@google.com> 368042997cccc40749710157c31ace7e6270f03c m

    Rename config-declared errors to config-based request-blocking to generalize the concept in non-error cases

    • cdap-common/src/main/java/io/cdap/cdap/common/conf/Constants.java (version 368042997cccc40749710157c31ace7e6270f03c)
    • cdap-common/src/main/resources/cdap-default.xml (version 368042997cccc40749710157c31ace7e6270f03c)
    • cdap-gateway/src/main/java/io/cdap/cdap/gateway/router/NettyRouter.java (version 368042997cccc40749710157c31ace7e6270f03c)
    • cdap-gateway/src/main/java/io/cdap/cdap/gateway/router/handlers/ConfigBasedRequestBlockingHandler.java (version 368042997cccc40749710157c31ace7e6270f03c)
    • cdap-gateway/src/main/java/io/cdap/cdap/gateway/router/handlers/ConfigDeclaredErrorHandler.java (version 368042997cccc40749710157c31ace7e6270f03c)
  • Rahul Jain <rljain@google.com>

    Rahul Jain <rljain@google.com> 98600bd426ccb18cd6f60904e99fd23db8f53bfb m

    Move default configs from Constants.java to cdap-default.xml

    • cdap-common/src/main/java/io/cdap/cdap/common/conf/Constants.java (version 98600bd426ccb18cd6f60904e99fd23db8f53bfb)
    • cdap-common/src/main/resources/cdap-default.xml (version 98600bd426ccb18cd6f60904e99fd23db8f53bfb)
    • cdap-gateway/src/main/java/io/cdap/cdap/gateway/router/handlers/ConfigDeclaredErrorHandler.java (version 98600bd426ccb18cd6f60904e99fd23db8f53bfb)
  • Rahul Jain <rljain@google.com>

    Rahul Jain <rljain@google.com> ba53d813aca12950c84ff1c4cdc23a6253cf5eb1 m

    Handle config-declared errors and reload Router periodically to incorporate new changes in cconf

    • cdap-common/src/main/java/io/cdap/cdap/common/conf/Constants.java (version ba53d813aca12950c84ff1c4cdc23a6253cf5eb1)
    • cdap-common/src/main/resources/cdap-default.xml (version ba53d813aca12950c84ff1c4cdc23a6253cf5eb1)
    • cdap-gateway/src/main/java/io/cdap/cdap/gateway/router/NettyRouter.java (version ba53d813aca12950c84ff1c4cdc23a6253cf5eb1)
    • cdap-gateway/src/main/java/io/cdap/cdap/gateway/router/handlers/ConfigDeclaredErrorHandler.java (version ba53d813aca12950c84ff1c4cdc23a6253cf5eb1)