Skip to content

Commit 21279f9

Browse files
authored
Merge branch 'master' into security-update
2 parents 17d881d + 08ecefc commit 21279f9

File tree

79 files changed

+5085
-1036
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+5085
-1036
lines changed

devguide.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,3 +143,5 @@ There is as also some manual testing scripts that can be run to validate the bui
143143
3. `tests/imageSizes/getImageSizes.js`: used to get the 10 largest images in the repo.
144144

145145
4. `npx mdspell 'src/**/*.md' -r --en-us`: used to validate spelling in docs, needs to be configured to add Segment terms.
146+
147+
5. Included is the [Hyperlink](https://www.npmjs.com/package/hyperlink) NPM module. Run `bundle install` to install that, plus the tap-spot plugin for pretty output. To check all links on the site, prior to build, run `yarn run hyperlink ./_site/index.html --canonicalroot https://segment.com/docs -i -r --skip 0.0.0.0 | yarn run tap-spot`. This module checks hyper links, images, and anchor tags to ensure that everything linked internally resolves to a location. **TODO**: Add support for external links.

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@
3939
"ajv": "6.10.2",
4040
"clipboard": "^2.0.6",
4141
"dotenv": "8.2.0",
42+
"hyperlink": "^4.5.2",
43+
"tap-spot": "^1.1.1",
4244
"tippy.js": "^5.2.0",
4345
"typewriter": "7.0.1"
4446
}

src/_data/catalog/destinations.yml

