| ## --------------------------------------------------------------------------- |
| ## 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. |
| ## --------------------------------------------------------------------------- |
| |
| APPLICATION_ID: trust-sample |
| service_description: |
| name: store |
| version: 0.0.1 |
| servicecomb: |
| service: |
| registry: |
| address: http://127.0.0.1:30100 |
| rest: |
| address: 0.0.0.0:8080 |
| highway: |
| address: 0.0.0.0:7070 |
| handler: |
| chain: |
| Consumer: |
| default: loadbalance,auth-consumer |
| Provider: |
| default: auth-provider |
| publicKey: |
| accessControl: |
| black: |
| list01: |
| category: property ## property, fixed value |
| propertyName: serviceName ## property name, e.g. serviceName, appId, environment, alias, version and so on, also support key in properties. |
| rule: hacker ## property value match expression. |
| ##if propertyName is serviceName, only supports prefix match and postfix match and exactly match. e.g. hacker*, *hacker, hacker |
| white: |
| list02: |
| category: property |
| propertyName: serviceName |
| rule: cust* |