Skip to content

Commit

Permalink
Format/rearrange files
Browse files Browse the repository at this point in the history
  • Loading branch information
clementguillot committed Mar 1, 2024
1 parent 672a96c commit 3c78bb5
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Since Nx Cloud is a proprietary software from Narwhal Technologies Inc., it is h
## Project structure

| Application/library | Summary |
|------------------------| ------------------------------------------------------------- |
|------------------------|---------------------------------------------------------------|
| [`apps/api`](apps/api) | Backend of Nx Cloud CE, handles requests from Nx Cloud client |

## External Code and Licenses
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ class S3Repository(
bucket = this@S3Repository.bucket.name
key = objectPath
}
return s3Client.presignGetObject(
getRequest,
presignExpiration,
).url.toString()
return s3Client
.presignGetObject(getRequest, presignExpiration)
.url
.toString()
}

override suspend fun generatePutUrl(objectPath: String): String {
Expand All @@ -35,9 +35,9 @@ class S3Repository(
bucket = this@S3Repository.bucket.name
key = objectPath
}
return s3Client.presignPutObject(
putRequest,
presignExpiration,
).url.toString()
return s3Client
.presignPutObject(putRequest, presignExpiration)
.url
.toString()
}
}
2 changes: 1 addition & 1 deletion apps/api/src/test/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ quarkus:
s3:
devservices:
enabled: true
buckets: [nx-cloud-ce]
buckets: [ nx-cloud-ce ]

nx-server:
application-url: http://localtest
Expand Down
12 changes: 6 additions & 6 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: "3.8"
services:
mongo:
image: mongo:7.0.5
command: ["--replSet", "rs0", "--bind_ip_all", "--port", "27017"]
command: [ "--replSet", "rs0", "--bind_ip_all", "--port", "27017" ]
ports:
- 27017:27017
extra_hosts:
Expand All @@ -21,7 +21,7 @@ services:
mongo-express:
image: mongo-express
ports:
- '9500:9500'
- "9500:9500"
environment:
ME_CONFIG_MONGODB_URL: mongodb://mongo:27017/
PORT: 9500
Expand All @@ -31,13 +31,13 @@ services:
environment:
MINIO_ROOT_USER: nx-cloud-ce
MINIO_ROOT_PASSWORD: nx-cloud-ce
MINIO_SERVER_URL: 'http://localhost:9000'
MINIO_STORAGE_USE_HTTPS: 'false'
MINIO_SERVER_URL: "http://localhost:9000"
MINIO_STORAGE_USE_HTTPS: "false"
volumes:
- minio-data:/data
ports:
- '9000:9000'
- '9001:9001'
- "9000:9000"
- "9001:9001"

volumes:
mongo-config-data:
Expand Down

0 comments on commit 3c78bb5

Please sign in to comment.