File tree Expand file tree Collapse file tree 5 files changed +52
-52
lines changed
src/internal-plugins/metrics/lib Expand file tree Collapse file tree 5 files changed +52
-52
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,11 @@ functions:
71
71
# Load environment variables generated by `configure`
72
72
. ~/compass_env.sh
73
73
echo "//registry.npmjs.org/:_authToken=${compass_npm_token}" >> .npmrc
74
- npm install -g node-gyp yarn
74
+ npm install -g npm node-gyp yarn
75
+
76
+ # Trying to get rid of scandir npm errors.
77
+ npm cache clean --force
78
+
75
79
npm install
76
80
npm run evergreen-expansions ${compass_distribution}
77
81
cat expansions.yml
@@ -87,9 +91,6 @@ functions:
87
91
# Load environment variables
88
92
. ~/compass_env.sh
89
93
90
- # Trying to get rid of scandir npm errors.
91
- npm cache clean --force
92
-
93
94
# Run static analysis on code and project configuration
94
95
npm run check;
95
96
Original file line number Diff line number Diff line change 210
210
"url" : " git://github.com/10gen/compass.git"
211
211
},
212
212
"dependencies" : {
213
- "@mongodb-js/compass-aggregations" : " ^0.2.10 " ,
213
+ "@mongodb-js/compass-aggregations" : " ^0.2.13 " ,
214
214
"@mongodb-js/compass-auth-kerberos" : " ^0.1.0" ,
215
215
"@mongodb-js/compass-auth-ldap" : " ^0.1.0" ,
216
216
"@mongodb-js/compass-auth-x509" : " ^0.1.0" ,
Original file line number Diff line number Diff line change @@ -154,16 +154,15 @@ const AggregationResource = BaseResource.extend({
154
154
}
155
155
} ) ;
156
156
157
- // Resource for the connect window .
158
- const ConnectResource = BaseResource . extend ( {
159
- id : 'Connect ' ,
157
+ // Resource for the atlas link .
158
+ const AtlasLinkResource = BaseResource . extend ( {
159
+ id : 'AtlasLink ' ,
160
160
eventTrackers : [ 'stitch' ] ,
161
- createAtlasCluster : function ( metadata , callback ) {
161
+ clicked : function ( metadata , callback ) {
162
162
this . _send_event ( metadata , callback ) ;
163
163
}
164
164
} ) ;
165
165
166
-
167
166
// Documents resources uses 'loaded' as action
168
167
const DocumentsResource = BaseResource . extend ( {
169
168
id : 'Documents' ,
@@ -244,7 +243,7 @@ const ExportResource = BaseResource.extend({
244
243
featureResources [ 'Geo Data' ] = new GeoDataResource ( ) ;
245
244
featureResources [ 'Auto Update' ] = new AutoUpdateResource ( ) ;
246
245
featureResources . Collection = new CollectionResource ( ) ;
247
- featureResources . Connect = new ConnectResource ( ) ;
246
+ featureResources . AtlasLink = new AtlasLinkResource ( ) ;
248
247
featureResources . Deployment = new DeploymentResource ( ) ;
249
248
featureResources . Schema = new SchemaResource ( ) ;
250
249
featureResources . Indexes = new IndexesResource ( ) ;
Original file line number Diff line number Diff line change @@ -233,8 +233,8 @@ module.exports = [
233
233
} ,
234
234
{
235
235
registryEvent : 'create-atlas-cluster-clicked' ,
236
- resource : 'Connect ' ,
237
- action : 'createAtlasCluster ' ,
236
+ resource : 'AtlasLink ' ,
237
+ action : 'clicked ' ,
238
238
condition : ( ) => true ,
239
239
metadata : ( ) => ( { } )
240
240
} ,
You can’t perform that action at this time.
0 commit comments