Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hi,

Hi, SuccessfulKoala55 TimelyPenguin76 AgitatedDove14 , can I modify company id in open source version? I succeed to replace default company id with newID in apiserver under ‘/opt/clearml/config/apiserver.conf’. However, I can not update the company id which may be hardcoded in webserver. This suspect comes up after the following tests. I create a user(auth.create_user) with a specified company id which is set in apiserver. Then, I send a request(users.get_all) to webserver with a header( X-Allegro-Tenant: newID). But it only replies that users in default company.

  
  
Posted 3 years ago
Votes Newest

Answers 35


Hi FloppyDeer99 ,
the users.get_all should be sent to the apiserver, not to the webserver. In any case, the header will not affect this request as the server will be using your user's identity (encoded in the authorization header) to resolve the company

  
  
Posted 3 years ago

OK, so the company you're referring to is encoded in the authorization header

  
  
Posted 3 years ago

Well, for some reason the webserver auth user entry is probably created using the incorrect company_id - the best thing to do it exec into the mongo container and check the actual company value assigned to the webserver user

  
  
Posted 3 years ago

<webserver>/api is a reverse proxy

  
  
Posted 3 years ago

But you're not using the webserver, you're sending the cURL requests manually, aren't you?

  
  
Posted 3 years ago
63K Views
35 Answers
3 years ago
one year ago
Tags