Lines changed: 262 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AUTOGENERATED FROM PLATFORM API. DO NOT EDIT
2-
# destination data last updated 2020-08-28
2+
# destination data last updated 2020-09-04
33
items:
44
- display_name: ActiveCampaign
55
slug: activecampaign
@@ -5744,6 +5744,143 @@ items:
57445744
server: true
57455745
previous_names:
57465746
- CustomerSuccessBox
5747+
- display_name: Data Lakes
5748+
slug: data-lakes
5749+
name: catalog/destinations/data-lakes
5750+
description: >-
5751+
Segment Data Lakes deploys a customer data lake where schematized and
5752+
optimized Segment data is landed in an object cloud store in a manner
5753+
optimized for Data Analytics and Data Science workloads.
5754+
5755+
5756+
Data Lakes blends the experience of using our existing S3 destination and a
5757+
warehouse destination. The product integrates with the AWS Glue Catalog and
5758+
publishes files in a binary, parquet encoding format, partitioned by event
5759+
type and date. These formats are optimized for use with systems like Spark,
5760+
Athena, or Machine Learning vendors like DataBricks or DataRobot.
5761+
hidden: false
5762+
url: connections/destinations/catalog/data-lakes
5763+
status: PUBLIC_BETA
5764+
logo:
5765+
url: 'https://cdn.filepicker.io/api/file/xVZHF2TLyINWfiXIypNw'
5766+
mark:
5767+
url: 'https://cdn.filepicker.io/api/file/zKQw43MuQjmTtXBXs4VL'
5768+
categories:
5769+
- Raw Data
5770+
- Analytics
5771+
components:
5772+
- type: CLOUD
5773+
platforms:
5774+
browser: true
5775+
server: true
5776+
mobile: true
5777+
browserUnbundlingSupported: false
5778+
browserUnbundlingPublic: false
5779+
methods:
5780+
alias: true
5781+
group: true
5782+
identify: true
5783+
page_view: true
5784+
track: true
5785+
settings:
5786+
- name: awsRegion
5787+
display_name: AWS Region
5788+
type: STRING
5789+
deprecated: false
5790+
required: true
5791+
string_validators:
5792+
regexp: >-
5793+
^(us(-gov)?|af|ap|ca|cn|me|eu|sa)-(central|(north|south)?(east|west)?)-\d$
5794+
description: 'The AWS Region where your EMR cluster, S3 Bucket and Glue DB reside.'
5795+
settings: []
5796+
- name: datePartition
5797+
display_name: Date Partition
5798+
type: SELECT
5799+
deprecated: false
5800+
required: false
5801+
select_validators:
5802+
select_options:
5803+
- day=__segment_day/hr=__segment_hr
5804+
- >-
5805+
year=__segment_received_year/month=__segment_received_month/day=__segment_received_day/hr=__segment_received_hour
5806+
- >-
5807+
year=__segment_received_year/month=__segment_received_month/day=__segment_received_day
5808+
- day=__segment_day
5809+
description: >-
5810+
Customize the date partition structure in Data Lakes based on the received
5811+
at time.
5812+
5813+
5814+
NOTE: If a change is made to the date partition structure, any tables
5815+
already created in Glue will need to be deleted, as well as any associated
5816+
data. If a partition is modified after a table has been created, any
5817+
future syncs will fail since the partition is no longer a match.
5818+
settings: []
5819+
- name: emrClusterId
5820+
display_name: EMR Cluster ID
5821+
type: STRING
5822+
deprecated: false
5823+
required: true
5824+
string_validators:
5825+
regexp: '^j-[A-Za-z0-9]+$'
5826+
description: The EMR Cluster ID where your jobs will be run.
5827+
settings: []
5828+
- name: glueCatalogId
5829+
display_name: Glue Catalog ID
5830+
type: STRING
5831+
deprecated: false
5832+
required: true
5833+
string_validators:
5834+
regexp: '^\d{12}$'
5835+
description: The Glue Catalog ID (this must be the same as your AWS account ID).
5836+
settings: []
5837+
- name: glueDatabase
5838+
display_name: Glue Database Name
5839+
type: STRING
5840+
deprecated: false
5841+
required: false
5842+
string_validators:
5843+
regexp: '^[a-z][a-z0-9_]*$'
5844+
description: >-
5845+
The name of the Glue Database where your schema will be written. By
5846+
default this is set to the source slug, however it can be modified using
5847+
this optional setting. Note that each source needs to have a different
5848+
name for its Glue Database otherwise data from different sources will
5849+
collide in one Database.
5850+
settings: []
5851+
- name: iamRoleArn
5852+
display_name: IAM Role ARN
5853+
type: STRING
5854+
deprecated: false
5855+
required: true
5856+
string_validators:
5857+
regexp: 'arn:aws:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+'
5858+
description: >-
5859+
The ARN of the IAM role that Segment will use to connect to your Data
5860+
Lake.
5861+
settings: []
5862+
- name: s3Bucket
5863+
display_name: S3 Bucket
5864+
type: STRING
5865+
deprecated: false
5866+
required: true
5867+
string_validators:
5868+
regexp: '^[a-z0-9]+[a-z0-9\-\.]*[a-z0-9]+$'
5869+
description: >-
5870+
Name of the S3 bucket used by the Data Lake. The EMR cluster will be
5871+
configured to store logs in this bucket.
5872+
settings: []
5873+
connection_modes:
5874+
device:
5875+
web: false
5876+
mobile: false
5877+
server: false
5878+
cloud:
5879+
web: true
5880+
mobile: true
5881+
server: true
5882+
previous_names:
5883+
- Data Lakes
57475884
- display_name: Delighted
57485885
slug: delighted
57495886
name: catalog/destinations/delighted
@@ -6895,6 +7032,15 @@ items:
68957032
Specify soft id which will be used in Exponea, typical name is 'cookie'.
68967033
The id must be already created in Exponea project.
68977034
settings: []
7035+
- name: flattenNestedObjects
7036+
display_name: Flatten nested objects
7037+
type: STRING
7038+
deprecated: false
7039+
required: false
7040+
string_validators:
7041+
regexp: ''
7042+
description: Enter a description.
7043+
settings: []
68987044
- name: projectToken
68997045
display_name: Project token
69007046
type: STRING
@@ -13026,24 +13172,6 @@ items:
1302613172
required: false
1302713173
description: Map your Segment properties to the Marketo Activity Fields
1302813174
settings:
13029-
- name: primaryKey
13030-
display_name: Set as Primary Key
13031-
type: BOOLEAN
13032-
deprecated: false
13033-
required: false
13034-
description: Mark this property as the Primary field in Marketo.
13035-
settings: []
13036-
- name: segmentProperty
13037-
display_name: Segment Property Name
13038-
type: STRING
13039-
deprecated: false
13040-
required: true
13041-
string_validators:
13042-
regexp: ''
13043-
description: >-
13044-
Enter the Segment Property Name. This is case sensitive so make sure
13045-
the name matches exactly how you are passing it in your .track() call.
13046-
settings: []
1304713175
- name: marketoAttributeName
1304813176
display_name: Marketo Field Name
1304913177
type: STRING
@@ -13068,6 +13196,24 @@ items:
1306813196
- date
1306913197
description: Enter the Marketo Field type.
1307013198
settings: []
13199+
- name: primaryKey
13200+
display_name: Set as Primary Key
13201+
type: BOOLEAN
13202+
deprecated: false
13203+
required: false
13204+
description: Mark this property as the Primary field in Marketo.
13205+
settings: []
13206+
- name: segmentProperty
13207+
display_name: Segment Property Name
13208+
type: STRING
13209+
deprecated: false
13210+
required: true
13211+
string_validators:
13212+
regexp: ''
13213+
description: >-
13214+
Enter the Segment Property Name. This is case sensitive so make sure
13215+
the name matches exactly how you are passing it in your .track() call.
13216+
settings: []
1307113217
- name: event
1307213218
display_name: Segment Event Name
1307313219
type: STRING
@@ -17075,24 +17221,6 @@ items:
1707517221
required: false
1707617222
description: Map your Segment properties to Responsys Columns
1707717223
settings:
17078-
- name: columns
17079-
display_name: Segment Property Name
17080-
type: STRING
17081-
deprecated: false
17082-
required: true
17083-
string_validators:
17084-
regexp: ''
17085-
description: Enter the Segment Property Name.
17086-
settings: []
17087-
- name: fieldName
17088-
display_name: Responsys Column Name
17089-
type: STRING
17090-
deprecated: false
17091-
required: true
17092-
string_validators:
17093-
regexp: ''
17094-
description: Enter the Responsys column name.
17095-
settings: []
1709617224
- name: fieldType
1709717225
display_name: Responsys Column Type
1709817226
type: SELECT
@@ -17117,6 +17245,24 @@ items:
1711717245
required: false
1711817246
description: Mark this property as a Primary Key in Responsys.
1711917247
settings: []
17248+
- name: columns
17249+
display_name: Segment Property Name
17250+
type: STRING
17251+
deprecated: false
17252+
required: true
17253+
string_validators:
17254+
regexp: ''
17255+
description: Enter the Segment Property Name.
17256+
settings: []
17257+
- name: fieldName
17258+
display_name: Responsys Column Name
17259+
type: STRING
17260+
deprecated: false
17261+
required: true
17262+
string_validators:
17263+
regexp: ''
17264+
description: Enter the Responsys column name.
17265+
settings: []
1712017266
- name: mapEmail
1712117267
display_name: Map Email
1712217268
type: BOOLEAN
@@ -19808,6 +19954,85 @@ items:
1980819954
server: false
1980919955
previous_names:
1981019956
- Stories
19957+
- display_name: Stormly
19958+
slug: stormly
19959+
name: catalog/destinations/stormly
19960+
description: >-
19961+
Use Stormly's easy-to-use building blocks to quickly create tailor-made
19962+
analytics solutions using AI, in the form of reusable Templates. Or use
19963+
ready Templates available on the platform like retention, segmentation,
19964+
sales forecasting and more.
19965+
hidden: false
19966+
url: connections/destinations/catalog/stormly
19967+
status: PUBLIC_BETA
19968+
logo:
19969+
url: >-
19970+
https://public-segment-devcenter-production.s3.amazonaws.com/4e928489-76e9-4cb8-805f-c3fc265d9d3d.svg
19971+
mark:
19972+
url: >-
19973+
https://public-segment-devcenter-production.s3.amazonaws.com/2652584d-6168-47f5-a09b-7ad2a77ef236.svg
19974+
categories:
19975+
- Attribution
19976+
- Customer Success
19977+
- Performance Monitoring
19978+
- Marketing Automation
19979+
components: []
19980+
platforms:
19981+
browser: true
19982+
server: true
19983+
mobile: true
19984+
browserUnbundlingSupported: false
19985+
browserUnbundlingPublic: false
19986+
methods:
19987+
alias: true
19988+
group: true
19989+
identify: true
19990+
page_view: true
19991+
track: true
19992+
settings:
19993+
- name: apiKey
19994+
display_name: API Key
19995+
type: STRING
19996+
deprecated: false
19997+
required: true
19998+
string_validators:
19999+
regexp: '^.{8,}$'
20000+
description: >-
20001+
Visit the Projects page, click "Set-Up Data" and use the tracking code for
20002+
"Segment.com"
20003+
settings: []
20004+
- name: trackNamedPages
20005+
display_name: Track named pages
20006+
type: BOOLEAN
20007+
deprecated: false
20008+
required: false
20009+
description: >-
20010+
This will track events to Stormly that use Segment's named "page" function
20011+
such as: "analytics.page('Homepage')" or "analytics.page('Docs',
20012+
'Developer API')". Enabled by default.
20013+
settings: []
20014+
- name: trackPagesAutomatically
20015+
display_name: Track pages automatically
20016+
type: BOOLEAN
20017+
deprecated: false
20018+
required: false
20019+
description: >-
20020+
This will track all pages to Stormly that use Segment's automatic "page"
20021+
tracking function like this: "analytics.page()". We recommend to keep this
20022+
disabled, because Stormly isn't really meant for general pageview
20023+
tracking.
20024+
settings: []
20025+
connection_modes:
20026+
device:
20027+
web: false
20028+
mobile: false
20029+
server: false
20030+
cloud:
20031+
web: false
20032+
mobile: false
20033+
server: false
20034+
previous_names:
20035+
- Stormly
1981120036
- display_name: Strikedeck
1981220037
slug: strikedeck
1981320038
name: catalog/destinations/strikedeck

0 commit comments

Comments
 (0)