@@ -301,33 +301,46 @@ export class CouchbaseContainer extends GenericContainer {
301301
302302 body . set ( "hostname" , container . getHost ( ) ) ;
303303 body . set ( "mgmt" , container . getMappedPort ( PORTS . MGMT_PORT ) . toString ( ) ) ;
304- body . set ( "mgmtSSL" , container . getMappedPort ( PORTS . MGMT_SSL_PORT ) . toString ( ) ) ;
304+ if ( this . isEnterprise ) {
305+ body . set ( "mgmtSSL" , container . getMappedPort ( PORTS . MGMT_SSL_PORT ) . toString ( ) ) ;
306+ }
305307
306308 if ( this . enabledServices . has ( CouchbaseService . KV ) ) {
307309 body . set ( "kv" , container . getMappedPort ( PORTS . KV_PORT ) . toString ( ) ) ;
308- body . set ( "kvSSL" , container . getMappedPort ( PORTS . KV_SSL_PORT ) . toString ( ) ) ;
309310 body . set ( "capi" , container . getMappedPort ( PORTS . VIEW_PORT ) . toString ( ) ) ;
310- body . set ( "capiSSL" , container . getMappedPort ( PORTS . VIEW_SSL_PORT ) . toString ( ) ) ;
311+
312+ if ( this . isEnterprise ) {
313+ body . set ( "kvSSL" , container . getMappedPort ( PORTS . KV_SSL_PORT ) . toString ( ) ) ;
314+ body . set ( "capiSSL" , container . getMappedPort ( PORTS . VIEW_SSL_PORT ) . toString ( ) ) ;
315+ }
311316 }
312317
313318 if ( this . enabledServices . has ( CouchbaseService . QUERY ) ) {
314319 body . set ( "n1ql" , container . getMappedPort ( PORTS . QUERY_PORT ) . toString ( ) ) ;
315- body . set ( "n1qlSSL" , container . getMappedPort ( PORTS . QUERY_SSL_PORT ) . toString ( ) ) ;
320+ if ( this . isEnterprise ) {
321+ body . set ( "n1qlSSL" , container . getMappedPort ( PORTS . QUERY_SSL_PORT ) . toString ( ) ) ;
322+ }
316323 }
317324
318325 if ( this . enabledServices . has ( CouchbaseService . SEARCH ) ) {
319326 body . set ( "fts" , container . getMappedPort ( PORTS . SEARCH_PORT ) . toString ( ) ) ;
320- body . set ( "ftsSSL" , container . getMappedPort ( PORTS . SEARCH_SSL_PORT ) . toString ( ) ) ;
327+ if ( this . isEnterprise ) {
328+ body . set ( "ftsSSL" , container . getMappedPort ( PORTS . SEARCH_SSL_PORT ) . toString ( ) ) ;
329+ }
321330 }
322331
323332 if ( this . enabledServices . has ( CouchbaseService . ANALYTICS ) ) {
324333 body . set ( "cbas" , container . getMappedPort ( PORTS . ANALYTICS_PORT ) . toString ( ) ) ;
325- body . set ( "cbasSSL" , container . getMappedPort ( PORTS . ANALYTICS_SSL_PORT ) . toString ( ) ) ;
334+ if ( this . isEnterprise ) {
335+ body . set ( "cbasSSL" , container . getMappedPort ( PORTS . ANALYTICS_SSL_PORT ) . toString ( ) ) ;
336+ }
326337 }
327338
328339 if ( this . enabledServices . has ( CouchbaseService . EVENTING ) ) {
329340 body . set ( "eventingAdminPort" , container . getMappedPort ( PORTS . EVENTING_PORT ) . toString ( ) ) ;
330- body . set ( "eventingSSL" , container . getMappedPort ( PORTS . EVENTING_SSL_PORT ) . toString ( ) ) ;
341+ if ( this . isEnterprise ) {
342+ body . set ( "eventingSSL" , container . getMappedPort ( PORTS . EVENTING_SSL_PORT ) . toString ( ) ) ;
343+ }
331344 }
332345
333346 const response = await this . doHttpRequest (
0 commit comments