From 1f11ed107b567a2be8fb9cbf52be5e7806022f62 Mon Sep 17 00:00:00 2001 From: Andreas Zahnen Date: Fri, 10 May 2024 17:51:03 +0200 Subject: [PATCH] fix dashboard --- xtraplatform-ops/src/main/resources/dashboard/404.html | 2 +- .../{549-653eac587980e2c7.js => 549-9e802070de5ff105.js} | 2 +- .../{page-0cd64fe776cc8470.js => page-dc18e2ae0b3649cf.js} | 2 +- ...ayout-8e11ff0a9b9d117f.js => layout-85f076f6052b8a97.js} | 2 +- .../{page-5cf3cd649a89b811.js => page-c112a5c848929656.js} | 2 +- .../{page-192d969936a14d11.js => page-e4c21ceec8b7b171.js} | 2 +- .../_buildManifest.js | 0 .../_ssgManifest.js | 0 .../src/main/resources/dashboard/deployment.html | 2 +- .../src/main/resources/dashboard/deployment.txt | 6 +++--- xtraplatform-ops/src/main/resources/dashboard/entities.html | 2 +- xtraplatform-ops/src/main/resources/dashboard/entities.txt | 6 +++--- .../src/main/resources/dashboard/entities/details.html | 2 +- .../src/main/resources/dashboard/entities/details.txt | 6 +++--- xtraplatform-ops/src/main/resources/dashboard/index.html | 2 +- xtraplatform-ops/src/main/resources/dashboard/index.txt | 4 ++-- xtraplatform-ops/src/main/resources/dashboard/values.html | 2 +- xtraplatform-ops/src/main/resources/dashboard/values.txt | 6 +++--- .../src/main/resources/dashboard/values/details.html | 2 +- .../src/main/resources/dashboard/values/details.txt | 6 +++--- 20 files changed, 29 insertions(+), 29 deletions(-) rename xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/{549-653eac587980e2c7.js => 549-9e802070de5ff105.js} (82%) rename xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/entities/{page-0cd64fe776cc8470.js => page-dc18e2ae0b3649cf.js} (80%) rename xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/{layout-8e11ff0a9b9d117f.js => layout-85f076f6052b8a97.js} (80%) rename xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/values/details/{page-5cf3cd649a89b811.js => page-c112a5c848929656.js} (65%) rename xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/values/{page-192d969936a14d11.js => page-e4c21ceec8b7b171.js} (86%) rename xtraplatform-ops/src/main/resources/dashboard/_next/static/{wMS5LGn3F83UKaYFzVkBc => nD6-RHq6D_GhmrBRPSlWB}/_buildManifest.js (100%) rename xtraplatform-ops/src/main/resources/dashboard/_next/static/{wMS5LGn3F83UKaYFzVkBc => nD6-RHq6D_GhmrBRPSlWB}/_ssgManifest.js (100%) diff --git a/xtraplatform-ops/src/main/resources/dashboard/404.html b/xtraplatform-ops/src/main/resources/dashboard/404.html index 4027373e..78a5539a 100644 --- a/xtraplatform-ops/src/main/resources/dashboard/404.html +++ b/xtraplatform-ops/src/main/resources/dashboard/404.html @@ -1 +1 @@ -404: This page could not be found. \ No newline at end of file +404: This page could not be found. \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/549-653eac587980e2c7.js b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/549-9e802070de5ff105.js similarity index 82% rename from xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/549-653eac587980e2c7.js rename to xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/549-9e802070de5ff105.js index e695776e..fc413b80 100644 --- a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/549-653eac587980e2c7.js +++ b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/549-9e802070de5ff105.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[549],{9539:function(e){var t,r,n,s,a,i,o,c,u,l,d,f,h,m,g,p,y,v,b,x,w,$;e.exports=(t="millisecond",r="second",n="minute",s="hour",a="week",i="month",o="quarter",c="year",u="date",l="Invalid Date",d=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,f=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,h=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},(g={})[m="en"]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||"th")+"]"}},p="$isDayjsObject",y=function(e){return e instanceof w||!(!e||!e[p])},v=function e(t,r,n){var s;if(!t)return m;if("string"==typeof t){var a=t.toLowerCase();g[a]&&(s=a),r&&(g[a]=r,s=a);var i=t.split("-");if(!s&&i.length>1)return e(i[0])}else{var o=t.name;g[o]=t,s=o}return!n&&s&&(m=s),s||!n&&m},b=function(e,t){if(y(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new w(r)},(x={s:h,z:function(e){var t=-e.utcOffset(),r=Math.abs(t);return(t<=0?"+":"-")+h(Math.floor(r/60),2,"0")+":"+h(r%60,2,"0")},m:function e(t,r){if(t.date(){let{className:r,...s}=e;return(0,n.jsx)("div",{className:"relative w-full overflow-auto",children:(0,n.jsx)("table",{ref:t,className:(0,o.cn)("w-full caption-bottom text-sm",r),...s})})});c.displayName="Table";let u=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("thead",{ref:t,className:(0,o.cn)("[&_tr]:border-b",r),...s})});u.displayName="TableHeader";let l=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("tbody",{ref:t,className:(0,o.cn)("[&_tr:last-child]:border-0",r),...s})});l.displayName="TableBody",s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("tfoot",{ref:t,className:(0,o.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",r),...s})}).displayName="TableFooter";let d=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("tr",{ref:t,className:(0,o.cn)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",r),...s})});d.displayName="TableRow";let f=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("th",{ref:t,className:(0,o.cn)("h-10 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",r),...s})});f.displayName="TableHead";let h=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("td",{ref:t,className:(0,o.cn)("p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",r),...s})});function m(e){var t;let{columns:r,data:o}=e,[m,g]=s.useState({}),[p,y]=s.useState([]),[v,b]=s.useState([]),[x,w]=s.useState({}),$=(0,a.b7)({data:o,columns:r,getCoreRowModel:(0,i.sC)(),onSortingChange:b,getSortedRowModel:(0,i.tj)(),onColumnFiltersChange:y,getFilteredRowModel:(0,i.vL)(),onColumnVisibilityChange:g,getExpandedRowModel:(0,i.rV)(),getSubRows:e=>e.subRows,onExpandedChange:w,state:{sorting:v,columnFilters:p,columnVisibility:m,expanded:x}});return(0,n.jsx)("div",{children:(0,n.jsx)("div",{className:"rounded-md border",children:(0,n.jsxs)(c,{children:[(0,n.jsx)(u,{children:$.getHeaderGroups().map(e=>(0,n.jsx)(d,{children:e.headers.map(e=>(0,n.jsx)(f,{children:e.isPlaceholder?null:(0,a.ie)(e.column.columnDef.header,e.getContext())},e.id))},e.id))}),(0,n.jsx)(l,{children:(null===(t=$.getRowModel().rows)||void 0===t?void 0:t.length)?$.getRowModel().rows.map(e=>(0,n.jsx)(d,{"data-state":e.getIsSelected()&&"selected",className:"".concat(0===e.depth?"":"bg-muted"),children:e.getVisibleCells().map(e=>(0,n.jsx)(h,{children:(0,a.ie)(e.column.columnDef.cell,e.getContext())},e.id))},e.id)):(0,n.jsx)(d,{children:(0,n.jsx)(h,{colSpan:r.length,className:"h-24 text-center",children:"No results."})})})]})})})}h.displayName="TableCell",s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("caption",{ref:t,className:(0,o.cn)("mt-4 text-sm text-muted-foreground",r),...s})}).displayName="TableCaption"},5815:function(e,t,r){r.d(t,{z:function(){return c}});var n=r(3827),s=r(7521),a=r(8886),i=r(5479),o=r(2177);let c=[{accessorKey:"label",header:e=>{let{column:t}=e;return(0,n.jsxs)(a.z,{variant:"ghost",onClick:()=>t.toggleSorting("asc"===t.getIsSorted()),children:["Name",(0,n.jsx)(s.Z,{className:"ml-2 h-4 w-4"})]})},cell:e=>{let{row:t,getValue:r}=e;return(0,n.jsxs)("div",{className:"".concat(0===t.depth?"ml-4 flex items-center":"ml-8"),children:[r()," ",t.getCanExpand()?(0,n.jsx)("button",{onClick:t.getToggleExpandedHandler(),className:"ml-2",style:{cursor:"pointer"},children:t.getIsExpanded()?(0,n.jsx)(o.v4q,{}):(0,n.jsx)(o.XCv,{})}):""]})}},{accessorKey:"status",header:e=>{let{column:t}=e;return(0,n.jsxs)(a.z,{variant:"ghost",onClick:()=>t.toggleSorting("asc"===t.getIsSorted()),children:["Status",(0,n.jsx)(s.Z,{className:"ml-2 h-4 w-4"})]})},cell:e=>{let{row:t}=e;if(t.original){let e="HEALTHY"===t.original.status||"AVAILABLE"===t.original.status?"success":"LIMITED"===t.original.status?"warning":"destructive";return(0,n.jsx)(i.C,{className:"ml-4",variant:e,children:t.original.status})}return null}},{accessorKey:"message",header:e=>{let{column:t}=e;return(0,n.jsx)("div",{className:"flex items-center justify-start",children:(0,n.jsx)(a.z,{variant:"ghost",children:"Message"})})},cell:e=>{let{row:t,getValue:r}=e;return(0,n.jsx)("div",{className:"ml-4 flex items-center justify-start",children:r()})}},{accessorKey:"checked",header:e=>{let{column:t}=e;return(0,n.jsx)("div",{className:"flex items-center justify-start",children:(0,n.jsx)(a.z,{variant:"ghost",children:"Last checked"})})},cell:e=>{let{row:t,getValue:r}=e;return(0,n.jsx)("div",{className:"ml-4 flex items-center justify-start",children:r()})}}]},5479:function(e,t,r){r.d(t,{C:function(){return o}});var n=r(3827);r(4090);var s=r(7742),a=r(2169);let i=(0,s.j)("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",success:"border-transparent bg-success text-success-foreground hover:bg-success/80",warning:"border-transparent bg-warning text-warning-foreground hover:bg-warning/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function o(e){let{className:t,variant:r,...s}=e;return(0,n.jsx)("div",{className:(0,a.cn)(i({variant:r}),t),...s})}},8886:function(e,t,r){r.d(t,{z:function(){return u}});var n=r(3827),s=r(4090),a=r(9143),i=r(7742),o=r(2169);let c=(0,i.j)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),u=s.forwardRef((e,t)=>{let{className:r,variant:s,size:i,asChild:u=!1,...l}=e,d=u?a.g7:"button";return(0,n.jsx)(d,{className:(0,o.cn)(c({variant:s,size:i,className:r})),ref:t,...l})});u.displayName="Button"},5744:function(e,t,r){r.d(t,{SP:function(){return u},dr:function(){return c},mQ:function(){return o},nU:function(){return l}});var n=r(3827),s=r(4090),a=r(1639),i=r(2169);let o=a.fC,c=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(a.aV,{ref:t,className:(0,i.cn)("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",r),...s})});c.displayName=a.aV.displayName;let u=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(a.xz,{ref:t,className:(0,i.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",r),...s})});u.displayName=a.xz.displayName;let l=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(a.VY,{ref:t,className:(0,i.cn)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",r),...s})});l.displayName=a.VY.displayName},2169:function(e,t,r){r.d(t,{AR:function(){return g},C5:function(){return l},KX:function(){return f},Kt:function(){return d},ZH:function(){return h},cn:function(){return a},fL:function(){return u},fi:function(){return c},hs:function(){return m}});var n=r(3167),s=r(1367);function a(){for(var e=arguments.length,t=Array(e),r=0;r{try{let e=await fetch(i+"/entities"),t=await e.json();return Object.keys(t).flatMap(e=>t[e].map(t=>({type:e,uid:"".concat(e,"_").concat(t.id),...t}))).filter(e=>"DISABLED"!==e.status)}catch(e){throw console.error("Error:",e),e}},u=async()=>{try{let e=await fetch(i+"/health"),t=await e.json();return Object.keys(t).map(e=>({name:e,...t[e],capabilities:t[e].capabilities?Object.keys(t[e].capabilities).map(r=>({name:r,...t[e].capabilities[r]})):void 0,components:t[e].components?Object.keys(t[e].components).map(r=>({name:r,...t[e].components[r]})):void 0}))}catch(e){throw console.error("Error:",e),e}},l=async()=>{try{let e=await fetch(i+"/info");return await e.json()}catch(e){throw console.error("Error:",e),e}},d=async()=>{try{let e=await fetch(i+"/metrics"),t=await e.json();return{uptime:t.gauges["jvm.attribute.uptime"].value,memory:t.gauges["jvm.memory.total.used"].value}}catch(e){throw console.error("Error:",e),e}},f=async()=>{try{let e=await fetch(i+"/values"),t=await e.json();return Object.keys(t).flatMap(e=>t[e].map(t=>({type:e,uid:"".concat(e,"_").concat(t.path),...t})))}catch(e){throw console.error("Error:",e),e}},h=async e=>{try{let t=e.replace(/_/g,"/"),r=await fetch("".concat(o,"/cfg/entities/").concat(t));if(!r.ok)throw Error("HTTP error! status: ".concat(r.status));return await r.json()}catch(e){throw console.error("Error:",e),e}},m=async()=>{try{let e=await fetch(o+"/cfg/global/deployment");if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));return await e.json()}catch(e){throw console.error("Error:",e),e}},g=async e=>{try{let t=e.replace(/_/g,"/"),r=await fetch("".concat(o,"/cfg/values/").concat(t));if(!r.ok)throw Error("HTTP error! status: ".concat(r.status));return await r.json()}catch(e){throw console.error("Error:",e),e}}}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[549],{9539:function(e){var t,r,n,s,a,i,o,c,u,l,d,f,h,m,g,y,p,v,b,x,w,$;e.exports=(t="millisecond",r="second",n="minute",s="hour",a="week",i="month",o="quarter",c="year",u="date",l="Invalid Date",d=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,f=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,h=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},(g={})[m="en"]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||"th")+"]"}},y="$isDayjsObject",p=function(e){return e instanceof w||!(!e||!e[y])},v=function e(t,r,n){var s;if(!t)return m;if("string"==typeof t){var a=t.toLowerCase();g[a]&&(s=a),r&&(g[a]=r,s=a);var i=t.split("-");if(!s&&i.length>1)return e(i[0])}else{var o=t.name;g[o]=t,s=o}return!n&&s&&(m=s),s||!n&&m},b=function(e,t){if(p(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new w(r)},(x={s:h,z:function(e){var t=-e.utcOffset(),r=Math.abs(t);return(t<=0?"+":"-")+h(Math.floor(r/60),2,"0")+":"+h(r%60,2,"0")},m:function e(t,r){if(t.date(){let{className:r,...s}=e;return(0,n.jsx)("div",{className:"relative w-full overflow-auto",children:(0,n.jsx)("table",{ref:t,className:(0,o.cn)("w-full caption-bottom text-sm",r),...s})})});c.displayName="Table";let u=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("thead",{ref:t,className:(0,o.cn)("[&_tr]:border-b",r),...s})});u.displayName="TableHeader";let l=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("tbody",{ref:t,className:(0,o.cn)("[&_tr:last-child]:border-0",r),...s})});l.displayName="TableBody",s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("tfoot",{ref:t,className:(0,o.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",r),...s})}).displayName="TableFooter";let d=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("tr",{ref:t,className:(0,o.cn)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",r),...s})});d.displayName="TableRow";let f=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("th",{ref:t,className:(0,o.cn)("h-10 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",r),...s})});f.displayName="TableHead";let h=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("td",{ref:t,className:(0,o.cn)("p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",r),...s})});function m(e){var t;let{columns:r,data:o}=e,[m,g]=s.useState({}),[y,p]=s.useState([]),[v,b]=s.useState([]),[x,w]=s.useState({}),$=(0,a.b7)({data:o,columns:r,getCoreRowModel:(0,i.sC)(),onSortingChange:b,getSortedRowModel:(0,i.tj)(),onColumnFiltersChange:p,getFilteredRowModel:(0,i.vL)(),onColumnVisibilityChange:g,getExpandedRowModel:(0,i.rV)(),getSubRows:e=>e.subRows,onExpandedChange:w,state:{sorting:v,columnFilters:y,columnVisibility:m,expanded:x}});return(0,n.jsx)("div",{children:(0,n.jsx)("div",{className:"rounded-md border",children:(0,n.jsxs)(c,{children:[(0,n.jsx)(u,{children:$.getHeaderGroups().map(e=>(0,n.jsx)(d,{children:e.headers.map(e=>(0,n.jsx)(f,{children:e.isPlaceholder?null:(0,a.ie)(e.column.columnDef.header,e.getContext())},e.id))},e.id))}),(0,n.jsx)(l,{children:(null===(t=$.getRowModel().rows)||void 0===t?void 0:t.length)?$.getRowModel().rows.map(e=>(0,n.jsx)(d,{"data-state":e.getIsSelected()&&"selected",className:"".concat(0===e.depth?"":"bg-muted"),children:e.getVisibleCells().map(e=>(0,n.jsx)(h,{children:(0,a.ie)(e.column.columnDef.cell,e.getContext())},e.id))},e.id)):(0,n.jsx)(d,{children:(0,n.jsx)(h,{colSpan:r.length,className:"h-24 text-center",children:"No results."})})})]})})})}h.displayName="TableCell",s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("caption",{ref:t,className:(0,o.cn)("mt-4 text-sm text-muted-foreground",r),...s})}).displayName="TableCaption"},5815:function(e,t,r){r.d(t,{z:function(){return c}});var n=r(3827),s=r(7521),a=r(8886),i=r(5479),o=r(2177);let c=[{accessorKey:"label",header:e=>{let{column:t}=e;return(0,n.jsxs)(a.z,{variant:"ghost",onClick:()=>t.toggleSorting("asc"===t.getIsSorted()),children:["Name",(0,n.jsx)(s.Z,{className:"ml-2 h-4 w-4"})]})},cell:e=>{let{row:t,getValue:r}=e;return(0,n.jsxs)("div",{className:"".concat(0===t.depth?"ml-4 flex items-center":"ml-8"),children:[r()," ",t.getCanExpand()?(0,n.jsx)("button",{onClick:t.getToggleExpandedHandler(),className:"ml-2",style:{cursor:"pointer"},children:t.getIsExpanded()?(0,n.jsx)(o.v4q,{}):(0,n.jsx)(o.XCv,{})}):""]})}},{accessorKey:"status",header:e=>{let{column:t}=e;return(0,n.jsxs)(a.z,{variant:"ghost",onClick:()=>t.toggleSorting("asc"===t.getIsSorted()),children:["Status",(0,n.jsx)(s.Z,{className:"ml-2 h-4 w-4"})]})},cell:e=>{let{row:t}=e;if(t.original){let e="HEALTHY"===t.original.status||"AVAILABLE"===t.original.status?"success":"LIMITED"===t.original.status?"warning":"destructive";return(0,n.jsx)(i.C,{className:"ml-4",variant:e,children:t.original.status})}return null}},{accessorKey:"message",header:e=>{let{column:t}=e;return(0,n.jsx)("div",{className:"flex items-center justify-start",children:(0,n.jsx)(a.z,{variant:"ghost",children:"Message"})})},cell:e=>{let{row:t,getValue:r}=e;return(0,n.jsx)("div",{className:"ml-4 flex items-center justify-start",children:r()})}},{accessorKey:"checked",header:e=>{let{column:t}=e;return(0,n.jsx)("div",{className:"flex items-center justify-start",children:(0,n.jsx)(a.z,{variant:"ghost",children:"Last checked"})})},cell:e=>{let{row:t,getValue:r}=e;return(0,n.jsx)("div",{className:"ml-4 flex items-center justify-start",children:r()})}}]},5479:function(e,t,r){r.d(t,{C:function(){return o}});var n=r(3827);r(4090);var s=r(7742),a=r(2169);let i=(0,s.j)("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",success:"border-transparent bg-success text-success-foreground hover:bg-success/80",warning:"border-transparent bg-warning text-warning-foreground hover:bg-warning/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function o(e){let{className:t,variant:r,...s}=e;return(0,n.jsx)("div",{className:(0,a.cn)(i({variant:r}),t),...s})}},8886:function(e,t,r){r.d(t,{z:function(){return u}});var n=r(3827),s=r(4090),a=r(9143),i=r(7742),o=r(2169);let c=(0,i.j)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),u=s.forwardRef((e,t)=>{let{className:r,variant:s,size:i,asChild:u=!1,...l}=e,d=u?a.g7:"button";return(0,n.jsx)(d,{className:(0,o.cn)(c({variant:s,size:i,className:r})),ref:t,...l})});u.displayName="Button"},5744:function(e,t,r){r.d(t,{SP:function(){return u},dr:function(){return c},mQ:function(){return o},nU:function(){return l}});var n=r(3827),s=r(4090),a=r(1639),i=r(2169);let o=a.fC,c=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(a.aV,{ref:t,className:(0,i.cn)("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",r),...s})});c.displayName=a.aV.displayName;let u=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(a.xz,{ref:t,className:(0,i.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",r),...s})});u.displayName=a.xz.displayName;let l=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(a.VY,{ref:t,className:(0,i.cn)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",r),...s})});l.displayName=a.VY.displayName},2169:function(e,t,r){r.d(t,{AR:function(){return g},C5:function(){return l},KX:function(){return f},Kt:function(){return d},ZH:function(){return h},cn:function(){return a},fL:function(){return u},fi:function(){return c},hs:function(){return m}});var n=r(3167),s=r(1367);function a(){for(var e=arguments.length,t=Array(e),r=0;r{try{let e=await fetch(i+"/entities"),t=await e.json();return Object.keys(t).flatMap(e=>t[e].map(t=>({type:e,uid:"".concat(e,"_").concat(t.id),...t}))).filter(e=>"DISABLED"!==e.status)}catch(e){throw console.error("Error:",e),e}},u=async()=>{try{let e=await fetch(i+"/health"),t=await e.json();return Object.keys(t).map(e=>({name:e,...t[e],capabilities:t[e].capabilities?Object.keys(t[e].capabilities).map(r=>({name:r,...t[e].capabilities[r]})):void 0,components:t[e].components?Object.keys(t[e].components).map(r=>({name:r,...t[e].components[r]})):void 0}))}catch(e){throw console.error("Error:",e),e}},l=async()=>{try{let e=await fetch(i+"/info");return await e.json()}catch(e){throw console.error("Error:",e),e}},d=async()=>{try{let e=await fetch(i+"/metrics"),t=await e.json();return{uptime:t.gauges["jvm.attribute.uptime"].value,memory:t.gauges["jvm.memory.total.used"].value}}catch(e){throw console.error("Error:",e),e}},f=async()=>{try{let e=await fetch(i+"/values"),t=await e.json();return Object.keys(t).flatMap(e=>t[e].map(t=>({type:e,uid:"".concat(e,"_").concat(t.path),...t})))}catch(e){throw console.error("Error:",e),e}},h=async e=>{try{let t=e.replace(/_/g,"/"),r=await fetch("".concat(o,"/cfg/entities/").concat(t));if(!r.ok)throw Error("HTTP error! status: ".concat(r.status));return await r.json()}catch(e){throw console.error("Error:",e),e}},m=async()=>{try{let e=await fetch(o+"/cfg/global/deployment");if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));return await e.json()}catch(e){throw console.error("Error:",e),e}},g=async e=>{try{let t=e.replace(/_/g,"/"),r=await fetch("".concat(o,"/cfg/values/").concat(t));if(!r.ok)throw Error("HTTP error! status: ".concat(r.status));return await r.json()}catch(e){throw console.error("Error:",e),e}}}}]); \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/entities/page-0cd64fe776cc8470.js b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/entities/page-dc18e2ae0b3649cf.js similarity index 80% rename from xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/entities/page-0cd64fe776cc8470.js rename to xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/entities/page-dc18e2ae0b3649cf.js index 295ac8f6..a2fa709c 100644 --- a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/entities/page-0cd64fe776cc8470.js +++ b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/entities/page-dc18e2ae0b3649cf.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[146],{5531:function(e,t,r){Promise.resolve().then(r.bind(r,3813))},3813:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return f}});var n=r(3827),a=r(4747),s=r(5744),i=r(7907),c=r(2169),l=r(4090),o=r(6162),u=r(3702),d=r(8403);function f(){let[e,t]=(0,l.useState)([]),[r,f]=(0,l.useState)("overview"),m=(0,i.useRouter)(),p=(0,i.usePathname)(),x=e.map(d.RL).filter((e,t,r)=>r.indexOf(e)===t),h=e.reduce((e,t)=>{let r=(0,d.RL)(t);return e[r]||(e[r]=0),e[r]++,e},{}),g=(0,d.zM)(e,x),v=async()=>{try{let e=await (0,c.fi)(),r=await (0,c.fL)();e.forEach(e=>{let t=r.find(t=>t.name==="entities/".concat(e.type,"/").concat(e.id));e.status=t&&t.state?t.state:"UNKNOWN"}),t(e)}catch(e){console.error("Error loading entities:",e)}};return(0,l.useEffect)(()=>{v(),p&&f(window.location.hash.slice(1)||"overview")},[]),o.D&&(console.log("entityTypeStatusCounts:",g),console.log("entities",e),console.log("Counts:",h.API),console.log("entityTypes",x)),(0,n.jsxs)("div",{className:"flex-1 space-y-4 p-8 pt-0",children:[(0,n.jsx)("div",{className:"flex items-center justify-between space-y-2",children:(0,n.jsx)("h2",{className:"text-2xl font-semibold tracking-tight",children:"Entities"})}),(0,n.jsxs)(s.mQ,{value:r,onValueChange:e=>{f(e),m.push("".concat(p,"#").concat(e))},className:"h-full space-y-6",children:[(0,n.jsx)("div",{className:"space-between flex items-center",children:(0,n.jsxs)(s.dr,{children:[(0,n.jsx)(s.SP,{value:"overview",children:(0,n.jsx)("span",{children:"Overview"})}),x.map(e=>(0,n.jsx)(s.SP,{value:e,children:(0,n.jsx)("span",{children:(0,d.Xd)(e)})},e))]})}),(0,n.jsx)(s.nU,{value:"overview",children:(0,n.jsx)("div",{className:"grid gap-4 md:grid-cols-2 lg:grid-cols-4",children:x.map(e=>(0,n.jsx)(a.Z,{main:(0,d.Xd)(e),footer:(0,d.Ph)(g[e]),total:h[e],onClick:()=>f(e),route:"".concat(p,"#").concat(e),Icon:(0,u.q)("Id")},e))})}),x.map(t=>(0,n.jsx)(s.nU,{value:t,children:(0,n.jsx)("div",{className:"grid gap-4 md:grid-cols-2 lg:grid-cols-4",children:e.filter(e=>(0,d.RL)(e)===t).map(e=>(0,n.jsx)(a.Z,{header:e.status,main:e.id,footer:e.subType.toUpperCase(),route:"/entities/details?id=".concat(e.uid)},e.uid))})},t))]})]})}},4747:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(3827),a=r(8792),s=r(9084),i=r(2177),c=r(5479);let l=e=>{let{footer:t}=e,r=t.includes("/")?t.split("/")[1]:t.includes("OGC_API")?t:null;return console.log("footer: ",t),console.log("type1: ",r),(0,n.jsx)(n.Fragment,{children:t?t.split(" ").map((e,t,a)=>"available"!==e||isNaN(Number(a[t-1]))?"limited"!==e||isNaN(Number(a[t-1]))?"unavailable"!==e||isNaN(Number(a[t-1]))?null!==r?(0,n.jsx)(c.C,{variant:"secondary",children:r},r):isNaN(Number(e))||"available"!==a[t+1]&&"unavailable"!==a[t+1]&&"limited"!==a[t+1]?e+" ":null:[(0,n.jsxs)("span",{className:"text-destructive mr-2",style:{display:"flex",alignItems:"center"},children:[(0,n.jsx)(i.xrR,{className:"text-destructive",style:{marginRight:"3px"}},"CheckCircledIcon"),a[t-1]," ",e]},t)]:[(0,n.jsxs)("span",{className:"text-warning mr-2",style:{display:"flex",alignItems:"center"},children:[(0,n.jsx)(i.LPM,{className:"text-warning",style:{marginRight:"3px"}},"CheckCircledIcon"),a[t-1]," ",e]},t)]:[(0,n.jsxs)("span",{className:"text-success mr-2",style:{display:"flex",alignItems:"center",marginRight:"15px"},children:[(0,n.jsx)(i.NhS,{className:"text-success",style:{marginRight:"3px"}},"CheckCircledIcon"),a[t-1]," ",e]},t)]):null})};function o(e){let{header:t,main:r,footer:i,route:c,total:o,Icon:u,...d}=e,f="AVAILABLE"===t||"ACTIVE"===t||"true"===t?"text-success":"LIMITED"===t?"text-warning":"UNAVAILABLE"===t||"false"===t?"text-destructive":"text-blue-700";return(0,n.jsx)(a.default,{href:c||"#",children:(0,n.jsxs)(s.Zb,{className:"shadow-lg hover:bg-gray-100 transition-colors duration-200",...d,children:[(0,n.jsx)(s.Ol,{className:"flex flex-row items-center justify-between space-y-0 pb-0",children:(0,n.jsx)(s.ll,{className:"text-sm font-semibold ".concat(f).concat(t?"":"text-2xl font-bold mb-1"),children:t||(0,n.jsx)("span",{className:"text-2xl font-bold mb-1",children:o})})}),(0,n.jsxs)(s.aY,{children:[(0,n.jsxs)("div",{className:"text-2xl font-bold",style:{display:"flex",flexDirection:"row",marginBottom:"5px",alignItems:"center",justifyContent:"flex-start",gap:"10px"},children:[u?(0,n.jsx)(u,{className:"h-6 w-6 text-muted-foreground"}):null,(0,n.jsx)("span",{style:{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},title:"string"==typeof r?r:"",children:r})]}),(0,n.jsx)("div",{style:{display:"flex",flexWrap:"wrap"},children:(0,n.jsx)("p",{className:"text-xs text-muted-foreground",style:{display:"flex",flexDirection:"row"},children:i?(0,n.jsx)(l,{footer:i}):null})})]})]})})}},5479:function(e,t,r){"use strict";r.d(t,{C:function(){return c}});var n=r(3827);r(4090);var a=r(7742),s=r(2169);let i=(0,a.j)("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",success:"border-transparent bg-success text-success-foreground hover:bg-success/80",warning:"border-transparent bg-warning text-warning-foreground hover:bg-warning/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function c(e){let{className:t,variant:r,...a}=e;return(0,n.jsx)("div",{className:(0,s.cn)(i({variant:r}),t),...a})}},9084:function(e,t,r){"use strict";r.d(t,{Ol:function(){return c},Zb:function(){return i},aY:function(){return o},ll:function(){return l}});var n=r(3827),a=r(4090),s=r(2169);let i=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,s.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",r),...a})});i.displayName="Card";let c=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,s.cn)("flex flex-col space-y-1.5 p-6",r),...a})});c.displayName="CardHeader";let l=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("h3",{ref:t,className:(0,s.cn)("text-2xl font-semibold leading-none tracking-tight",r),...a})});l.displayName="CardTitle",a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("p",{ref:t,className:(0,s.cn)("text-sm text-muted-foreground",r),...a})}).displayName="CardDescription";let o=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,s.cn)("p-6 pt-0",r),...a})});o.displayName="CardContent",a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,s.cn)("flex items-center p-6 pt-0",r),...a})}).displayName="CardFooter"},5744:function(e,t,r){"use strict";r.d(t,{SP:function(){return o},dr:function(){return l},mQ:function(){return c},nU:function(){return u}});var n=r(3827),a=r(4090),s=r(1639),i=r(2169);let c=s.fC,l=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(s.aV,{ref:t,className:(0,i.cn)("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",r),...a})});l.displayName=s.aV.displayName;let o=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(s.xz,{ref:t,className:(0,i.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",r),...a})});o.displayName=s.xz.displayName;let u=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(s.VY,{ref:t,className:(0,i.cn)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",r),...a})});u.displayName=s.VY.displayName},6162:function(e,t,r){"use strict";r.d(t,{D:function(){return n}});let n=!0},8403:function(e,t,r){"use strict";r.d(t,{Ph:function(){return c},RL:function(){return n},Xd:function(){return a},lY:function(){return s},zM:function(){return i}});let n=e=>"services"===e.type?"API":e.subType.split(/[/]/)[0],a=e=>e[0].toUpperCase()+e.substring(1)+"s",s=e=>e.reduce((e,t)=>(n(t),e||(e={available:0,limited:0,unavailable:0}),"AVAILABLE"===t.status?e.available++:"LIMITED"===t.status?e.limited++:"UNAVAILABLE"===t.status&&e.unavailable++,e),{available:0,limited:0,unavailable:0}),i=(e,t)=>t.reduce((t,r)=>(t[r]=s(e.filter(e=>n(e)===r)),t),{}),c=e=>{if(!e||!e)return"No entities found";let t="";return e.available&&(t+="".concat(e.available," available")),e.limited&&(t.length>0&&(t+=" "),t+="".concat(e.limited," limited")),e.unavailable&&(t.length>0&&(t+=" "),t+="".concat(e.unavailable," unavailable")),t}},3702:function(e,t,r){"use strict";r.d(t,{c:function(){return a},q:function(){return s}});var n=r(2177);let a={Play:"Play",Id:"Id",Code:"Code",ListBullet:"ListBullet",Upload:"Upload",Clock:"Clock",Desktop:"Desktop"},s=e=>{switch(e){case a.Play:return n.o1U;case a.Id:return n.Xwj;case a.Code:return n.dNJ;case a.ListBullet:return n.jVc;case a.Upload:return n.rG2;case a.Clock:return n.T39;case a.Desktop:return n.ugZ;default:return}}},2169:function(e,t,r){"use strict";r.d(t,{AR:function(){return x},C5:function(){return u},KX:function(){return f},Kt:function(){return d},ZH:function(){return m},cn:function(){return s},fL:function(){return o},fi:function(){return l},hs:function(){return p}});var n=r(3167),a=r(1367);function s(){for(var e=arguments.length,t=Array(e),r=0;r{try{let e=await fetch(i+"/entities"),t=await e.json();return Object.keys(t).flatMap(e=>t[e].map(t=>({type:e,uid:"".concat(e,"_").concat(t.id),...t}))).filter(e=>"DISABLED"!==e.status)}catch(e){throw console.error("Error:",e),e}},o=async()=>{try{let e=await fetch(i+"/health"),t=await e.json();return Object.keys(t).map(e=>({name:e,...t[e],capabilities:t[e].capabilities?Object.keys(t[e].capabilities).map(r=>({name:r,...t[e].capabilities[r]})):void 0,components:t[e].components?Object.keys(t[e].components).map(r=>({name:r,...t[e].components[r]})):void 0}))}catch(e){throw console.error("Error:",e),e}},u=async()=>{try{let e=await fetch(i+"/info");return await e.json()}catch(e){throw console.error("Error:",e),e}},d=async()=>{try{let e=await fetch(i+"/metrics"),t=await e.json();return{uptime:t.gauges["jvm.attribute.uptime"].value,memory:t.gauges["jvm.memory.total.used"].value}}catch(e){throw console.error("Error:",e),e}},f=async()=>{try{let e=await fetch(i+"/values"),t=await e.json();return Object.keys(t).flatMap(e=>t[e].map(t=>({type:e,uid:"".concat(e,"_").concat(t.path),...t})))}catch(e){throw console.error("Error:",e),e}},m=async e=>{try{let t=e.replace(/_/g,"/"),r=await fetch("".concat(c,"/cfg/entities/").concat(t));if(!r.ok)throw Error("HTTP error! status: ".concat(r.status));return await r.json()}catch(e){throw console.error("Error:",e),e}},p=async()=>{try{let e=await fetch(c+"/cfg/global/deployment");if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));return await e.json()}catch(e){throw console.error("Error:",e),e}},x=async e=>{try{let t=e.replace(/_/g,"/"),r=await fetch("".concat(c,"/cfg/values/").concat(t));if(!r.ok)throw Error("HTTP error! status: ".concat(r.status));return await r.json()}catch(e){throw console.error("Error:",e),e}}}},function(e){e.O(0,[310,285,792,639,971,69,744],function(){return e(e.s=5531)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[146],{5531:function(e,t,r){Promise.resolve().then(r.bind(r,3813))},3813:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return f}});var n=r(3827),a=r(4747),s=r(5744),i=r(7907),c=r(2169),l=r(4090),o=r(6162),u=r(3702),d=r(8403);function f(){let[e,t]=(0,l.useState)([]),[r,f]=(0,l.useState)("overview"),m=(0,i.useRouter)(),p=(0,i.usePathname)(),x=e.map(d.RL).filter((e,t,r)=>r.indexOf(e)===t),g=e.reduce((e,t)=>{let r=(0,d.RL)(t);return e[r]||(e[r]=0),e[r]++,e},{}),h=(0,d.zM)(e,x),v=async()=>{try{let e=await (0,c.fi)(),r=await (0,c.fL)();e.forEach(e=>{let t=r.find(t=>t.name==="entities/".concat(e.type,"/").concat(e.id));e.status=t&&t.state?t.state:"UNKNOWN"}),t(e)}catch(e){console.error("Error loading entities:",e)}};return(0,l.useEffect)(()=>{v(),p&&f(window.location.hash.slice(1)||"overview")},[]),o.D&&(console.log("entityTypeStatusCounts:",h),console.log("entities",e),console.log("Counts:",g.API),console.log("entityTypes",x)),(0,n.jsxs)("div",{className:"flex-1 space-y-4 p-8 pt-0",children:[(0,n.jsx)("div",{className:"flex items-center justify-between space-y-2",children:(0,n.jsx)("h2",{className:"text-2xl font-semibold tracking-tight",children:"Entities"})}),(0,n.jsxs)(s.mQ,{value:r,onValueChange:e=>{f(e),m.push("".concat(p,"#").concat(e))},className:"h-full space-y-6",children:[(0,n.jsx)("div",{className:"space-between flex items-center",children:(0,n.jsxs)(s.dr,{children:[(0,n.jsx)(s.SP,{value:"overview",children:(0,n.jsx)("span",{children:"Overview"})}),x.map(e=>(0,n.jsx)(s.SP,{value:e,children:(0,n.jsx)("span",{children:(0,d.Xd)(e)})},e))]})}),(0,n.jsx)(s.nU,{value:"overview",children:(0,n.jsx)("div",{className:"grid gap-4 md:grid-cols-2 lg:grid-cols-4",children:x.map(e=>(0,n.jsx)(a.Z,{main:(0,d.Xd)(e),footer:(0,d.Ph)(h[e]),total:g[e],onClick:()=>f(e),route:"".concat(p,"#").concat(e),Icon:(0,u.q)("Id")},e))})}),x.map(t=>(0,n.jsx)(s.nU,{value:t,children:(0,n.jsx)("div",{className:"grid gap-4 md:grid-cols-2 lg:grid-cols-4",children:e.filter(e=>(0,d.RL)(e)===t).map(e=>(0,n.jsx)(a.Z,{header:e.status,main:e.id,footer:e.subType.toUpperCase(),route:"/entities/details?id=".concat(e.uid)},e.uid))})},t))]})]})}},4747:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(3827),a=r(8792),s=r(9084),i=r(2177),c=r(5479);let l=e=>{let{footer:t}=e,r=t.includes("/")?t.split("/")[1]:t.includes("OGC_API")?t:null;return console.log("footer: ",t),console.log("type1: ",r),(0,n.jsx)(n.Fragment,{children:t?t.split(" ").map((e,t,a)=>"available"!==e||isNaN(Number(a[t-1]))?"limited"!==e||isNaN(Number(a[t-1]))?"unavailable"!==e||isNaN(Number(a[t-1]))?null!==r?(0,n.jsx)(c.C,{variant:"secondary",children:r},r):isNaN(Number(e))||"available"!==a[t+1]&&"unavailable"!==a[t+1]&&"limited"!==a[t+1]?e+" ":null:[(0,n.jsxs)("span",{className:"text-destructive mr-2",style:{display:"flex",alignItems:"center"},children:[(0,n.jsx)(i.xrR,{className:"text-destructive",style:{marginRight:"3px"}},"CheckCircledIcon"),a[t-1]," ",e]},t)]:[(0,n.jsxs)("span",{className:"text-warning mr-2",style:{display:"flex",alignItems:"center"},children:[(0,n.jsx)(i.LPM,{className:"text-warning",style:{marginRight:"3px"}},"CheckCircledIcon"),a[t-1]," ",e]},t)]:[(0,n.jsxs)("span",{className:"text-success mr-2",style:{display:"flex",alignItems:"center",marginRight:"15px"},children:[(0,n.jsx)(i.NhS,{className:"text-success",style:{marginRight:"3px"}},"CheckCircledIcon"),a[t-1]," ",e]},t)]):null})};function o(e){let{header:t,main:r,footer:i,route:c,total:o,Icon:u,...d}=e,f="AVAILABLE"===t||"ACTIVE"===t||"true"===t?"text-success":"LIMITED"===t?"text-warning":"UNAVAILABLE"===t||"false"===t?"text-destructive":"text-blue-700";return(0,n.jsx)(a.default,{href:c||"#",children:(0,n.jsxs)(s.Zb,{className:"shadow-lg hover:bg-gray-100 transition-colors duration-200",...d,children:[(0,n.jsx)(s.Ol,{className:"flex flex-row items-center justify-between space-y-0 pb-0",children:(0,n.jsx)(s.ll,{className:"text-sm font-semibold ".concat(f).concat(t?"":"text-2xl font-bold mb-1"),children:t||(0,n.jsx)("span",{className:"text-2xl font-bold mb-1",children:o})})}),(0,n.jsxs)(s.aY,{children:[(0,n.jsxs)("div",{className:"text-2xl font-bold",style:{display:"flex",flexDirection:"row",marginBottom:"5px",alignItems:"center",justifyContent:"flex-start",gap:"10px"},children:[u?(0,n.jsx)(u,{className:"h-6 w-6 text-muted-foreground"}):null,(0,n.jsx)("span",{style:{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},title:"string"==typeof r?r:"",children:r})]}),(0,n.jsx)("div",{style:{display:"flex",flexWrap:"wrap"},children:(0,n.jsx)("p",{className:"text-xs text-muted-foreground",style:{display:"flex",flexDirection:"row"},children:i?(0,n.jsx)(l,{footer:i}):null})})]})]})})}},5479:function(e,t,r){"use strict";r.d(t,{C:function(){return c}});var n=r(3827);r(4090);var a=r(7742),s=r(2169);let i=(0,a.j)("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",success:"border-transparent bg-success text-success-foreground hover:bg-success/80",warning:"border-transparent bg-warning text-warning-foreground hover:bg-warning/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function c(e){let{className:t,variant:r,...a}=e;return(0,n.jsx)("div",{className:(0,s.cn)(i({variant:r}),t),...a})}},9084:function(e,t,r){"use strict";r.d(t,{Ol:function(){return c},Zb:function(){return i},aY:function(){return o},ll:function(){return l}});var n=r(3827),a=r(4090),s=r(2169);let i=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,s.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",r),...a})});i.displayName="Card";let c=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,s.cn)("flex flex-col space-y-1.5 p-6",r),...a})});c.displayName="CardHeader";let l=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("h3",{ref:t,className:(0,s.cn)("text-2xl font-semibold leading-none tracking-tight",r),...a})});l.displayName="CardTitle",a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("p",{ref:t,className:(0,s.cn)("text-sm text-muted-foreground",r),...a})}).displayName="CardDescription";let o=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,s.cn)("p-6 pt-0",r),...a})});o.displayName="CardContent",a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,s.cn)("flex items-center p-6 pt-0",r),...a})}).displayName="CardFooter"},5744:function(e,t,r){"use strict";r.d(t,{SP:function(){return o},dr:function(){return l},mQ:function(){return c},nU:function(){return u}});var n=r(3827),a=r(4090),s=r(1639),i=r(2169);let c=s.fC,l=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(s.aV,{ref:t,className:(0,i.cn)("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",r),...a})});l.displayName=s.aV.displayName;let o=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(s.xz,{ref:t,className:(0,i.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",r),...a})});o.displayName=s.xz.displayName;let u=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(s.VY,{ref:t,className:(0,i.cn)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",r),...a})});u.displayName=s.VY.displayName},6162:function(e,t,r){"use strict";r.d(t,{D:function(){return n}});let n=!0},8403:function(e,t,r){"use strict";r.d(t,{Ph:function(){return c},RL:function(){return n},Xd:function(){return a},lY:function(){return s},zM:function(){return i}});let n=e=>"services"===e.type?"API":e.subType.split(/[/]/)[0],a=e=>e[0].toUpperCase()+e.substring(1)+"s",s=e=>e.reduce((e,t)=>(n(t),e||(e={available:0,limited:0,unavailable:0}),"AVAILABLE"===t.status?e.available++:"LIMITED"===t.status?e.limited++:"UNAVAILABLE"===t.status&&e.unavailable++,e),{available:0,limited:0,unavailable:0}),i=(e,t)=>t.reduce((t,r)=>(t[r]=s(e.filter(e=>n(e)===r)),t),{}),c=e=>{if(!e||!e)return"No entities found";let t="";return e.available&&(t+="".concat(e.available," available")),e.limited&&(t.length>0&&(t+=" "),t+="".concat(e.limited," limited")),e.unavailable&&(t.length>0&&(t+=" "),t+="".concat(e.unavailable," unavailable")),t}},3702:function(e,t,r){"use strict";r.d(t,{c:function(){return a},q:function(){return s}});var n=r(2177);let a={Play:"Play",Id:"Id",Code:"Code",ListBullet:"ListBullet",Upload:"Upload",Clock:"Clock",Desktop:"Desktop"},s=e=>{switch(e){case a.Play:return n.o1U;case a.Id:return n.Xwj;case a.Code:return n.dNJ;case a.ListBullet:return n.jVc;case a.Upload:return n.rG2;case a.Clock:return n.T39;case a.Desktop:return n.ugZ;default:return}}},2169:function(e,t,r){"use strict";r.d(t,{AR:function(){return x},C5:function(){return u},KX:function(){return f},Kt:function(){return d},ZH:function(){return m},cn:function(){return s},fL:function(){return o},fi:function(){return l},hs:function(){return p}});var n=r(3167),a=r(1367);function s(){for(var e=arguments.length,t=Array(e),r=0;r{try{let e=await fetch(i+"/entities"),t=await e.json();return Object.keys(t).flatMap(e=>t[e].map(t=>({type:e,uid:"".concat(e,"_").concat(t.id),...t}))).filter(e=>"DISABLED"!==e.status)}catch(e){throw console.error("Error:",e),e}},o=async()=>{try{let e=await fetch(i+"/health"),t=await e.json();return Object.keys(t).map(e=>({name:e,...t[e],capabilities:t[e].capabilities?Object.keys(t[e].capabilities).map(r=>({name:r,...t[e].capabilities[r]})):void 0,components:t[e].components?Object.keys(t[e].components).map(r=>({name:r,...t[e].components[r]})):void 0}))}catch(e){throw console.error("Error:",e),e}},u=async()=>{try{let e=await fetch(i+"/info");return await e.json()}catch(e){throw console.error("Error:",e),e}},d=async()=>{try{let e=await fetch(i+"/metrics"),t=await e.json();return{uptime:t.gauges["jvm.attribute.uptime"].value,memory:t.gauges["jvm.memory.total.used"].value}}catch(e){throw console.error("Error:",e),e}},f=async()=>{try{let e=await fetch(i+"/values"),t=await e.json();return Object.keys(t).flatMap(e=>t[e].map(t=>({type:e,uid:"".concat(e,"_").concat(t.path),...t})))}catch(e){throw console.error("Error:",e),e}},m=async e=>{try{let t=e.replace(/_/g,"/"),r=await fetch("".concat(c,"/cfg/entities/").concat(t));if(!r.ok)throw Error("HTTP error! status: ".concat(r.status));return await r.json()}catch(e){throw console.error("Error:",e),e}},p=async()=>{try{let e=await fetch(c+"/cfg/global/deployment");if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));return await e.json()}catch(e){throw console.error("Error:",e),e}},x=async e=>{try{let t=e.replace(/_/g,"/"),r=await fetch("".concat(c,"/cfg/values/").concat(t));if(!r.ok)throw Error("HTTP error! status: ".concat(r.status));return await r.json()}catch(e){throw console.error("Error:",e),e}}}},function(e){e.O(0,[310,285,792,639,971,69,744],function(){return e(e.s=5531)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/layout-8e11ff0a9b9d117f.js b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/layout-85f076f6052b8a97.js similarity index 80% rename from xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/layout-8e11ff0a9b9d117f.js rename to xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/layout-85f076f6052b8a97.js index 2f30365d..5c10e406 100644 --- a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/layout-8e11ff0a9b9d117f.js +++ b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/layout-85f076f6052b8a97.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{9383:function(e,t,n){Promise.resolve().then(n.bind(n,4456))},4456:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return _}});var r=n(3827),a=n(3763),c=n.n(a),s=n(8792),o=n(2169),l=n(4090);let i=["light","dark"],u="(prefers-color-scheme: dark)",d=(0,l.createContext)(void 0),m=e=>(0,l.useContext)(d)?l.createElement(l.Fragment,null,e.children):l.createElement(f,e),h=["light","dark"],f=e=>{let{forcedTheme:t,disableTransitionOnChange:n=!1,enableSystem:r=!0,enableColorScheme:a=!0,storageKey:c="theme",themes:s=h,defaultTheme:o=r?"system":"light",attribute:m="data-theme",value:f,children:b,nonce:x}=e,[w,j]=(0,l.useState)(()=>p(c,o)),[k,N]=(0,l.useState)(()=>p(c)),E=f?Object.values(f):s,C=(0,l.useCallback)(e=>{let t=e;if(!t)return;"system"===e&&r&&(t=v());let c=f?f[t]:t,s=n?g():null,l=document.documentElement;if("class"===m?(l.classList.remove(...E),c&&l.classList.add(c)):c?l.setAttribute(m,c):l.removeAttribute(m),a){let e=i.includes(o)?o:null,n=i.includes(t)?t:e;l.style.colorScheme=n}null==s||s()},[]),_=(0,l.useCallback)(e=>{j(e);try{localStorage.setItem(c,e)}catch(e){}},[t]),S=(0,l.useCallback)(e=>{N(v(e)),"system"===w&&r&&!t&&C("system")},[w,t]);(0,l.useEffect)(()=>{let e=window.matchMedia(u);return e.addListener(S),S(e),()=>e.removeListener(S)},[S]),(0,l.useEffect)(()=>{let e=e=>{e.key===c&&_(e.newValue||o)};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[_]),(0,l.useEffect)(()=>{C(null!=t?t:w)},[t,w]);let T=(0,l.useMemo)(()=>({theme:w,setTheme:_,forcedTheme:t,resolvedTheme:"system"===w?k:w,themes:r?[...s,"system"]:s,systemTheme:r?k:void 0}),[w,_,t,k,r,s]);return l.createElement(d.Provider,{value:T},l.createElement(y,{forcedTheme:t,disableTransitionOnChange:n,enableSystem:r,enableColorScheme:a,storageKey:c,themes:s,defaultTheme:o,attribute:m,value:f,children:b,attrs:E,nonce:x}),b)},y=(0,l.memo)(e=>{let{forcedTheme:t,storageKey:n,attribute:r,enableSystem:a,enableColorScheme:c,defaultTheme:s,value:o,attrs:d,nonce:m}=e,h="system"===s,f="class"===r?"var d=document.documentElement,c=d.classList;c.remove(".concat(d.map(e=>"'".concat(e,"'")).join(","),");"):"var d=document.documentElement,n='".concat(r,"',s='setAttribute';"),y=c?i.includes(s)&&s?"if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'".concat(s,"'"):"if(e==='light'||e==='dark')d.style.colorScheme=e":"",p=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],a=o?o[e]:e,s=t?e+"|| ''":"'".concat(a,"'"),l="";return c&&n&&!t&&i.includes(e)&&(l+="d.style.colorScheme = '".concat(e,"';")),"class"===r?l+=t||a?"c.add(".concat(s,")"):"null":a&&(l+="d[s](n,".concat(s,")")),l},g=t?"!function(){".concat(f).concat(p(t),"}()"):a?"!function(){try{".concat(f,"var e=localStorage.getItem('").concat(n,"');if('system'===e||(!e&&").concat(h,")){var t='").concat(u,"',m=window.matchMedia(t);if(m.media!==t||m.matches){").concat(p("dark"),"}else{").concat(p("light"),"}}else if(e){").concat(o?"var x=".concat(JSON.stringify(o),";"):"").concat(p(o?"x[e]":"e",!0),"}").concat(h?"":"else{"+p(s,!1,!1)+"}").concat(y,"}catch(e){}}()"):"!function(){try{".concat(f,"var e=localStorage.getItem('").concat(n,"');if(e){").concat(o?"var x=".concat(JSON.stringify(o),";"):"").concat(p(o?"x[e]":"e",!0),"}else{").concat(p(s,!1,!1),";}").concat(y,"}catch(t){}}();");return l.createElement("script",{nonce:m,dangerouslySetInnerHTML:{__html:g}})},()=>!0),p=(e,t)=>{let n;try{n=localStorage.getItem(e)||void 0}catch(e){}return n||t},g=()=>{let e=document.createElement("style");return e.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(e),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(e)},1)}},v=e=>(e||(e=window.matchMedia(u)),e.matches?"dark":"light");function b(e){let{children:t,...n}=e;return(0,r.jsx)(m,{...n,children:t})}var x=n(8886),w=n(7907),j=n(3702);function k(e){let{title:t,route:n,icon:a}=e,c=(0,w.usePathname)(),o=a?(0,j.q)(a):null;return(0,r.jsx)(x.z,{variant:c&&c.startsWith(n)?"secondary":"ghost",className:"w-full justify-start",asChild:!0,children:(0,r.jsxs)(s.default,{href:n,children:[o?(0,r.jsx)(o,{className:"mr-2 h-4 w-4"}):null,t]})},t)}function N(e){let{title:t,entries:n}=e;return(0,r.jsxs)("div",{className:"px-3 py-2",children:[(0,r.jsx)("h2",{className:"mb-2 px-4 text-lg font-semibold tracking-tight",children:t}),(0,r.jsx)("div",{className:"space-y-1",children:n.map(e=>{let{title:t,selected:n,route:a,icon:c}=e;return a?(0,r.jsx)(k,{title:t,route:a,icon:c},t):(0,r.jsxs)(x.z,{variant:n?"secondary":"ghost",className:"w-full justify-start",children:[(()=>{let e=c?(0,j.q)(c):null;return e?(0,r.jsx)(e,{className:"mr-2 h-4 w-4"}):null})(),t]},t)})})]})}function E(e){let{className:t,sections:n}=e;return(0,r.jsx)("div",{className:(0,o.cn)("pb-12",t),children:(0,r.jsx)("div",{className:"space-y-4 py-4",children:n.map(e=>{let{title:t,entries:n}=e;return(0,r.jsx)(N,{title:t,entries:n},t)})})})}var C=n(2177);function _(e){let{children:t}=e;return(0,r.jsx)("html",{lang:"en",children:(0,r.jsx)("body",{className:(0,o.cn)("min-h-screen bg-background font-sans antialiased",c().variable),children:(0,r.jsx)(b,{attribute:"class",storageKey:"ldproxy-portal",enableSystem:!0,disableTransitionOnChange:!0,children:(0,r.jsxs)("div",{className:"hidden h-full flex-col md:flex",children:[(0,r.jsxs)("div",{className:"flex flex-col items-start justify-between space-y-2 py-4 px-4 lg:px-8 sm:flex-row sm:items-center sm:space-y-0 md:h-16",children:[(0,r.jsx)("h2",{className:"text-lg font-semibold whitespace-nowrap",children:(0,r.jsxs)(s.default,{href:"/",children:[(0,r.jsx)(C.QGC,{className:"mr-2 h-4 w-4 inline"}),(0,r.jsx)("span",{children:"dashboard"})]})}),(0,r.jsx)("div",{className:"ml-auto flex w-full space-x-2 sm:justify-end",children:(0,r.jsx)(s.default,{href:"/api",target:"_blank",children:(0,r.jsx)("span",{children:"API"})})})]}),(0,r.jsx)("div",{className:"border-t",children:(0,r.jsx)("div",{className:"bg-background",children:(0,r.jsxs)("div",{className:"grid lg:grid-cols-5",children:[(0,r.jsx)(E,{sections:[{title:"",entries:[{title:"Deployment",icon:j.c.Play,route:"/deployment"},{title:"Entities",icon:j.c.Id,route:"/entities"},{title:"Values",icon:j.c.Code,route:"/values"}]}],className:"hidden lg:block"}),(0,r.jsx)("div",{className:"col-span-3 lg:col-span-4 lg:border-l",children:(0,r.jsx)("div",{className:"h-full px-4 py-6 lg:px-8",children:t})})]})})})]})})})})}n(3385)},8886:function(e,t,n){"use strict";n.d(t,{z:function(){return i}});var r=n(3827),a=n(4090),c=n(9143),s=n(7742),o=n(2169);let l=(0,s.j)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),i=a.forwardRef((e,t)=>{let{className:n,variant:a,size:s,asChild:i=!1,...u}=e,d=i?c.g7:"button";return(0,r.jsx)(d,{className:(0,o.cn)(l({variant:a,size:s,className:n})),ref:t,...u})});i.displayName="Button"},3702:function(e,t,n){"use strict";n.d(t,{c:function(){return a},q:function(){return c}});var r=n(2177);let a={Play:"Play",Id:"Id",Code:"Code",ListBullet:"ListBullet",Upload:"Upload",Clock:"Clock",Desktop:"Desktop"},c=e=>{switch(e){case a.Play:return r.o1U;case a.Id:return r.Xwj;case a.Code:return r.dNJ;case a.ListBullet:return r.jVc;case a.Upload:return r.rG2;case a.Clock:return r.T39;case a.Desktop:return r.ugZ;default:return}}},2169:function(e,t,n){"use strict";n.d(t,{AR:function(){return y},C5:function(){return u},KX:function(){return m},Kt:function(){return d},ZH:function(){return h},cn:function(){return c},fL:function(){return i},fi:function(){return l},hs:function(){return f}});var r=n(3167),a=n(1367);function c(){for(var e=arguments.length,t=Array(e),n=0;n{try{let e=await fetch(s+"/entities"),t=await e.json();return Object.keys(t).flatMap(e=>t[e].map(t=>({type:e,uid:"".concat(e,"_").concat(t.id),...t}))).filter(e=>"DISABLED"!==e.status)}catch(e){throw console.error("Error:",e),e}},i=async()=>{try{let e=await fetch(s+"/health"),t=await e.json();return Object.keys(t).map(e=>({name:e,...t[e],capabilities:t[e].capabilities?Object.keys(t[e].capabilities).map(n=>({name:n,...t[e].capabilities[n]})):void 0,components:t[e].components?Object.keys(t[e].components).map(n=>({name:n,...t[e].components[n]})):void 0}))}catch(e){throw console.error("Error:",e),e}},u=async()=>{try{let e=await fetch(s+"/info");return await e.json()}catch(e){throw console.error("Error:",e),e}},d=async()=>{try{let e=await fetch(s+"/metrics"),t=await e.json();return{uptime:t.gauges["jvm.attribute.uptime"].value,memory:t.gauges["jvm.memory.total.used"].value}}catch(e){throw console.error("Error:",e),e}},m=async()=>{try{let e=await fetch(s+"/values"),t=await e.json();return Object.keys(t).flatMap(e=>t[e].map(t=>({type:e,uid:"".concat(e,"_").concat(t.path),...t})))}catch(e){throw console.error("Error:",e),e}},h=async e=>{try{let t=e.replace(/_/g,"/"),n=await fetch("".concat(o,"/cfg/entities/").concat(t));if(!n.ok)throw Error("HTTP error! status: ".concat(n.status));return await n.json()}catch(e){throw console.error("Error:",e),e}},f=async()=>{try{let e=await fetch(o+"/cfg/global/deployment");if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));return await e.json()}catch(e){throw console.error("Error:",e),e}},y=async e=>{try{let t=e.replace(/_/g,"/"),n=await fetch("".concat(o,"/cfg/values/").concat(t));if(!n.ok)throw Error("HTTP error! status: ".concat(n.status));return await n.json()}catch(e){throw console.error("Error:",e),e}}},3385:function(){},3763:function(e){e.exports={style:{fontFamily:"'__Inter_aaf875', '__Inter_Fallback_aaf875'",fontStyle:"normal"},className:"__className_aaf875",variable:"__variable_aaf875"}}},function(e){e.O(0,[310,285,792,971,69,744],function(){return e(e.s=9383)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{9383:function(e,t,n){Promise.resolve().then(n.bind(n,4456))},4456:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return _}});var r=n(3827),a=n(3763),c=n.n(a),s=n(8792),o=n(2169),l=n(4090);let i=["light","dark"],u="(prefers-color-scheme: dark)",d=(0,l.createContext)(void 0),m=e=>(0,l.useContext)(d)?l.createElement(l.Fragment,null,e.children):l.createElement(f,e),h=["light","dark"],f=e=>{let{forcedTheme:t,disableTransitionOnChange:n=!1,enableSystem:r=!0,enableColorScheme:a=!0,storageKey:c="theme",themes:s=h,defaultTheme:o=r?"system":"light",attribute:m="data-theme",value:f,children:b,nonce:x}=e,[w,j]=(0,l.useState)(()=>p(c,o)),[k,N]=(0,l.useState)(()=>p(c)),E=f?Object.values(f):s,C=(0,l.useCallback)(e=>{let t=e;if(!t)return;"system"===e&&r&&(t=v());let c=f?f[t]:t,s=n?g():null,l=document.documentElement;if("class"===m?(l.classList.remove(...E),c&&l.classList.add(c)):c?l.setAttribute(m,c):l.removeAttribute(m),a){let e=i.includes(o)?o:null,n=i.includes(t)?t:e;l.style.colorScheme=n}null==s||s()},[]),_=(0,l.useCallback)(e=>{j(e);try{localStorage.setItem(c,e)}catch(e){}},[t]),S=(0,l.useCallback)(e=>{N(v(e)),"system"===w&&r&&!t&&C("system")},[w,t]);(0,l.useEffect)(()=>{let e=window.matchMedia(u);return e.addListener(S),S(e),()=>e.removeListener(S)},[S]),(0,l.useEffect)(()=>{let e=e=>{e.key===c&&_(e.newValue||o)};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[_]),(0,l.useEffect)(()=>{C(null!=t?t:w)},[t,w]);let T=(0,l.useMemo)(()=>({theme:w,setTheme:_,forcedTheme:t,resolvedTheme:"system"===w?k:w,themes:r?[...s,"system"]:s,systemTheme:r?k:void 0}),[w,_,t,k,r,s]);return l.createElement(d.Provider,{value:T},l.createElement(y,{forcedTheme:t,disableTransitionOnChange:n,enableSystem:r,enableColorScheme:a,storageKey:c,themes:s,defaultTheme:o,attribute:m,value:f,children:b,attrs:E,nonce:x}),b)},y=(0,l.memo)(e=>{let{forcedTheme:t,storageKey:n,attribute:r,enableSystem:a,enableColorScheme:c,defaultTheme:s,value:o,attrs:d,nonce:m}=e,h="system"===s,f="class"===r?"var d=document.documentElement,c=d.classList;c.remove(".concat(d.map(e=>"'".concat(e,"'")).join(","),");"):"var d=document.documentElement,n='".concat(r,"',s='setAttribute';"),y=c?i.includes(s)&&s?"if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'".concat(s,"'"):"if(e==='light'||e==='dark')d.style.colorScheme=e":"",p=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],a=o?o[e]:e,s=t?e+"|| ''":"'".concat(a,"'"),l="";return c&&n&&!t&&i.includes(e)&&(l+="d.style.colorScheme = '".concat(e,"';")),"class"===r?l+=t||a?"c.add(".concat(s,")"):"null":a&&(l+="d[s](n,".concat(s,")")),l},g=t?"!function(){".concat(f).concat(p(t),"}()"):a?"!function(){try{".concat(f,"var e=localStorage.getItem('").concat(n,"');if('system'===e||(!e&&").concat(h,")){var t='").concat(u,"',m=window.matchMedia(t);if(m.media!==t||m.matches){").concat(p("dark"),"}else{").concat(p("light"),"}}else if(e){").concat(o?"var x=".concat(JSON.stringify(o),";"):"").concat(p(o?"x[e]":"e",!0),"}").concat(h?"":"else{"+p(s,!1,!1)+"}").concat(y,"}catch(e){}}()"):"!function(){try{".concat(f,"var e=localStorage.getItem('").concat(n,"');if(e){").concat(o?"var x=".concat(JSON.stringify(o),";"):"").concat(p(o?"x[e]":"e",!0),"}else{").concat(p(s,!1,!1),";}").concat(y,"}catch(t){}}();");return l.createElement("script",{nonce:m,dangerouslySetInnerHTML:{__html:g}})},()=>!0),p=(e,t)=>{let n;try{n=localStorage.getItem(e)||void 0}catch(e){}return n||t},g=()=>{let e=document.createElement("style");return e.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(e),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(e)},1)}},v=e=>(e||(e=window.matchMedia(u)),e.matches?"dark":"light");function b(e){let{children:t,...n}=e;return(0,r.jsx)(m,{...n,children:t})}var x=n(8886),w=n(7907),j=n(3702);function k(e){let{title:t,route:n,icon:a}=e,c=(0,w.usePathname)(),o=a?(0,j.q)(a):null;return(0,r.jsx)(x.z,{variant:c&&c.startsWith(n)?"secondary":"ghost",className:"w-full justify-start",asChild:!0,children:(0,r.jsxs)(s.default,{href:n,children:[o?(0,r.jsx)(o,{className:"mr-2 h-4 w-4"}):null,t]})},t)}function N(e){let{title:t,entries:n}=e;return(0,r.jsxs)("div",{className:"px-3 py-2",children:[(0,r.jsx)("h2",{className:"mb-2 px-4 text-lg font-semibold tracking-tight",children:t}),(0,r.jsx)("div",{className:"space-y-1",children:n.map(e=>{let{title:t,selected:n,route:a,icon:c}=e;return a?(0,r.jsx)(k,{title:t,route:a,icon:c},t):(0,r.jsxs)(x.z,{variant:n?"secondary":"ghost",className:"w-full justify-start",children:[(()=>{let e=c?(0,j.q)(c):null;return e?(0,r.jsx)(e,{className:"mr-2 h-4 w-4"}):null})(),t]},t)})})]})}function E(e){let{className:t,sections:n}=e;return(0,r.jsx)("div",{className:(0,o.cn)("pb-12",t),children:(0,r.jsx)("div",{className:"space-y-4 py-4",children:n.map(e=>{let{title:t,entries:n}=e;return(0,r.jsx)(N,{title:t,entries:n},t)})})})}var C=n(2177);function _(e){let{children:t}=e;return(0,r.jsx)("html",{lang:"en",children:(0,r.jsx)("body",{className:(0,o.cn)("min-h-screen bg-background font-sans antialiased",c().variable),children:(0,r.jsx)(b,{attribute:"class",storageKey:"ldproxy-portal",enableSystem:!0,disableTransitionOnChange:!0,children:(0,r.jsxs)("div",{className:"hidden h-full flex-col md:flex",children:[(0,r.jsxs)("div",{className:"flex flex-col items-start justify-between space-y-2 py-4 px-4 lg:px-8 sm:flex-row sm:items-center sm:space-y-0 md:h-16",children:[(0,r.jsx)("h2",{className:"text-lg font-semibold whitespace-nowrap",children:(0,r.jsxs)(s.default,{href:"/",children:[(0,r.jsx)(C.QGC,{className:"mr-2 h-4 w-4 inline"}),(0,r.jsx)("span",{children:"dashboard"})]})}),(0,r.jsx)("div",{className:"ml-auto flex w-full space-x-2 sm:justify-end",children:(0,r.jsx)(s.default,{href:"/api",target:"_blank",children:(0,r.jsx)("span",{children:"API"})})})]}),(0,r.jsx)("div",{className:"border-t",children:(0,r.jsx)("div",{className:"bg-background",children:(0,r.jsxs)("div",{className:"grid lg:grid-cols-5",children:[(0,r.jsx)(E,{sections:[{title:"",entries:[{title:"Deployment",icon:j.c.Play,route:"/deployment"},{title:"Entities",icon:j.c.Id,route:"/entities"},{title:"Values",icon:j.c.Code,route:"/values"}]}],className:"hidden lg:block"}),(0,r.jsx)("div",{className:"col-span-3 lg:col-span-4 lg:border-l",children:(0,r.jsx)("div",{className:"h-full px-4 py-6 lg:px-8",children:t})})]})})})]})})})})}n(3385)},8886:function(e,t,n){"use strict";n.d(t,{z:function(){return i}});var r=n(3827),a=n(4090),c=n(9143),s=n(7742),o=n(2169);let l=(0,s.j)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),i=a.forwardRef((e,t)=>{let{className:n,variant:a,size:s,asChild:i=!1,...u}=e,d=i?c.g7:"button";return(0,r.jsx)(d,{className:(0,o.cn)(l({variant:a,size:s,className:n})),ref:t,...u})});i.displayName="Button"},3702:function(e,t,n){"use strict";n.d(t,{c:function(){return a},q:function(){return c}});var r=n(2177);let a={Play:"Play",Id:"Id",Code:"Code",ListBullet:"ListBullet",Upload:"Upload",Clock:"Clock",Desktop:"Desktop"},c=e=>{switch(e){case a.Play:return r.o1U;case a.Id:return r.Xwj;case a.Code:return r.dNJ;case a.ListBullet:return r.jVc;case a.Upload:return r.rG2;case a.Clock:return r.T39;case a.Desktop:return r.ugZ;default:return}}},2169:function(e,t,n){"use strict";n.d(t,{AR:function(){return y},C5:function(){return u},KX:function(){return m},Kt:function(){return d},ZH:function(){return h},cn:function(){return c},fL:function(){return i},fi:function(){return l},hs:function(){return f}});var r=n(3167),a=n(1367);function c(){for(var e=arguments.length,t=Array(e),n=0;n{try{let e=await fetch(s+"/entities"),t=await e.json();return Object.keys(t).flatMap(e=>t[e].map(t=>({type:e,uid:"".concat(e,"_").concat(t.id),...t}))).filter(e=>"DISABLED"!==e.status)}catch(e){throw console.error("Error:",e),e}},i=async()=>{try{let e=await fetch(s+"/health"),t=await e.json();return Object.keys(t).map(e=>({name:e,...t[e],capabilities:t[e].capabilities?Object.keys(t[e].capabilities).map(n=>({name:n,...t[e].capabilities[n]})):void 0,components:t[e].components?Object.keys(t[e].components).map(n=>({name:n,...t[e].components[n]})):void 0}))}catch(e){throw console.error("Error:",e),e}},u=async()=>{try{let e=await fetch(s+"/info");return await e.json()}catch(e){throw console.error("Error:",e),e}},d=async()=>{try{let e=await fetch(s+"/metrics"),t=await e.json();return{uptime:t.gauges["jvm.attribute.uptime"].value,memory:t.gauges["jvm.memory.total.used"].value}}catch(e){throw console.error("Error:",e),e}},m=async()=>{try{let e=await fetch(s+"/values"),t=await e.json();return Object.keys(t).flatMap(e=>t[e].map(t=>({type:e,uid:"".concat(e,"_").concat(t.path),...t})))}catch(e){throw console.error("Error:",e),e}},h=async e=>{try{let t=e.replace(/_/g,"/"),n=await fetch("".concat(o,"/cfg/entities/").concat(t));if(!n.ok)throw Error("HTTP error! status: ".concat(n.status));return await n.json()}catch(e){throw console.error("Error:",e),e}},f=async()=>{try{let e=await fetch(o+"/cfg/global/deployment");if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));return await e.json()}catch(e){throw console.error("Error:",e),e}},y=async e=>{try{let t=e.replace(/_/g,"/"),n=await fetch("".concat(o,"/cfg/values/").concat(t));if(!n.ok)throw Error("HTTP error! status: ".concat(n.status));return await n.json()}catch(e){throw console.error("Error:",e),e}}},3385:function(){},3763:function(e){e.exports={style:{fontFamily:"'__Inter_aaf875', '__Inter_Fallback_aaf875'",fontStyle:"normal"},className:"__className_aaf875",variable:"__variable_aaf875"}}},function(e){e.O(0,[310,285,792,971,69,744],function(){return e(e.s=9383)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/values/details/page-5cf3cd649a89b811.js b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/values/details/page-c112a5c848929656.js similarity index 65% rename from xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/values/details/page-5cf3cd649a89b811.js rename to xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/values/details/page-c112a5c848929656.js index 2f2cbf9e..1943e5a8 100644 --- a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/values/details/page-5cf3cd649a89b811.js +++ b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/values/details/page-c112a5c848929656.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[582],{6091:function(e,t,r){Promise.resolve().then(r.bind(r,8376))},8376:function(e,t,r){"use strict";r.r(t);var n=r(3827),a=r(8886),o=r(2169),s=r(2177),c=r(4090),i=r(7907),l=r(6054),u=r.n(l);r(1209),r(7613);var d=r(7780);function f(){let[e,t]=(0,c.useState)({}),[r,l]=(0,c.useState)(!1),f=(0,i.useRouter)(),h="",m=(0,i.useSearchParams)();null!==m&&(h=m.get("id"));let p=async()=>{try{if(null!==h){let e=await (0,o.AR)(h);"Method not allowed"===e.message?l(!0):t(e)}}catch(e){l(!0),console.error("Error loading cfg:",e)}};return(0,c.useEffect)(()=>{p()},[]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"flex justify-between items-center",children:[(0,n.jsxs)("div",{className:"flex items-center",children:[(0,n.jsx)("a",{onClick:()=>f.back(),className:"font-bold flex items-center cursor-pointer text-blue-500 hover:text-blue-400",children:(0,n.jsx)(s.wyc,{className:"mr-[-1px] h-6 w-6"})}),(0,n.jsx)("h2",{className:"text-2xl font-semibold tracking-tight ml-2",children:h?h.split("_")[1]:"Not Found..."})]}),(0,n.jsx)("div",{className:"p-8 pt-6",children:(0,n.jsxs)(a.z,{onClick:()=>{p()},className:"font-bold",children:[(0,n.jsx)(s.BGW,{className:"mr-2 h-4 w-4"}),"Reload"]})})]}),(0,n.jsx)("div",{className:"p-8 pt-6",children:(0,n.jsx)("div",{style:{backgroundColor:"#f5f5f5",borderRadius:"8px",padding:"16px",border:"1px solid lightgray"},children:r?"No results.":0===Object.keys(e).length?(0,n.jsxs)("div",{className:"flex items-center",children:[(0,n.jsx)(d.Z,{color:"#123abc",loading:!0,size:20}),(0,n.jsx)("span",{style:{marginLeft:"5px"},children:"Loading..."})]}):Object.entries(e).map(e=>{let[t,r]=e,a=JSON.stringify(r,null,2),o=u().highlight(a,u().languages.json,"json");return(0,n.jsxs)("div",{style:{display:"flex"},children:[(0,n.jsxs)("span",{children:[t,":"]}),(0,n.jsx)("pre",{dangerouslySetInnerHTML:{__html:o},style:{margin:"0 0 0 10px"}})]},t)})})})]})}t.default=()=>(0,n.jsx)(c.Suspense,{fallback:(0,n.jsx)("div",{children:"Loading..."}),children:(0,n.jsx)(f,{})})},8886:function(e,t,r){"use strict";r.d(t,{z:function(){return l}});var n=r(3827),a=r(4090),o=r(9143),s=r(7742),c=r(2169);let i=(0,s.j)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),l=a.forwardRef((e,t)=>{let{className:r,variant:a,size:s,asChild:l=!1,...u}=e,d=l?o.g7:"button";return(0,n.jsx)(d,{className:(0,c.cn)(i({variant:a,size:s,className:r})),ref:t,...u})});l.displayName="Button"},2169:function(e,t,r){"use strict";r.d(t,{AR:function(){return p},C5:function(){return u},KX:function(){return f},Kt:function(){return d},ZH:function(){return h},cn:function(){return o},fL:function(){return l},fi:function(){return i},hs:function(){return m}});var n=r(3167),a=r(1367);function o(){for(var e=arguments.length,t=Array(e),r=0;r{try{let e=await fetch(s+"/entities"),t=await e.json();return Object.keys(t).flatMap(e=>t[e].map(t=>({type:e,uid:"".concat(e,"_").concat(t.id),...t}))).filter(e=>"DISABLED"!==e.status)}catch(e){throw console.error("Error:",e),e}},l=async()=>{try{let e=await fetch(s+"/health"),t=await e.json();return Object.keys(t).map(e=>({name:e,...t[e],capabilities:t[e].capabilities?Object.keys(t[e].capabilities).map(r=>({name:r,...t[e].capabilities[r]})):void 0,components:t[e].components?Object.keys(t[e].components).map(r=>({name:r,...t[e].components[r]})):void 0}))}catch(e){throw console.error("Error:",e),e}},u=async()=>{try{let e=await fetch(s+"/info");return await e.json()}catch(e){throw console.error("Error:",e),e}},d=async()=>{try{let e=await fetch(s+"/metrics"),t=await e.json();return{uptime:t.gauges["jvm.attribute.uptime"].value,memory:t.gauges["jvm.memory.total.used"].value}}catch(e){throw console.error("Error:",e),e}},f=async()=>{try{let e=await fetch(s+"/values"),t=await e.json();return Object.keys(t).flatMap(e=>t[e].map(t=>({type:e,uid:"".concat(e,"_").concat(t.path),...t})))}catch(e){throw console.error("Error:",e),e}},h=async e=>{try{let t=e.replace(/_/g,"/"),r=await fetch("".concat(c,"/cfg/entities/").concat(t));if(!r.ok)throw Error("HTTP error! status: ".concat(r.status));return await r.json()}catch(e){throw console.error("Error:",e),e}},m=async()=>{try{let e=await fetch(c+"/cfg/global/deployment");if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));return await e.json()}catch(e){throw console.error("Error:",e),e}},p=async e=>{try{let t=e.replace(/_/g,"/"),r=await fetch("".concat(c,"/cfg/values/").concat(t));if(!r.ok)throw Error("HTTP error! status: ".concat(r.status));return await r.json()}catch(e){throw console.error("Error:",e),e}}}},function(e){e.O(0,[310,285,267,971,69,744],function(){return e(e.s=6091)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[582],{6091:function(e,t,r){Promise.resolve().then(r.bind(r,8376))},8376:function(e,t,r){"use strict";r.r(t);var n=r(3827),a=r(8886),o=r(2169),s=r(2177),c=r(4090),i=r(7907),l=r(6054),u=r.n(l);r(1209),r(7613);var d=r(7780);function f(){let[e,t]=(0,c.useState)({}),[r,l]=(0,c.useState)(!1),f=(0,i.useRouter)(),h="",m=(0,i.useSearchParams)();null!==m&&(h=m.get("id"));let p=async()=>{try{if(null!==h){let e=await (0,o.AR)(h);"Method not allowed"===e.message?l(!0):t(e)}}catch(e){l(!0),console.error("Error loading cfg:",e)}};return(0,c.useEffect)(()=>{p()},[]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"flex justify-between items-center",children:[(0,n.jsxs)("div",{className:"flex items-center",children:[(0,n.jsx)("a",{onClick:()=>f.back(),className:"font-bold flex items-center cursor-pointer text-blue-500 hover:text-blue-400",children:(0,n.jsx)(s.wyc,{className:"mr-[-1px] h-6 w-6"})}),(0,n.jsx)("h2",{className:"text-2xl font-semibold tracking-tight ml-2",children:h?h.split("_")[1]:"Not Found..."})]}),(0,n.jsx)("div",{className:"p-8 pt-6",children:(0,n.jsxs)(a.z,{onClick:()=>{p()},className:"font-bold",children:[(0,n.jsx)(s.BGW,{className:"mr-2 h-4 w-4"}),"Reload"]})})]}),(0,n.jsx)("div",{className:"p-8 pt-6",children:(0,n.jsx)("div",{style:{backgroundColor:"#f5f5f5",borderRadius:"8px",padding:"16px",border:"1px solid lightgray"},children:r?"No results.":0===Object.keys(e).length?(0,n.jsxs)("div",{className:"flex items-center",children:[(0,n.jsx)(d.Z,{color:"#123abc",loading:!0,size:20}),(0,n.jsx)("span",{style:{marginLeft:"5px"},children:"Loading..."})]}):Object.entries(e).map(e=>{let[t,r]=e,a=JSON.stringify(r,null,2),o=u().highlight(a,u().languages.json,"json");return(0,n.jsxs)("div",{style:{display:"flex"},children:[(0,n.jsxs)("span",{children:[t,":"]}),(0,n.jsx)("pre",{dangerouslySetInnerHTML:{__html:o},style:{margin:"0 0 0 10px"}})]},t)})})})]})}t.default=()=>(0,n.jsx)(c.Suspense,{fallback:(0,n.jsx)("div",{children:"Loading..."}),children:(0,n.jsx)(f,{})})},8886:function(e,t,r){"use strict";r.d(t,{z:function(){return l}});var n=r(3827),a=r(4090),o=r(9143),s=r(7742),c=r(2169);let i=(0,s.j)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),l=a.forwardRef((e,t)=>{let{className:r,variant:a,size:s,asChild:l=!1,...u}=e,d=l?o.g7:"button";return(0,n.jsx)(d,{className:(0,c.cn)(i({variant:a,size:s,className:r})),ref:t,...u})});l.displayName="Button"},2169:function(e,t,r){"use strict";r.d(t,{AR:function(){return p},C5:function(){return u},KX:function(){return f},Kt:function(){return d},ZH:function(){return h},cn:function(){return o},fL:function(){return l},fi:function(){return i},hs:function(){return m}});var n=r(3167),a=r(1367);function o(){for(var e=arguments.length,t=Array(e),r=0;r{try{let e=await fetch(s+"/entities"),t=await e.json();return Object.keys(t).flatMap(e=>t[e].map(t=>({type:e,uid:"".concat(e,"_").concat(t.id),...t}))).filter(e=>"DISABLED"!==e.status)}catch(e){throw console.error("Error:",e),e}},l=async()=>{try{let e=await fetch(s+"/health"),t=await e.json();return Object.keys(t).map(e=>({name:e,...t[e],capabilities:t[e].capabilities?Object.keys(t[e].capabilities).map(r=>({name:r,...t[e].capabilities[r]})):void 0,components:t[e].components?Object.keys(t[e].components).map(r=>({name:r,...t[e].components[r]})):void 0}))}catch(e){throw console.error("Error:",e),e}},u=async()=>{try{let e=await fetch(s+"/info");return await e.json()}catch(e){throw console.error("Error:",e),e}},d=async()=>{try{let e=await fetch(s+"/metrics"),t=await e.json();return{uptime:t.gauges["jvm.attribute.uptime"].value,memory:t.gauges["jvm.memory.total.used"].value}}catch(e){throw console.error("Error:",e),e}},f=async()=>{try{let e=await fetch(s+"/values"),t=await e.json();return Object.keys(t).flatMap(e=>t[e].map(t=>({type:e,uid:"".concat(e,"_").concat(t.path),...t})))}catch(e){throw console.error("Error:",e),e}},h=async e=>{try{let t=e.replace(/_/g,"/"),r=await fetch("".concat(c,"/cfg/entities/").concat(t));if(!r.ok)throw Error("HTTP error! status: ".concat(r.status));return await r.json()}catch(e){throw console.error("Error:",e),e}},m=async()=>{try{let e=await fetch(c+"/cfg/global/deployment");if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));return await e.json()}catch(e){throw console.error("Error:",e),e}},p=async e=>{try{let t=e.replace(/_/g,"/"),r=await fetch("".concat(c,"/cfg/values/").concat(t));if(!r.ok)throw Error("HTTP error! status: ".concat(r.status));return await r.json()}catch(e){throw console.error("Error:",e),e}}}},function(e){e.O(0,[310,285,267,971,69,744],function(){return e(e.s=6091)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/values/page-192d969936a14d11.js b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/values/page-e4c21ceec8b7b171.js similarity index 86% rename from xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/values/page-192d969936a14d11.js rename to xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/values/page-e4c21ceec8b7b171.js index 0c4a412a..8fe3df82 100644 --- a/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/values/page-192d969936a14d11.js +++ b/xtraplatform-ops/src/main/resources/dashboard/_next/static/chunks/app/values/page-e4c21ceec8b7b171.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[548],{1645:function(e,t,r){Promise.resolve().then(r.bind(r,5949))},5949:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return x}});var a=r(3827),n=r(4747),s=r(5744),l=r(2169),o=r(4090),i=r(3702),c=r(7521),d=r(8886);let u=[{accessorKey:"label",header:e=>{let{column:t}=e;return(0,a.jsxs)(d.z,{variant:"ghost",onClick:()=>t.toggleSorting("asc"===t.getIsSorted()),children:["Name",(0,a.jsx)(c.Z,{className:"ml-2 h-4 w-4"})]})},cell:e=>{let{row:t}=e;return(0,a.jsx)("div",{className:"ml-4",children:t.original.label})}}];var f=r(594),m=r(7907);function x(){let[e,t]=(0,o.useState)([]),[r,c]=(0,o.useState)("overview"),[d,x]=(0,o.useState)([]),p=(0,m.useRouter)(),h=(0,m.usePathname)(),g=async()=>{try{let e=await (0,l.KX)();t(e);let r=e.map(e=>({label:e.path,type:e.type}));x(r)}catch(e){console.error("Error loading values:",e)}};(0,o.useEffect)(()=>{g(),h&&c(window.location.hash.slice(1)||"overview")},[]);let b=e.map(e=>e.type).filter((e,t,r)=>r.indexOf(e)===t),v=e.reduce((e,t)=>{let r=t.type;return e[r]||(e[r]=0),e[r]++,e},{});return(0,a.jsxs)("div",{className:"flex-1 space-y-4 p-8 pt-0",children:[(0,a.jsx)("div",{className:"flex items-center justify-between space-y-2",children:(0,a.jsx)("h2",{className:"text-2xl font-semibold tracking-tight",children:"Values"})}),(0,a.jsxs)(s.mQ,{value:r,onValueChange:e=>{c(e),p.push("".concat(h,"#").concat(e))},className:"h-full space-y-6",children:[(0,a.jsx)("div",{className:"space-between flex items-center",children:(0,a.jsxs)(s.dr,{children:[(0,a.jsx)(s.SP,{value:"overview",children:(0,a.jsx)("span",{children:"Overview"})}),b.map(e=>(0,a.jsx)(s.SP,{value:e,children:(0,a.jsx)("span",{children:e})},e))]})}),(0,a.jsx)(s.nU,{value:"overview",children:(0,a.jsx)("div",{className:"grid gap-4 md:grid-cols-2 lg:grid-cols-4",children:b.map(e=>(0,a.jsx)(n.Z,{main:e,total:v[e],onClick:()=>{c(e)},Icon:(0,i.q)("Code"),route:"".concat(h,"#").concat(e)},e))})}),b.map(e=>(0,a.jsx)(s.nU,{value:e,children:(0,a.jsx)(f.w,{columns:u,data:d.filter(t=>t.type===e)})},e))]})]})}},594:function(e,t,r){"use strict";r.d(t,{w:function(){return x}});var a=r(3827),n=r(4090),s=r(1006),l=r(3280),o=r(2169);let i=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{className:"relative w-full overflow-auto",children:(0,a.jsx)("table",{ref:t,className:(0,o.cn)("w-full caption-bottom text-sm",r),...n})})});i.displayName="Table";let c=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("thead",{ref:t,className:(0,o.cn)("[&_tr]:border-b",r),...n})});c.displayName="TableHeader";let d=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("tbody",{ref:t,className:(0,o.cn)("[&_tr:last-child]:border-0",r),...n})});d.displayName="TableBody",n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("tfoot",{ref:t,className:(0,o.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",r),...n})}).displayName="TableFooter";let u=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("tr",{ref:t,className:(0,o.cn)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",r),...n})});u.displayName="TableRow";let f=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("th",{ref:t,className:(0,o.cn)("h-10 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",r),...n})});f.displayName="TableHead";let m=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("td",{ref:t,className:(0,o.cn)("p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",r),...n})});function x(e){var t;let{columns:r,data:o}=e,[x,p]=n.useState({}),[h,g]=n.useState([]),[b,v]=n.useState([]),[y,w]=n.useState({}),j=(0,s.b7)({data:o,columns:r,getCoreRowModel:(0,l.sC)(),onSortingChange:v,getSortedRowModel:(0,l.tj)(),onColumnFiltersChange:g,getFilteredRowModel:(0,l.vL)(),onColumnVisibilityChange:p,getExpandedRowModel:(0,l.rV)(),getSubRows:e=>e.subRows,onExpandedChange:w,state:{sorting:b,columnFilters:h,columnVisibility:x,expanded:y}});return(0,a.jsx)("div",{children:(0,a.jsx)("div",{className:"rounded-md border",children:(0,a.jsxs)(i,{children:[(0,a.jsx)(c,{children:j.getHeaderGroups().map(e=>(0,a.jsx)(u,{children:e.headers.map(e=>(0,a.jsx)(f,{children:e.isPlaceholder?null:(0,s.ie)(e.column.columnDef.header,e.getContext())},e.id))},e.id))}),(0,a.jsx)(d,{children:(null===(t=j.getRowModel().rows)||void 0===t?void 0:t.length)?j.getRowModel().rows.map(e=>(0,a.jsx)(u,{"data-state":e.getIsSelected()&&"selected",className:"".concat(0===e.depth?"":"bg-muted"),children:e.getVisibleCells().map(e=>(0,a.jsx)(m,{children:(0,s.ie)(e.column.columnDef.cell,e.getContext())},e.id))},e.id)):(0,a.jsx)(u,{children:(0,a.jsx)(m,{colSpan:r.length,className:"h-24 text-center",children:"No results."})})})]})})})}m.displayName="TableCell",n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("caption",{ref:t,className:(0,o.cn)("mt-4 text-sm text-muted-foreground",r),...n})}).displayName="TableCaption"},4747:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var a=r(3827),n=r(8792),s=r(9084),l=r(2177),o=r(5479);let i=e=>{let{footer:t}=e,r=t.includes("/")?t.split("/")[1]:t.includes("OGC_API")?t:null;return console.log("footer: ",t),console.log("type1: ",r),(0,a.jsx)(a.Fragment,{children:t?t.split(" ").map((e,t,n)=>"available"!==e||isNaN(Number(n[t-1]))?"limited"!==e||isNaN(Number(n[t-1]))?"unavailable"!==e||isNaN(Number(n[t-1]))?null!==r?(0,a.jsx)(o.C,{variant:"secondary",children:r},r):isNaN(Number(e))||"available"!==n[t+1]&&"unavailable"!==n[t+1]&&"limited"!==n[t+1]?e+" ":null:[(0,a.jsxs)("span",{className:"text-destructive mr-2",style:{display:"flex",alignItems:"center"},children:[(0,a.jsx)(l.xrR,{className:"text-destructive",style:{marginRight:"3px"}},"CheckCircledIcon"),n[t-1]," ",e]},t)]:[(0,a.jsxs)("span",{className:"text-warning mr-2",style:{display:"flex",alignItems:"center"},children:[(0,a.jsx)(l.LPM,{className:"text-warning",style:{marginRight:"3px"}},"CheckCircledIcon"),n[t-1]," ",e]},t)]:[(0,a.jsxs)("span",{className:"text-success mr-2",style:{display:"flex",alignItems:"center",marginRight:"15px"},children:[(0,a.jsx)(l.NhS,{className:"text-success",style:{marginRight:"3px"}},"CheckCircledIcon"),n[t-1]," ",e]},t)]):null})};function c(e){let{header:t,main:r,footer:l,route:o,total:c,Icon:d,...u}=e,f="AVAILABLE"===t||"ACTIVE"===t||"true"===t?"text-success":"LIMITED"===t?"text-warning":"UNAVAILABLE"===t||"false"===t?"text-destructive":"text-blue-700";return(0,a.jsx)(n.default,{href:o||"#",children:(0,a.jsxs)(s.Zb,{className:"shadow-lg hover:bg-gray-100 transition-colors duration-200",...u,children:[(0,a.jsx)(s.Ol,{className:"flex flex-row items-center justify-between space-y-0 pb-0",children:(0,a.jsx)(s.ll,{className:"text-sm font-semibold ".concat(f).concat(t?"":"text-2xl font-bold mb-1"),children:t||(0,a.jsx)("span",{className:"text-2xl font-bold mb-1",children:c})})}),(0,a.jsxs)(s.aY,{children:[(0,a.jsxs)("div",{className:"text-2xl font-bold",style:{display:"flex",flexDirection:"row",marginBottom:"5px",alignItems:"center",justifyContent:"flex-start",gap:"10px"},children:[d?(0,a.jsx)(d,{className:"h-6 w-6 text-muted-foreground"}):null,(0,a.jsx)("span",{style:{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},title:"string"==typeof r?r:"",children:r})]}),(0,a.jsx)("div",{style:{display:"flex",flexWrap:"wrap"},children:(0,a.jsx)("p",{className:"text-xs text-muted-foreground",style:{display:"flex",flexDirection:"row"},children:l?(0,a.jsx)(i,{footer:l}):null})})]})]})})}},5479:function(e,t,r){"use strict";r.d(t,{C:function(){return o}});var a=r(3827);r(4090);var n=r(7742),s=r(2169);let l=(0,n.j)("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",success:"border-transparent bg-success text-success-foreground hover:bg-success/80",warning:"border-transparent bg-warning text-warning-foreground hover:bg-warning/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function o(e){let{className:t,variant:r,...n}=e;return(0,a.jsx)("div",{className:(0,s.cn)(l({variant:r}),t),...n})}},8886:function(e,t,r){"use strict";r.d(t,{z:function(){return c}});var a=r(3827),n=r(4090),s=r(9143),l=r(7742),o=r(2169);let i=(0,l.j)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),c=n.forwardRef((e,t)=>{let{className:r,variant:n,size:l,asChild:c=!1,...d}=e,u=c?s.g7:"button";return(0,a.jsx)(u,{className:(0,o.cn)(i({variant:n,size:l,className:r})),ref:t,...d})});c.displayName="Button"},9084:function(e,t,r){"use strict";r.d(t,{Ol:function(){return o},Zb:function(){return l},aY:function(){return c},ll:function(){return i}});var a=r(3827),n=r(4090),s=r(2169);let l=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",r),...n})});l.displayName="Card";let o=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("flex flex-col space-y-1.5 p-6",r),...n})});o.displayName="CardHeader";let i=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("h3",{ref:t,className:(0,s.cn)("text-2xl font-semibold leading-none tracking-tight",r),...n})});i.displayName="CardTitle",n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("p",{ref:t,className:(0,s.cn)("text-sm text-muted-foreground",r),...n})}).displayName="CardDescription";let c=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("p-6 pt-0",r),...n})});c.displayName="CardContent",n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("flex items-center p-6 pt-0",r),...n})}).displayName="CardFooter"},5744:function(e,t,r){"use strict";r.d(t,{SP:function(){return c},dr:function(){return i},mQ:function(){return o},nU:function(){return d}});var a=r(3827),n=r(4090),s=r(1639),l=r(2169);let o=s.fC,i=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(s.aV,{ref:t,className:(0,l.cn)("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",r),...n})});i.displayName=s.aV.displayName;let c=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(s.xz,{ref:t,className:(0,l.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",r),...n})});c.displayName=s.xz.displayName;let d=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(s.VY,{ref:t,className:(0,l.cn)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",r),...n})});d.displayName=s.VY.displayName},3702:function(e,t,r){"use strict";r.d(t,{c:function(){return n},q:function(){return s}});var a=r(2177);let n={Play:"Play",Id:"Id",Code:"Code",ListBullet:"ListBullet",Upload:"Upload",Clock:"Clock",Desktop:"Desktop"},s=e=>{switch(e){case n.Play:return a.o1U;case n.Id:return a.Xwj;case n.Code:return a.dNJ;case n.ListBullet:return a.jVc;case n.Upload:return a.rG2;case n.Clock:return a.T39;case n.Desktop:return a.ugZ;default:return}}},2169:function(e,t,r){"use strict";r.d(t,{AR:function(){return p},C5:function(){return d},KX:function(){return f},Kt:function(){return u},ZH:function(){return m},cn:function(){return s},fL:function(){return c},fi:function(){return i},hs:function(){return x}});var a=r(3167),n=r(1367);function s(){for(var e=arguments.length,t=Array(e),r=0;r{try{let e=await fetch(l+"/entities"),t=await e.json();return Object.keys(t).flatMap(e=>t[e].map(t=>({type:e,uid:"".concat(e,"_").concat(t.id),...t}))).filter(e=>"DISABLED"!==e.status)}catch(e){throw console.error("Error:",e),e}},c=async()=>{try{let e=await fetch(l+"/health"),t=await e.json();return Object.keys(t).map(e=>({name:e,...t[e],capabilities:t[e].capabilities?Object.keys(t[e].capabilities).map(r=>({name:r,...t[e].capabilities[r]})):void 0,components:t[e].components?Object.keys(t[e].components).map(r=>({name:r,...t[e].components[r]})):void 0}))}catch(e){throw console.error("Error:",e),e}},d=async()=>{try{let e=await fetch(l+"/info");return await e.json()}catch(e){throw console.error("Error:",e),e}},u=async()=>{try{let e=await fetch(l+"/metrics"),t=await e.json();return{uptime:t.gauges["jvm.attribute.uptime"].value,memory:t.gauges["jvm.memory.total.used"].value}}catch(e){throw console.error("Error:",e),e}},f=async()=>{try{let e=await fetch(l+"/values"),t=await e.json();return Object.keys(t).flatMap(e=>t[e].map(t=>({type:e,uid:"".concat(e,"_").concat(t.path),...t})))}catch(e){throw console.error("Error:",e),e}},m=async e=>{try{let t=e.replace(/_/g,"/"),r=await fetch("".concat(o,"/cfg/entities/").concat(t));if(!r.ok)throw Error("HTTP error! status: ".concat(r.status));return await r.json()}catch(e){throw console.error("Error:",e),e}},x=async()=>{try{let e=await fetch(o+"/cfg/global/deployment");if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));return await e.json()}catch(e){throw console.error("Error:",e),e}},p=async e=>{try{let t=e.replace(/_/g,"/"),r=await fetch("".concat(o,"/cfg/values/").concat(t));if(!r.ok)throw Error("HTTP error! status: ".concat(r.status));return await r.json()}catch(e){throw console.error("Error:",e),e}}}},function(e){e.O(0,[310,285,792,639,788,971,69,744],function(){return e(e.s=1645)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[548],{1645:function(e,t,r){Promise.resolve().then(r.bind(r,5949))},5949:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return x}});var a=r(3827),n=r(4747),s=r(5744),l=r(2169),o=r(4090),i=r(3702),c=r(7521),d=r(8886);let u=[{accessorKey:"label",header:e=>{let{column:t}=e;return(0,a.jsxs)(d.z,{variant:"ghost",onClick:()=>t.toggleSorting("asc"===t.getIsSorted()),children:["Name",(0,a.jsx)(c.Z,{className:"ml-2 h-4 w-4"})]})},cell:e=>{let{row:t}=e;return(0,a.jsx)("div",{className:"ml-4",children:t.original.label})}}];var f=r(594),m=r(7907);function x(){let[e,t]=(0,o.useState)([]),[r,c]=(0,o.useState)("overview"),[d,x]=(0,o.useState)([]),p=(0,m.useRouter)(),h=(0,m.usePathname)(),g=async()=>{try{let e=await (0,l.KX)();t(e);let r=e.map(e=>({label:e.path,type:e.type}));x(r)}catch(e){console.error("Error loading values:",e)}};(0,o.useEffect)(()=>{g(),h&&c(window.location.hash.slice(1)||"overview")},[]);let b=e.map(e=>e.type).filter((e,t,r)=>r.indexOf(e)===t),v=e.reduce((e,t)=>{let r=t.type;return e[r]||(e[r]=0),e[r]++,e},{});return(0,a.jsxs)("div",{className:"flex-1 space-y-4 p-8 pt-0",children:[(0,a.jsx)("div",{className:"flex items-center justify-between space-y-2",children:(0,a.jsx)("h2",{className:"text-2xl font-semibold tracking-tight",children:"Values"})}),(0,a.jsxs)(s.mQ,{value:r,onValueChange:e=>{c(e),p.push("".concat(h,"#").concat(e))},className:"h-full space-y-6",children:[(0,a.jsx)("div",{className:"space-between flex items-center",children:(0,a.jsxs)(s.dr,{children:[(0,a.jsx)(s.SP,{value:"overview",children:(0,a.jsx)("span",{children:"Overview"})}),b.map(e=>(0,a.jsx)(s.SP,{value:e,children:(0,a.jsx)("span",{children:e})},e))]})}),(0,a.jsx)(s.nU,{value:"overview",children:(0,a.jsx)("div",{className:"grid gap-4 md:grid-cols-2 lg:grid-cols-4",children:b.map(e=>(0,a.jsx)(n.Z,{main:e,total:v[e],onClick:()=>{c(e)},Icon:(0,i.q)("Code"),route:"".concat(h,"#").concat(e)},e))})}),b.map(e=>(0,a.jsx)(s.nU,{value:e,children:(0,a.jsx)(f.w,{columns:u,data:d.filter(t=>t.type===e)})},e))]})]})}},594:function(e,t,r){"use strict";r.d(t,{w:function(){return x}});var a=r(3827),n=r(4090),s=r(1006),l=r(3280),o=r(2169);let i=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{className:"relative w-full overflow-auto",children:(0,a.jsx)("table",{ref:t,className:(0,o.cn)("w-full caption-bottom text-sm",r),...n})})});i.displayName="Table";let c=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("thead",{ref:t,className:(0,o.cn)("[&_tr]:border-b",r),...n})});c.displayName="TableHeader";let d=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("tbody",{ref:t,className:(0,o.cn)("[&_tr:last-child]:border-0",r),...n})});d.displayName="TableBody",n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("tfoot",{ref:t,className:(0,o.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",r),...n})}).displayName="TableFooter";let u=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("tr",{ref:t,className:(0,o.cn)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",r),...n})});u.displayName="TableRow";let f=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("th",{ref:t,className:(0,o.cn)("h-10 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",r),...n})});f.displayName="TableHead";let m=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("td",{ref:t,className:(0,o.cn)("p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",r),...n})});function x(e){var t;let{columns:r,data:o}=e,[x,p]=n.useState({}),[h,g]=n.useState([]),[b,v]=n.useState([]),[y,w]=n.useState({}),j=(0,s.b7)({data:o,columns:r,getCoreRowModel:(0,l.sC)(),onSortingChange:v,getSortedRowModel:(0,l.tj)(),onColumnFiltersChange:g,getFilteredRowModel:(0,l.vL)(),onColumnVisibilityChange:p,getExpandedRowModel:(0,l.rV)(),getSubRows:e=>e.subRows,onExpandedChange:w,state:{sorting:b,columnFilters:h,columnVisibility:x,expanded:y}});return(0,a.jsx)("div",{children:(0,a.jsx)("div",{className:"rounded-md border",children:(0,a.jsxs)(i,{children:[(0,a.jsx)(c,{children:j.getHeaderGroups().map(e=>(0,a.jsx)(u,{children:e.headers.map(e=>(0,a.jsx)(f,{children:e.isPlaceholder?null:(0,s.ie)(e.column.columnDef.header,e.getContext())},e.id))},e.id))}),(0,a.jsx)(d,{children:(null===(t=j.getRowModel().rows)||void 0===t?void 0:t.length)?j.getRowModel().rows.map(e=>(0,a.jsx)(u,{"data-state":e.getIsSelected()&&"selected",className:"".concat(0===e.depth?"":"bg-muted"),children:e.getVisibleCells().map(e=>(0,a.jsx)(m,{children:(0,s.ie)(e.column.columnDef.cell,e.getContext())},e.id))},e.id)):(0,a.jsx)(u,{children:(0,a.jsx)(m,{colSpan:r.length,className:"h-24 text-center",children:"No results."})})})]})})})}m.displayName="TableCell",n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("caption",{ref:t,className:(0,o.cn)("mt-4 text-sm text-muted-foreground",r),...n})}).displayName="TableCaption"},4747:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var a=r(3827),n=r(8792),s=r(9084),l=r(2177),o=r(5479);let i=e=>{let{footer:t}=e,r=t.includes("/")?t.split("/")[1]:t.includes("OGC_API")?t:null;return console.log("footer: ",t),console.log("type1: ",r),(0,a.jsx)(a.Fragment,{children:t?t.split(" ").map((e,t,n)=>"available"!==e||isNaN(Number(n[t-1]))?"limited"!==e||isNaN(Number(n[t-1]))?"unavailable"!==e||isNaN(Number(n[t-1]))?null!==r?(0,a.jsx)(o.C,{variant:"secondary",children:r},r):isNaN(Number(e))||"available"!==n[t+1]&&"unavailable"!==n[t+1]&&"limited"!==n[t+1]?e+" ":null:[(0,a.jsxs)("span",{className:"text-destructive mr-2",style:{display:"flex",alignItems:"center"},children:[(0,a.jsx)(l.xrR,{className:"text-destructive",style:{marginRight:"3px"}},"CheckCircledIcon"),n[t-1]," ",e]},t)]:[(0,a.jsxs)("span",{className:"text-warning mr-2",style:{display:"flex",alignItems:"center"},children:[(0,a.jsx)(l.LPM,{className:"text-warning",style:{marginRight:"3px"}},"CheckCircledIcon"),n[t-1]," ",e]},t)]:[(0,a.jsxs)("span",{className:"text-success mr-2",style:{display:"flex",alignItems:"center",marginRight:"15px"},children:[(0,a.jsx)(l.NhS,{className:"text-success",style:{marginRight:"3px"}},"CheckCircledIcon"),n[t-1]," ",e]},t)]):null})};function c(e){let{header:t,main:r,footer:l,route:o,total:c,Icon:d,...u}=e,f="AVAILABLE"===t||"ACTIVE"===t||"true"===t?"text-success":"LIMITED"===t?"text-warning":"UNAVAILABLE"===t||"false"===t?"text-destructive":"text-blue-700";return(0,a.jsx)(n.default,{href:o||"#",children:(0,a.jsxs)(s.Zb,{className:"shadow-lg hover:bg-gray-100 transition-colors duration-200",...u,children:[(0,a.jsx)(s.Ol,{className:"flex flex-row items-center justify-between space-y-0 pb-0",children:(0,a.jsx)(s.ll,{className:"text-sm font-semibold ".concat(f).concat(t?"":"text-2xl font-bold mb-1"),children:t||(0,a.jsx)("span",{className:"text-2xl font-bold mb-1",children:c})})}),(0,a.jsxs)(s.aY,{children:[(0,a.jsxs)("div",{className:"text-2xl font-bold",style:{display:"flex",flexDirection:"row",marginBottom:"5px",alignItems:"center",justifyContent:"flex-start",gap:"10px"},children:[d?(0,a.jsx)(d,{className:"h-6 w-6 text-muted-foreground"}):null,(0,a.jsx)("span",{style:{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},title:"string"==typeof r?r:"",children:r})]}),(0,a.jsx)("div",{style:{display:"flex",flexWrap:"wrap"},children:(0,a.jsx)("p",{className:"text-xs text-muted-foreground",style:{display:"flex",flexDirection:"row"},children:l?(0,a.jsx)(i,{footer:l}):null})})]})]})})}},5479:function(e,t,r){"use strict";r.d(t,{C:function(){return o}});var a=r(3827);r(4090);var n=r(7742),s=r(2169);let l=(0,n.j)("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",success:"border-transparent bg-success text-success-foreground hover:bg-success/80",warning:"border-transparent bg-warning text-warning-foreground hover:bg-warning/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function o(e){let{className:t,variant:r,...n}=e;return(0,a.jsx)("div",{className:(0,s.cn)(l({variant:r}),t),...n})}},8886:function(e,t,r){"use strict";r.d(t,{z:function(){return c}});var a=r(3827),n=r(4090),s=r(9143),l=r(7742),o=r(2169);let i=(0,l.j)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),c=n.forwardRef((e,t)=>{let{className:r,variant:n,size:l,asChild:c=!1,...d}=e,u=c?s.g7:"button";return(0,a.jsx)(u,{className:(0,o.cn)(i({variant:n,size:l,className:r})),ref:t,...d})});c.displayName="Button"},9084:function(e,t,r){"use strict";r.d(t,{Ol:function(){return o},Zb:function(){return l},aY:function(){return c},ll:function(){return i}});var a=r(3827),n=r(4090),s=r(2169);let l=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",r),...n})});l.displayName="Card";let o=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("flex flex-col space-y-1.5 p-6",r),...n})});o.displayName="CardHeader";let i=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("h3",{ref:t,className:(0,s.cn)("text-2xl font-semibold leading-none tracking-tight",r),...n})});i.displayName="CardTitle",n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("p",{ref:t,className:(0,s.cn)("text-sm text-muted-foreground",r),...n})}).displayName="CardDescription";let c=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("p-6 pt-0",r),...n})});c.displayName="CardContent",n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("flex items-center p-6 pt-0",r),...n})}).displayName="CardFooter"},5744:function(e,t,r){"use strict";r.d(t,{SP:function(){return c},dr:function(){return i},mQ:function(){return o},nU:function(){return d}});var a=r(3827),n=r(4090),s=r(1639),l=r(2169);let o=s.fC,i=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(s.aV,{ref:t,className:(0,l.cn)("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",r),...n})});i.displayName=s.aV.displayName;let c=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(s.xz,{ref:t,className:(0,l.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",r),...n})});c.displayName=s.xz.displayName;let d=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(s.VY,{ref:t,className:(0,l.cn)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",r),...n})});d.displayName=s.VY.displayName},3702:function(e,t,r){"use strict";r.d(t,{c:function(){return n},q:function(){return s}});var a=r(2177);let n={Play:"Play",Id:"Id",Code:"Code",ListBullet:"ListBullet",Upload:"Upload",Clock:"Clock",Desktop:"Desktop"},s=e=>{switch(e){case n.Play:return a.o1U;case n.Id:return a.Xwj;case n.Code:return a.dNJ;case n.ListBullet:return a.jVc;case n.Upload:return a.rG2;case n.Clock:return a.T39;case n.Desktop:return a.ugZ;default:return}}},2169:function(e,t,r){"use strict";r.d(t,{AR:function(){return p},C5:function(){return d},KX:function(){return f},Kt:function(){return u},ZH:function(){return m},cn:function(){return s},fL:function(){return c},fi:function(){return i},hs:function(){return x}});var a=r(3167),n=r(1367);function s(){for(var e=arguments.length,t=Array(e),r=0;r{try{let e=await fetch(l+"/entities"),t=await e.json();return Object.keys(t).flatMap(e=>t[e].map(t=>({type:e,uid:"".concat(e,"_").concat(t.id),...t}))).filter(e=>"DISABLED"!==e.status)}catch(e){throw console.error("Error:",e),e}},c=async()=>{try{let e=await fetch(l+"/health"),t=await e.json();return Object.keys(t).map(e=>({name:e,...t[e],capabilities:t[e].capabilities?Object.keys(t[e].capabilities).map(r=>({name:r,...t[e].capabilities[r]})):void 0,components:t[e].components?Object.keys(t[e].components).map(r=>({name:r,...t[e].components[r]})):void 0}))}catch(e){throw console.error("Error:",e),e}},d=async()=>{try{let e=await fetch(l+"/info");return await e.json()}catch(e){throw console.error("Error:",e),e}},u=async()=>{try{let e=await fetch(l+"/metrics"),t=await e.json();return{uptime:t.gauges["jvm.attribute.uptime"].value,memory:t.gauges["jvm.memory.total.used"].value}}catch(e){throw console.error("Error:",e),e}},f=async()=>{try{let e=await fetch(l+"/values"),t=await e.json();return Object.keys(t).flatMap(e=>t[e].map(t=>({type:e,uid:"".concat(e,"_").concat(t.path),...t})))}catch(e){throw console.error("Error:",e),e}},m=async e=>{try{let t=e.replace(/_/g,"/"),r=await fetch("".concat(o,"/cfg/entities/").concat(t));if(!r.ok)throw Error("HTTP error! status: ".concat(r.status));return await r.json()}catch(e){throw console.error("Error:",e),e}},x=async()=>{try{let e=await fetch(o+"/cfg/global/deployment");if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));return await e.json()}catch(e){throw console.error("Error:",e),e}},p=async e=>{try{let t=e.replace(/_/g,"/"),r=await fetch("".concat(o,"/cfg/values/").concat(t));if(!r.ok)throw Error("HTTP error! status: ".concat(r.status));return await r.json()}catch(e){throw console.error("Error:",e),e}}}},function(e){e.O(0,[310,285,792,639,788,971,69,744],function(){return e(e.s=1645)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/wMS5LGn3F83UKaYFzVkBc/_buildManifest.js b/xtraplatform-ops/src/main/resources/dashboard/_next/static/nD6-RHq6D_GhmrBRPSlWB/_buildManifest.js similarity index 100% rename from xtraplatform-ops/src/main/resources/dashboard/_next/static/wMS5LGn3F83UKaYFzVkBc/_buildManifest.js rename to xtraplatform-ops/src/main/resources/dashboard/_next/static/nD6-RHq6D_GhmrBRPSlWB/_buildManifest.js diff --git a/xtraplatform-ops/src/main/resources/dashboard/_next/static/wMS5LGn3F83UKaYFzVkBc/_ssgManifest.js b/xtraplatform-ops/src/main/resources/dashboard/_next/static/nD6-RHq6D_GhmrBRPSlWB/_ssgManifest.js similarity index 100% rename from xtraplatform-ops/src/main/resources/dashboard/_next/static/wMS5LGn3F83UKaYFzVkBc/_ssgManifest.js rename to xtraplatform-ops/src/main/resources/dashboard/_next/static/nD6-RHq6D_GhmrBRPSlWB/_ssgManifest.js diff --git a/xtraplatform-ops/src/main/resources/dashboard/deployment.html b/xtraplatform-ops/src/main/resources/dashboard/deployment.html index cc062828..f7ea43dd 100644 --- a/xtraplatform-ops/src/main/resources/dashboard/deployment.html +++ b/xtraplatform-ops/src/main/resources/dashboard/deployment.html @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/dashboard/deployment.txt b/xtraplatform-ops/src/main/resources/dashboard/deployment.txt index e0c9186a..2de4db58 100644 --- a/xtraplatform-ops/src/main/resources/dashboard/deployment.txt +++ b/xtraplatform-ops/src/main/resources/dashboard/deployment.txt @@ -1,9 +1,9 @@ 2:I[7831,[],""] -3:I[1462,["310","static/chunks/0e5ce63c-1adf26e39f15d56f.js","285","static/chunks/285-75e30224a2290122.js","792","static/chunks/792-45682e6b42908294.js","639","static/chunks/639-7ca681a6ddf8c75e.js","788","static/chunks/788-92a9a86f4c7e197a.js","267","static/chunks/267-65ac11d9b36d01fb.js","549","static/chunks/549-653eac587980e2c7.js","374","static/chunks/app/deployment/page-963638aa864605b8.js"],""] +3:I[1462,["310","static/chunks/0e5ce63c-1adf26e39f15d56f.js","285","static/chunks/285-75e30224a2290122.js","792","static/chunks/792-45682e6b42908294.js","639","static/chunks/639-7ca681a6ddf8c75e.js","788","static/chunks/788-92a9a86f4c7e197a.js","267","static/chunks/267-65ac11d9b36d01fb.js","549","static/chunks/549-9e802070de5ff105.js","374","static/chunks/app/deployment/page-963638aa864605b8.js"],""] 4:I[5613,[],""] 5:I[1778,[],""] -6:I[4456,["310","static/chunks/0e5ce63c-1adf26e39f15d56f.js","285","static/chunks/285-75e30224a2290122.js","792","static/chunks/792-45682e6b42908294.js","185","static/chunks/app/layout-8e11ff0a9b9d117f.js"],""] +6:I[4456,["310","static/chunks/0e5ce63c-1adf26e39f15d56f.js","285","static/chunks/285-75e30224a2290122.js","792","static/chunks/792-45682e6b42908294.js","185","static/chunks/app/layout-85f076f6052b8a97.js"],""] 7:{} -0:["wMS5LGn3F83UKaYFzVkBc",[[["",{"children":["deployment",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["deployment",{"children":["__PAGE__",{},["$L1",["$","$L2",null,{"propsForComponent":{"params":{}},"Component":"$3","isStaticGeneration":true}],null]]},["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","deployment","children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/01def51f7bdb826d.css","precedence":"next","crossOrigin":""}]]}]]},[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"styles":null}],"params":"$7"}],null]],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/638ae1adeca02e8b.css","precedence":"next","crossOrigin":""}]],"$L8"]]]] +0:["nD6-RHq6D_GhmrBRPSlWB",[[["",{"children":["deployment",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["deployment",{"children":["__PAGE__",{},["$L1",["$","$L2",null,{"propsForComponent":{"params":{}},"Component":"$3","isStaticGeneration":true}],null]]},["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","deployment","children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/01def51f7bdb826d.css","precedence":"next","crossOrigin":""}]]}]]},[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"styles":null}],"params":"$7"}],null]],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/638ae1adeca02e8b.css","precedence":"next","crossOrigin":""}]],"$L8"]]]] 8:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","link","2",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}],["$","meta","3",{"name":"next-size-adjust"}]] 1:null diff --git a/xtraplatform-ops/src/main/resources/dashboard/entities.html b/xtraplatform-ops/src/main/resources/dashboard/entities.html index 370e664e..7b81a487 100644 --- a/xtraplatform-ops/src/main/resources/dashboard/entities.html +++ b/xtraplatform-ops/src/main/resources/dashboard/entities.html @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/dashboard/entities.txt b/xtraplatform-ops/src/main/resources/dashboard/entities.txt index ea471f02..75be50b2 100644 --- a/xtraplatform-ops/src/main/resources/dashboard/entities.txt +++ b/xtraplatform-ops/src/main/resources/dashboard/entities.txt @@ -1,9 +1,9 @@ 2:I[7831,[],""] -3:I[3813,["310","static/chunks/0e5ce63c-1adf26e39f15d56f.js","285","static/chunks/285-75e30224a2290122.js","792","static/chunks/792-45682e6b42908294.js","639","static/chunks/639-7ca681a6ddf8c75e.js","146","static/chunks/app/entities/page-0cd64fe776cc8470.js"],""] +3:I[3813,["310","static/chunks/0e5ce63c-1adf26e39f15d56f.js","285","static/chunks/285-75e30224a2290122.js","792","static/chunks/792-45682e6b42908294.js","639","static/chunks/639-7ca681a6ddf8c75e.js","146","static/chunks/app/entities/page-dc18e2ae0b3649cf.js"],""] 4:I[5613,[],""] 5:I[1778,[],""] -6:I[4456,["310","static/chunks/0e5ce63c-1adf26e39f15d56f.js","285","static/chunks/285-75e30224a2290122.js","792","static/chunks/792-45682e6b42908294.js","185","static/chunks/app/layout-8e11ff0a9b9d117f.js"],""] +6:I[4456,["310","static/chunks/0e5ce63c-1adf26e39f15d56f.js","285","static/chunks/285-75e30224a2290122.js","792","static/chunks/792-45682e6b42908294.js","185","static/chunks/app/layout-85f076f6052b8a97.js"],""] 7:{} -0:["wMS5LGn3F83UKaYFzVkBc",[[["",{"children":["entities",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["entities",{"children":["__PAGE__",{},["$L1",["$","$L2",null,{"propsForComponent":{"params":{}},"Component":"$3","isStaticGeneration":true}],null]]},["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","entities","children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}]]},[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"styles":null}],"params":"$7"}],null]],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/638ae1adeca02e8b.css","precedence":"next","crossOrigin":""}]],"$L8"]]]] +0:["nD6-RHq6D_GhmrBRPSlWB",[[["",{"children":["entities",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["entities",{"children":["__PAGE__",{},["$L1",["$","$L2",null,{"propsForComponent":{"params":{}},"Component":"$3","isStaticGeneration":true}],null]]},["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","entities","children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}]]},[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"styles":null}],"params":"$7"}],null]],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/638ae1adeca02e8b.css","precedence":"next","crossOrigin":""}]],"$L8"]]]] 8:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","link","2",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}],["$","meta","3",{"name":"next-size-adjust"}]] 1:null diff --git a/xtraplatform-ops/src/main/resources/dashboard/entities/details.html b/xtraplatform-ops/src/main/resources/dashboard/entities/details.html index a7ec6c87..e63a3fbe 100644 --- a/xtraplatform-ops/src/main/resources/dashboard/entities/details.html +++ b/xtraplatform-ops/src/main/resources/dashboard/entities/details.html @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/dashboard/entities/details.txt b/xtraplatform-ops/src/main/resources/dashboard/entities/details.txt index 5bf8e886..4f06fe03 100644 --- a/xtraplatform-ops/src/main/resources/dashboard/entities/details.txt +++ b/xtraplatform-ops/src/main/resources/dashboard/entities/details.txt @@ -1,9 +1,9 @@ 2:I[7831,[],""] -3:I[767,["310","static/chunks/0e5ce63c-1adf26e39f15d56f.js","285","static/chunks/285-75e30224a2290122.js","639","static/chunks/639-7ca681a6ddf8c75e.js","788","static/chunks/788-92a9a86f4c7e197a.js","267","static/chunks/267-65ac11d9b36d01fb.js","549","static/chunks/549-653eac587980e2c7.js","58","static/chunks/app/entities/details/page-b738fac965ef055f.js"],""] +3:I[767,["310","static/chunks/0e5ce63c-1adf26e39f15d56f.js","285","static/chunks/285-75e30224a2290122.js","639","static/chunks/639-7ca681a6ddf8c75e.js","788","static/chunks/788-92a9a86f4c7e197a.js","267","static/chunks/267-65ac11d9b36d01fb.js","549","static/chunks/549-9e802070de5ff105.js","58","static/chunks/app/entities/details/page-b738fac965ef055f.js"],""] 4:I[5613,[],""] 5:I[1778,[],""] -6:I[4456,["310","static/chunks/0e5ce63c-1adf26e39f15d56f.js","285","static/chunks/285-75e30224a2290122.js","792","static/chunks/792-45682e6b42908294.js","185","static/chunks/app/layout-8e11ff0a9b9d117f.js"],""] +6:I[4456,["310","static/chunks/0e5ce63c-1adf26e39f15d56f.js","285","static/chunks/285-75e30224a2290122.js","792","static/chunks/792-45682e6b42908294.js","185","static/chunks/app/layout-85f076f6052b8a97.js"],""] 7:{} -0:["wMS5LGn3F83UKaYFzVkBc",[[["",{"children":["entities",{"children":["details",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",{"children":["entities",{"children":["details",{"children":["__PAGE__",{},["$L1",["$","$L2",null,{"propsForComponent":{"params":{}},"Component":"$3","isStaticGeneration":true}],null]]},["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","entities","children","details","children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/01def51f7bdb826d.css","precedence":"next","crossOrigin":""}]]}]]},["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","entities","children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}]]},[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"styles":null}],"params":"$7"}],null]],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/638ae1adeca02e8b.css","precedence":"next","crossOrigin":""}]],"$L8"]]]] +0:["nD6-RHq6D_GhmrBRPSlWB",[[["",{"children":["entities",{"children":["details",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",{"children":["entities",{"children":["details",{"children":["__PAGE__",{},["$L1",["$","$L2",null,{"propsForComponent":{"params":{}},"Component":"$3","isStaticGeneration":true}],null]]},["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","entities","children","details","children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/01def51f7bdb826d.css","precedence":"next","crossOrigin":""}]]}]]},["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","entities","children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}]]},[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"styles":null}],"params":"$7"}],null]],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/638ae1adeca02e8b.css","precedence":"next","crossOrigin":""}]],"$L8"]]]] 8:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","link","2",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}],["$","meta","3",{"name":"next-size-adjust"}]] 1:null diff --git a/xtraplatform-ops/src/main/resources/dashboard/index.html b/xtraplatform-ops/src/main/resources/dashboard/index.html index 1a5ddfac..b06d3269 100644 --- a/xtraplatform-ops/src/main/resources/dashboard/index.html +++ b/xtraplatform-ops/src/main/resources/dashboard/index.html @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/dashboard/index.txt b/xtraplatform-ops/src/main/resources/dashboard/index.txt index a9db0d12..3b53355d 100644 --- a/xtraplatform-ops/src/main/resources/dashboard/index.txt +++ b/xtraplatform-ops/src/main/resources/dashboard/index.txt @@ -1,9 +1,9 @@ 2:I[7831,[],""] 3:I[8836,["931","static/chunks/app/page-b88e8470efa74c73.js"],""] -4:I[4456,["310","static/chunks/0e5ce63c-1adf26e39f15d56f.js","285","static/chunks/285-75e30224a2290122.js","792","static/chunks/792-45682e6b42908294.js","185","static/chunks/app/layout-8e11ff0a9b9d117f.js"],""] +4:I[4456,["310","static/chunks/0e5ce63c-1adf26e39f15d56f.js","285","static/chunks/285-75e30224a2290122.js","792","static/chunks/792-45682e6b42908294.js","185","static/chunks/app/layout-85f076f6052b8a97.js"],""] 5:I[5613,[],""] 6:I[1778,[],""] 7:{} -0:["wMS5LGn3F83UKaYFzVkBc",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",{"children":["__PAGE__",{},["$L1",["$","$L2",null,{"propsForComponent":{"params":{}},"Component":"$3","isStaticGeneration":true}],null]]},[null,["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"styles":null}],"params":"$7"}],null]],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/638ae1adeca02e8b.css","precedence":"next","crossOrigin":""}]],"$L8"]]]] +0:["nD6-RHq6D_GhmrBRPSlWB",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",{"children":["__PAGE__",{},["$L1",["$","$L2",null,{"propsForComponent":{"params":{}},"Component":"$3","isStaticGeneration":true}],null]]},[null,["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"styles":null}],"params":"$7"}],null]],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/638ae1adeca02e8b.css","precedence":"next","crossOrigin":""}]],"$L8"]]]] 8:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","link","2",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}],["$","meta","3",{"name":"next-size-adjust"}]] 1:null diff --git a/xtraplatform-ops/src/main/resources/dashboard/values.html b/xtraplatform-ops/src/main/resources/dashboard/values.html index d768474e..3fdc1c99 100644 --- a/xtraplatform-ops/src/main/resources/dashboard/values.html +++ b/xtraplatform-ops/src/main/resources/dashboard/values.html @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/dashboard/values.txt b/xtraplatform-ops/src/main/resources/dashboard/values.txt index b25d5cff..af910aa8 100644 --- a/xtraplatform-ops/src/main/resources/dashboard/values.txt +++ b/xtraplatform-ops/src/main/resources/dashboard/values.txt @@ -1,9 +1,9 @@ 2:I[7831,[],""] -3:I[5949,["310","static/chunks/0e5ce63c-1adf26e39f15d56f.js","285","static/chunks/285-75e30224a2290122.js","792","static/chunks/792-45682e6b42908294.js","639","static/chunks/639-7ca681a6ddf8c75e.js","788","static/chunks/788-92a9a86f4c7e197a.js","548","static/chunks/app/values/page-192d969936a14d11.js"],""] +3:I[5949,["310","static/chunks/0e5ce63c-1adf26e39f15d56f.js","285","static/chunks/285-75e30224a2290122.js","792","static/chunks/792-45682e6b42908294.js","639","static/chunks/639-7ca681a6ddf8c75e.js","788","static/chunks/788-92a9a86f4c7e197a.js","548","static/chunks/app/values/page-e4c21ceec8b7b171.js"],""] 4:I[5613,[],""] 5:I[1778,[],""] -6:I[4456,["310","static/chunks/0e5ce63c-1adf26e39f15d56f.js","285","static/chunks/285-75e30224a2290122.js","792","static/chunks/792-45682e6b42908294.js","185","static/chunks/app/layout-8e11ff0a9b9d117f.js"],""] +6:I[4456,["310","static/chunks/0e5ce63c-1adf26e39f15d56f.js","285","static/chunks/285-75e30224a2290122.js","792","static/chunks/792-45682e6b42908294.js","185","static/chunks/app/layout-85f076f6052b8a97.js"],""] 7:{} -0:["wMS5LGn3F83UKaYFzVkBc",[[["",{"children":["values",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["values",{"children":["__PAGE__",{},["$L1",["$","$L2",null,{"propsForComponent":{"params":{}},"Component":"$3","isStaticGeneration":true}],null]]},["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","values","children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}]]},[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"styles":null}],"params":"$7"}],null]],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/638ae1adeca02e8b.css","precedence":"next","crossOrigin":""}]],"$L8"]]]] +0:["nD6-RHq6D_GhmrBRPSlWB",[[["",{"children":["values",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["values",{"children":["__PAGE__",{},["$L1",["$","$L2",null,{"propsForComponent":{"params":{}},"Component":"$3","isStaticGeneration":true}],null]]},["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","values","children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}]]},[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"styles":null}],"params":"$7"}],null]],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/638ae1adeca02e8b.css","precedence":"next","crossOrigin":""}]],"$L8"]]]] 8:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","link","2",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}],["$","meta","3",{"name":"next-size-adjust"}]] 1:null diff --git a/xtraplatform-ops/src/main/resources/dashboard/values/details.html b/xtraplatform-ops/src/main/resources/dashboard/values/details.html index a4d2e2eb..cfeaeb09 100644 --- a/xtraplatform-ops/src/main/resources/dashboard/values/details.html +++ b/xtraplatform-ops/src/main/resources/dashboard/values/details.html @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/xtraplatform-ops/src/main/resources/dashboard/values/details.txt b/xtraplatform-ops/src/main/resources/dashboard/values/details.txt index dcd7a3d1..0799393e 100644 --- a/xtraplatform-ops/src/main/resources/dashboard/values/details.txt +++ b/xtraplatform-ops/src/main/resources/dashboard/values/details.txt @@ -1,9 +1,9 @@ 2:I[7831,[],""] -3:I[8376,["310","static/chunks/0e5ce63c-1adf26e39f15d56f.js","285","static/chunks/285-75e30224a2290122.js","267","static/chunks/267-65ac11d9b36d01fb.js","582","static/chunks/app/values/details/page-5cf3cd649a89b811.js"],""] +3:I[8376,["310","static/chunks/0e5ce63c-1adf26e39f15d56f.js","285","static/chunks/285-75e30224a2290122.js","267","static/chunks/267-65ac11d9b36d01fb.js","582","static/chunks/app/values/details/page-c112a5c848929656.js"],""] 4:I[5613,[],""] 5:I[1778,[],""] -6:I[4456,["310","static/chunks/0e5ce63c-1adf26e39f15d56f.js","285","static/chunks/285-75e30224a2290122.js","792","static/chunks/792-45682e6b42908294.js","185","static/chunks/app/layout-8e11ff0a9b9d117f.js"],""] +6:I[4456,["310","static/chunks/0e5ce63c-1adf26e39f15d56f.js","285","static/chunks/285-75e30224a2290122.js","792","static/chunks/792-45682e6b42908294.js","185","static/chunks/app/layout-85f076f6052b8a97.js"],""] 7:{} -0:["wMS5LGn3F83UKaYFzVkBc",[[["",{"children":["values",{"children":["details",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",{"children":["values",{"children":["details",{"children":["__PAGE__",{},["$L1",["$","$L2",null,{"propsForComponent":{"params":{}},"Component":"$3","isStaticGeneration":true}],null]]},["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","values","children","details","children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/01def51f7bdb826d.css","precedence":"next","crossOrigin":""}]]}]]},["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","values","children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}]]},[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"styles":null}],"params":"$7"}],null]],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/638ae1adeca02e8b.css","precedence":"next","crossOrigin":""}]],"$L8"]]]] +0:["nD6-RHq6D_GhmrBRPSlWB",[[["",{"children":["values",{"children":["details",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",{"children":["values",{"children":["details",{"children":["__PAGE__",{},["$L1",["$","$L2",null,{"propsForComponent":{"params":{}},"Component":"$3","isStaticGeneration":true}],null]]},["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","values","children","details","children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/01def51f7bdb826d.css","precedence":"next","crossOrigin":""}]]}]]},["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","values","children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}]]},[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"styles":null}],"params":"$7"}],null]],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/638ae1adeca02e8b.css","precedence":"next","crossOrigin":""}]],"$L8"]]]] 8:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","link","2",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}],["$","meta","3",{"name":"next-size-adjust"}]] 1:null