-
Notifications
You must be signed in to change notification settings - Fork 71
feat: optional object datastore #1248
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
Changes from 17 commits
e55d113
5e3b4bb
3b91a03
1e4943f
971a8d5
967291c
b92e2fc
c001f78
81eccb7
2bf9db7
6a8fdbd
4951f72
f587f3a
6d9b74e
bdc583a
3696153
37ca3ce
1742cde
4a5a238
05c46d2
17fd773
1284ae4
7cfaf60
4059ec6
8463de1
fa189bf
e48a472
8e67450
135ac54
9d14210
5e5aacb
d256c88
e804430
c2c88e0
4ee7817
8724924
4eb359c
7283567
86f0772
86d3a89
f229ccc
56ba520
490cda0
234251b
a5883f2
1803a6a
4fd2b2a
6f8f3ca
c84a57a
0eb3b03
604fc12
049fec6
7021679
390e058
8d42610
4d04c46
fc33dbd
0e0302e
ac2e4d8
393338f
b22846f
7d88b7c
b7b835e
0c30df1
e20b678
9d9f227
3107ae8
84ca2d3
7d222f7
34a0bd2
8beef65
41462e1
8f9ccb7
92ab90d
32eeff2
a14bc79
8d0564e
31e0424
f259a2d
5b5ecce
1242fb0
50f8063
adcdfd2
b1115fd
2bbb315
a0e5de2
058fe16
ba148dd
f2aca84
fd6e845
ea079b9
f10de6d
1c3c7d4
6d4933e
2b8a9f0
1592618
4af3165
218b926
b3a30be
1c2d5d9
173ad8e
2d828dd
cd0e8ce
dfd4bf8
26be008
4c709b4
b766616
9e84192
ec5f5e5
d35f7d1
5eb1ce1
35a492c
0dce239
1bec28f
7a3e653
9a12e7b
cbaae91
8e56eda
a1a8a76
f391205
adc3c78
c98120d
66abbbd
2fabd10
66b3272
0634e6c
1c3e6c0
3b618b2
6936783
9adcd30
bb50f79
4484293
d82475d
9406202
156269c
9f60891
1821026
931f578
7673ea8
9fbc6d4
fda2ee3
3d4e39c
70d8166
2dacbf1
a0833b7
d2f9482
68dc979
d369e8c
1e65e77
6f0f282
2900d93
3788bdf
9e6232e
514b4c9
ff51f85
72feea0
e4afaf2
cdb84ff
9319aa0
2513820
76b00cd
3c34b57
147c421
4e39fc2
877306b
734883c
a1d3149
e2eba6e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -6,16 +6,18 @@ API_ENDPOINT=your-ip:5000 | |||||
|
|
||||||
| FRONT_END_URL=http://localhost:3001 | ||||||
|
|
||||||
| FILE_STORAGE_PROVIDER=minio | ||||||
|
|
||||||
| MOBILE_APP=ADEYA | ||||||
| MOBILE_APP_NAME=ADEYA SSI App | ||||||
| MOBILE_APP_DOWNLOAD_URL='https://blockster.global/products/adeya' | ||||||
| PLAY_STORE_DOWNLOAD_LINK=https://play.google.com/store/apps/details?id=id.credebl.adeya&pli=1 | ||||||
| IOS_DOWNLOAD_LINK=https://apps.apple.com/in/app/adeya-ssi-wallet/id6463845498 | ||||||
|
|
||||||
| PLATFORM_NAME=CREDEBL | ||||||
| POWERED_BY=Blockster Labs Pvt. Ltd. | ||||||
| POWERED_BY=CREDEBL a Series of LF Projects, LLC | ||||||
| PLATFORM_WEB_URL=https://credebl.id/ | ||||||
| POWERED_BY_URL=https://blockster.global | ||||||
| POWERED_BY_URL=https://lfprojects.org | ||||||
| UPLOAD_LOGO_HOST=devapi.credebl.id | ||||||
| BRAND_LOGO=https://credebl.id/images/CREDEBL_LOGO.png | ||||||
| [email protected] | ||||||
|
|
@@ -29,7 +31,7 @@ NATS_URL=nats://your-ip:4222 | |||||
| REDIS_HOST=your-ip | ||||||
| REDIS_PORT=6379 | ||||||
|
|
||||||
| SENDGRID_API_KEY= | ||||||
| SENDGRID_API_KEY= | ||||||
|
|
||||||
| WALLET_STORAGE_HOST=your-ip | ||||||
| WALLET_STORAGE_PORT=5432 | ||||||
|
|
@@ -45,8 +47,7 @@ PUBLIC_DEV_API_URL=https://devapi.credebl.id | |||||
| PUBLIC_QA_API_URL=https://qa-api.credebl.id | ||||||
| PUBLIC_PRODUCTION_API_URL=https://api.credebl.id | ||||||
| PUBLIC_SANDBOX_API_URL=https://sandboxapi.credebl.id | ||||||
| [email protected] | ||||||
|
|
||||||
| [email protected] | ||||||
| AFJ_VERSION=ghcr.io/credebl/credo-controller:latest | ||||||
|
|
||||||
| PLATFORM_WALLET_NAME=platform-admin | ||||||
|
|
@@ -58,33 +59,42 @@ PLATFORM_ID=1 | |||||
| POOL_DATABASE_URL="postgresql://postgres:postgres@your-ip:5432/credebl" | ||||||
| DATABASE_URL="postgresql://postgres:postgres@your-ip:5432/credebl" | ||||||
|
|
||||||
| # MinIO Config : Use the same buckets as below three mentioned with AWS S3 config | ||||||
| MINIO_ENDPOINT=localhost | ||||||
| MINIO_PORT=9000 | ||||||
| MINIO_USE_SSL=false | ||||||
| MINIO_ACCESS_KEY= | ||||||
| MINIO_SECRET_KEY= | ||||||
|
|
||||||
| # Used for Bulk issuance of credential | ||||||
| # Optional (Can be skipped if Bulk issuance is not used) | ||||||
| AWS_ACCESS_KEY= | ||||||
| AWS_SECRET_KEY= | ||||||
| AWS_REGION= | ||||||
| AWS_BUCKET= | ||||||
| # Bucket for Bulk issuance of credential | ||||||
| FILE_BUCKET= | ||||||
|
|
||||||
| # Used for Adding org-logo during org creation and update | ||||||
| # Optional (Can be skipped if no image is added during org creation and updation) | ||||||
| AWS_PUBLIC_ACCESS_KEY= | ||||||
| AWS_PUBLIC_SECRET_KEY= | ||||||
| AWS_PUBLIC_REGION= | ||||||
| AWS_ORG_LOGO_BUCKET_NAME= | ||||||
| # Bucket for Adding org-logo during org creation and update | ||||||
| ORG_LOGO_BUCKET= | ||||||
|
|
||||||
| # Used for storing connection URL generated from Agent and creating shortened URL | ||||||
| # Required (As connecting to org requires Shortened url) | ||||||
| AWS_S3_STOREOBJECT_ACCESS_KEY= | ||||||
| AWS_S3_STOREOBJECT_SECRET_KEY= | ||||||
| AWS_S3_STOREOBJECT_REGION= | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix trailing whitespace and consider renaming for consistency. Line 87 has trailing whitespace after the equals sign, which should be removed. Additionally, consider renaming Apply this diff to fix the whitespace: -AWS_S3_STOREOBJECT_REGION=
+AWS_S3_STOREOBJECT_REGION=Or apply this diff to fix both issues: -AWS_S3_STOREOBJECT_REGION=
+STORE_OBJECT_REGION=📝 Committable suggestion
Suggested change
🧰 Tools🪛 dotenv-linter (3.3.0)[warning] 87-87: [SpaceCharacter] The line has spaces around equal sign (SpaceCharacter) [warning] 87-87: [TrailingWhitespace] Trailing whitespace detected (TrailingWhitespace) [warning] 87-87: [UnorderedKey] The AWS_S3_STOREOBJECT_REGION key should go before the AWS_S3_STOREOBJECT_SECRET_KEY key (UnorderedKey) 🤖 Prompt for AI Agents |
||||||
| AWS_S3_STOREOBJECT_BUCKET= | ||||||
| # Used for storing offer URLs generated from Agent and creating shortened URL | ||||||
| STORE_OBJECT_BUCKET= | ||||||
|
|
||||||
| # Please refere AWS to determine your bucket url | ||||||
| # https://docs.aws.amazon.com/AmazonS3/latest/userguide/VirtualHosting.html#path-style-access | ||||||
| SHORTENED_URL_DOMAIN='https://AWS_S3_STOREOBJECT_REGION.amazonaws.com/AWS_S3_STOREOBJECT_BUCKET' | ||||||
| DEEPLINK_DOMAIN='https://link.credebl.id?url=' | ||||||
|
|
||||||
| ENABLE_CORS_IP_LIST=http://localhost:3000, http://localhost:3001, http://localhost:5000,http://localhost:8085,https://verify.credebl.id,https://verifyed.credebl.id,https://verify-api.credebl.id,https://qa.credebl.id,https://dev.credebl.id,https://credebl.id | ||||||
| ENABLE_CORS_IP_LIST=http://localhost:3000,http://localhost:3001,http://localhost:5000,http://localhost:8085 | ||||||
|
|
||||||
| USER_NKEY_SEED= | ||||||
| API_GATEWAY_NKEY_SEED= | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,57 @@ | ||
| name: "🚀 Feature Request" | ||
| description: Suggest an idea or enhancement for this project | ||
| labels: [enhancement] | ||
| title: "feat: " | ||
| body: | ||
| - type: checkboxes | ||
| id: agreement | ||
| attributes: | ||
| label: Preliminary Checks | ||
| options: | ||
| - label: "I've read the [contibution guide](https://docs.credebl.id/docs/contribute/how-to-contribute) and agree to it" | ||
| required: true | ||
| - label: "I have searched [existing issues](https://github.com/credebl/platform/issues) and [pull requests](https://github.com/credebl/platform/pulls) to avoid duplicates." | ||
| required: true | ||
| - label: "I'm willing to create a PR for this feature. (if applicable)." | ||
| - type: markdown | ||
| attributes: | ||
| value: | | ||
| ## 🧩 Problem Statement | ||
|
|
||
| _Is your feature request related to a problem? Please describe it clearly._ | ||
|
|
||
| > Ex: I'm always frustrated when [...] | ||
|
|
||
| --- | ||
|
|
||
| ## 💡 Proposed Solution | ||
|
|
||
| _A clear and concise description of what you want to happen._ | ||
|
|
||
| > Ex: It would be great if [...] | ||
|
|
||
| --- | ||
|
|
||
| ## 🔄 Alternatives Considered | ||
|
|
||
| _Have you considered any alternative solutions or features?_ | ||
|
|
||
| > Ex: I also thought about [...], but [...] | ||
|
|
||
| --- | ||
|
|
||
| ## 📎 Additional Context | ||
|
|
||
| _Add any other context, references, mockups, or screenshots here._ | ||
|
|
||
| --- | ||
|
|
||
| ## ✅ Acceptance Criteria | ||
|
|
||
| _List specific tasks or outcomes that define when this request is complete._ | ||
|
|
||
| - A new endpoint `/v1/...` is added | ||
| - Docs updated | ||
| - Tests written and passing | ||
| validations: | ||
| required: false |
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,71 @@ | ||
| name: "🐛 Bug Report" | ||
| description: Report a bug or unexpected behavior in the project | ||
| labels: [bug] | ||
| title: "fix: " | ||
| body: | ||
| - type: checkboxes | ||
| id: agreement | ||
| attributes: | ||
| label: Preliminary Checks | ||
| options: | ||
| - label: I have read the contributions guide [contibution guide](https://docs.credebl.id/docs/contribute/how-to-contribute) and agree to it | ||
| required: true | ||
| - label: I have searched [existing issues](https://github.com/credebl/platform/issues) and [pull requests](https://github.com/credebl/platform/pulls) to avoid duplicates. | ||
| required: true | ||
| - label: "I'm willing to create a PR for this feature. (if applicable)." | ||
| - type: markdown | ||
| attributes: | ||
| value: | | ||
| ## 🐞 Bug Description | ||
|
|
||
| _A clear and concise description of what the bug is._ | ||
|
|
||
| When I try to [...], I get this unexpected behavior [...] | ||
|
|
||
| --- | ||
|
|
||
| ## 🧪 Steps to Reproduce | ||
|
|
||
| _Provide clear steps to reproduce the bug._ | ||
|
|
||
| 1. Go to '...' | ||
| 2. Click on '...' | ||
| 3. Scroll down to '...' | ||
| 4. See error | ||
|
|
||
| --- | ||
|
|
||
| ## ✅ Expected Behavior | ||
|
|
||
| _What did you expect to happen?_ | ||
|
|
||
| --- | ||
|
|
||
| ## ❌ Actual Behavior | ||
|
|
||
| _What actually happened instead?_ | ||
|
|
||
| --- | ||
|
|
||
| ## 📌 Affected Version/Commit | ||
|
|
||
| _Version number, branch name, or commit hash where the bug occurs._ | ||
|
|
||
| --- | ||
|
|
||
| ## 💻 Environment | ||
|
|
||
| _Where did the issue occur?_ | ||
|
|
||
| - [ ] Local development | ||
| - [ ] Production | ||
| - [ ] CI/CD | ||
| - [ ] Other | ||
|
|
||
| --- | ||
|
|
||
| ## 🧾 Relevant Logs, Screenshots, or Stack Traces | ||
|
|
||
| _Paste any error messages or screenshots that can help diagnose the issue._ | ||
| validations: | ||
| required: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🛠️ Refactor suggestion | 🟠 Major
Add quotes around the value.
The value contains spaces and should be quoted to ensure reliable parsing across all .env implementations.
Apply this diff:
📝 Committable suggestion
🧰 Tools
🪛 dotenv-linter (3.3.0)
[warning] 18-18: [ValueWithoutQuotes] This value needs to be surrounded in quotes
(ValueWithoutQuotes)
🤖 Prompt for AI Agents