Commit Graph

29 Commits

Author SHA1 Message Date
Emma Indal 7cb5788e9c clean up deprecations of techdocs plugin
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-03-14 22:39:17 +01:00
Denis Aoki aa8f764a3e techdocs(sanitizer): adds iframe support (#8237)
Signed-off-by: dnsaoki2 <dnsaoki@gmail.com>
2021-12-27 12:01:22 +01:00
Otto Sichert b23bc7f9c3 Change default port of backend to 7007 due to MacOS Control Center update
Signed-off-by: Otto Sichert <git@ottosichert.de>
2021-11-18 16:45:57 +01:00
Eric Peterson add5ee5d97 Use lower-case links within techdocs plugin; allow legacy behavior with config.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-08-10 13:38:07 +02:00
Fredrik Adelöw a88073c29a Update copyright headers
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-06-18 20:26:42 +02:00
Himanshu Mishra e7baa0d2ed TechDocs: Separate backend and frontend config schema declarations
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-03-16 15:48:46 +01:00
r.bideau ca4a904f6b Add techdocs.publisher.awsS3.endpoint config option
Signed-off-by: r.bideau <7304827+rbideau@users.noreply.github.com>
2021-03-08 13:56:32 +01:00
erdoganoksuz aa095e469f pull request feedbacks fix.
Signed-off-by: Mert Can Bilgiç <mert.bilgic@trendyol.com>
2021-03-03 12:16:21 +03:00
Mert Can Bilgiç 54e711826f capp config type has changed
Signed-off-by: Mert Can Bilgiç <mert.bilgic@trendyol.com>
2021-03-03 11:46:28 +03:00
erdoganoksuz de313a1c94 swift publisher
Signed-off-by: Mert Can Bilgiç <mert.bilgic@trendyol.com>
2021-03-03 11:46:02 +03:00
Fredrik Adelöw 6ba3a6d39f Merge pull request #4500 from backjo/feature/aws-assume-role
feat: add support for assuming role in plugins that use AWS
2021-02-22 08:32:52 +01:00
Jonah Back a5ff1a1e0f Address review comments 2021-02-18 15:34:54 -08:00
Fredrik Adelöw f37992797a got rid of some attr and cleaned up a bit in techdocs schema 2021-02-18 11:15:18 +01:00
Jonah Back 86c391d260 Make roleArn optional
Co-authored-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-02-11 12:27:37 -08:00
Jonah Back 2499f6cdef feat: add support for assuming role in plugins that use AWS
Signed-off-by: Jonah Back <jback@legalzoom.com>
2021-02-11 11:06:22 -08:00
Himanshu Mishra 93a53ea093 TechDocs: Use @deprecated for techdocs config urls 2021-02-02 23:16:09 +01:00
Parth Shandilya e44925723e TechDocs: Make requestUrl and storageUrl optional configs by using discovery APIs
closes #3715

Co-authored-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-02-02 13:51:04 +01:00
vitorgrenzel 0be9694aa6 feat(techdocs-common): update Azure Blob Storage 2021-01-28 16:17:27 -03:00
vitorgrenzel 59b8d5a0d9 feat(techdocs-common): add Azure Blob Storage 2021-01-28 16:16:22 -03:00
vitorgrenzel c777df180a feat(techdocs-common): add Azure Storage 2021-01-28 16:16:21 -03:00
Himanshu Mishra fda570687e Update plugins/techdocs/config.d.ts
Co-authored-by: Emma Indal <emmai@spotify.com>
2021-01-12 14:43:52 +01:00
Himanshu Mishra 16b73697a3 TechDocs/AWS: Enable authentication using env variables and ~/.aws/config shared file
If authentication secrets are provided in app-config.yaml, it will be used. If not, environment variables AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY and AWS_REGION will be used. If not present, ~/.aws/config will be used to read the configs.

https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/loading-node-credentials-environment.html
https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/loading-node-credentials-shared.html
https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/setting-region.html
2021-01-12 11:41:00 +01:00
Himanshu Mishra bcc27a495d TechDocs: doc improvements
Co-authored-by: Emma Indal <emmai@spotify.com>
2021-01-11 14:04:17 +01:00
Himanshu Mishra e7954559ab TechDocs/GCS: Remove projectId since it is not needed
I initially thought the GCS Nodejs client would make use of it, since it asked for it in the contructor. However, we may not need them at all. Buckets are gloablly unique anyway.
2021-01-09 16:29:42 +01:00
Himanshu Mishra 1ef5d0f13c TechDocs/GCS: Enable authentication using environemnt variables
GOOGLE_APPLICATION_CREDENTIALS is the environment variable used by the client. Compute Engine, Google Kubernetes Engine, App Engine, Cloud Run, and Cloud Functions automatically provide a default service account and set this env variable.
https://cloud.google.com/docs/authentication/production
2021-01-09 16:07:39 +01:00
Remi 3418938a64 feat(techdocs): update config schema 2020-12-30 10:25:58 +01:00
keshan 851dde45f7 updated the missed attr change 2020-12-21 16:31:01 +05:30
keshan e53d4a2ca8 updated based on the feedbacks provided 2020-12-21 16:26:58 +05:30
keshan 359f9d2d8c Introduced config schema for techdocs plugins 2020-12-21 16:26:57 +05:30