Skip to content

Commit

Permalink
Update server specs
Browse files Browse the repository at this point in the history
  • Loading branch information
matsbov committed Apr 4, 2024
1 parent 1745492 commit 49907cb
Show file tree
Hide file tree
Showing 8 changed files with 332 additions and 83 deletions.
27 changes: 17 additions & 10 deletions src/specs/collections
Original file line number Diff line number Diff line change
Expand Up @@ -953,6 +953,10 @@ components:
lastUpdated:
type: string
format: date-time
institutionId:
type: object
providerMapId:
type: object
listOfCollectionCodesForLookup:
type: array
items:
Expand Down Expand Up @@ -1037,10 +1041,6 @@ components:
format: double
focus:
type: string
institutionId:
type: object
providerMapId:
type: object
Contact:
type: object
properties:
Expand Down Expand Up @@ -1530,6 +1530,8 @@ components:
lastUpdated:
type: string
format: date-time
institutionId:
type: object
attributionList:
type: array
items:
Expand Down Expand Up @@ -1594,8 +1596,6 @@ components:
format: double
focus:
type: string
institutionId:
type: object
verified:
type: boolean
creativeCommons:
Expand Down Expand Up @@ -1906,7 +1906,14 @@ components:
uri:
type: string
securitySchemes:
sessionCookie:
type: apiKey
name: jsessionid
in: cookie
openIdConnect:
type: openIdConnect
openIdConnectUrl: https://auth.biodiversitydata.se/cas/oidc/.well-known
oauth:
type: oauth2
flows:
clientCredentials:
scopes: {}
authorizationCode:
authorizationUrl: https://auth.biodiversitydata.se/cas/oidc
scopes: {}
24 changes: 20 additions & 4 deletions src/specs/images
Original file line number Diff line number Diff line change
Expand Up @@ -3284,7 +3284,23 @@ paths:
- image-service/write
components:
securitySchemes:
sessionCookie:
type: apiKey
name: jsessionid
in: cookie
openIdConnect:
type: openIdConnect
openIdConnectUrl: https://auth.biodiversitydata.se/cas/oidc/.well-known
oauth:
type: oauth2
flows:
clientCredentials:
authorizationUrl: https://auth.biodiversitydata.se/cas/oidc/authorize
tokenUrl: https://auth.biodiversitydata.se/cas/oidc/token
refreshUrl: https://auth.biodiversitydata.se/cas/oidc/refresh
scopes:
image-service/read: Read or list any or all images records
image-service/write: Write to an images record
authorizationCode:
authorizationUrl: https://auth.biodiversitydata.se/cas/oidc/authorize
tokenUrl: https://auth.biodiversitydata.se/cas/oidc/token
refreshUrl: https://auth.biodiversitydata.se/cas/oidc/refresh
scopes:
image-service/read: Read or list any or all images records
image-service/write: Write to an images record
14 changes: 10 additions & 4 deletions src/specs/lists
Original file line number Diff line number Diff line change
Expand Up @@ -908,7 +908,13 @@ components:
items:
type: string
securitySchemes:
sessionCookie:
type: apiKey
name: jsessionid
in: cookie
openIdConnect:
type: openIdConnect
openIdConnectUrl: https://auth.biodiversitydata.se/cas/oidc/.well-known
oauth:
type: oauth2
flows:
clientCredentials:
scopes: {}
authorizationCode:
scopes: {}
19 changes: 15 additions & 4 deletions src/specs/logger
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,18 @@ components:
format: int32
writeOnly: true
securitySchemes:
sessionCookie:
type: apiKey
name: jsessionid
in: cookie
openIdConnect:
type: openIdConnect
openIdConnectUrl: https://auth.biodiversitydata.se/cas/oidc/.well-known
oauth:
type: oauth2
flows:
clientCredentials:
tokenUrl: https://auth.biodiversitydata.se/cas/oidc/token
refreshUrl: https://auth.biodiversitydata.se/cas/oidc/refresh
scopes: {}
authorizationCode:
authorizationUrl: https://auth.biodiversitydata.se/cas/oidc/authorize
tokenUrl: https://auth.biodiversitydata.se/cas/oidc/token
refreshUrl: https://auth.biodiversitydata.se/cas/oidc/refresh
scopes: {}
2 changes: 1 addition & 1 deletion src/specs/records

Large diffs are not rendered by default.

20 changes: 16 additions & 4 deletions src/specs/spatial
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,19 @@ components:
centroid:
type: string
securitySchemes:
sessionCookie:
type: apiKey
name: jsessionid
in: cookie
openIdConnect:
type: openIdConnect
openIdConnectUrl: https://auth-test.ala.org.au/cas/oidc/.well-known
oauth:
type: oauth2
flows:
clientCredentials:
authorizationUrl: https://auth.biodiversitydata.se/cas/oidc/authorize
tokenUrl: https://auth.biodiversitydata.se/cas/oidc/token
refreshUrl: https://auth.biodiversitydata.se/cas/oidc/refresh
scopes: {}
authorizationCode:
authorizationUrl: https://auth.biodiversitydata.se/cas/oidc/authorize
tokenUrl: https://auth.biodiversitydata.se/cas/oidc/token
refreshUrl: https://auth.biodiversitydata.se/cas/oidc/refresh
scopes: {}
Loading

0 comments on commit 49907cb

Please sign in to comment.