node:
  home: ${gravitee.home}

plugins:
  registry:
    path: ${gravitee.home}/plugins

management:
  type: mongodb
  mongodb:
    dbname: gravitee
    host: localhost
    port: 27017

analytics:
  type: elasticsearch
  elasticsearch:
    host: localhost
    port: 9300

security:
  type: basic
  providers:
    - type: ldap
      embedded: true
      role-mapping: true
      # if role-mapping is true set the following role mapper LDAP values
      role-mapper: {
        ROLE_DEVELOPERS: ROLE_USER,
        ROLE_MEMBERS: ROLE_USER,
        ROLE_OWNERS: ROLE_ADMIN
      }
      user-dn-patterns: uid={0},ou=people
      group-search-base: ou=groups
      context-source-base: dc=gravitee,dc=io
      # if embedded is false set the following values
      # context-source-username: test
      # context-source-password: test
      # context-source-url: ldap://localhost:389/dc=gravitee,dc=io
    - type: memory
      users:
        - user:
          username: user
          password: password
          roles: USER
        - user:
          username: admin
          password: admin
          roles: ADMIN
    - type: gravitee
      password-encoding: true

plugins:
  path: ${gravitee.home}/plugins

management:
  type: mongodb
  mongodb:
    dbname: gravitee
    host: localhost
    port: 27017

analytics:
  type: elasticsearch
  elasticsearch:
    host: localhost
    port: 9300

security:
  type: basic
  providers:
    - type: ldap
      embedded: true
      role-mapping: true
      # if role-mapping is true set the following role mapper LDAP values
      role-mapper: {
        ROLE_DEVELOPERS: ROLE_USER,
        ROLE_MEMBERS: ROLE_USER,
        ROLE_OWNERS: ROLE_ADMIN
      }
      user-dn-patterns: uid={0},ou=people
      group-search-base: ou=groups
      context-source-base: dc=gravitee,dc=io
      # if embedded is false set the following values
      # context-source-username: test
      # context-source-password: test
      # context-source-url: ldap://localhost:389/dc=gravitee,dc=io
    - type: memory
      users:
        - user:
          username: user
          password: password
          roles: USER
        - user:
          username: admin
          password: admin
          roles: ADMIN
    - type: gravitee
      password-encoding: true
Update path for plugin management
fix(configuration): Update path for plugin management
