Skip to content
Merged
Show file tree
Hide file tree
Changes from 16 commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
21c6021
feat(protos) : adding older version of protos
Ramanth Oct 4, 2024
05dd9d1
Merge branch 'master' into feat/versons/older-protos
Ramanth Oct 4, 2024
13cc1e1
feat(proto): adding dummy change for triggering actiosn
Ramanth Oct 4, 2024
f97e39c
fix(proto) : temp change to trigger actions
Ramanth Oct 4, 2024
e7d0155
fix(temp) : temp changes for testing actions
Ramanth Oct 4, 2024
b27c1db
fix(sdk) : temp change to trigger actions
Ramanth Oct 4, 2024
cfdc04a
fix(sdk) : dummy commit
Ramanth Oct 4, 2024
e999f10
fix(sdk) : updating workflow file
Ramanth Oct 6, 2024
02e51a4
fix(sdk) : dummy commit for generation
Ramanth Oct 6, 2024
3a97425
fix(sdk): updating git diff command for reliability
Ramanth Oct 6, 2024
7fd4e86
fix(proto) : updated the proto location
Ramanth Oct 6, 2024
d0953e9
fix(sdk) : generating sdk
Ramanth Oct 7, 2024
c3e463d
feat(sdk) : generate sdks
Ramanth Oct 7, 2024
1acaef6
fix(sdk) : generate sdks
Ramanth Oct 7, 2024
b643452
fix(sdk): generate sdks
Ramanth Oct 7, 2024
c17be84
fix(sdk) : generate sdks
Ramanth Oct 7, 2024
8d62d62
Update generate-sdks.yml
AkankshaAcharya Sep 22, 2025
b41e3b1
Update generate-sdks.yml
AkankshaAcharya Sep 24, 2025
4863053
test commit
AkankshaAcharya Sep 24, 2025
f7ae7af
Update generate-sdks.yml
AkankshaAcharya Sep 25, 2025
0a6ed5a
Update generate-sdks.yml
AkankshaAcharya Oct 1, 2025
fa434c8
Update generate-sdks.yml
AkankshaAcharya Oct 3, 2025
060d39b
Revert "Update generate-sdks.yml"
AkankshaAcharya Oct 3, 2025
edf6ec8
Update raise-pull-request.sh
AkankshaAcharya Oct 3, 2025
78dcf5c
Update raise-pull-request.sh
AkankshaAcharya Oct 3, 2025
2090c07
Update raise-pull-request.sh
AkankshaAcharya Oct 3, 2025
0c839e3
Update generate-sdks.yml
AkankshaAcharya Oct 3, 2025
ed2ce89
Update generate-sdks.yml
AkankshaAcharya Oct 3, 2025
cf35aad
Update generate-sdks.yml
AkankshaAcharya Oct 3, 2025
3738188
Update generate-sdks.yml
AkankshaAcharya Oct 6, 2025
e752e3e
Revert "Update generate-sdks.yml"
AkankshaAcharya Oct 6, 2025
9fdb821
Update raise-pull-request.sh
AkankshaAcharya Oct 6, 2025
70e74d6
Update raise-pull-request.sh
AkankshaAcharya Oct 6, 2025
d6ef95f
test fix
AkankshaAcharya Oct 6, 2025
4a52262
Update raise-pull-request.sh
AkankshaAcharya Oct 6, 2025
40168a3
Update generate-sdks.yml
AkankshaAcharya Oct 6, 2025
2897f1a
Update generate-sdks.yml
AkankshaAcharya Oct 7, 2025
e5a0dd5
Update generate-sdks.yml
AkankshaAcharya Oct 9, 2025
be6a63e
Revert "Update generate-sdks.yml"
AkankshaAcharya Oct 9, 2025
caeff07
Reapply "Update generate-sdks.yml"
AkankshaAcharya Oct 9, 2025
117ea84
Revert "Reapply "Update generate-sdks.yml""
AkankshaAcharya Oct 9, 2025
c975b5c
Reapply "Reapply "Update generate-sdks.yml""
AkankshaAcharya Oct 10, 2025
8603d51
removing chart folder protos
AkankshaAcharya Oct 14, 2025
785d00f
Update generate-sdks.yml
AkankshaAcharya Oct 14, 2025
89765ce
Revert "Update generate-sdks.yml"
AkankshaAcharya Oct 14, 2025
82f810b
Reapply "Update generate-sdks.yml"
AkankshaAcharya Oct 14, 2025
54d19b1
Revert "Reapply "Update generate-sdks.yml""
AkankshaAcharya Oct 14, 2025
57e4d0f
Reapply "Reapply "Update generate-sdks.yml""
AkankshaAcharya Oct 14, 2025
074e59e
removing ref
AkankshaAcharya Oct 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 10 additions & 12 deletions .github/scripts/raise-pull-request.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,23 @@ then

