From 9ae4ed9f87c091f37f013889f3feb39a3ac38a0f Mon Sep 17 00:00:00 2001 From: Jusong Yu Date: Thu, 15 Jun 2023 00:30:09 +0200 Subject: [PATCH] add more openapi.yml --- .DS_Store | Bin 0 -> 6148 bytes marketplace/openapi-aiidalab.yml | 6 ++-- marketplace/openapi-qeapp.yml | 6 ++-- marketplace/openapi-ssspapp.yml | 6 ++-- marketplace/openapi-uc3app.yml | 57 +++++++++++++++++++++++++++++++ 5 files changed, 66 insertions(+), 9 deletions(-) create mode 100644 .DS_Store create mode 100644 marketplace/openapi-uc3app.yml diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..92e1035519b23c121f4f12f1ef8a740d999fc5cf GIT binary patch literal 6148 zcmeHKL2uJA6n^f?(yT)20i<1!EOD*2LSbU!l6CE266~-bH~=ci5+GU@S8YlURi&Ka z$8hDB@OR*Qwl}RU(>Ngne$w;zY`@P=J|}TZM4~rM9uT#Nr~zlJ`6zy2+|RydHQTZY z6nc!5#`K;t$|+sTb`5`{0=#xx)F(x!bcR*CT)(4SoyNI}(a#UZ0et6&Hbg`oJ)bEvM z&-a?%+wh~Bg=JJuC%tI=nrknV%HxYTieF~wY}mSUsERVmigc_AS&|~<&8w_P)U2nb zMKaOc&~*5I!ymS`=kv#%Zd-Quo-EpOzW=b(mXEr7i-q5~dw=)o$?z;cFVtt22rmWR z3T?M7UceUw*J$!792dDNJ|KhHKAk}01FX<<;0|<5R#fA$uC5HK&YS{H0jIzX3fQkx zqj^J~>vjq_1^zz;`1>H?jDf|aq{YBuWe`0uVW>bu750cB z3?1##<^>ijgN9DR9zKMfS=bYb(6eKFsnbaW23_eCa0)Cduwkk#-v0;JpZ}LhuI3bQ z3j9+Fhd~k L!4*z{KdQh_q_2YZ literal 0 HcmV?d00001 diff --git a/marketplace/openapi-aiidalab.yml b/marketplace/openapi-aiidalab.yml index 52c9d0f..8395a71 100644 --- a/marketplace/openapi-aiidalab.yml +++ b/marketplace/openapi-aiidalab.yml @@ -12,8 +12,8 @@ info: - email - openid - profile - callback: https://materials-marketplace.aiidalab.net/hub/oauth_callback - x-external-hostname: https://materials-marketplace.aiidalab.net + callback: https://aiidalab.materials-marketplace.eu/hub/oauth_callback + x-external-hostname: https://aiidalab.materials-marketplace.eu x-image: https://raw.githubusercontent.com/aiidalab/aiidalab-widgets-base/master/miscellaneous/logos/aiidalab.png x-products: - name: AiiDAlab OSP @@ -22,7 +22,7 @@ info: - simon.adorf@epfl.ch - jusong.yu@epfl.ch servers: - - url: https://materials-marketplace.aiidalab.net/ + - url: https://aiidalab.materials-marketplace.eu/ paths: /: diff --git a/marketplace/openapi-qeapp.yml b/marketplace/openapi-qeapp.yml index 9f752e3..db91b09 100644 --- a/marketplace/openapi-qeapp.yml +++ b/marketplace/openapi-qeapp.yml @@ -12,15 +12,15 @@ info: - email - openid - profile - callback: https://materials-marketplace.aiidalab.net/hub/oauth_callback - x-external-hostname: https://materials-marketplace.aiidalab.net + callback: https://aiidalab.materials-marketplace.eu/hub/oauth_callback + x-external-hostname: https://aiidalab.materials-marketplace.eu x-contacts: - jusong.yu@psi.ch x-products: - name: AiiDAlab QE app productId: servers: - - url: https://materials-marketplace.aiidalab.net + - url: https://aiidalab.materials-marketplace.eu paths: diff --git a/marketplace/openapi-ssspapp.yml b/marketplace/openapi-ssspapp.yml index ee93e45..f5fac8e 100644 --- a/marketplace/openapi-ssspapp.yml +++ b/marketplace/openapi-ssspapp.yml @@ -12,8 +12,8 @@ info: - email - openid - profile - callback: https://materials-marketplace.aiidalab.net/hub/oauth_callback - x-external-hostname: https://materials-marketplace.aiidalab.net + callback: https://aiidalab.materials-marketplace.eu/hub/oauth_callback + x-external-hostname: https://aiidalab.materials-marketplace.eu x-image: https://raw.githubusercontent.com/aiidalab/aiidalab-sssp/main/miscellaneous/logo-sssp.png x-contacts: - jusong.yu@epfl.ch @@ -21,7 +21,7 @@ info: - name: AiiDAlab SSSP app productId: servers: - - url: https://materials-marketplace.aiidalab.net + - url: https://aiidalab.materials-marketplace.eu paths: diff --git a/marketplace/openapi-uc3app.yml b/marketplace/openapi-uc3app.yml new file mode 100644 index 0000000..ed74c50 --- /dev/null +++ b/marketplace/openapi-uc3app.yml @@ -0,0 +1,57 @@ +--- +openapi: 3.0.0 + +info: + title: AiiDAlab UC3 App + description: OpenAPI Specification of the MarketPlace AiiDAlab deployment + version: 0.1.0 + x-application-name: AiiDAlab UC3 App + x-oauth-client: + client-id: + scopes: + - email + - openid + - profile + callback: https://aiidalab.materials-marketplace.eu/hub/oauth_callback + x-external-hostname: https://aiidalab.materials-marketplace.eu + x-image: https://raw.githubusercontent.com/aiidalab/aiidalab-widgets-base/master/miscellaneous/logos/aiidalab.png + x-contacts: + - jusong.yu@epfl.ch + x-products: + - name: AiiDAlab UC3 app + productId: +servers: + - url: https://aiidalab.materials-marketplace.eu + +paths: + + + hub/user-redirect/apps/apps/home/open_app.ipynb?app=mp-uc3&redirect=user-redirect/apps/apps/mp-uc3/install_uc3.ipynb: + get: + description: UC3 App + operationId: frontend + security: + - bearerAuth: [] + responses: + '200': + description: Success + '404': + description: Page not found + + /hub/health: + get: + description: To check if an application is alive + operationId: heartbeat + security: [] + responses: + '200': + description: Success + '404': + description: Not found + +components: + securitySchemes: + bearerAuth: + type: http + scheme: bearer + bearerFormat: JWT