Skip to content
This repository was archived by the owner on Nov 21, 2025. It is now read-only.

Conversation

@RayCiel
Copy link

@RayCiel RayCiel commented Apr 30, 2021

Signed off.

@vmwclabot
Copy link

@RayCiel, you must sign every commit in this pull request acknowledging our Developer Certificate of Origin before your changes are merged. This can be done by adding Signed-off-by: John Doe <[email protected]> to the last line of each Git commit message. The e-mail address used to sign must match the e-mail address of the Git author. Click here to view the Developer Certificate of Origin agreement.

delete error/logs

fix bugs

fix bugs

add test & fix bugs

delete useless logs

signed off by

Signed-off-by: Lan Lou <[email protected]>

merge commit and signed off

Signed-off-by: Lan Lou <[email protected]>

add sync fitting

delete error/logs

fix bugs

fix bugs

add test & fix bugs

delete useless logs

signed off by

Signed-off-by: Lan Lou <[email protected]>
Lan Lou added 2 commits April 30, 2021 15:28
Signed-off-by: Lan Lou <[email protected]>
Copy link
Contributor

@yixingjia yixingjia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please don't commit binary files

}

public String getServiceKey() {
return serviceKey;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please check those code before create the pr.

return;
}
logger.info(message.getContent());
//logger.info("message: " + message.getContent());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

? why remove the log info?

cleanRealtimeData();
break;
case EventMessageUtil.SYNC_FITTING:
List<List<Double>> results = syncFitting(false);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

}
}

public List<Double> doubleToList(double[] arr_double) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you move those math related code into a separate file?

try {
MetricDatas = new ArrayList<>();

CsvReader csvReader = new CsvReader("testData.csv");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you should change to api for the when you submit pr

<appender name="fileInfoLog"
class="ch.qos.logback.core.rolling.RollingFileAppender">
<File>/log/aggregator-info.log</File>
<File>aggregator-info.log</File>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change back the settings, please don't submit code which only works in your env.


openmanageJob.execute(null);
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why remove those code ?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some code submitted after I first pull the flowgate. I will check and add them.

<jwt.version>3.3.0</jwt.version>
<commons-io.version>2.4</commons-io.version>
<jackson.version>2.10.0</jackson.version>
<tomcat.version>9.0.41</tomcat.version>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change back.

<tomcat.version>9.0.41</tomcat.version>
<tomcat.version>9.0.37</tomcat.version>
<maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
<guava.version>30.0-jre</guava.version>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't overwrite other commit.

<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
<version>28.0-jre</version>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

? why we change from parameter to a hardcode value?

<artifactId>woodstox-core</artifactId>
<version>5.0.2</version>
</dependency>
<dependency>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we remove this?

InitializeConfigureData.roleNameAndPrivilegeMap = roleNameAndPrivilegeMap;
InitializeConfigureData.privilegeResourceMap = privilegeResourceMap;
serviceKey = System.getenv(FlowgateConstant.serviceKey);
serviceKey = "loul";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove the any hacks before submit code.

import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Double check this file, I believe most of the code are delete by mistake.

spring.redis.host=localhost
spring.redis.port=6379
spring.redis.password=REDISPASSWD_CHANGE
#spring.redis.password=REDISPASSWD_CHANGE
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change back all the hackings!

<appender name="fileErrorLog"
class="ch.qos.logback.core.rolling.RollingFileAppender">
<File>/log/flowgate-api-error.log</File>
<File>flowgate-api-error.log</File>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change back all the hackings!

import com.vmware.flowgate.common.MetricKeyName;
import com.vmware.flowgate.common.MetricName;
import com.vmware.flowgate.common.MountingSide;
import com.vmware.flowgate.common.RealtimeDataUnit;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

double check this file.

########couchbase config######
spring.couchbase.env.timeouts.query=30000
spring.couchbase.bootstrap-hosts=localhost
spring.couchbase.bootstrap-hosts=database-build
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change back.

@@ -0,0 +1,22 @@
#Copyright 2019 VMware, Inc.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we need this file?

public static int defaultPageNumber = 1;

public static String serviceKey = "FLOWGATESERVICEKEY";
public static String serviceKey = "serviceKey";//"FLOWGATESERVICEKEY";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change back.

public static final List<JobConfig> ALLJobs = Arrays.asList(
new JobConfig("AGGREGATOR-PREDEFINED-AGGREGATOR-JOB-DISPATCHER", "AggregateJobDispatcher", "AggregateJobs",
"Hourly", "AggregatorJob", "", "0 23 * * * ?",
"FiveMinutes", "AggregatorJob", "", "0 0/5 * * * ?",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we change this part?

Lan Lou added 2 commits May 19, 2021 11:40
Signed-off-by: Lan Lou <[email protected]>
Signed-off-by: Lan Lou <[email protected]>
Lan Lou added 3 commits July 8, 2021 18:04
Signed-off-by: Lan Lou <[email protected]>
Signed-off-by: Lan Lou <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants