renamed module service-info-api to discovery-api && fixed LimitedApi typos
This commit is contained in:
		
							parent
							
								
									506f48a89d
								
							
						
					
					
						commit
						92e81ad233
					
				@ -130,7 +130,7 @@
 | 
				
			|||||||
        </dependency>
 | 
					        </dependency>
 | 
				
			||||||
        <dependency>
 | 
					        <dependency>
 | 
				
			||||||
            <groupId>org.thingsboard.common</groupId>
 | 
					            <groupId>org.thingsboard.common</groupId>
 | 
				
			||||||
            <artifactId>service-info-api</artifactId>
 | 
					            <artifactId>discovery-api</artifactId>
 | 
				
			||||||
        </dependency>
 | 
					        </dependency>
 | 
				
			||||||
        <dependency>
 | 
					        <dependency>
 | 
				
			||||||
            <groupId>org.thingsboard</groupId>
 | 
					            <groupId>org.thingsboard</groupId>
 | 
				
			||||||
 | 
				
			|||||||
@ -48,7 +48,7 @@
 | 
				
			|||||||
        </dependency>
 | 
					        </dependency>
 | 
				
			||||||
        <dependency>
 | 
					        <dependency>
 | 
				
			||||||
            <groupId>org.thingsboard.common</groupId>
 | 
					            <groupId>org.thingsboard.common</groupId>
 | 
				
			||||||
            <artifactId>service-info-api</artifactId>
 | 
					            <artifactId>discovery-api</artifactId>
 | 
				
			||||||
        </dependency>
 | 
					        </dependency>
 | 
				
			||||||
        <dependency>
 | 
					        <dependency>
 | 
				
			||||||
            <groupId>org.thingsboard.common.transport</groupId>
 | 
					            <groupId>org.thingsboard.common.transport</groupId>
 | 
				
			||||||
 | 
				
			|||||||
