-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: initial first draft version #1
Conversation
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation. |
🦙 MegaLinter status:
|
Descriptor | Linter | Files | Fixed | Errors | Elapsed time |
---|---|---|---|---|---|
✅ ACTION | actionlint | 3 | 0 | 0.6s | |
✅ CSHARP | csharpier | 2 | 0 | 1.52s | |
roslynator | 1 | 1 | 9.52s | ||
✅ DOCKERFILE | hadolint | 1 | 0 | 0.07s | |
✅ EDITORCONFIG | editorconfig-checker | 20 | 0 | 0.03s | |
✅ JSON | eslint-plugin-jsonc | 3 | 0 | 1.37s | |
✅ JSON | jsonlint | 3 | 0 | 0.25s | |
✅ JSON | prettier | 3 | 0 | 0.83s | |
✅ JSON | v8r | 3 | 0 | 2.57s | |
markdownlint | 1 | 1 | 0.53s | ||
✅ REPOSITORY | checkov | yes | no | 11.83s | |
✅ REPOSITORY | dustilock | yes | no | 0.01s | |
✅ REPOSITORY | gitleaks | yes | no | 0.15s | |
✅ REPOSITORY | git_diff | yes | no | 0.01s | |
✅ REPOSITORY | grype | yes | no | 12.31s | |
✅ REPOSITORY | kics | yes | no | 6.04s | |
✅ REPOSITORY | secretlint | yes | no | 1.04s | |
✅ REPOSITORY | syft | yes | no | 0.42s | |
✅ REPOSITORY | trivy | yes | no | 5.27s | |
✅ REPOSITORY | trivy-sbom | yes | no | 4.97s | |
✅ REPOSITORY | trufflehog | yes | no | 9.51s | |
✅ YAML | prettier | 5 | 0 | 0.7s | |
✅ YAML | v8r | 5 | 0 | 7.98s | |
✅ YAML | yamllint | 5 | 0 | 0.42s |
See detailed report in MegaLinter reports
You could have same capabilities but better runtime performances if you request a new MegaLinter flavor.
} | ||
); | ||
|
||
using var minio = new MinioClient() |
Check warning
Code scanning / CodeQL
Missing Dispose call on local IDisposable Warning
foreach (var item in allObjects) | ||
{ | ||
var objectUrl = $"s3://{S3BucketName}/{item.Key}"; | ||
|
||
var parameter = new Parameters.ParameterComponent() | ||
{ | ||
Name = "source", | ||
Part = | ||
[ | ||
new Parameters.ParameterComponent() | ||
{ | ||
Name = "resourceType", | ||
Value = new Code(ImportResourceType.ToString()) | ||
}, | ||
new Parameters.ParameterComponent() | ||
{ | ||
Name = "mode", | ||
Value = new Code("merge") | ||
}, | ||
new Parameters.ParameterComponent() | ||
{ | ||
Name = "url", | ||
Value = new FhirUrl(objectUrl) | ||
} | ||
] | ||
}; | ||
|
||
var importParameters = new Parameters(); | ||
// for now, create one Import request per file. In the future, | ||
// we might want to add multiple ndjson files at once in batches. | ||
importParameters.Parameter.Add(parameter); | ||
|
||
Console.WriteLine(importParameters.ToJson()); | ||
|
||
Console.WriteLine($"Running {PathlingServerBaseUrl}/$import for {objectUrl}"); | ||
|
||
var response = await fhirClient.WholeSystemOperationAsync("import", importParameters); | ||
Console.WriteLine(response.ToJson()); | ||
} |
Check notice
Code scanning / CodeQL
Missed opportunity to use Select Note
maps its iteration variable to another variable
🎉 This PR is included in version 1.0.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
No description provided.