mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-12-25 06:28:22 +00:00
ISSUE-7848: Fix variable names as per naming convention (#8228)
* ISSUE-7848: Rename local variables to match regular expression for camel case * ISSUE-7848: Refactor package name as per naming convention
This commit is contained in:
parent
6f1d02ea56
commit
0babaa52e0
@ -29,10 +29,10 @@ public interface OktaAccessTokenApi extends ApiClient.Api {
|
||||
"Accept: application/json",
|
||||
})
|
||||
AccessTokenResponse getAccessToken(
|
||||
@Param("grant_type") String grant_type,
|
||||
@Param("grant_type") String grantType,
|
||||
@Param("scope") String scope,
|
||||
@Param("client_assertion_type") String client_assertion_type,
|
||||
@Param("client_assertion") String client_assertion);
|
||||
@Param("client_assertion_type") String clientAssertionType,
|
||||
@Param("client_assertion") String clientAssertion);
|
||||
|
||||
@RequestLine(
|
||||
"POST /v1/token?grant_type={grant_type}&scope={scope}&client_assertion_type={client_assertion_type}&client_assertion={client_assertion}")
|
||||
@ -47,5 +47,5 @@ public interface OktaAccessTokenApi extends ApiClient.Api {
|
||||
"Content-Type: application/x-www-form-urlencoded",
|
||||
"Accept: application/json",
|
||||
})
|
||||
AccessTokenResponse getAccessToken(@Param("grant_type") String grant_type, @Param("scope") String scope);
|
||||
AccessTokenResponse getAccessToken(@Param("grant_type") String grantType, @Param("scope") String scope);
|
||||
}
|
||||
|
||||
@ -324,8 +324,8 @@ public class OpenMetadataApplication extends Application<OpenMetadataApplication
|
||||
}
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
OpenMetadataApplication OpenMetadataApplication = new OpenMetadataApplication();
|
||||
OpenMetadataApplication.run(args);
|
||||
OpenMetadataApplication openMetadataApplication = new OpenMetadataApplication();
|
||||
openMetadataApplication.run(args);
|
||||
}
|
||||
|
||||
public static class ManagedShutdown implements Managed {
|
||||
|
||||
@ -18,8 +18,8 @@ package org.openmetadata.service.elasticsearch;
|
||||
import static org.openmetadata.service.Entity.ADMIN_USER_NAME;
|
||||
import static org.openmetadata.service.Entity.FIELD_FOLLOWERS;
|
||||
import static org.openmetadata.service.Entity.FIELD_USAGE_SUMMARY;
|
||||
import static org.openmetadata.service.resources.elasticSearch.BuildSearchIndexResource.ELASTIC_SEARCH_ENTITY_FQN_STREAM;
|
||||
import static org.openmetadata.service.resources.elasticSearch.BuildSearchIndexResource.ELASTIC_SEARCH_EXTENSION;
|
||||
import static org.openmetadata.service.resources.elasticsearch.BuildSearchIndexResource.ELASTIC_SEARCH_ENTITY_FQN_STREAM;
|
||||
import static org.openmetadata.service.resources.elasticsearch.BuildSearchIndexResource.ELASTIC_SEARCH_EXTENSION;
|
||||
|
||||
import com.fasterxml.jackson.core.JsonProcessingException;
|
||||
import java.io.IOException;
|
||||
@ -82,7 +82,7 @@ import org.openmetadata.service.elasticsearch.ElasticSearchIndexDefinition.Elast
|
||||
import org.openmetadata.service.events.AbstractEventPublisher;
|
||||
import org.openmetadata.service.events.errors.EventPublisherException;
|
||||
import org.openmetadata.service.jdbi3.CollectionDAO;
|
||||
import org.openmetadata.service.resources.elasticSearch.BuildSearchIndexResource;
|
||||
import org.openmetadata.service.resources.elasticsearch.BuildSearchIndexResource;
|
||||
import org.openmetadata.service.resources.events.EventResource.ChangeEventList;
|
||||
import org.openmetadata.service.util.ElasticSearchClientUtils;
|
||||
import org.openmetadata.service.util.JsonUtils;
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
package org.openmetadata.service.elasticsearch;
|
||||
|
||||
import static org.openmetadata.service.resources.elasticSearch.BuildSearchIndexResource.ELASTIC_SEARCH_ENTITY_FQN_STREAM;
|
||||
import static org.openmetadata.service.resources.elasticSearch.BuildSearchIndexResource.ELASTIC_SEARCH_EXTENSION;
|
||||
import static org.openmetadata.service.resources.elasticsearch.BuildSearchIndexResource.ELASTIC_SEARCH_ENTITY_FQN_STREAM;
|
||||
import static org.openmetadata.service.resources.elasticsearch.BuildSearchIndexResource.ELASTIC_SEARCH_EXTENSION;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
import java.io.IOException;
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
package org.openmetadata.service.resources.elasticSearch;
|
||||
package org.openmetadata.service.resources.elasticsearch;
|
||||
|
||||
import static org.openmetadata.service.Entity.TABLE;
|
||||
import static org.openmetadata.service.Entity.TEAM;
|
||||
@ -1,7 +1,7 @@
|
||||
package org.openmetadata.service.resources.elasticSearch;
|
||||
package org.openmetadata.service.resources.elasticsearch;
|
||||
|
||||
import static org.openmetadata.service.resources.elasticSearch.BuildSearchIndexResource.ELASTIC_SEARCH_ENTITY_FQN_BATCH;
|
||||
import static org.openmetadata.service.resources.elasticSearch.BuildSearchIndexResource.ELASTIC_SEARCH_EXTENSION;
|
||||
import static org.openmetadata.service.resources.elasticsearch.BuildSearchIndexResource.ELASTIC_SEARCH_ENTITY_FQN_BATCH;
|
||||
import static org.openmetadata.service.resources.elasticsearch.BuildSearchIndexResource.ELASTIC_SEARCH_EXTENSION;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.time.ZoneId;
|
||||
Loading…
x
Reference in New Issue
Block a user