yasithdev opened a new pull request, #163:
URL: https://github.com/apache/airavata-portals/pull/163

   ## Summary
   Migrates the **experiment search** (the experiment list) off Thrift onto the 
gRPC facade.
   
   - `ExperimentSearchViewSet.get_list` → 
`request.airavata.research.search_experiments`. Filters pass through as the 
gRPC `map<string,string>` keyed by `ExperimentSearchFields` member name (the 
query-param key already is one).
   - `grpc_adapters.experiment_summary` maps `ExperimentSummaryModel` protobuf 
→ the Thrift attribute shape (clean 1:1; `experiment_status` is a plain string 
in both Thrift and proto).
   - `ExperimentSummarySerializer.userHasWriteAccess` → the gRPC 
`user_has_access` sharing helper.
   
   ## Validated end-to-end (running portal + Bearer token)
   - `GET /api/experiment-search/` → **200** `{"results":[],...}`
   - adapter: a real `ExperimentSummaryModel` protobuf exposes all 11 Thrift 
fields.
   - the sibling `/api/projects/` returns a **real seeded project** with every 
field correct (timestamp, hyperlinks, `userHasWriteAccess:true` via gRPC 
sharing, `isOwner:true`), confirming the full read path with data.
   
   (Validation needed registering the calling user via `iam.add_user_profile`, 
since user-scoped reads reject unknown users.)
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to