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

DG-1697: Adding endpoint for linking/unlink policy #3348

Merged
merged 35 commits into from
Jul 29, 2024
Merged
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
bfdf300
Add default value to optional fields status and template_version
bichitra95 Jul 2, 2024
8936e59
DG-1697: Adding endpoint for linking/unlink policy
arpit-at Jul 3, 2024
c03fbd3
Merge pull request #3295 from atlanhq/DQ-278
bichitra95 Jul 5, 2024
bc5e933
fix: Ignore classification option validation when propogate is false
krsoninikhil Jul 5, 2024
b255bd7
GRC-25 Remove MEDIUM severity from trivy code scanning alerts (#3308)
checkaayush Jul 8, 2024
36e0b18
chore: add git action for jira id in PR title
jblaze2908 Jul 8, 2024
17b7f67
Merge pull request #3315 from atlanhq/AM-1406
jblaze2908 Jul 9, 2024
29440e0
Merge pull request #3259 from atlanhq/DG-1530_2
hr2904 Jul 10, 2024
8104930
DQ-306 Make data_source optional requirement
bichitra95 Jul 10, 2024
1cb3862
MESH-40 Fixed the TODOs left by previous part of the task.
hr2904 Jul 10, 2024
e31e6b9
Use previous values for missing restrict option
krsoninikhil Jul 10, 2024
b10a995
Merge pull request #3328 from atlanhq/DQ-306
bichitra95 Jul 10, 2024
9ec0b79
Merge pull request #3301 from atlanhq/dg-1671
PRATHAM2002-DS Jul 10, 2024
c1147c0
Merge pull request #3332 from atlanhq/DG-1530_BE-2
hr2904 Jul 15, 2024
ee17588
Merge pull request #3311 from atlanhq/ns/fix/DG-1682-propogate-classi…
krsoninikhil Jul 16, 2024
5ef2e27
update pat token
hitk6 Jul 17, 2024
3c9565d
Merge pull request #3344 from atlanhq/update-pat-token-master
arniesaha Jul 18, 2024
72b591b
DG-1697: Added linking and unlinking api for business-policy
arpit-at Jul 3, 2024
815b407
DG-1697: Added linking and unlinking logic
arpit-at Jul 19, 2024
0616e40
Merge branch 'policyendpointsmaster2' into policyendpointsmasters3
arpit-at Jul 19, 2024
5fb0aaf
DG-1697: adding for build
arpit-at Jul 19, 2024
89f0deb
DG-1697: clean up
arpit-at Jul 19, 2024
36b8f10
DG-1697: PR comments resolved
arpit-at Jul 24, 2024
09e7e3d
DG-1697: PR comments resolved
arpit-at Jul 24, 2024
4a3c887
DG-1697: PR comments resolved
arpit-at Jul 24, 2024
4cb6cc7
DG-1697: PR comments resolved
arpit-at Jul 24, 2024
c9b0274
DG-1697: PR comments resolved
arpit-at Jul 24, 2024
bd3fcc8
DG-1697: PR comments resolved
arpit-at Jul 24, 2024
a5e7103
DG-1697: PR comments resolved
arpit-at Jul 24, 2024
2869c0b
DG-1697: PR comments resolved
arpit-at Jul 24, 2024
7782517
DG-1697: PR comments resolved
arpit-at Jul 24, 2024
ca87c6a
DG-1697: PR comments resolved
arpit-at Jul 24, 2024
e8b73a5
DG-1697: PR comments resolved
arpit-at Jul 25, 2024
2cc48af
DG-1697: review fix
arpit-at Jul 25, 2024
93e2c13
DG-1697: remove unnecesary files
arpit-at Jul 25, 2024
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
Prev Previous commit
Next Next commit
DG-1697: PR comments resolved
  • Loading branch information
arpit-at committed Jul 24, 2024
commit ca87c6a657f576f4d55d64a6fe62c38662e2bee2
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public void linkBusinessPolicy(@PathParam("policyId") final String policyGuid, f
@Path("/{policyId}/unlink-business-policy")
@Timed
public void unlinkBusinessPolicy(@PathParam("policyId") final String policyGuid, final LinkBusinessPolicyRequest request) throws AtlasBaseException {
AtlasPerfMetrics.MetricRecorder metric = RequestContext.get().startMetricRecord("linkBusinessPolicy");
AtlasPerfMetrics.MetricRecorder metric = RequestContext.get().startMetricRecord("unlinkBusinessPolicy");
// Ensure the current user is authorized to unlink policies
if (!ARGO_SERVICE_USER_NAME.equals(RequestContext.getCurrentUser())) {
throw new AtlasBaseException(AtlasErrorCode.UNAUTHORIZED_ACCESS, RequestContext.getCurrentUser(), "Policy unlinking");
Expand Down
Loading