Starting May 1st we will delete old versions of uploaded container images from the container registry. More Details

...
 
......@@ -306,15 +306,15 @@ class Api {
async getInfo() {
if (!this._cachedInfo) {
this.onStartLoading()
const loadInfo = async() => {
const client = await this.swaggerPromise
return client.apis.info.get_info()
.catch(this.handleApiError)
.then(response => response.body)
}
this._cachedInfo = await loadInfo()
this.onFinishLoading()
this._cachedInfo = this.swaggerPromise
.then(client => {
return client.apis.info.get_info()
.catch(this.handleApiError)
.then(response => {
this.onFinishLoading()
return response.body
})
})
}
return this._cachedInfo
}
......
This diff is collapsed.
......@@ -16,24 +16,24 @@ export default class EMSEntryOverview extends React.Component {
<Quantity row>
<Quantity column>
<Quantity row>
<Quantity quantity='formula' label='sample formula' noWrap {...this.props} />
<Quantity quantity='chemical' label='sample chemical' noWrap {...this.props} />
<Quantity quantity="formula" label="sample formula" noWrap {...this.props} />
<Quantity quantity="chemical" label="sample chemical" noWrap {...this.props} />
</Quantity>
<Quantity quantity='method' label='experimental method' noWrap {...this.props} />
<Quantity quantity='experiment_location' label='experiment location' noWrap {...this.props} />
<Quantity label='experiment time' {...this.props}>
<Quantity quantity="method" label="experimental method" noWrap {...this.props} />
<Quantity quantity="experiment_location" label="experiment location" noWrap {...this.props} />
<Quantity label="experiment time" {...this.props}>
<Typography noWrap>
{new Date(data.experiment_time * 1000).toLocaleString()}
</Typography>
</Quantity>
<Quantity label='data' {...this.props}>
<Quantity label="data" {...this.props}>
<Typography noWrap>
<a href={data.repository_url}>{data.repository_name}</a>
</Typography>
</Quantity>
</Quantity>
<Quantity label='preview' {...this.props}>
<img style={{maxWidth: '100%', height: 'auto'}} src={data.preview_url}></img>
<Quantity label="preview" {...this.props}>
<img alt="preview" style={{maxWidth: '100%', height: 'auto'}} src={data.preview_url}></img>
</Quantity>
</Quantity>
)
......
......@@ -17,10 +17,10 @@ data:
logstash:
enabled: true
host: "{{ .Values.logstash.host }}"
tcpport: "{{ .Values.logstash.port }}"
tcpport: {{ .Values.logstash.port }}
services:
api_host: "{{ .Values.proxy.external.host }}"
api_port: "{{ .Values.proxy.external.port }}"
api_port: {{ .Values.proxy.external.port }}
api_base_path: "{{ .Values.proxy.external.path }}/api"
api_secret: "{{ .Values.api.secret }}"
admin_password: "{{ .Values.api.adminPassword }}"
......
export NOMAD_CLIENT_URL=https://labdev-nomad.esc.rzg.mpg.de/fairdi/nomad/experiments/api
export NOMAD_CLIENT_USER=admin
export NOMAD_FS_MIGRATION_PACKAGES=/nomad/fairdi/migration/fs/migration_packages
export NOMAD_MONGO_DB_NAME=coe_migration
proxy:
nodePort: 30003
external:
host: "labdev-nomad.esc.rzg.mpg.de"
path: "/fairdi/nomad/experiments"
api:
disableReset: false
worker:
replicas: 1
dbname: fairdi_nomad_migration
uploadurl: 'https://labdev-nomad.rzg.mpg.de/fairdi/nomad/experiments/upload'
volumes:
prefixSize: 2
public: /nomad/fairdi/experiments/fs/public
staging: /scratch/fairdi/experiments/fs/staging
tmp: /nomad/fairdi/experiments/fs/tmp
nomad: /nomad
export NOMAD_CLIENT_URL=https://labdev-nomad.esc.rzg.mpg.de/fairdi/nomad/latest/api
export NOMAD_CLIENT_USER=admin
export NOMAD_FS_MIGRATION_PACKAGES=/nomad/fairdi/migration/fs/migration_packages
export NOMAD_FS_MIGRATION_PACKAGES=/nomad/fairdi/migration/fs/migration_packages
export NOMAD_MONGO_DB_NAME=coe_migration
\ No newline at end of file