export SCHEMA=${PWD}/../$GITHUB_SCHEMA_REPO/$SCHEMA_DIRECTORY
docker compose -f docker-compose.generate.yml up

git status

if git diff-index --quiet HEAD --
then
echo "No changes to commit."
else
if [[ -n $(git status --porcelain) ]]; then
echo "There are changes"
git add -A .
git commit -m "feat($GITHUB_SCHEMA_REPO-sdks): Auto-commit from PR #$pr_number of $GITHUB_SCHEMA_REPO"
echo "Committed local changes"

git push origin $branch_name
echo "Pushed all the changes to the remote location"
else
echo "No changes to commit."
fi

export GITHUB_USER=$USER
export GITHUB_TOKEN=$USER_API_KEY
hub pull-request -m "feat($GITHUB_SCHEMA_REPO-sdks): Updating SDKs for the changes in $GITHUB_SCHEMA_REPO #$pr_number PR" -h $branch_name

else
echo "Branch($branch_name) exists. Updating it with new changes."

Expand All @@ -47,15 +46,14 @@ else
docker compose -f docker-compose.generate.yml up

git status
if git diff-index --quiet HEAD --
then
echo "No local changes to commit."
else
if [[ -n $(git status --porcelain) ]]; then
echo "There are changes"
git add -A .
git commit -m "feat($GITHUB_SCHEMA_REPO-sdks): Auto-commit from PR #$pr_number of $GITHUB_SCHEMA_REPO"
echo "Committed local changes"

git push origin $branch_name
echo "Pushed all the changes to the remote location"
else
echo "No changes to commit."
fi
fi
1 change: 1 addition & 0 deletions .github/workflows/generate-sdks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ jobs:
path: sdks
fetch-depth: 0
token: ${{ env.USER_API_KEY }}
ref: feat/sdk/java-version-workflow
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need to remove this before merging this in?


- name: Raise or update SDKs pull request
if: steps.schema-change-check.outputs.is-schema-changed == 'true'
Expand Down
30 changes: 30 additions & 0 deletions proto/v1/fds/protobuf/stach/MetadataItem.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
syntax = "proto3";
package factset.protobuf.stach;

option csharp_namespace = "FactSet.Protobuf.Stach";
option java_package = "com.factset.protobuf.stach";
option java_outer_classname = "MetadataItemProto";

import "google/protobuf/duration.proto";
import "google/protobuf/timestamp.proto";

import "fds/protobuf/stach/table/Reference.proto";

message MetadataItem {
reserved 104, 105, 200;
reserved "uint32_value", "uint64_value", "any_value";

string name = 1;
oneof data {
double double_value = 100;
float float_value = 101;
int32 int32_value = 102;
int64 int64_value = 103;
bool bool_value = 106;
string string_value = 107;
google.protobuf.Duration duration_value = 108;
google.protobuf.Timestamp timestamp_value = 109;

factset.protobuf.stach.table.Reference ref_value = 201;
}
}
15 changes: 15 additions & 0 deletions proto/v1/fds/protobuf/stach/Package.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
syntax = "proto3";
package factset.protobuf.stach;


option csharp_namespace = "FactSet.Protobuf.Stach";
option java_package = "com.factset.protobuf.stach";
option java_outer_classname = "PackageProto";

import "fds/protobuf/stach/table/Table.proto";

message Package {
string version = 1;
repeated string primary_table_ids = 2;
map<string, factset.protobuf.stach.table.Table> tables = 3;
}
21 changes: 21 additions & 0 deletions proto/v1/fds/protobuf/stach/chart/Chart.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
syntax = "proto3";
package factset.protobuf.stach.chart;

option csharp_namespace = "FactSet.Protobuf.Stach.Chart";
option java_package = "com.factset.protobuf.stach.chart";
option java_outer_classname = "ChartProto";

import "google/protobuf/struct.proto";

import "fds/protobuf/stach/chart/Plot.proto";
import "fds/protobuf/stach/chart/Data.proto";
import "fds/protobuf/stach/chart/Series.proto";
import "fds/protobuf/stach/table/Reference.proto";