@ -30,10 +30,10 @@ public enum LimitedApi {
 | 
				
			|||||||
    REST_REQUESTS_PER_TENANT(DefaultTenantProfileConfiguration::getTenantServerRestLimitsConfiguration, "REST API requests", true),
 | 
					    REST_REQUESTS_PER_TENANT(DefaultTenantProfileConfiguration::getTenantServerRestLimitsConfiguration, "REST API requests", true),
 | 
				
			||||||
    REST_REQUESTS_PER_CUSTOMER(DefaultTenantProfileConfiguration::getCustomerServerRestLimitsConfiguration, "REST API requests per customer", false),
 | 
					    REST_REQUESTS_PER_CUSTOMER(DefaultTenantProfileConfiguration::getCustomerServerRestLimitsConfiguration, "REST API requests per customer", false),
 | 
				
			||||||
    WS_UPDATES_PER_SESSION(DefaultTenantProfileConfiguration::getWsUpdatesPerSessionRateLimit, "WS updates per session", true),
 | 
					    WS_UPDATES_PER_SESSION(DefaultTenantProfileConfiguration::getWsUpdatesPerSessionRateLimit, "WS updates per session", true),
 | 
				
			||||||
    CASSANDRA_WRITE_QUERIES_CORE(DefaultTenantProfileConfiguration::getCassandraReadQueryTenantCoreRateLimits, "Rest API Cassandra write queries", true),
 | 
					    CASSANDRA_WRITE_QUERIES_CORE(DefaultTenantProfileConfiguration::getCassandraWriteQueryTenantCoreRateLimits, "Rest API Cassandra write queries", true),
 | 
				
			||||||
    CASSANDRA_READ_QUERIES_CORE(DefaultTenantProfileConfiguration::getCassandraWriteQueryTenantCoreRateLimits, "Rest API and WS telemetry Cassandra read queries", true),
 | 
					    CASSANDRA_READ_QUERIES_CORE(DefaultTenantProfileConfiguration::getCassandraReadQueryTenantCoreRateLimits, "Rest API and WS telemetry Cassandra read queries", true),
 | 
				
			||||||
    CASSANDRA_WRITE_QUERIES_RULE_ENGINE(DefaultTenantProfileConfiguration::getCassandraReadQueryTenantRuleEngineRateLimits, "Rule Engine telemetry Cassandra write queries", true),
 | 
					    CASSANDRA_WRITE_QUERIES_RULE_ENGINE(DefaultTenantProfileConfiguration::getCassandraWriteQueryTenantRuleEngineRateLimits, "Rule Engine telemetry Cassandra write queries", true),
 | 
				
			||||||
    CASSANDRA_READ_QUERIES_RULE_ENGINE(DefaultTenantProfileConfiguration::getCassandraWriteQueryTenantRuleEngineRateLimits, "Rule Engine telemetry Cassandra read queries", true),
 | 
					    CASSANDRA_READ_QUERIES_RULE_ENGINE(DefaultTenantProfileConfiguration::getCassandraReadQueryTenantRuleEngineRateLimits, "Rule Engine telemetry Cassandra read queries", true),
 | 
				
			||||||
    CASSANDRA_READ_QUERIES_MONOLITH(
 | 
					    CASSANDRA_READ_QUERIES_MONOLITH(
 | 
				
			||||||
            LimitedApiUtil.merge(
 | 
					            LimitedApiUtil.merge(
 | 
				
			||||||
                    DefaultTenantProfileConfiguration::getCassandraReadQueryTenantCoreRateLimits,
 | 
					                    DefaultTenantProfileConfiguration::getCassandraReadQueryTenantCoreRateLimits,
 | 
				
			||||||
 | 
				
			|||||||
@ -24,7 +24,7 @@
 | 
				
			|||||||
        <artifactId>common</artifactId>
 | 
					        <artifactId>common</artifactId>
 | 
				
			||||||
    </parent>
 | 
					    </parent>
 | 
				
			||||||
    <groupId>org.thingsboard.common</groupId>
 | 
					    <groupId>org.thingsboard.common</groupId>
 | 
				
			||||||
    <artifactId>service-info-api</artifactId>
 | 
					    <artifactId>discovery-api</artifactId>
 | 
				
			||||||
    <packaging>jar</packaging>
 | 
					    <packaging>jar</packaging>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <name>Thingsboard Server Service Info Provider API</name>
 | 
					    <name>Thingsboard Server Service Info Provider API</name>
 | 
				
			||||||
@ -70,7 +70,7 @@
 | 
				
			|||||||
        </dependency>
 | 
					        </dependency>
 | 
				
			||||||
        <dependency>
 | 
					        <dependency>
 | 
				
			||||||
            <groupId>org.thingsboard.common</groupId>
 | 
					            <groupId>org.thingsboard.common</groupId>
 | 
				
			||||||
            <artifactId>service-info-api</artifactId>
 | 
					            <artifactId>discovery-api</artifactId>
 | 
				
			||||||
        </dependency>
 | 
					        </dependency>
 | 
				
			||||||
        <dependency>
 | 
					        <dependency>
 | 
				
			||||||
            <groupId>org.springframework.boot</groupId>
 | 
					            <groupId>org.springframework.boot</groupId>
 | 
				
			||||||
 | 
				
			|||||||
@ -50,7 +50,7 @@
 | 
				
			|||||||
        <module>version-control</module>
 | 
					        <module>version-control</module>
 | 
				
			||||||
        <module>script</module>
 | 
					        <module>script</module>
 | 
				
			||||||
        <module>edqs</module>
 | 
					        <module>edqs</module>
 | 
				
			||||||
        <module>service-info-api</module>
 | 
					        <module>discovery-api</module>
 | 
				
			||||||
    </modules>
 | 
					    </modules>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
</project>
 | 
					</project>
 | 
				
			||||||
 | 
				
			|||||||
@ -62,7 +62,7 @@
 | 
				
			|||||||
        </dependency>
 | 
					        </dependency>
 | 
				
			||||||
        <dependency>
 | 
					        <dependency>
 | 
				
			||||||
            <groupId>org.thingsboard.common</groupId>
 | 
					            <groupId>org.thingsboard.common</groupId>
 | 
				
			||||||
            <artifactId>service-info-api</artifactId>
 | 
					            <artifactId>discovery-api</artifactId>
 | 
				
			||||||
        </dependency>
 | 
					        </dependency>
 | 
				
			||||||
        <dependency>
 | 
					        <dependency>
 | 
				
			||||||
            <groupId>org.apache.kafka</groupId>
 | 
					            <groupId>org.apache.kafka</groupId>
 | 
				
			||||||
 | 
				
			|||||||
@ -62,7 +62,7 @@
 | 
				
			|||||||
        </dependency>
 | 
					        </dependency>
 | 
				
			||||||
        <dependency>
 | 
					        <dependency>
 | 
				
			||||||
            <groupId>org.thingsboard.common</groupId>
 | 
					            <groupId>org.thingsboard.common</groupId>
 | 
				
			||||||
            <artifactId>service-info-api</artifactId>
 | 
					            <artifactId>discovery-api</artifactId>
 | 
				
			||||||
        </dependency>
 | 
					        </dependency>
 | 
				
			||||||
        <dependency>
 | 
					        <dependency>
 | 
				
			||||||
            <groupId>com.google.code.gson</groupId>
 | 
					            <groupId>com.google.code.gson</groupId>
 | 
				
			||||||
 | 
				
			|||||||
@ -61,7 +61,7 @@
 | 
				
			|||||||
        </dependency>
 | 
					        </dependency>
 | 
				
			||||||
        <dependency>
 | 
					        <dependency>
 | 
				
			||||||
            <groupId>org.thingsboard.common</groupId>
 | 
					            <groupId>org.thingsboard.common</groupId>
 | 
				
			||||||
            <artifactId>service-info-api</artifactId>
 | 
					            <artifactId>discovery-api</artifactId>
 | 
				
			||||||
        </dependency>
 | 
					        </dependency>
 | 
				
			||||||
        <dependency>
 | 
					        <dependency>
 | 
				
			||||||
            <groupId>com.networknt</groupId>
 | 
					            <groupId>com.networknt</groupId>
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										2
									
								
								pom.xml
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								pom.xml
									
									
									
									
									
								
							@ -966,7 +966,7 @@
 | 
				
			|||||||
            </dependency>
 | 
					            </dependency>
 | 
				
			||||||
            <dependency>
 | 
					            <dependency>
 | 
				
			||||||
                <groupId>org.thingsboard.common</groupId>
 | 
					                <groupId>org.thingsboard.common</groupId>
 | 
				
			||||||
                <artifactId>service-info-api</artifactId>
 | 
					                <artifactId>discovery-api</artifactId>
 | 
				
			||||||
                <version>${project.version}</version>
 | 
					                <version>${project.version}</version>
 | 
				
			||||||
            </dependency>
 | 
					            </dependency>
 | 
				
			||||||
            <dependency>
 | 
					            <dependency>
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user