Skip to content

@Service(register=false) is not work #2063

Closed

Description

@xfbxag
  • [*] I have searched the issues of this repository and believe that this is not a duplicate.
  • [*] I have checked the FAQ of this repository and believe that this is not a duplicate.
  • Dubbo version: 2.6.2
  • Operating System version: CentOS 7
  • Java version: 1.8

@service(interfaceClass = DubboSwaggerService.class, protocol = "rest", register = false)
register is not work

@documented
@retention(RetentionPolicy.RUNTIME)
@target({ElementType.TYPE})
@inherited
public @interface Service {

Class<?> interfaceClass() default void.class;

String interfaceName() default "";

String version() default "";

String group() default "";

String path() default "";

boolean export() default false;

String token() default "";

boolean deprecated() default false;

boolean dynamic() default false;

String accesslog() default "";

int executes() default 0;

boolean register() default false;        // this default value should be true

Activity

  1. added a commit that references this issue on Jul 12, 2018
  2. ralf0131 commented on Jul 13, 2018

    @ralf0131
    Contributor

    Hi, this is fixed in the master branch, I think it should be back ported to 2.6.x branch. @beiwei30

  3. added this to the 2.6.3 milestone on Jul 16, 2018
  4. modified the milestones: 2.6.3, 2.6.4 on Jul 23, 2018
  5. added
    type/bug
    on Aug 2, 2018
  6. modified the milestones: 2.6.4, 2.6.5 on Sep 14, 2018
  7. self-assigned this
    on Oct 9, 2018
  8. added a commit that references this issue on Oct 11, 2018
    2e826a6
  9. cvictory commented on Oct 19, 2018

    @cvictory
    Contributor

    @nzomkxia please commit a pr , then we will merge to master.

  10. added a commit that references this issue on Sep 10, 2019
    116c9c3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

type/bug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions