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:
7171 # Load environment variables generated by `configure`
7272 . ~/compass_env.sh
7373 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+
7579 npm install
7680 npm run evergreen-expansions ${compass_distribution}
7781 cat expansions.yml
@@ -87,9 +91,6 @@ functions:
8791 # Load environment variables
8892 . ~/compass_env.sh
8993
90- # Trying to get rid of scandir npm errors.
91- npm cache clean --force
92-
9394 # Run static analysis on code and project configuration
9495 npm run check;
9596
Original file line number Diff line number Diff line change 210210 "url" : " git://github.com/10gen/compass.git"
211211 },
212212 "dependencies" : {
213- "@mongodb-js/compass-aggregations" : " ^0.2.10 " ,
213+ "@mongodb-js/compass-aggregations" : " ^0.2.13 " ,
214214 "@mongodb-js/compass-auth-kerberos" : " ^0.1.0" ,
215215 "@mongodb-js/compass-auth-ldap" : " ^0.1.0" ,
216216 "@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({
154154 }
155155} ) ;
156156
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 ' ,
160160 eventTrackers : [ 'stitch' ] ,
161- createAtlasCluster : function ( metadata , callback ) {
161+ clicked : function ( metadata , callback ) {
162162 this . _send_event ( metadata , callback ) ;
163163 }
164164} ) ;
165165
166-
167166// Documents resources uses 'loaded' as action
168167const DocumentsResource = BaseResource . extend ( {
169168 id : 'Documents' ,
@@ -244,7 +243,7 @@ const ExportResource = BaseResource.extend({
244243featureResources [ 'Geo Data' ] = new GeoDataResource ( ) ;
245244featureResources [ 'Auto Update' ] = new AutoUpdateResource ( ) ;
246245featureResources . Collection = new CollectionResource ( ) ;
247- featureResources . Connect = new ConnectResource ( ) ;
246+ featureResources . AtlasLink = new AtlasLinkResource ( ) ;
248247featureResources . Deployment = new DeploymentResource ( ) ;
249248featureResources . Schema = new SchemaResource ( ) ;
250249featureResources . Indexes = new IndexesResource ( ) ;
Original file line number Diff line number Diff line change @@ -233,8 +233,8 @@ module.exports = [
233233 } ,
234234 {
235235 registryEvent : 'create-atlas-cluster-clicked' ,
236- resource : 'Connect ' ,
237- action : 'createAtlasCluster ' ,
236+ resource : 'AtlasLink ' ,
237+ action : 'clicked ' ,
238238 condition : ( ) => true ,
239239 metadata : ( ) => ( { } )
240240 } ,
You can’t perform that action at this time.
0 commit comments