Skip to content

Couchbase key mappings

YuriyZ edited this page Aug 21, 2019 · 23 revisions

Couchbase key mappings

Static rules:

  • objectClass -> oc

Dynamic rules:

We use _ as marker since luckily it's not used in current schema:

Drop prefix

  • gluu ->
    Example: gluuAttributeType -> attr_t
  • oxAuth ->
    Example: oxAuthAppType -> app_t, oxAuthLogoutSessionRequired -> logoutSessionRequired

Shortcuts with markers

  • Group -> _g
    Example: gluuGroupVisibility -> _gVisibility
  • Client -> _c
  • Type -> _t (we have a lot of Type, so keep it 2 chars shorter seems to worth it) \

Shortcuts without markers

  • Request -> Req
  • Response -> Resp
  • Attribute -> Attr
  • Authentication -> Authn
    Example: oxAuthAuthenticationTime -> authnTime
  • Authorization -> Authz
    Example: oxAuthSkipAuthorization -> skipAuthz
Clone this wiki locally