Skip to content

Commit

Permalink
Merge pull request #2813 from emqx/dev/1.9.2
Browse files Browse the repository at this point in the history
Sync code from refs/heads/dev/1.9.2 to enterprise
  • Loading branch information
Kinplemelon authored Jul 12, 2024
2 parents f068898 + 173e6e4 commit 2710b41
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/types/schemas/authentication.schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1225,6 +1225,8 @@ export const AuthnJwtJwksMechanism = {
jwt: 'jwt',
} as const

export type AuthnJwtJwksHeaders = { [key: string]: any }

export type AuthnJwtJwksUseJwks = typeof AuthnJwtJwksUseJwks[keyof typeof AuthnJwtJwksUseJwks]

// eslint-disable-next-line @typescript-eslint/no-redeclare
Expand All @@ -1235,6 +1237,7 @@ export const AuthnJwtJwksUseJwks = {
export interface AuthnJwtJwks {
use_jwks: AuthnJwtJwksUseJwks
endpoint: string
headers?: AuthnJwtJwksHeaders
pool_size?: number
refresh_interval?: number
ssl?: EmqxSslClientOpts
Expand Down
3 changes: 3 additions & 0 deletions src/types/schemas/gatewayAuthentication.schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1126,6 +1126,8 @@ export const AuthnJwtJwksMechanism = {
jwt: 'jwt',
} as const

export type AuthnJwtJwksHeaders = { [key: string]: any }

export type AuthnJwtJwksUseJwks = typeof AuthnJwtJwksUseJwks[keyof typeof AuthnJwtJwksUseJwks]

// eslint-disable-next-line @typescript-eslint/no-redeclare
Expand All @@ -1136,6 +1138,7 @@ export const AuthnJwtJwksUseJwks = {
export interface AuthnJwtJwks {
use_jwks: AuthnJwtJwksUseJwks
endpoint: string
headers?: AuthnJwtJwksHeaders
pool_size?: number
refresh_interval?: number
ssl?: EmqxSslClientOpts
Expand Down
3 changes: 3 additions & 0 deletions src/types/schemas/gatewayListeners.schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1825,6 +1825,8 @@ export const AuthnJwtJwksMechanism = {
jwt: 'jwt',
} as const

export type AuthnJwtJwksHeaders = { [key: string]: any }

export type AuthnJwtJwksUseJwks = typeof AuthnJwtJwksUseJwks[keyof typeof AuthnJwtJwksUseJwks]

// eslint-disable-next-line @typescript-eslint/no-redeclare
Expand All @@ -1835,6 +1837,7 @@ export const AuthnJwtJwksUseJwks = {
export interface AuthnJwtJwks {
use_jwks: AuthnJwtJwksUseJwks
endpoint: string
headers?: AuthnJwtJwksHeaders
pool_size?: number
refresh_interval?: number
ssl?: EmqxSslClientOpts
Expand Down
4 changes: 2 additions & 2 deletions src/views/Clients/ClientDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ const clientsOrganizied = {
'connected_at',
'disconnected_at',
],
session: ['subscriptions', 'mqueue', 'inflight', 'heap_size', 'reductions'],
session: ['subscriptions', 'heap_size', 'reductions'],
bytes: ['recv_oct', 'send_oct'],
packets: ['recv_cnt', 'send_cnt', 'recv_pkt'],
messages: ['send_lw_pkt'],
Expand Down Expand Up @@ -330,7 +330,7 @@ const clientsOrganizied = {
'connected_at',
'disconnected_at',
],
session: ['subscriptions', 'mqueue', 'inflight', 'heap_size', 'reductions'],
session: ['subscriptions', 'heap_size', 'reductions'],
bytes: ['recv_oct', 'send_oct'],
packets: ['recv_cnt', 'send_cnt', 'recv_pkt', 'send_pkt'],
messages: [],
Expand Down
1 change: 1 addition & 0 deletions src/views/Gateway/Gateway.vue
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ export default defineComponent({
<style lang="scss">
.gateway {
padding-bottom: 24px;
.el-table {
.status {
color: #00b299;
Expand Down

0 comments on commit 2710b41

Please sign in to comment.