Fix MavenReportException problem (#2776)

* docs:polished the readme docs

perfect the sample documentation for Spring Cloud Alibaba Sidecar

* docs:polished the readme docs

Fix `nacos` password spelling error

* fix: Fix MavenReportException problem
pull/2788/head
Ceven Cheng 2 years ago committed by GitHub
parent 1e312a85e2
commit fcf8cd48ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -18,8 +18,6 @@ package com.alibaba.cloud.example.common;
/**
* @author ChengPu raozihao
* @description
* @date 2022/8/15
*/
public final class Constants {

@ -28,8 +28,8 @@ import org.springframework.web.bind.annotation.RestController;
/**
* Example of extended configuration. When a configuration in the shared configuration
* does not meet the requirements, the extended configuration can be used to override the
* shared configuration. Priority: Main Configuration > Extended Configuration > Shared
* Configuration.
* shared configuration. Priority: Main Configuration > Extended Configuration >
* Shared Configuration.
*
* @author lixiaoshuang
*/

@ -25,8 +25,6 @@ import org.springframework.util.StringUtils;
/**
* @author ChengPu raozihao
* @description
* @date 2022/8/15
*/
@ConfigurationProperties("spring.cloud.appactive.filter")
public class AppactiveProperties {

@ -28,8 +28,6 @@ import org.springframework.context.annotation.Configuration;
/**
* @author ChengPu raozihao
* @description
* @date 2022/8/15
*/
@Configuration
public class FilterAutoConfiguration {

@ -23,8 +23,6 @@ import org.springframework.context.annotation.Configuration;
/**
* @author ChengPu raozihao
* @description
* @date 2022/8/15
*/
@Configuration
public class FilterPropertiesAutoConfiguration {

@ -43,8 +43,6 @@ import org.springframework.util.AntPathMatcher;
/**
* @author ChengPu raozihao
* @description
* @date 2022/8/20
*/
public class AppactivePredicate extends AbstractServerPredicate {

@ -22,9 +22,7 @@ import com.netflix.loadbalancer.ILoadBalancer;
import com.netflix.loadbalancer.PredicateBasedRule;
/**
* @description
* @author ChengPu raozihao
* @date 2022/8/21
*/
public class AppactiveRule extends PredicateBasedRule {

@ -33,12 +33,12 @@ import org.springframework.util.StringUtils;
/**
* Nacos-specific loader, If need to support other methods of parsing,you need to do the
* following steps:
* <p>
* 1.inherit {@link AbstractPropertySourceLoader} ;<br/>
* 2. define the file{@code spring.factories} and append
* {@code org.springframework.boot.env.PropertySourceLoader=..}; <br/>
* 3.the last step validate.
* </p>
* <ul>
* <li>1.inherit {@link AbstractPropertySourceLoader} ;</li>
* <li>2. define the file{@code spring.factories} and append
* {@code org.springframework.boot.env.PropertySourceLoader=..};</li>
* <li>3.the last step validate.</li>
* </ul>
* Notice the use of {@link NacosByteArrayResource} .
*
* @author zkz

@ -72,6 +72,7 @@ public class NacosJsonPropertySourceLoader extends AbstractPropertySourceLoader
/**
* Reload the key ending in `value` if need.
* @param map the map parameter
*/
protected Map<String, Object> reloadMap(Map<String, Object> map) {
if (map == null || map.isEmpty()) {

@ -40,7 +40,7 @@ import org.springframework.util.StringUtils;
/**
* Parsing for XML requires overwriting the default
* {@link PropertiesPropertySourceLoader}, because it internally rigorously validates
* ({@conde DOCTYPE}) THE XML in a way that makes it difficult to customize the
* THE XML in a way that makes it difficult to customize the
* configuration; at finally, make sure it's in the first place.
*
* @author zkz

@ -49,9 +49,9 @@ public class RocketMQConsumerProperties extends RocketMQCommonProperties {
/**
* The expressions include tags or SQL,as follow:
* <p/>
* <p>
* tag: {@code tag1||tag2||tag3 }; sql: {@code 'color'='blue' AND 'price'>100 } .
* <p/>
* </p>
* Determines whether there are specific characters "{@code ||}" in the expression to
* determine how the message is filtered,tags or SQL.
*/

Loading…
Cancel
Save