diff --git a/.DS_Store b/.DS_Store index 6fdf9f278..5d195b116 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/Documentation/devhandbook.md b/Documentation/devhandbook.md index aef79d8e5..68c9154a4 100644 --- a/Documentation/devhandbook.md +++ b/Documentation/devhandbook.md @@ -35,7 +35,7 @@ Build dokcer image by running `docker build -t /alluxio-operato * Example: ```shell - docker buildx build --platform linux/amd64 -t kshou433/alluxio-operator:withAPIServer_v6.0 -f dev/build/Dockerfile . + docker buildx build --platform linux/amd64 -t kshou433/alluxio-operator:withAPIServer_v6.1 -f dev/build/Dockerfile . ``` ### Step 3 @@ -43,7 +43,7 @@ Push image to docker hub : `docker push /alluxio-operator: * Example: ```shell - docker push kshou433/alluxio-operator:withAPIServer_v6.0 + docker push kshou433/alluxio-operator:withAPIServer_v6.1 ``` ### Step 4 @@ -65,7 +65,7 @@ Update image url and tage in ```operator-config.yaml``` `kubectl -n monitoring port-forward svc/prometheus-k8s 9090` ### Access API Server Port -`kubectl port-forward -n alluxio-operator 5220:5220` +`kubectl port-forward -n alluxio-operator :80` Then use `curl` to do REST API Request. diff --git a/cmd/.DS_Store b/cmd/.DS_Store index 8099d8b24..117e3834d 100644 Binary files a/cmd/.DS_Store and b/cmd/.DS_Store differ diff --git a/cmd/api_server/.DS_Store b/cmd/api_server/.DS_Store index 7c0ead07f..21fed7e56 100644 Binary files a/cmd/api_server/.DS_Store and b/cmd/api_server/.DS_Store differ diff --git a/cmd/api_server/api_server/.DS_Store b/cmd/api_server/api_server/.DS_Store index bd34b40c6..b0a83d0a4 100644 Binary files a/cmd/api_server/api_server/.DS_Store and b/cmd/api_server/api_server/.DS_Store differ diff --git a/cmd/api_server/api_server/endpoints/types.go b/cmd/api_server/api_server/endpoints/types.go index 0b88e62fb..19f4d0a13 100644 --- a/cmd/api_server/api_server/endpoints/types.go +++ b/cmd/api_server/api_server/endpoints/types.go @@ -46,7 +46,7 @@ type DatasetConfig struct { // Dataset todo change the `json:"datasetConfig"` captial letter type Dataset struct { - DatasetConfig DatasetConfig `json:"datasetConfig"` + DatasetConfig DatasetConfig `json:"dataset-config"` Status *v1alpha1.DatasetStatus `json:"status,omitempty"` } diff --git a/cmd/api_server/api_server/gui/asset-manifest.json b/cmd/api_server/api_server/gui/asset-manifest.json index 113ae5ae7..1d055b33b 100644 --- a/cmd/api_server/api_server/gui/asset-manifest.json +++ b/cmd/api_server/api_server/gui/asset-manifest.json @@ -1,13 +1,13 @@ { "files": { - "main.css": "/static/css/main.15468a32.css", - "main.js": "/static/js/main.0e4f4206.js", + "main.css": "/static/css/main.e6c13ad2.css", + "main.js": "/static/js/main.7eac36e3.js", "index.html": "/index.html", - "main.15468a32.css.map": "/static/css/main.15468a32.css.map", - "main.0e4f4206.js.map": "/static/js/main.0e4f4206.js.map" + "main.e6c13ad2.css.map": "/static/css/main.e6c13ad2.css.map", + "main.7eac36e3.js.map": "/static/js/main.7eac36e3.js.map" }, "entrypoints": [ - "static/css/main.15468a32.css", - "static/js/main.0e4f4206.js" + "static/css/main.e6c13ad2.css", + "static/js/main.7eac36e3.js" ] } \ No newline at end of file diff --git a/cmd/api_server/api_server/gui/index.html b/cmd/api_server/api_server/gui/index.html index 532ebae59..0a62e078d 100644 --- a/cmd/api_server/api_server/gui/index.html +++ b/cmd/api_server/api_server/gui/index.html @@ -1 +1 @@ -React App
\ No newline at end of file +React App
\ No newline at end of file diff --git a/cmd/api_server/api_server/gui/static/css/main.15468a32.css.map b/cmd/api_server/api_server/gui/static/css/main.15468a32.css.map deleted file mode 100644 index 4117e0374..000000000 --- a/cmd/api_server/api_server/gui/static/css/main.15468a32.css.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/css/main.15468a32.css","mappings":"AAAA,KAKE,kCAAmC,CACnC,iCAAkC,CAJlC,mIAEY,CAHZ,QAMF,CAEA,KACE,uEAEF,CCZA,cACI,YAAa,CAEb,YAAa,CADb,UAEJ,CAEA,WAEI,YAAa,CADb,QAIJ","sources":["index.css","App.css"],"sourcesContent":["body {\n margin: 0;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',\n 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',\n sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\ncode {\n font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',\n monospace;\n}\n",".split-screen {\n display: flex;\n width: 100%;\n height: 100vh; /* Full height of the viewport */\n}\n\n.component {\n flex: 1; /* Each component takes up half of the container */\n display: flex;\n /*align-items: center; !* Center content vertically *!*/\n /*justify-content: center; !* Center content horizontally *!*/\n}\n\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/cmd/api_server/api_server/gui/static/css/main.15468a32.css b/cmd/api_server/api_server/gui/static/css/main.e6c13ad2.css similarity index 60% rename from cmd/api_server/api_server/gui/static/css/main.15468a32.css rename to cmd/api_server/api_server/gui/static/css/main.e6c13ad2.css index c49b00de2..50410fa4b 100644 --- a/cmd/api_server/api_server/gui/static/css/main.15468a32.css +++ b/cmd/api_server/api_server/gui/static/css/main.e6c13ad2.css @@ -1,2 +1,2 @@ -body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.split-screen{display:flex;height:100vh;width:100%}.component{display:flex;flex:1 1} -/*# sourceMappingURL=main.15468a32.css.map*/ \ No newline at end of file +body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace} +/*# sourceMappingURL=main.e6c13ad2.css.map*/ \ No newline at end of file diff --git a/cmd/api_server/api_server/gui/static/css/main.e6c13ad2.css.map b/cmd/api_server/api_server/gui/static/css/main.e6c13ad2.css.map new file mode 100644 index 000000000..5c4dfb9f8 --- /dev/null +++ b/cmd/api_server/api_server/gui/static/css/main.e6c13ad2.css.map @@ -0,0 +1 @@ +{"version":3,"file":"static/css/main.e6c13ad2.css","mappings":"AAAA,KAKE,kCAAmC,CACnC,iCAAkC,CAJlC,mIAEY,CAHZ,QAMF,CAEA,KACE,uEAEF","sources":["index.css"],"sourcesContent":["body {\n margin: 0;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',\n 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',\n sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\ncode {\n font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',\n monospace;\n}\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/cmd/api_server/api_server/gui/static/js/main.0e4f4206.js b/cmd/api_server/api_server/gui/static/js/main.0e4f4206.js deleted file mode 100644 index 5b5fbaa63..000000000 --- a/cmd/api_server/api_server/gui/static/js/main.0e4f4206.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! For license information please see main.0e4f4206.js.LICENSE.txt */ -(()=>{var e={110:(e,t,n)=>{"use strict";var r=n(309),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?i:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var i=u(n);d&&(i=i.concat(d(n)));for(var s=l(t),m=l(n),g=0;g{"use strict";var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,b=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,k=n?Symbol.for("react.scope"):60119;function w(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case a:case s:case i:case p:return e;default:switch(e=e&&e.$$typeof){case c:case f:case g:case m:case l:return e;default:return t}}case o:return t}}}function x(e){return w(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=a,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=i,t.Suspense=p,t.isAsyncMode=function(e){return x(e)||w(e)===u},t.isConcurrentMode=x,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===f},t.isFragment=function(e){return w(e)===a},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===i},t.isSuspense=function(e){return w(e)===p},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===a||e===d||e===s||e===i||e===p||e===h||"object"===typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===v||e.$$typeof===y||e.$$typeof===k||e.$$typeof===b)},t.typeOf=w},309:(e,t,n)=>{"use strict";e.exports=n(746)},463:(e,t,n)=>{"use strict";var r=n(791),o=n(296);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n