Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add transport parameters transport.vfs.MinimumAge and transport.vfs.MaximumAge #2089

Merged
merged 4 commits into from
Sep 3, 2024

Conversation

formarlyjlauper
Copy link

###Goal
This adds the transport parameters transport.vfs.MinimumAge and transport.vfs.MaximumAge which check for file age since last mod in seconds.

###Sample
<parameter name="transport.vfs.MinimumAge">10</parameter> <parameter name="transport.vfs.MaximumAge">60</parameter>
reads files that are atleast 10 seconds old but no older than a minute.

@CLAassistant
Copy link

CLAassistant commented Aug 8, 2023

CLA assistant check
All committers have signed the CLA.

rmsamitha pushed a commit to rmsamitha/wso2-synapse that referenced this pull request Sep 19, 2023
…card_master

Add the fix in synapse PR 1484 again which is reverted by PR 1719
@@ -515,6 +531,7 @@ public boolean loadConfiguration(ParameterInclude params) throws AxisFault {
}

protected boolean loadConfigurationsFromService(ParameterInclude params) throws AxisFault {
System.out.println("loading config from service");
Copy link
Member

Choose a reason for hiding this comment

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

Shall we change this to use the logger? Using System.out.println to print logs is not encouraged.

Copy link
Contributor

Choose a reason for hiding this comment

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

This lines was added for debugging purpose, we just removed it

@arunans23
Copy link
Member

Thank you for your contribution. Can you address comments in order to merge the PR?

@ljuillerat ljuillerat force-pushed the feature/WSO2-213 branch 2 times, most recently from 1b75f55 to 4828ec5 Compare August 21, 2024 07:26
@ljuillerat
Copy link
Contributor

Building CI seems failing but for external reasons. Would it be possible to have a look ?

@ljuillerat
Copy link
Contributor

@arunans23 Based on our PR, it doesn't seem that the failing build is concerned. Would it be possible to confirm ?

return maximumAge;
}

public boolean hasAgeCheck(){
Copy link
Member

@arunans23 arunans23 Sep 3, 2024

Choose a reason for hiding this comment

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

Are we utilizing this method? If not, shall we remove this?

Copy link
Contributor

Choose a reason for hiding this comment

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

Method is effectively unused. Just removed it from this PR.

@arunans23
Copy link
Member

@arunans23 Based on our PR, it doesn't seem that the failing build is concerned. Would it be possible to confirm ?

Yes. It is not related to this PR. I have added a small comment. Shall we address it before merging the PR?

Remove unreferenced method
@arunans23
Copy link
Member

Thank you for addressing the comments on time. We can track the doc changes from a previous issue related to VFS.
wso2/docs-mi#809

@arunans23 arunans23 merged commit 807576e into wso2:master Sep 3, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants