From a1a461685df920f6e6327926a1f6357f4ad3bd21 Mon Sep 17 00:00:00 2001 From: hujie Date: Wed, 10 Oct 2018 14:44:23 +0800 Subject: [PATCH] slove rat exception --- .../src/test/resources/conf/transport.yml | 34 +++++++++++++++++++ distribution/conf/transport.yml | 15 ++++++++ 2 files changed, 49 insertions(+) create mode 100644 acl-plug/src/test/resources/conf/transport.yml diff --git a/acl-plug/src/test/resources/conf/transport.yml b/acl-plug/src/test/resources/conf/transport.yml new file mode 100644 index 00000000..25d4902a --- /dev/null +++ b/acl-plug/src/test/resources/conf/transport.yml @@ -0,0 +1,34 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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. + +onlyNetAddress: + netaddress: 10.10.103.* + noPermitPullTopic: + - broker-a + +list: + - account: RocketMQ + password: 1234567 + netaddress: 192.0.0.* + permitSendTopic: + - test1 + - test2 + - account: RocketMQ + password: 1234567 + netaddress: 192.0.2.1 + permitSendTopic: + - test3 + - test4 + \ No newline at end of file diff --git a/distribution/conf/transport.yml b/distribution/conf/transport.yml index d9552ac7..25d4902a 100644 --- a/distribution/conf/transport.yml +++ b/distribution/conf/transport.yml @@ -1,3 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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. + onlyNetAddress: netaddress: 10.10.103.* noPermitPullTopic: -- GitLab