Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Manntallsrapport for Evalg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
it-bott-integrasjoner
Manntallsrapport for Evalg
Merge requests
!12
MFE-6 Use Redis to cache SAP responses
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
MFE-6 Use Redis to cache SAP responses
MFE-6-caching
into
master
Overview
6
Commits
12
Pipelines
5
Changes
23
Merged
Trond Aasan
requested to merge
MFE-6-caching
into
master
3 years ago
Overview
6
Commits
12
Pipelines
5
Changes
1
Expand
https://jira.usit.uio.no/browse/MFE-6
0
0
Merge request reports
Compare
version 1
version 4
be581afc
3 years ago
version 3
0a7d7cc3
3 years ago
version 2
2f2fe63e
3 years ago
version 1
884a53e5
3 years ago
master (base)
and
version 2
latest version
047eda22
12 commits,
3 years ago
version 4
be581afc
12 commits,
3 years ago
version 3
0a7d7cc3
12 commits,
3 years ago
version 2
2f2fe63e
12 commits,
3 years ago
version 1
884a53e5
10 commits,
3 years ago
Show latest version
1 file
+
14
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
README.md
+
14
−
2
Options
@@ -48,8 +48,20 @@ npm start
Lag konfigurasjon i
`config.yaml`
#### Redis
[
Redis
](
https://redis.io/
)
brukes til å cache data slik at vi ikke bombarderer trege API-er.
Kan for eksempel kjøres med docker
```
shell
docker run
-e
REDIS_PASSWORD
=
see_config
-p
6379:6379 harbor.uio.no/library/registry.redhat.io-rhscl-redis-5-rhel7
```
#### FastAPI
```
shell
OAUTHLIB_INSECURE_TRANSPORT
=
1 poetry run python mfe_ms/backend/api.py
OAUTHLIB_RELAX_TOKEN_SCOPE
=
1
OAUTHLIB_INSECURE_TRANSPORT
=
1 poetry run python mfe_ms/backend/api.py
```
Gå til http://localhost:4000
@@ -57,4 +69,4 @@ Gå til http://localhost:4000
### GraphiQL
http://localhost:4000/api/graphql/
Hvis
`GraphQLConfig.enable_gui`
er satt til
`True`
får man opp et GraphQL GUI på
http://localhost:4000/api/graphql/
Loading