message Chart {
google.protobuf.Struct template = 1;
map<string, factset.protobuf.stach.table.Reference> attributes = 2;
map<string, Plot> plots = 3;
map<string, Series> series = 4;
map<string, Data> data = 5;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

You can exclude these protos in the chart folder as they were experimental and not referenced by v1

Copy link
Contributor

Choose a reason for hiding this comment

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

removed all protos under chart folder

17 changes: 17 additions & 0 deletions proto/v1/fds/protobuf/stach/chart/Data.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
syntax = "proto3";
package factset.protobuf.stach.chart;

option csharp_namespace = "FactSet.Protobuf.Stach.Chart";
option java_package = "com.factset.protobuf.stach.chart";
option java_outer_classname = "DataProto";

import "google/protobuf/struct.proto";

import "fds/protobuf/stach/table/Reference.proto";

message Data {
google.protobuf.Struct template = 1;
map<string, factset.protobuf.stach.table.Reference> attributes = 2;
factset.protobuf.stach.table.Reference reference = 3;
repeated factset.protobuf.stach.table.Reference children = 4;
}
17 changes: 17 additions & 0 deletions proto/v1/fds/protobuf/stach/chart/Plot.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
syntax = "proto3";
package factset.protobuf.stach.chart;

option csharp_namespace = "FactSet.Protobuf.Stach.Chart";
option java_package = "com.factset.protobuf.stach.chart";
option java_outer_classname = "PlotProto";

import "google/protobuf/struct.proto";

import "fds/protobuf/stach/table/Reference.proto";

message Plot {
google.protobuf.Struct template = 1;
map<string, factset.protobuf.stach.table.Reference> attributes = 2;
factset.protobuf.stach.table.Reference label = 3;
repeated string series = 4;
}
17 changes: 17 additions & 0 deletions proto/v1/fds/protobuf/stach/chart/Series.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
syntax = "proto3";
package factset.protobuf.stach.chart;

option csharp_namespace = "FactSet.Protobuf.Stach.Chart";
option java_package = "com.factset.protobuf.stach.chart";
option java_outer_classname = "SeriesProto";

import "google/protobuf/struct.proto";

import "fds/protobuf/stach/table/Reference.proto";

message Series {
google.protobuf.Struct template = 1;
map<string, factset.protobuf.stach.table.Reference> attributes = 2;
factset.protobuf.stach.table.Reference label = 3;
map<string, string> dimensions = 4;
}
20 changes: 20 additions & 0 deletions proto/v1/fds/protobuf/stach/table/DataType.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
syntax = "proto3";
package factset.protobuf.stach.table;

option csharp_namespace = "FactSet.Protobuf.Stach.Table";
option java_package = "com.factset.protobuf.stach.table";
option java_outer_classname = "DataTypeProto";

enum DataType {
UNKNOWN_DATATYPE = 0;
DOUBLE = 1;
FLOAT = 2;
INT32 = 3;
INT64 = 4;
//UINT32 = 5;
//UINT64 = 6;
BOOL = 7;
STRING = 8;
DURATION = 9;
TIMESTAMP = 10;
}
13 changes: 13 additions & 0 deletions proto/v1/fds/protobuf/stach/table/HorizontalAlignment.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
syntax = "proto3";
package factset.protobuf.stach.table;

option csharp_namespace = "FactSet.Protobuf.Stach.Table";
option java_package = "com.factset.protobuf.stach.table";
option java_outer_classname = "HorizontalAlignmentProto";

enum HorizontalAlignment {
UNKNOWN_HALIGN = 0;
LEFT = 1;
CENTER = 2;
RIGHT = 3;
}
10 changes: 10 additions & 0 deletions proto/v1/fds/protobuf/stach/table/ListOfMetadata.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
syntax = "proto3";
package factset.protobuf.stach.table;

option csharp_namespace = "FactSet.Protobuf.Stach.Table";
option java_package = "com.factset.protobuf.stach.table";
option java_outer_classname = "ListOfMetadataProto";

message ListOfMetadata {
repeated string ids = 1;
}
14 changes: 14 additions & 0 deletions proto/v1/fds/protobuf/stach/table/MetadataCollection.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
syntax = "proto3";
package factset.protobuf.stach.table;

option csharp_namespace = "FactSet.Protobuf.Stach.Table";
option java_package = "com.factset.protobuf.stach.table";
option java_outer_classname = "MetadataCollectionProto";

import "fds/protobuf/stach/MetadataItem.proto";
import "fds/protobuf/stach/table/MetadataLocations.proto";

message MetadataCollection {
map<string, factset.protobuf.stach.MetadataItem> items = 1;
MetadataLocations locations = 2;
}
14 changes: 14 additions & 0 deletions proto/v1/fds/protobuf/stach/table/MetadataLocations.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
syntax = "proto3";
package factset.protobuf.stach.table;

option csharp_namespace = "FactSet.Protobuf.Stach.Table";
option java_package = "com.factset.protobuf.stach.table";
option java_outer_classname = "MetadataLocationsProto";

import "fds/protobuf/stach/table/ListOfMetadata.proto";

message MetadataLocations {
repeated string table = 1;
map<string, ListOfMetadata> columns = 2;
map<string, ListOfMetadata> rows = 3;
}
15 changes: 15 additions & 0 deletions proto/v1/fds/protobuf/stach/table/Reference.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
syntax = "proto3";
package factset.protobuf.stach.table;

option csharp_namespace = "FactSet.Protobuf.Stach.Table";
option java_package = "com.factset.protobuf.stach.table";
option java_outer_classname = "ReferenceProto";

import "fds/protobuf/stach/table/ReferenceType.proto";

message Reference {
ReferenceType reference_type = 1;
string table_id = 2;
string column_id = 3;
string row_id = 4;
}
11 changes: 11 additions & 0 deletions proto/v1/fds/protobuf/stach/table/ReferenceFilterMode.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
syntax = "proto3";
package factset.protobuf.stach.table;

option csharp_namespace = "FactSet.Protobuf.Stach.Table";
option java_package = "com.factset.protobuf.stach.table";
option java_outer_classname = "ReferenceFilterModeProto";

enum ReferenceFilterMode {
INCLUDE = 0;
EXCLUDE = 1;
}
14 changes: 14 additions & 0 deletions proto/v1/fds/protobuf/stach/table/ReferenceType.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
syntax = "proto3";
package factset.protobuf.stach.table;

option csharp_namespace = "FactSet.Protobuf.Stach.Table";
option java_package = "com.factset.protobuf.stach.table";
option java_outer_classname = "ReferenceTypeProto";

enum ReferenceType {
UNKNOWN_REFERENCE_TYPE = 0;
TABLE = 1;
COLUMN = 2;
ROW = 3;
CELL = 4;
}
25 changes: 25 additions & 0 deletions proto/v1/fds/protobuf/stach/table/SeriesData.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
syntax = "proto3";
package factset.protobuf.stach.table;

option csharp_namespace = "FactSet.Protobuf.Stach.Table";
option java_package = "com.factset.protobuf.stach.table";
option java_outer_classname = "SeriesDataProto";

import "fds/protobuf/stach/table/Wrappers.proto";

message SeriesData {
reserved 104, 105;
reserved "uint32_array", "uint64_array";

map<int32, int32> ranges = 1;
oneof data {
DoubleArray double_array = 100;
FloatArray float_array = 101;
Int32Array int32_array = 102;
Int64Array int64_array = 103;
BoolArray bool_array = 106;
StringArray string_array = 107;
DurationArray duration_array = 108;
TimestampArray timestamp_array = 109;
}
}
25 changes: 25 additions & 0 deletions proto/v1/fds/protobuf/stach/table/SeriesDefinition.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
syntax = "proto3";
package factset.protobuf.stach.table;

option csharp_namespace = "FactSet.Protobuf.Stach.Table";
option java_package = "com.factset.protobuf.stach.table";
option java_outer_classname = "SeriesDefinitionProto";

import "fds/protobuf/stach/table/DataType.proto";
import "fds/protobuf/stach/table/SeriesFormat.proto";

message SeriesDefinition {
reserved 10;
reserved "header_index";

string id = 1;
string name = 2;
string description = 3;
DataType type = 4;
bool is_dimension = 5;
bool is_hidden = 6;
string next_sibling_id = 7;
string parent_id = 8;
string header_id = 9;
SeriesFormat format = 11;
}
16 changes: 16 additions & 0 deletions proto/v1/fds/protobuf/stach/table/SeriesFormat.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
syntax = "proto3";
package factset.protobuf.stach.table;

option csharp_namespace = "FactSet.Protobuf.Stach.Table";
option java_package = "com.factset.protobuf.stach.table";
option java_outer_classname = "SeriesFormatProto";

import "fds/protobuf/stach/table/HorizontalAlignment.proto";
import "fds/protobuf/stach/table/VerticalAlignment.proto";

message SeriesFormat {
string format = 1;
string null_format = 2;
HorizontalAlignment halign = 3;
VerticalAlignment valign = 4;
}
Loading