Merge pull request #17531 from vjpai/header_names

Give the interceptors header files in include/grpcpp/support
pull/17537/head
Vijay Pai 6 years ago committed by GitHub
commit d4c5a5e565
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      BUILD
  2. 9
      CMakeLists.txt
  3. 9
      Makefile
  4. 3
      build.yaml
  5. 3
      gRPC-C++.podspec
  6. 24
      include/grpcpp/support/client_interceptor.h
  7. 24
      include/grpcpp/support/interceptor.h
  8. 24
      include/grpcpp/support/server_interceptor.h
  9. 2
      test/cpp/end2end/client_interceptors_end2end_test.cc
  10. 2
      test/cpp/end2end/server_interceptors_end2end_test.cc
  11. 3
      tools/doxygen/Doxyfile.c++
  12. 3
      tools/doxygen/Doxyfile.c++.internal
  13. 6
      tools/run_tests/generated/sources_and_headers.json

@ -244,10 +244,13 @@ GRPCXX_PUBLIC_HDRS = [
"include/grpcpp/support/byte_buffer.h", "include/grpcpp/support/byte_buffer.h",
"include/grpcpp/support/channel_arguments.h", "include/grpcpp/support/channel_arguments.h",
"include/grpcpp/support/client_callback.h", "include/grpcpp/support/client_callback.h",
"include/grpcpp/support/client_interceptor.h",
"include/grpcpp/support/config.h", "include/grpcpp/support/config.h",
"include/grpcpp/support/interceptor.h",
"include/grpcpp/support/proto_buffer_reader.h", "include/grpcpp/support/proto_buffer_reader.h",
"include/grpcpp/support/proto_buffer_writer.h", "include/grpcpp/support/proto_buffer_writer.h",
"include/grpcpp/support/server_callback.h", "include/grpcpp/support/server_callback.h",
"include/grpcpp/support/server_interceptor.h",
"include/grpcpp/support/slice.h", "include/grpcpp/support/slice.h",
"include/grpcpp/support/status.h", "include/grpcpp/support/status.h",
"include/grpcpp/support/status_code_enum.h", "include/grpcpp/support/status_code_enum.h",

@ -3034,10 +3034,13 @@ foreach(_hdr
include/grpcpp/support/byte_buffer.h include/grpcpp/support/byte_buffer.h
include/grpcpp/support/channel_arguments.h include/grpcpp/support/channel_arguments.h
include/grpcpp/support/client_callback.h include/grpcpp/support/client_callback.h
include/grpcpp/support/client_interceptor.h
include/grpcpp/support/config.h include/grpcpp/support/config.h
include/grpcpp/support/interceptor.h
include/grpcpp/support/proto_buffer_reader.h include/grpcpp/support/proto_buffer_reader.h
include/grpcpp/support/proto_buffer_writer.h include/grpcpp/support/proto_buffer_writer.h
include/grpcpp/support/server_callback.h include/grpcpp/support/server_callback.h
include/grpcpp/support/server_interceptor.h
include/grpcpp/support/slice.h include/grpcpp/support/slice.h
include/grpcpp/support/status.h include/grpcpp/support/status.h
include/grpcpp/support/status_code_enum.h include/grpcpp/support/status_code_enum.h
@ -3619,10 +3622,13 @@ foreach(_hdr
include/grpcpp/support/byte_buffer.h include/grpcpp/support/byte_buffer.h
include/grpcpp/support/channel_arguments.h include/grpcpp/support/channel_arguments.h
include/grpcpp/support/client_callback.h include/grpcpp/support/client_callback.h
include/grpcpp/support/client_interceptor.h
include/grpcpp/support/config.h include/grpcpp/support/config.h
include/grpcpp/support/interceptor.h
include/grpcpp/support/proto_buffer_reader.h include/grpcpp/support/proto_buffer_reader.h
include/grpcpp/support/proto_buffer_writer.h include/grpcpp/support/proto_buffer_writer.h
include/grpcpp/support/server_callback.h include/grpcpp/support/server_callback.h
include/grpcpp/support/server_interceptor.h
include/grpcpp/support/slice.h include/grpcpp/support/slice.h
include/grpcpp/support/status.h include/grpcpp/support/status.h
include/grpcpp/support/status_code_enum.h include/grpcpp/support/status_code_enum.h
@ -4571,10 +4577,13 @@ foreach(_hdr
include/grpcpp/support/byte_buffer.h include/grpcpp/support/byte_buffer.h
include/grpcpp/support/channel_arguments.h include/grpcpp/support/channel_arguments.h
include/grpcpp/support/client_callback.h include/grpcpp/support/client_callback.h
include/grpcpp/support/client_interceptor.h
include/grpcpp/support/config.h include/grpcpp/support/config.h
include/grpcpp/support/interceptor.h
include/grpcpp/support/proto_buffer_reader.h include/grpcpp/support/proto_buffer_reader.h
include/grpcpp/support/proto_buffer_writer.h include/grpcpp/support/proto_buffer_writer.h
include/grpcpp/support/server_callback.h include/grpcpp/support/server_callback.h
include/grpcpp/support/server_interceptor.h
include/grpcpp/support/slice.h include/grpcpp/support/slice.h
include/grpcpp/support/status.h include/grpcpp/support/status.h
include/grpcpp/support/status_code_enum.h include/grpcpp/support/status_code_enum.h

@ -5405,10 +5405,13 @@ PUBLIC_HEADERS_CXX += \
include/grpcpp/support/byte_buffer.h \ include/grpcpp/support/byte_buffer.h \
include/grpcpp/support/channel_arguments.h \ include/grpcpp/support/channel_arguments.h \
include/grpcpp/support/client_callback.h \ include/grpcpp/support/client_callback.h \
include/grpcpp/support/client_interceptor.h \
include/grpcpp/support/config.h \ include/grpcpp/support/config.h \
include/grpcpp/support/interceptor.h \
include/grpcpp/support/proto_buffer_reader.h \ include/grpcpp/support/proto_buffer_reader.h \
include/grpcpp/support/proto_buffer_writer.h \ include/grpcpp/support/proto_buffer_writer.h \
include/grpcpp/support/server_callback.h \ include/grpcpp/support/server_callback.h \
include/grpcpp/support/server_interceptor.h \
include/grpcpp/support/slice.h \ include/grpcpp/support/slice.h \
include/grpcpp/support/status.h \ include/grpcpp/support/status.h \
include/grpcpp/support/status_code_enum.h \ include/grpcpp/support/status_code_enum.h \
@ -5999,10 +6002,13 @@ PUBLIC_HEADERS_CXX += \
include/grpcpp/support/byte_buffer.h \ include/grpcpp/support/byte_buffer.h \
include/grpcpp/support/channel_arguments.h \ include/grpcpp/support/channel_arguments.h \
include/grpcpp/support/client_callback.h \ include/grpcpp/support/client_callback.h \
include/grpcpp/support/client_interceptor.h \
include/grpcpp/support/config.h \ include/grpcpp/support/config.h \
include/grpcpp/support/interceptor.h \
include/grpcpp/support/proto_buffer_reader.h \ include/grpcpp/support/proto_buffer_reader.h \
include/grpcpp/support/proto_buffer_writer.h \ include/grpcpp/support/proto_buffer_writer.h \
include/grpcpp/support/server_callback.h \ include/grpcpp/support/server_callback.h \
include/grpcpp/support/server_interceptor.h \
include/grpcpp/support/slice.h \ include/grpcpp/support/slice.h \
include/grpcpp/support/status.h \ include/grpcpp/support/status.h \
include/grpcpp/support/status_code_enum.h \ include/grpcpp/support/status_code_enum.h \
@ -6908,10 +6914,13 @@ PUBLIC_HEADERS_CXX += \
include/grpcpp/support/byte_buffer.h \ include/grpcpp/support/byte_buffer.h \
include/grpcpp/support/channel_arguments.h \ include/grpcpp/support/channel_arguments.h \
include/grpcpp/support/client_callback.h \ include/grpcpp/support/client_callback.h \
include/grpcpp/support/client_interceptor.h \
include/grpcpp/support/config.h \ include/grpcpp/support/config.h \
include/grpcpp/support/interceptor.h \
include/grpcpp/support/proto_buffer_reader.h \ include/grpcpp/support/proto_buffer_reader.h \
include/grpcpp/support/proto_buffer_writer.h \ include/grpcpp/support/proto_buffer_writer.h \
include/grpcpp/support/server_callback.h \ include/grpcpp/support/server_callback.h \
include/grpcpp/support/server_interceptor.h \
include/grpcpp/support/slice.h \ include/grpcpp/support/slice.h \
include/grpcpp/support/status.h \ include/grpcpp/support/status.h \
include/grpcpp/support/status_code_enum.h \ include/grpcpp/support/status_code_enum.h \

@ -1365,10 +1365,13 @@ filegroups:
- include/grpcpp/support/byte_buffer.h - include/grpcpp/support/byte_buffer.h
- include/grpcpp/support/channel_arguments.h - include/grpcpp/support/channel_arguments.h
- include/grpcpp/support/client_callback.h - include/grpcpp/support/client_callback.h
- include/grpcpp/support/client_interceptor.h
- include/grpcpp/support/config.h - include/grpcpp/support/config.h
- include/grpcpp/support/interceptor.h
- include/grpcpp/support/proto_buffer_reader.h - include/grpcpp/support/proto_buffer_reader.h
- include/grpcpp/support/proto_buffer_writer.h - include/grpcpp/support/proto_buffer_writer.h
- include/grpcpp/support/server_callback.h - include/grpcpp/support/server_callback.h
- include/grpcpp/support/server_interceptor.h
- include/grpcpp/support/slice.h - include/grpcpp/support/slice.h
- include/grpcpp/support/status.h - include/grpcpp/support/status.h
- include/grpcpp/support/status_code_enum.h - include/grpcpp/support/status_code_enum.h

@ -116,10 +116,13 @@ Pod::Spec.new do |s|
'include/grpcpp/support/byte_buffer.h', 'include/grpcpp/support/byte_buffer.h',
'include/grpcpp/support/channel_arguments.h', 'include/grpcpp/support/channel_arguments.h',
'include/grpcpp/support/client_callback.h', 'include/grpcpp/support/client_callback.h',
'include/grpcpp/support/client_interceptor.h',
'include/grpcpp/support/config.h', 'include/grpcpp/support/config.h',
'include/grpcpp/support/interceptor.h',
'include/grpcpp/support/proto_buffer_reader.h', 'include/grpcpp/support/proto_buffer_reader.h',
'include/grpcpp/support/proto_buffer_writer.h', 'include/grpcpp/support/proto_buffer_writer.h',
'include/grpcpp/support/server_callback.h', 'include/grpcpp/support/server_callback.h',
'include/grpcpp/support/server_interceptor.h',
'include/grpcpp/support/slice.h', 'include/grpcpp/support/slice.h',
'include/grpcpp/support/status.h', 'include/grpcpp/support/status.h',
'include/grpcpp/support/status_code_enum.h', 'include/grpcpp/support/status_code_enum.h',

@ -0,0 +1,24 @@
/*
*
* Copyright 2015 gRPC authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
#ifndef GRPCPP_SUPPORT_CLIENT_INTERCEPTOR_H
#define GRPCPP_SUPPORT_CLIENT_INTERCEPTOR_H
#include <grpcpp/impl/codegen/client_interceptor.h>
#endif // GRPCPP_SUPPORT_CLIENT_INTERCEPTOR_H

@ -0,0 +1,24 @@
/*
*
* Copyright 2015 gRPC authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
#ifndef GRPCPP_SUPPORT_INTERCEPTOR_H
#define GRPCPP_SUPPORT_INTERCEPTOR_H
#include <grpcpp/impl/codegen/interceptor.h>
#endif // GRPCPP_SUPPORT_INTERCEPTOR_H

@ -0,0 +1,24 @@
/*
*
* Copyright 2015 gRPC authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
#ifndef GRPCPP_SUPPORT_SERVER_INTERCEPTOR_H
#define GRPCPP_SUPPORT_SERVER_INTERCEPTOR_H
#include <grpcpp/impl/codegen/server_interceptor.h>
#endif // GRPCPP_SUPPORT_SERVER_INTERCEPTOR_H

@ -23,11 +23,11 @@
#include <grpcpp/client_context.h> #include <grpcpp/client_context.h>
#include <grpcpp/create_channel.h> #include <grpcpp/create_channel.h>
#include <grpcpp/generic/generic_stub.h> #include <grpcpp/generic/generic_stub.h>
#include <grpcpp/impl/codegen/client_interceptor.h>
#include <grpcpp/impl/codegen/proto_utils.h> #include <grpcpp/impl/codegen/proto_utils.h>
#include <grpcpp/server.h> #include <grpcpp/server.h>
#include <grpcpp/server_builder.h> #include <grpcpp/server_builder.h>
#include <grpcpp/server_context.h> #include <grpcpp/server_context.h>
#include <grpcpp/support/client_interceptor.h>
#include "src/proto/grpc/testing/echo.grpc.pb.h" #include "src/proto/grpc/testing/echo.grpc.pb.h"
#include "test/core/util/port.h" #include "test/core/util/port.h"

@ -24,10 +24,10 @@
#include <grpcpp/create_channel.h> #include <grpcpp/create_channel.h>
#include <grpcpp/generic/generic_stub.h> #include <grpcpp/generic/generic_stub.h>
#include <grpcpp/impl/codegen/proto_utils.h> #include <grpcpp/impl/codegen/proto_utils.h>
#include <grpcpp/impl/codegen/server_interceptor.h>
#include <grpcpp/server.h> #include <grpcpp/server.h>
#include <grpcpp/server_builder.h> #include <grpcpp/server_builder.h>
#include <grpcpp/server_context.h> #include <grpcpp/server_context.h>
#include <grpcpp/support/server_interceptor.h>
#include "src/proto/grpc/testing/echo.grpc.pb.h" #include "src/proto/grpc/testing/echo.grpc.pb.h"
#include "test/core/util/port.h" #include "test/core/util/port.h"

@ -1008,10 +1008,13 @@ include/grpcpp/support/async_unary_call.h \
include/grpcpp/support/byte_buffer.h \ include/grpcpp/support/byte_buffer.h \
include/grpcpp/support/channel_arguments.h \ include/grpcpp/support/channel_arguments.h \
include/grpcpp/support/client_callback.h \ include/grpcpp/support/client_callback.h \
include/grpcpp/support/client_interceptor.h \
include/grpcpp/support/config.h \ include/grpcpp/support/config.h \
include/grpcpp/support/interceptor.h \
include/grpcpp/support/proto_buffer_reader.h \ include/grpcpp/support/proto_buffer_reader.h \
include/grpcpp/support/proto_buffer_writer.h \ include/grpcpp/support/proto_buffer_writer.h \
include/grpcpp/support/server_callback.h \ include/grpcpp/support/server_callback.h \
include/grpcpp/support/server_interceptor.h \
include/grpcpp/support/slice.h \ include/grpcpp/support/slice.h \
include/grpcpp/support/status.h \ include/grpcpp/support/status.h \
include/grpcpp/support/status_code_enum.h \ include/grpcpp/support/status_code_enum.h \

@ -1010,10 +1010,13 @@ include/grpcpp/support/async_unary_call.h \
include/grpcpp/support/byte_buffer.h \ include/grpcpp/support/byte_buffer.h \
include/grpcpp/support/channel_arguments.h \ include/grpcpp/support/channel_arguments.h \
include/grpcpp/support/client_callback.h \ include/grpcpp/support/client_callback.h \
include/grpcpp/support/client_interceptor.h \
include/grpcpp/support/config.h \ include/grpcpp/support/config.h \
include/grpcpp/support/interceptor.h \
include/grpcpp/support/proto_buffer_reader.h \ include/grpcpp/support/proto_buffer_reader.h \
include/grpcpp/support/proto_buffer_writer.h \ include/grpcpp/support/proto_buffer_writer.h \
include/grpcpp/support/server_callback.h \ include/grpcpp/support/server_callback.h \
include/grpcpp/support/server_interceptor.h \
include/grpcpp/support/slice.h \ include/grpcpp/support/slice.h \
include/grpcpp/support/status.h \ include/grpcpp/support/status.h \
include/grpcpp/support/status_code_enum.h \ include/grpcpp/support/status_code_enum.h \

@ -11546,10 +11546,13 @@
"include/grpcpp/support/byte_buffer.h", "include/grpcpp/support/byte_buffer.h",
"include/grpcpp/support/channel_arguments.h", "include/grpcpp/support/channel_arguments.h",
"include/grpcpp/support/client_callback.h", "include/grpcpp/support/client_callback.h",
"include/grpcpp/support/client_interceptor.h",
"include/grpcpp/support/config.h", "include/grpcpp/support/config.h",
"include/grpcpp/support/interceptor.h",
"include/grpcpp/support/proto_buffer_reader.h", "include/grpcpp/support/proto_buffer_reader.h",
"include/grpcpp/support/proto_buffer_writer.h", "include/grpcpp/support/proto_buffer_writer.h",
"include/grpcpp/support/server_callback.h", "include/grpcpp/support/server_callback.h",
"include/grpcpp/support/server_interceptor.h",
"include/grpcpp/support/slice.h", "include/grpcpp/support/slice.h",
"include/grpcpp/support/status.h", "include/grpcpp/support/status.h",
"include/grpcpp/support/status_code_enum.h", "include/grpcpp/support/status_code_enum.h",
@ -11652,10 +11655,13 @@
"include/grpcpp/support/byte_buffer.h", "include/grpcpp/support/byte_buffer.h",
"include/grpcpp/support/channel_arguments.h", "include/grpcpp/support/channel_arguments.h",
"include/grpcpp/support/client_callback.h", "include/grpcpp/support/client_callback.h",
"include/grpcpp/support/client_interceptor.h",
"include/grpcpp/support/config.h", "include/grpcpp/support/config.h",
"include/grpcpp/support/interceptor.h",
"include/grpcpp/support/proto_buffer_reader.h", "include/grpcpp/support/proto_buffer_reader.h",
"include/grpcpp/support/proto_buffer_writer.h", "include/grpcpp/support/proto_buffer_writer.h",
"include/grpcpp/support/server_callback.h", "include/grpcpp/support/server_callback.h",
"include/grpcpp/support/server_interceptor.h",
"include/grpcpp/support/slice.h", "include/grpcpp/support/slice.h",
"include/grpcpp/support/status.h", "include/grpcpp/support/status.h",
"include/grpcpp/support/status_code_enum.h", "include/grpcpp/support/status_code_enum.h",

Loading…
Cancel
Save