Skip to content

Commit 8cb326e

Browse files
author
Jose Bovet Derpich
committed
feat: add environment variables provider to ecosystem open-feature#530
This commit adds "Environment Variable" to ecosystem page. It includes the necessary code changes to import the provider and add it to the list in the index file.
1 parent 380bc0b commit 8cb326e

File tree

3 files changed

+33
-0
lines changed

3 files changed

+33
-0
lines changed

src/datasets/providers/env-var.ts

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
import EnvVarSvg from '@site/static/img/env-var-no-fill.svg';
2+
import { Provider } from '.';
3+
4+
export const EnvVar: Provider = {
5+
name: 'Environment Variable ',
6+
logo: EnvVarSvg,
7+
technologies: [
8+
{
9+
technology: 'JavaScript',
10+
vendorOfficial: true,
11+
href: 'https://github.com/open-feature/js-sdk-contrib/tree/main/libs/providers/env-var',
12+
category: ['Server'],
13+
},
14+
{
15+
technology: 'Go',
16+
vendorOfficial: true,
17+
href: 'https://github.com/open-feature/go-sdk-contrib/tree/main/providers/from-env',
18+
category: ['Server'],
19+
},
20+
{
21+
technology: 'Java',
22+
vendorOfficial: true,
23+
href: 'https://github.com/open-feature/java-sdk-contrib/tree/main/providers/env-var',
24+
category: ['Server'],
25+
},
26+
],
27+
};

src/datasets/providers/index.ts

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import type { ComponentType, SVGProps } from 'react';
33
import { CloudBees } from './cloudbees';
44
import { ConfigCat } from './configcat';
55
import { DevCycle } from './devcycle';
6+
import { EnvVar } from './env-var';
67
import { Flagd } from './flagd';
78
import { Flagsmith } from './flagsmith';
89
import { Flipt } from './flipt';
@@ -22,6 +23,7 @@ export const PROVIDERS: Provider[] = [
2223
CloudBees,
2324
ConfigCat,
2425
DevCycle,
26+
EnvVar,
2527
FeatBit,
2628
Flagd,
2729
Flagsmith,

static/img/env-var-no-fill.svg

+4
Loading

0 commit comments

Comments
 (0)